/* ===================================================
   NAGA DEEPTHI VALLURU – ULTRA-ADVANCED RESUME
   Glassmorphism · Neon Glows · AI Console · Particles
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ── CSS Custom Properties ─────────────────────────── */
:root {
  --bg-primary:    #020510;
  --bg-secondary:  #04081a;
  --bg-tertiary:   #060c22;
  --bg-card:       rgba(10, 18, 40, 0.75);
  --bg-card-hover: rgba(14, 24, 52, 0.92);
  --bg-glass:      rgba(8, 15, 36, 0.55);
  --bg-glass-strong: rgba(6, 12, 30, 0.82);

  --text-primary:   #eef4ff;
  --text-secondary: #a8bbd8;
  --text-muted:     #5a6d8a;

  --accent-cyan:    #00d4ff;
  --accent-blue:    #4f8ef7;
  --accent-purple:  #a855f7;
  --accent-pink:    #f472b6;
  --accent-green:   #4ade80;
  --accent-amber:   #fbbf24;

  --gradient-main:  linear-gradient(135deg, #00d4ff 0%, #4f8ef7 40%, #a855f7 100%);
  --gradient-glow:  linear-gradient(135deg, rgba(0,212,255,0.3), rgba(168,85,247,0.3));
  --gradient-warm:  linear-gradient(135deg, #f472b6, #a855f7, #4f8ef7);
  --gradient-card:  linear-gradient(145deg, rgba(0,212,255,0.04) 0%, rgba(168,85,247,0.04) 100%);

  --border-subtle:  rgba(0, 212, 255, 0.12);
  --border-glass:   rgba(255, 255, 255, 0.07);
  --border-glow:    rgba(0, 212, 255, 0.45);
  --border-active:  rgba(0, 212, 255, 0.7);

  --nav-bg:         rgba(2, 5, 16, 0.82);
  --shadow-card:    0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-glass:   0 4px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  --shadow-glow:    0 0 40px rgba(0, 212, 255, 0.18);
  --shadow-purple:  0 0 40px rgba(168, 85, 247, 0.18);
  --shadow-button:  0 4px 24px rgba(79, 142, 247, 0.5);
  --shadow-neon:    0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.3), 0 0 80px rgba(0, 212, 255, 0.15);

  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
  --bg-primary:    #f0f4ff;
  --bg-secondary:  #e4eaff;
  --bg-tertiary:   #dce4ff;
  --bg-card:       rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.97);
  --bg-glass:      rgba(255, 255, 255, 0.6);
  --bg-glass-strong: rgba(255, 255, 255, 0.88);

  --text-primary:   #1a1f36;
  --text-secondary: #3a4668;
  --text-muted:     #7a86a8;

  --accent-cyan:   #0a9fd8;
  --accent-blue:   #2f6ef5;
  --accent-purple: #8b3cf7;

  --gradient-main: linear-gradient(135deg, #0a9fd8, #2f6ef5, #8b3cf7);
  --border-subtle: rgba(0, 160, 215, 0.18);
  --border-glass:  rgba(0, 0, 0, 0.06);
  --border-glow:   rgba(0, 160, 215, 0.4);

  --nav-bg:        rgba(240, 244, 255, 0.88);
  --shadow-card:   0 8px 40px rgba(0, 0, 40, 0.1);
  --shadow-glass:  0 4px 24px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,255,0.8);
  --shadow-glow:   0 0 40px rgba(0, 160, 215, 0.12);
  --shadow-button: 0 4px 24px rgba(47, 110, 245, 0.35);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Animated multi-layer background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 10%, rgba(0,212,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(168,85,247,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 30%, rgba(79,142,247,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 70% 10%, rgba(244,114,182,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Grid overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

section, nav, footer { position: relative; z-index: 1; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

/* ── Scroll Progress ─────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-main);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(0,212,255,0.6);
}

/* ── Particles Canvas ────────────────────────────────── */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── Navbar ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.5), 0 0 0 1px var(--border-subtle);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-initials {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0,212,255,0.4);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  font-size: 0.85rem;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
}

.theme-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--border-glow);
  box-shadow: 0 0 16px rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.08);
}

.ai-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.3);
  color: #c084fc;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.ai-nav-btn:hover {
  background: rgba(168,85,247,0.22);
  border-color: rgba(168,85,247,0.6);
  box-shadow: 0 0 16px rgba(168,85,247,0.3);
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-button);
}

