/* ═══════════════════════════════════════════════════
   IMMANUEL RAJ — PORTFOLIO CSS
   Dark-mode-first, enterprise aesthetic
═══════════════════════════════════════════════════ */

:root {
  --bg-darkest:   #050d1a;
  --bg-dark:      #0a192f;
  --bg-mid:       #0f2340;
  --bg-card:      #112240;
  --bg-card2:     #0d1f3c;
  --accent:       #64ffda;
  --accent2:      #00b4d8;
  --accent3:      #7c3aed;
  --text-primary: #ccd6f6;
  --text-muted:   #8892b0;
  --text-light:   #e6f1ff;
  --border:       rgba(100, 255, 218, 0.12);
  --border-hover: rgba(100, 255, 218, 0.35);
  --glow:         rgba(100, 255, 218, 0.15);
  --font-main:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 10px 40px rgba(0,0,0,0.5);
  --shadow-card:  0 4px 20px rgba(0,0,0,0.4);
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }

/* ── Particle Background ──────────────────────── */
#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Scrollbar ────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-darkest); }
::-webkit-scrollbar-thumb { background: var(--accent3); border-radius: 3px; }

/* ── Typography ───────────────────────────────── */
.text-accent { color: var(--accent); }
.text-danger-soft { color: #ff6b8a; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
#mainNav {
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  z-index: 1000;
  padding: 0.75rem 0;
}

#mainNav.scrolled {
  background: rgba(5, 13, 26, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.brand-ir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg-darkest);
  font-weight: 900;
  font-size: 0.85rem;
  border-radius: 8px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
  margin-left: 10px;
}

.navbar-brand { display: flex; align-items: center; }

.nav-link {
  color: var(--text-muted) !important;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover { color: var(--accent) !important; }
.nav-link:hover::after { left: 0.9rem; right: 0.9rem; }

.nav-cta {
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  border-radius: 6px !important;
  padding: 0.4rem 1.1rem !important;
}
.nav-cta:hover {
  background: rgba(100, 255, 218, 0.1) !important;
  color: var(--accent) !important;
}
.nav-cta::after { display: none !important; }

.navbar-toggler { border: 0; padding: 0.5rem 0; background: none; }
.toggler-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════ */
.section-dark, .section-mid {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-dark { background: var(--bg-dark); }
.section-mid  { background: var(--bg-mid); }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-darkest) 0%, #0a0f2e 50%, #050d1a 100%);
  overflow: hidden;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(100, 255, 218, 0.05) 0%, transparent 70%),
              radial-gradient(ellipse 50% 80% at 10% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 2; padding-top: 80px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(100, 255, 218, 0.08);
  border: 1px solid rgba(100, 255, 218, 0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  animation: pulse-border 2.5s ease infinite;
}

@@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(100, 255, 218, 0); }
}

.hero-name {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -2px;
}

.hero-title {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-tagline strong { color: var(--text-primary); }

/* Stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  font-family: var(--font-mono);
}

.stat-item span:nth-child(2) {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 900;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* CTAs */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg-darkest) !important;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: none;
  transition: var(--transition);
  font-size: 0.92rem;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(100, 255, 218, 0.4);
  color: var(--bg-darkest) !important;
}

.btn-outline-custom {
  background: transparent;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 0.92rem;
}

.btn-outline-custom:hover {
  background: rgba(100, 255, 218, 0.1);
  transform: translateY(-2px);
  color: var(--accent) !important;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-arrow {
  animation: bounce 1.5s ease infinite;
  color: var(--accent);
}

@@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Tech Orbit ───────────────────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; height: 440px; }

.tech-orbit {
  position: relative;
  width: 340px;
  height: 340px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(100, 255, 218, 0.2);
  animation: spin linear infinite;
}

.orbit-1 {
  width: 100%;
  height: 100%;
  animation-duration: 20s;
}

.orbit-2 {
  width: 66%;
  height: 66%;
  top: 17%;
  left: 17%;
  animation-duration: 14s;
  animation-direction: reverse;
}

@@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.orbit-icon {
  position: absolute;
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  top: 50%;
  left: 50%;
  transform: rotate(var(--angle)) translateX(160px) rotate(calc(-1 * var(--angle)));
  transition: var(--transition);
}

.orbit-2 .orbit-icon {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
  transform: rotate(var(--angle)) translateX(105px) rotate(calc(-1 * var(--angle)));
}

.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--bg-darkest);
  box-shadow: 0 0 40px rgba(100, 255, 218, 0.4);
  z-index: 10;
}

/* ══════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════ */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.profile-initials {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--bg-darkest);
  flex-shrink: 0;
}

.about-card-header h3 { color: var(--text-light); font-size: 1.1rem; font-weight: 700; margin: 0; }
.about-card-header p  { color: var(--accent); font-size: 0.82rem; font-family: var(--font-mono); margin: 0; }

.about-pillars { display: flex; flex-direction: column; gap: 1rem; }

.pillar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(100, 255, 218, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: var(--transition);
}

.pillar:hover {
  border-color: var(--border-hover);
  background: rgba(100, 255, 218, 0.08);
  transform: translateX(4px);
}

.pillar i {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg-darkest);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pillar strong { display: block; color: var(--text-light); font-size: 0.9rem; }
.pillar span   { display: block; color: var(--text-muted); font-size: 0.78rem; }

.value-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }

.vtag {
  background: rgba(100, 255, 218, 0.08);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.8rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}

.vtag:hover { background: rgba(100, 255, 218, 0.15); border-color: var(--accent); }

/* ══════════════════════════════════════════════
   EXPERTISE
══════════════════════════════════════════════ */
.expertise-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.expertise-block:hover { border-color: var(--border-hover); }

.expertise-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.expertise-header i { font-size: 1.4rem; }
.expertise-header h3 { color: var(--text-light); font-size: 1.2rem; font-weight: 700; margin: 0; flex: 1; }

.exp-years {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  white-space: nowrap;
}

.expertise-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.25rem; }

/* Tech Chips */
.tech-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.tech-chip, .tech-chip-sm {
  background: rgba(100, 255, 218, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.82rem;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.tech-chip.primary { border-color: rgba(100, 255, 218, 0.3); color: var(--accent); }
.tech-chip:hover, .tech-chip-sm:hover {
  border-color: var(--accent);
  background: rgba(100, 255, 218, 0.12);
  transform: translateY(-2px);
}

.tech-chip-sm { font-size: 0.78rem; padding: 0.3rem 0.7rem; margin-bottom: 0.4rem; display: inline-block; }

/* DB Grid */
.db-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }

.db-card {
  background: rgba(100, 255, 218, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.db-card:hover { border-color: var(--border-hover); background: rgba(100, 255, 218, 0.07); }
.db-card i { font-size: 1.3rem; color: var(--accent); }
.db-card strong { color: var(--text-light); font-size: 0.9rem; }
.db-card span { color: var(--text-muted); font-size: 0.78rem; }

/* Mobile Split */
.mobile-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mobile-col h4 { color: var(--text-light); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }

/* ══════════════════════════════════════════════
   SECURITY
══════════════════════════════════════════════ */
.security-domains { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }

.sec-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 107, 138, 0.04);
  border: 1px solid rgba(255, 107, 138, 0.12);
  border-radius: 10px;
  transition: var(--transition);
}

.sec-item:hover { border-color: rgba(255, 107, 138, 0.3); background: rgba(255, 107, 138, 0.08); }

.sec-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #ff6b8a, #ff4d6d);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sec-item strong { display: block; color: var(--text-light); font-size: 0.9rem; font-weight: 600; }
.sec-item span   { display: block; color: var(--text-muted); font-size: 0.8rem; }

/* OIDC/OAuth OSS Card */
.oss-highlight-card {
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.9), rgba(10, 25, 47, 0.9));
  border: 1px solid rgba(100, 255, 218, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(100,255,218,0.1);
}

.oss-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(100, 255, 218, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.oss-title { color: var(--text-light); font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.oss-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.5rem; }

.oidc-flows { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }

.flow-card {
  background: rgba(100, 255, 218, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  transition: var(--transition);
}

.flow-card:hover { border-color: var(--border-hover); background: rgba(100, 255, 218, 0.09); }
.flow-card i { font-size: 1.1rem; display: block; margin-bottom: 0.5rem; }
.flow-card strong { display: block; color: var(--text-light); font-size: 0.85rem; font-weight: 700; margin-bottom: 0.25rem; }
.flow-card span { color: var(--text-muted); font-size: 0.75rem; }

/* ══════════════════════════════════════════════
   DEVOPS
══════════════════════════════════════════════ */
.devops-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  transition: var(--transition);
}

.devops-card:hover, .devops-card.featured { border-color: var(--border-hover); }
.devops-card.featured { border-color: rgba(100, 255, 218, 0.35); background: rgba(100, 255, 218, 0.04); }

.devops-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg-darkest);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.devops-card h4 { color: var(--text-light); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.devops-card p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1rem; }

.devops-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.devops-tags span {
  font-size: 0.7rem;
  background: rgba(100, 255, 218, 0.08);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* Pipeline Visual */
.pipeline-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.pipeline-stages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pstage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 100px;
}

.pstage-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent3), var(--accent2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.pstage span { color: var(--text-light); font-size: 0.82rem; font-weight: 600; text-align: center; }

.pstage-checks {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent);
  text-align: center;
  line-height: 1.4;
}