.download-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(0,212,255,0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition);
}

/* ── Reveal Animation ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section Commons ─────────────────────────────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(8px);
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Gradient Text ───────────────────────────────────── */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glass Card Mixin ────────────────────────────────── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  pointer-events: none;
  border-radius: inherit;
}

.glass-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(-4px);
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-bounce);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn:hover::before { transform: scaleX(1); }

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 36px rgba(0,212,255,0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-glow);
  color: var(--accent-cyan);
  background: rgba(0,212,255,0.06);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

.btn-icon {
  width: 48px; height: 48px;
  padding: 0;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
}

.btn-icon:hover {
  border-color: var(--border-glow);
  color: var(--accent-cyan);
  background: rgba(0,212,255,0.08);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0,212,255,0.25);
}

/* ── Hero Section ────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: floatGlow 10s ease-in-out infinite alternate;
}

.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, transparent 70%);
  top: -150px; left: -200px;
  animation-delay: 0s;
}

.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.14) 0%, transparent 70%);
  bottom: -50px; right: -150px;
  animation-delay: -4s;
}

.glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,142,247,0.1) 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -7s;
}

@keyframes floatGlow {
  from { transform: translate(0, 0) scale(1); opacity: 0.8; }
  to   { transform: translate(40px, -30px) scale(1.15); opacity: 1; }
}

.hero-container {
  max-width: 860px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-profile {
  margin-bottom: 2rem;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-cyan);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-full);
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--accent-cyan);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(0,212,255,0.1);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  50%       { opacity: 0.85; box-shadow: 0 0 0 7px rgba(74,222,128,0); }
}

.pulse { animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

.hero-name {
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 1.2rem;
}

.name-line { display: block; }

.hero-title {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.title-prefix { opacity: 0.6; }

.title-rotating {
  color: var(--accent-cyan);
  font-weight: 700;
  transition: opacity 0.35s ease;
  text-shadow: 0 0 20px rgba(0,212,255,0.4);
}

.hero-bio {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-bio strong { color: var(--text-primary); font-weight: 700; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  transition: opacity 0.3s ease;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border-glass);
  transition: var(--transition-bounce);
  cursor: default;
}

.chip:hover {
  border-color: var(--border-glow);
  color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,212,255,0.2);
  background: rgba(0,212,255,0.06);
}

.chip i { font-size: 0.7rem; color: var(--accent-cyan); }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.73rem;
  animation: bounceIndicator 2.5s ease infinite;
  z-index: 2;
}

.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(0,212,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: scrollWheel 1.6s ease infinite;
  box-shadow: 0 0 8px rgba(0,212,255,0.6);
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

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

/* ── Stats Section ───────────────────────────────────── */
.stats-section { background: transparent; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.4rem;
  text-align: center;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0,212,255,0.04), transparent);
  pointer-events: none;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.stat-card:hover::after { transform: scaleX(1); }

.stat-icon {
  font-size: 1.7rem;
  margin-bottom: 0.85rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline-block;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline-block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.summary-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  display: flex;
  gap: 2.2rem;
  align-items: flex-start;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.summary-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.4;
}

.summary-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.summary-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  color: var(--accent-cyan);
}

.summary-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: var(--accent-cyan);
}

.summary-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 0.8rem;
}

.summary-content p:last-child { margin-bottom: 0; }
.summary-content strong { color: var(--text-primary); font-weight: 700; }

/* ── AI Tailor / Persona Section ─────────────────────── */
.persona-section { padding: 0; }
.persona-section .section-container { padding-top: 0; padding-bottom: 4.5rem; }

.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.persona-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.75rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-bounce);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.persona-btn::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.persona-btn i {
  font-size: 1.6rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.persona-btn:hover, .persona-btn.active {
  border-color: var(--border-subtle);
  color: var(--text-primary);
  background: rgba(0,212,255,0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,212,255,0.14);
}

.persona-btn:hover::before,
.persona-btn.active::before { transform: scaleX(1); }

.persona-btn.active i, .persona-btn:hover i { color: var(--accent-cyan); }

/* ── Skills Section ──────────────────────────────────── */
.competencies-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 3rem;
}

.competency-item {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 1.4rem 1.75rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.competency-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient-main);
  transform: scaleY(0);
  transition: transform 0.35s ease;
  border-radius: 0 2px 2px 0;
}

.competency-item:hover {
  border-color: var(--border-subtle);
  transform: translateX(8px);
  box-shadow: var(--shadow-glow);
}

.competency-item:hover::before { transform: scaleY(1); }

.competency-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
  transition: var(--transition);
}

.competency-item:hover .competency-icon {
  background: rgba(0,212,255,0.14);
  box-shadow: 0 0 16px rgba(0,212,255,0.25);
}

.competency-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.competency-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Skills Tabs */
.skills-tabs-container {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.skills-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.skill-tab {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.skill-tab:hover {
  color: var(--accent-cyan);
  background: rgba(0,212,255,0.06);
}

.skill-tab.active {
  color: var(--accent-cyan);
  background: rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 0 12px rgba(0,212,255,0.2);
}

.skills-panel { display: none; }
.skills-panel.active { display: block; }

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-bounce);
  cursor: default;
  font-family: var(--font-mono);
}

.skill-tag.expert {
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  color: #67e8f9;
}

.skill-tag.advanced {
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.25);
  color: #c084fc;
}

.skill-tag.intermediate {
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.25);
  color: #93c5fd;
}

.skill-tag:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 4px 16px rgba(0,212,255,0.2);
}

.skill-tag.mini {
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
}

.skill-legend {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.legend-item { display: flex; align-items: center; }

/* ── Certifications ──────────────────────────────────── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.75rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.cert-card:hover::before { transform: scaleX(1); }

.cert-logo {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.azure-logo {
  background: rgba(0,120,215,0.15);
  border: 1px solid rgba(0,120,215,0.3);
  color: #60a5fa;
}

.mulesoft-logo {
  background: rgba(0,168,100,0.12);
  border: 1px solid rgba(0,168,100,0.25);
  color: #4ade80;
}

.safe-logo {
  background: rgba(255,170,0,0.12);
  border: 1px solid rgba(255,170,0,0.25);
  color: #fbbf24;
}

.cert-body h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.cert-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.cert-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── Projects Section ────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  perspective: 1000px;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.06), transparent 60%);
  pointer-events: none;
}

.project-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card), 0 0 50px rgba(0,212,255,0.12);
}

.project-num {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.25;
  margin-bottom: -0.5rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.project-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.project-period {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  white-space: nowrap;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.18);
  flex-shrink: 0;
}

.project-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-role i { color: var(--accent-purple); font-size: 0.7rem; }

.project-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.proj-tag {
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.22);
  color: #c084fc;
  transition: var(--transition);
}

.proj-tag:hover {
  background: rgba(168,85,247,0.18);
  border-color: rgba(168,85,247,0.4);
  transform: translateY(-2px);
}

/* ── Experience Section ───────────────────────────────── */
.timeline { position: relative; }

.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1.5rem;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.35rem;
}

.marker-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gradient-main);
  box-shadow: 0 0 0 4px rgba(0,212,255,0.15), var(--shadow-glow);
  flex-shrink: 0;
  animation: pulseMarker 3s ease infinite;
}

@keyframes pulseMarker {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,212,255,0.15), 0 0 20px rgba(0,212,255,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(0,212,255,0.08), 0 0 40px rgba(0,212,255,0.2); }
}

.marker-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0,212,255,0.5), transparent);
  margin-top: 8px;
}

.timeline-content {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  opacity: 0.4;
}