.pstage-arrow { color: var(--text-muted); font-size: 0.8rem; }

/* ══════════════════════════════════════════════
   CONTAINERIZATION
══════════════════════════════════════════════ */
.container-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}

.container-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.container-card.featured { border-color: rgba(100, 255, 218, 0.3); }

.container-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 180, 216, 0.05));
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #00b4d8;
  margin-bottom: 1rem;
}

.k8s-icon { background: linear-gradient(135deg, rgba(100,255,218,0.15), rgba(100,255,218,0.03)); border-color: rgba(100,255,218,0.3); color: var(--accent); }
.podman-icon { background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(124,58,237,0.03)); border-color: rgba(124,58,237,0.3); color: var(--accent3); }

.container-card h4 { color: var(--text-light); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.container-card p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1rem; }

.tech-list { list-style: none; padding: 0; }
.tech-list li {
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tech-list li::before { content: '▸'; color: var(--accent); font-size: 0.7rem; }

/* ══════════════════════════════════════════════
   CLOUD
══════════════════════════════════════════════ */
.cloud-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cloud-card:hover { transform: translateY(-4px); }

.cloud-card.azure {
  background: linear-gradient(135deg, rgba(0, 114, 198, 0.08), rgba(5,13,26,0.9));
  border-color: rgba(0, 114, 198, 0.3);
}
.cloud-card.aws {
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.08), rgba(5,13,26,0.9));
  border-color: rgba(255, 153, 0, 0.3);
}
.cloud-card.ibm {
  background: linear-gradient(135deg, rgba(0, 62, 160, 0.08), rgba(5,13,26,0.9));
  border-color: rgba(0, 62, 160, 0.3);
}

.cloud-logo {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.azure .cloud-logo { color: #0072c6; }
.aws .cloud-logo { color: #ff9900; }
.ibm .cloud-logo { color: #4589ff; }

.cloud-card h4 { color: var(--text-light); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.cloud-card p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1rem; }

.cloud-services { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cloud-services span {
  font-size: 0.72rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  font-family: var(--font-mono);
  transition: var(--transition);
}
.cloud-services span:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }

/* ══════════════════════════════════════════════
   AI SECTION
══════════════════════════════════════════════ */
.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.ai-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-4px); }
.ai-card:hover::before { opacity: 1; }

.ai-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(100,255,218,0.1));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent3);
  margin-bottom: 1rem;
}