.timeline-content:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.exp-title-group h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.exp-subtitle {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.exp-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.exp-company {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.exp-company i { color: var(--accent-cyan); font-size: 0.85rem; }
.exp-company strong { font-size: 0.92rem; color: var(--text-primary); }

.exp-client {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.25);
  color: var(--accent-amber);
  font-size: 0.75rem;
  font-weight: 600;
}

.exp-description p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.exp-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.highlight-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.highlight-item i {
  color: var(--accent-cyan);
  font-size: 0.7rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.highlight-item span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.highlight-item strong { color: var(--text-primary); font-weight: 700; }

.exp-airlines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.airline-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.18);
  color: var(--accent-cyan);
  font-size: 0.76rem;
  font-weight: 600;
}

.airline-chip i { font-size: 0.65rem; }

/* ── Education Section ───────────────────────────────── */
.edu-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.edu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-main);
}

.edu-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.edu-icon {
  font-size: 3rem;
  width: 80px; height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--radius-lg);
  color: var(--accent-cyan);
}

.edu-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.edu-field {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.edu-institution {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.edu-affiliation {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.edu-year {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-amber);
  font-family: var(--font-mono);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.2);
}

/* ── Contact Section ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.contact-card:hover::after { transform: scaleX(1); }

.contact-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  color: var(--accent-cyan);
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  background: rgba(0,212,255,0.14);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

.contact-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.contact-card a {
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  word-break: break-word;
}

.contact-card a:hover { color: #fff; text-shadow: 0 0 12px rgba(0,212,255,0.8); }

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card em {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.82rem;
}

/* ── AI Terminal / Console Section ───────────────────── */
.terminal-section {
  padding: 0;
}

.terminal-section .section-container {
  padding-top: 0;
  padding-bottom: 5.5rem;
}

.terminal-wrapper {
  background: rgba(2, 8, 20, 0.92);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-neon);
  position: relative;
}

.terminal-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.04) 0%, rgba(168,85,247,0.04) 100%);
  pointer-events: none;
}

.terminal-header {
  display: flex;
  align-items: center;
  padding: 0.9rem 1.3rem;
  background: rgba(0, 212, 255, 0.04);
  border-bottom: 1px solid rgba(0,212,255,0.12);
  gap: 1rem;
}

.terminal-dots {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
}

.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.t-dot-red   { background: #ff5f57; box-shadow: 0 0 8px rgba(255,95,87,0.5); }
.t-dot-yellow{ background: #ffbd2e; box-shadow: 0 0 8px rgba(255,189,46,0.5); }
.t-dot-green { background: #28ca41; box-shadow: 0 0 8px rgba(40,202,65,0.5); }

.terminal-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-green);
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s ease infinite;
}

.terminal-body {
  padding: 1.5rem;
  min-height: 380px;
  max-height: 480px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.75;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,212,255,0.3) transparent;
}

.terminal-body::-webkit-scrollbar { width: 4px; }
.terminal-body::-webkit-scrollbar-track { background: transparent; }
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(0,212,255,0.3);
  border-radius: 2px;
}

.terminal-line {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.15rem;
  align-items: flex-start;
  animation: terminalFadeIn 0.3s ease;
}

@keyframes terminalFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.terminal-prompt { color: var(--accent-cyan); font-weight: 700; flex-shrink: 0; }
.terminal-user { color: var(--accent-purple); flex-shrink: 0; }
.terminal-host { color: var(--accent-green); flex-shrink: 0; }
.terminal-text { color: var(--text-secondary); word-break: break-word; }
.terminal-text.command { color: #f8fbff; }
.terminal-text.output { color: var(--text-secondary); }
.terminal-text.ai { color: #c084fc; }
.terminal-text.error { color: #f87171; }
.terminal-text.success { color: var(--accent-green); }
.terminal-text.highlight { color: var(--accent-cyan); }
.terminal-text.dim { color: var(--text-muted); opacity: 0.8; }

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-top: 1px solid rgba(0,212,255,0.1);
  background: rgba(0, 212, 255, 0.02);
}

.terminal-input-prompt {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-primary);
  caret-color: var(--accent-cyan);
}

.terminal-input::placeholder { color: var(--text-muted); opacity: 0.5; }

.terminal-send-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.25);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.terminal-send-btn:hover {
  background: rgba(0,212,255,0.22);
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 12px rgba(0,212,255,0.3);
}