.ai-card h4 { color: var(--text-light); font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.ai-card p  { color: var(--text-muted); font-size: 0.87rem; line-height: 1.75; margin-bottom: 1rem; }

.ai-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ai-tags span {
  font-size: 0.7rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  color: #a78bfa;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* ══════════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════════ */
.portfolio-group-title {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.portfolio-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: var(--transition);
  text-decoration: none !important;
  height: 100%;
}

.portfolio-tile:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }

.pt-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.portfolio-tile.security .pt-icon { background: rgba(255,107,138,0.15); color: #ff6b8a; }
.portfolio-tile.devops .pt-icon   { background: rgba(0,180,216,0.15); color: #00b4d8; }
.portfolio-tile.ai .pt-icon       { background: rgba(124,58,237,0.15); color: #a78bfa; }
.portfolio-tile.mobile .pt-icon   { background: rgba(100,255,218,0.12); color: var(--accent); }
.portfolio-tile.blog .pt-icon     { background: rgba(255,193,7,0.12); color: #ffc107; }
.portfolio-tile.ark .pt-icon      { background: rgba(255,107,138,0.12); color: #ff6b8a; }

.pt-body { flex: 1; min-width: 0; }
.pt-body strong { display: block; color: var(--text-light); font-size: 0.9rem; font-weight: 700; }
.pt-body span { display: block; color: var(--accent); font-size: 0.72rem; font-family: var(--font-mono); margin-bottom: 0.2rem; }
.pt-body p { color: var(--text-muted); font-size: 0.78rem; margin: 0; line-height: 1.4; }

.pt-link { color: var(--text-muted); font-size: 0.7rem; flex-shrink: 0; }

/* Community Grid */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.community-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  transition: var(--transition);
  text-decoration: none !important;
}

.community-card:hover { border-color: var(--border-hover); transform: translateY(-4px); background: rgba(100,255,218,0.04); }
.community-card i { font-size: 1.8rem; color: var(--accent); }
.community-card strong { color: var(--text-light); font-size: 0.88rem; }
.community-card span { color: var(--text-muted); font-size: 0.75rem; line-height: 1.3; }

/* ══════════════════════════════════════════════
   THINKING PROCESS
══════════════════════════════════════════════ */
.thinking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.thinking-card:hover { border-color: var(--border-hover); }

.think-step {
  position: absolute;
  top: -14px; right: 1.5rem;
  background: linear-gradient(135deg, var(--accent3), var(--accent2));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  font-family: var(--font-mono);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.think-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(100,255,218,0.15), rgba(0,180,216,0.08));
  border: 1px solid rgba(100,255,218,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.thinking-card h4 { color: var(--text-light); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.thinking-card p  { color: var(--text-muted); font-size: 0.86rem; line-height: 1.75; margin-bottom: 1rem; }

.think-list { list-style: none; padding: 0; }
.think-list li {
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.think-list li::before { content: '→'; color: var(--accent); font-weight: 700; }

/* ══════════════════════════════════════════════
   UI REINVENTION
══════════════════════════════════════════════ */
.ui-reinvent-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.ui-reinvent-block:hover { border-color: var(--border-hover); }

.uir-icon { font-size: 2rem; margin-bottom: 1rem; }

.ui-reinvent-block h4 { color: var(--text-light); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.ui-reinvent-block p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.75; margin-bottom: 0.75rem; }

.ui-tech-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.ui-tech-tags span {
  font-size: 0.7rem;
  background: rgba(100,255,218,0.07);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* MVP Card */
.mvp-card {
  background: linear-gradient(135deg, rgba(17,34,64,0.95), rgba(5,13,26,0.95));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.mvp-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.mvp-header h4 { color: var(--text-light); font-size: 1.1rem; font-weight: 700; margin: 0; }

.mvp-intro { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }

.mvp-steps { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.5rem; }

.mvp-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.mvp-step-num {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent3), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.mvp-step strong { display: block; color: var(--text-light); font-size: 0.88rem; font-weight: 600; }
.mvp-step span   { display: block; color: var(--text-muted); font-size: 0.8rem; }

.mvp-ai-callout {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.mvp-ai-callout i { color: var(--accent3); flex-shrink: 0; margin-top: 2px; }
.mvp-ai-callout strong { color: var(--text-light); }

/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact-section { position: relative; overflow: hidden; }

.contact-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(100,255,218,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-channels { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(100,255,218,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: var(--transition);
  text-decoration: none !important;
}

.contact-channel:hover { border-color: var(--border-hover); background: rgba(100,255,218,0.08); }
.contact-channel i { font-size: 1.3rem; color: var(--accent); width: 24px; text-align: center; }
.contact-channel strong { display: block; color: var(--text-light); font-size: 0.88rem; }
.contact-channel span   { display: block; color: var(--text-muted); font-size: 0.78rem; }

/* Contact Form */
.contact-input {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition) !important;
}

.contact-input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(100,255,218,0.1) !important;
  outline: none !important;
}

.contact-input::placeholder { color: var(--text-muted) !important; }

.contact-input option { background: var(--bg-card); color: var(--text-primary); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  position: relative;
  z-index: 1;
}

.footer-name { color: var(--text-light); font-weight: 700; font-size: 1rem; }
.footer-tagline { color: var(--text-muted); font-size: 0.75rem; margin: 0; }

.footer-links { display: flex; justify-content: center; gap: 1.25rem; }
.footer-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); border-color: var(--accent); background: rgba(100,255,218,0.08); transform: translateY(-2px); }

.footer-copy { color: var(--text-muted); font-size: 0.78rem; margin: 0; }

/* ══════════════════════════════════════════════
   AOS overrides
══════════════════════════════════════════════ */
[data-aos] { will-change: transform, opacity; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@@media (max-width: 991px) {
  .section-dark, .section-mid { padding: 70px 0; }
  .contact-wrapper { padding: 2.5rem 1.5rem; }
  .mobile-split { grid-template-columns: 1fr; }
  .pipeline-stages { gap: 0.25rem; }
  .pstage-checks { display: none; }
}

@@media (max-width: 767px) {
  .hero-name { letter-spacing: -1px; }
  .hero-stats { gap: 1.5rem; }
  .stat-number { font-size: 1.8rem; }
  .orbit-1 .orbit-icon { transform: rotate(var(--angle)) translateX(130px) rotate(calc(-1 * var(--angle))); }
  .community-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .oidc-flows { grid-template-columns: 1fr; }
  .db-grid { grid-template-columns: 1fr; }
}

@@media (max-width: 575px) {
  .hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; }
  .btn-primary-custom, .btn-outline-custom { text-align: center; width: 100%; }
  .contact-wrapper { padding: 1.5rem 1rem; }
  .pipeline-stages { flex-direction: column; align-items: flex-start; }
  .pstage-arrow { transform: rotate(90deg); }
}

/* Typed cursor */
.typed-cursor { color: var(--accent); }