.terminal-shortcuts {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid rgba(0,212,255,0.06);
}

.shortcut-chip {
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.2);
  color: #c084fc;
  cursor: pointer;
  transition: var(--transition);
}

.shortcut-chip:hover {
  background: rgba(168,85,247,0.16);
  border-color: rgba(168,85,247,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168,85,247,0.25);
}

/* Typing cursor blink */
.cursor-blink {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent-cyan);
  margin-left: 2px;
  vertical-align: middle;
  animation: blinkCursor 1.1s step-end infinite;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0,212,255,0.6);
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Terminal typing animation */
.typing-text::after {
  content: '▋';
  color: var(--accent-cyan);
  animation: blinkCursor 1s step-end infinite;
  margin-left: 2px;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-top: 1px solid var(--border-glass);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-title {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
  font-weight: 500;
}

.footer-links a:hover { color: var(--accent-cyan); }

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

/* ── Back to Top ─────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-button);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-bounce);
  cursor: pointer;
  z-index: 800;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 28px rgba(0,212,255,0.5);
}

/* ── AI Floating Button ──────────────────────────────── */
.ai-float-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(168,85,247,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168,85,247,0.5);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  z-index: 800;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 20px rgba(168,85,247,0.5);
  animation: floatBtnPulse 3s ease infinite;
}

@keyframes floatBtnPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(168,85,247,0.5), 0 0 0 0 rgba(168,85,247,0.3); }
  50%       { box-shadow: 0 4px 30px rgba(168,85,247,0.7), 0 0 0 8px rgba(168,85,247,0); }
}

.ai-float-btn:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(168,85,247,1);
  box-shadow: 0 8px 32px rgba(168,85,247,0.7);
}

/* ── LinkedIn Badge ──────────────────────────────────── */
.linkedin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(10, 102, 194, 0.15);
  border: 1px solid rgba(10, 102, 194, 0.35);
  color: #5badeb;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-bounce);
  cursor: pointer;
  text-decoration: none;
}

.linkedin-badge:hover {
  background: rgba(10, 102, 194, 0.25);
  border-color: rgba(10, 102, 194, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,102,194,0.3);
  color: #93c5fd;
}

/* ── Typewriter ──────────────────────────────────────── */
@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── Glow Divider ────────────────────────────────────── */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  margin: 0;
  opacity: 0.3;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-glass);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .ai-nav-btn { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-card { flex-direction: column; gap: 1.2rem; }
  .edu-card { flex-direction: column; gap: 1.2rem; }
  .hero-name { letter-spacing: -2px; }
  .exp-header { flex-direction: column; gap: 0.6rem; }
  .terminal-body { max-height: 320px; }
  .ai-float-btn { bottom: 5rem; right: 1rem; }
  .back-to-top { right: 1rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .section-container { padding: 3.5rem 1rem; }
  .hero-name { font-size: clamp(2.6rem, 10vw, 4rem); }
}

/* ── Neon Text Effect ────────────────────────────────── */
.neon-text {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0,212,255,0.8), 0 0 20px rgba(0,212,255,0.5), 0 0 40px rgba(0,212,255,0.3);
}

/* ── Glassmorphism Panel ─────────────────────────────── */
.glass-panel {
  background: rgba(8, 15, 36, 0.6);
  backdrop-filter: blur(24px) saturate(180%) brightness(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(1.1);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  box-shadow:
    0 4px 32px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.2);
}

/* ── Shimmer Animation ───────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer-text {
  background: linear-gradient(90deg, var(--text-secondary) 25%, var(--accent-cyan) 50%, var(--text-secondary) 75%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ── Loading State ───────────────────────────────────── */
.ai-thinking {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.2rem 0;
}

.ai-thinking span {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: thinkingDots 1.4s ease infinite;
}

.ai-thinking span:nth-child(2) { animation-delay: 0.2s; }
.ai-thinking span:nth-child(3) { animation-delay: 0.4s; }

@keyframes thinkingDots {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-6px); opacity: 1; }
}