/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
#hero { scroll-margin-top: 0; }

:root {
  --bg:         #0F1319;
  --bg2:        #141920;
  --bg3:        #1A2130;
  --bg4:        #1E2838;
  --cyan:       #4A9EE8;
  --cyan2:      #7EC8F0;
  --cyan-dim:   rgba(74, 158, 232, 0.10);
  --cyan-glow:  rgba(74, 158, 232, 0.16);
  --purple:     #7C6CF0;
  --purple2:    #9E8FF5;
  --purple-dim: rgba(124, 108, 240, 0.10);
  --green:      #3DCC8E;
  --green-dim:  rgba(61, 204, 142, 0.10);
  --orange:     #E8A84A;
  --red:        #E85A5A;
  --text:       #E4EEF8;
  --text2:      #8AAEC8;
  --text3:      #506070;
  --border:     rgba(74, 158, 232, 0.10);
  --border2:    rgba(74, 158, 232, 0.20);
  --border3:    rgba(74, 158, 232, 0.32);
  --shadow:     0 8px 32px rgba(0,0,0,0.45);
  --glow:       0 0 14px rgba(74,158,232,0.14), 0 0 40px rgba(74,158,232,0.04);
  --glow-p:     0 0 14px rgba(124,108,240,0.14);
  --glow-g:     0 0 14px rgba(61,204,142,0.14);
  --silk:       cubic-bezier(0.16,1,0.3,1);
  --max-w:      1180px;
  --fh:         'Rajdhani', sans-serif;
  --fb:         'Space Grotesk', sans-serif;
  --fm:         'JetBrains Mono', monospace;
}

body { background: var(--bg); color: var(--text); font-family: var(--fb); font-size: 15px; line-height: 1.65; overflow-x: hidden; }

::selection { background: rgba(74,158,232,0.18); color: var(--cyan2); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ==================== UTILITIES ==================== */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 100px 0; }

.section-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--fm); font-size: 11px; color: var(--cyan);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px;
}
.section-tag::before {
  content: ''; display: block; width: 28px; height: 1px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}
.section-title {
  font-family: var(--fh); font-size: clamp(30px,5vw,52px);
  font-weight: 700; line-height: 1.1; letter-spacing: 0.02em; color: var(--text);
}
.section-title span { color: var(--cyan); }
.section-sub { font-size: 15.5px; color: var(--text2); max-width: 520px; margin-top: 12px; line-height: 1.75; }

.divider {
  width: 56px; height: 3px; margin: 14px 0 36px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px; box-shadow: 0 0 12px var(--cyan-glow);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 7px; border: none; cursor: pointer;
  font-family: var(--fb); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.3s var(--silk); position: relative; overflow: hidden;
}
.btn-primary { background: var(--cyan); color: var(--bg); }
.btn-primary:hover { background: var(--cyan2); box-shadow: var(--glow); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--cyan); border: 1px solid var(--border3); }
.btn-outline:hover { background: var(--cyan-dim); border-color: var(--cyan); box-shadow: var(--glow); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text2); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--cyan-dim); color: var(--cyan); border-color: var(--border2); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* Reveal animations */
.reveal        { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--silk), transform 0.7s var(--silk); }
.reveal-left   { opacity: 0; transform: translateX(-28px); transition: opacity 0.7s var(--silk), transform 0.7s var(--silk); }
.reveal-right  { opacity: 0; transform: translateX(28px); transition: opacity 0.7s var(--silk), transform 0.7s var(--silk); }
.reveal-scale  { opacity: 0; transform: scale(0.94); transition: opacity 0.7s var(--silk), transform 0.7s var(--silk); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1; transform: none;
}

/* ==================== NAV ==================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; display: flex; align-items: center;
  padding: 0 max(24px, calc((100vw - var(--max-w)) / 2 + 28px));
  transition: all 0.4s var(--silk);
}
#nav.scrolled {
  background: rgba(6,9,15,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--fh); font-size: 19px; font-weight: 700; color: var(--text);
  letter-spacing: 0.05em; margin-right: auto; flex-shrink: 0;
}
.nav-logo-icon {
  width: 34px; height: 34px; background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: var(--fm); font-size: 12px; color: var(--bg); font-weight: 500;
}
.nav-logo em { color: var(--cyan); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 6px 11px; font-size: 13px; font-weight: 500; color: var(--text2);
  text-decoration: none; border-radius: 6px; transition: all 0.2s; font-family: var(--fb);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
  background: var(--cyan-dim);
}
.nav-links a.active {
  font-weight: 600;
  box-shadow: 0 0 12px var(--cyan-glow);
}

.nav-cta { display: flex; align-items: center; gap: 9px; margin-left: 14px; }
.nav-cta .btn { padding: 8px 18px; font-size: 13px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 1px; transition: all 0.3s var(--silk); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); background: var(--cyan); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background: var(--cyan); }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(6,9,15,0.97); backdrop-filter: blur(20px);
  z-index: 99; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--fh); font-size: 30px; font-weight: 700; color: var(--text);
  text-decoration: none; padding: 8px 28px; border-radius: 8px;
  letter-spacing: 0.05em; transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--cyan);
}
.mobile-menu a.active {
  background: var(--cyan-dim);
}
.mobile-menu .m-btns { display: flex; gap: 12px; margin-top: 20px; }

/* ==================== SCROLL TO TOP BUTTON ==================== */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(20, 25, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border2);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s var(--silk), transform 0.3s var(--silk), visibility 0.3s var(--silk), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.scroll-top-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.scroll-top-btn:hover svg {
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ==================== HERO ==================== */
#hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(74,158,232,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,158,232,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  animation: orbFloat 10s ease-in-out infinite; z-index: 0; pointer-events: none;
}
.orb-1 { width: 560px; height: 560px; background: rgba(74,158,232,0.05); top: -180px; right: -80px; animation-delay: 0s; }
.orb-2 { width: 420px; height: 420px; background: rgba(124,108,240,0.06); bottom: -120px; left: -80px; animation-delay: 3.5s; }
.orb-3 { width: 280px; height: 280px; background: rgba(61,204,142,0.04); top: 35%; left: 38%; animation-delay: 6s; }
@keyframes orbFloat {
  0%,100% { transform: translate(0,0); }
  33%  { transform: translate(28px,-18px); }
  66%  { transform: translate(-18px,14px); }
}

.hero-inner {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 1fr 380px; align-items: center;
  gap: 52px; max-width: var(--max-w); margin: 0 auto;
  padding: 80px 28px 40px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(61,204,142,0.07); border: 1px solid rgba(61,204,142,0.20);
  border-radius: 24px; padding: 5px 14px;
  font-family: var(--fm); font-size: 11px; color: var(--green);
  letter-spacing: 0.10em; margin-bottom: 22px;
}
.badge-pulse {
  width: 7px; height: 7px; background: var(--green); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite; box-shadow: 0 0 8px var(--green);
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.75); } }

.hero-name {
  font-family: var(--fh); font-size: clamp(40px,7vw,80px); font-weight: 700;
  line-height: 1.0; letter-spacing: 0.02em; margin-bottom: 10px;
}
.hero-name-first { color: var(--text); display: block; }
.hero-name-last {
  color: transparent; -webkit-text-stroke: 1.5px var(--cyan); display: block;
  text-shadow: 0 0 30px rgba(74,158,232,0.18);
}

.hero-role {
  font-family: var(--fm); font-size: clamp(13px,2vw,16px); color: var(--cyan);
  margin-bottom: 18px; display: flex; align-items: center; gap: 0;
}
.hero-role-prompt { color: var(--purple2); margin-right: 6px; }

.hero-sub {
  font-size: clamp(14px,2vw,16.5px); color: var(--text2); line-height: 1.75;
  max-width: 520px; margin-bottom: 36px;
}
.hero-sub code {
  font-family: var(--fm); font-size: 0.88em; color: var(--cyan);
  background: var(--cyan-dim); padding: 1px 6px; border-radius: 4px;
}

.hero-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat-num {
  font-family: var(--fh); font-size: 30px; font-weight: 700; color: var(--cyan);
  line-height: 1; text-shadow: 0 0 18px rgba(74,158,232,0.22);
}
.hero-stat-label { font-size: 12px; color: var(--text3); margin-top: 3px; }

/* Terminal card */
.hero-terminal {
  background: var(--bg2); border: 1px solid var(--border2); border-radius: 12px;
  overflow: hidden; box-shadow: var(--glow), var(--shadow); flex-shrink: 0;
}
.t-topbar {
  background: var(--bg3); padding: 10px 14px; display: flex;
  align-items: center; gap: 6px; border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-title { font-family: var(--fm); font-size: 11px; color: var(--text3); margin-left: 8px; }
.t-body { padding: 18px; font-family: var(--fm); font-size: 12.5px; line-height: 2.0; }
.t-c  { color: var(--text3); }
.t-k  { color: var(--purple2); }
.t-v  { color: var(--green); }
.t-s  { color: var(--orange); }
.t-n  { color: var(--cyan); }
.t-br { color: var(--text2); }
.t-cursor { display:inline-block; width:8px; height:14px; background:var(--cyan); vertical-align:-2px; animation: blink 1.1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--text3); font-family: var(--fm); font-size: 10px;
  letter-spacing: 0.12em; z-index: 1; animation: hintBounce 2.4s ease-in-out infinite;
}
.scroll-mouse { width: 20px; height: 32px; border: 1.5px solid var(--text3); border-radius: 10px; position: relative; }
.scroll-mouse::after {
  content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 6px; background: var(--cyan); border-radius: 2px;
  animation: scrollDot 2.4s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100%{top:5px;opacity:1} 80%{top:14px;opacity:0} }
@keyframes hintBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }

/* ==================== ABOUT ==================== */
#about { background: var(--bg2); position: relative; overflow: hidden; }
#about::before {
  content:''; position:absolute; top:-100px; right:-100px;
  width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, rgba(124,108,240,0.04) 0%, transparent 70%);
  pointer-events:none;
}

.about-grid { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }

.about-photo-wrap { position: relative; flex-shrink: 0; }
.photo-placeholder {
  width: 260px; height: 310px; border-radius: 16px;
  background: linear-gradient(145deg, var(--bg3), var(--bg4));
  border: 1px solid var(--border2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; position: relative; overflow: hidden;
  box-shadow: var(--glow), var(--shadow);
}
.photo-placeholder::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(6,9,15,0.6));
}
.photo-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: 26px; font-weight: 700; color: var(--cyan);
}
.photo-label { font-family: var(--fm); font-size: 10px; color: var(--text3); text-align: center; line-height: 1.5; }

/* Corner brackets */
.bracket { position: absolute; width: 18px; height: 18px; border-color: var(--cyan); border-style: solid; }
.b-tl { top: -5px; left: -5px; border-width: 2px 0 0 2px; }
.b-tr { top: -5px; right: -5px; border-width: 2px 2px 0 0; }
.b-bl { bottom: -5px; left: -5px; border-width: 0 0 2px 2px; }
.b-br { bottom: -5px; right: -5px; border-width: 0 2px 2px 0; }

.about-content h2 { margin-bottom: 8px; }
.about-bio { color: var(--text2); line-height: 1.8; margin-bottom: 24px; }
.about-bio p { margin-bottom: 12px; }
.about-bio strong { color: var(--text); }

.about-info { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.info-chip {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 12px; font-size: 13px; color: var(--text2);
}
.info-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); flex-shrink: 0; }

.about-stats { display: flex; gap: 28px; padding-top: 28px; border-top: 1px solid var(--border); margin-top: 8px; }
.as-num {
  font-family: var(--fh); font-size: 36px; font-weight: 700; color: var(--cyan);
  line-height: 1; text-shadow: 0 0 18px rgba(74,158,232,0.20);
}
.as-label { font-size: 12px; color: var(--text3); margin-top: 3px; }

/* ==================== SKILLS ==================== */
#skills { background: var(--bg2); }

.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.skill-cat {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; transition: all 0.3s var(--silk);
}
.skill-cat:hover { border-color: var(--border2); box-shadow: var(--glow); }

.cat-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.cat-icon {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.cat-name { font-family: var(--fh); font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: 0.04em; }

.skill-row { margin-bottom: 13px; }
.skill-row:last-child { margin-bottom: 0; }
.skill-meta { display: flex; justify-content: space-between; margin-bottom: 6px; }
.skill-name { font-size: 13px; font-weight: 500; color: var(--text2); }
.skill-pct  { font-family: var(--fm); font-size: 11px; color: var(--text3); }
.bar-bg { height: 4px; background: var(--bg3); border-radius: 3px; overflow: hidden; }
.bar { height: 100%; border-radius: 3px; width: 0; transition: width 1.4s var(--silk); }

.tech-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.tag {
  font-family: var(--fm); font-size: 11px; color: var(--text2);
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 5px; padding: 3px 9px; transition: all 0.2s; cursor: default;
}
.tag:hover { color: var(--cyan); border-color: var(--border2); background: var(--cyan-dim); }

/* ==================== PROJECTS ==================== */
#projects { background: var(--bg); }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.proj-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: all 0.3s var(--silk);
}
.proj-card:hover { border-color: var(--border2); box-shadow: var(--glow); transform: translateY(-5px); }

.proj-thumb {
  height: 175px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.proj-thumb-label {
  font-family: var(--fh); font-size: 22px; font-weight: 700; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.12); z-index: 1; text-align: center; padding: 0 12px;
}
.proj-thumb-badge {
  position: absolute; bottom: 10px; right: 10px;
  font-family: var(--fm); font-size: 10px; color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.45); padding: 2px 7px; border-radius: 3px;
}
.proj-thumb-icon {
  position: absolute; top: 10px; left: 10px;
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.proj-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.proj-name { font-family: var(--fh); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 7px; letter-spacing: 0.03em; }
.proj-desc { font-size: 13.5px; color: var(--text2); line-height: 1.7; flex: 1; margin-bottom: 14px; }
.proj-stack { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.stack-tag {
  font-family: var(--fm); font-size: 10.5px; color: var(--cyan);
  background: var(--cyan-dim); border: 1px solid rgba(74,158,232,0.16);
  border-radius: 4px; padding: 2px 8px;
}
.proj-links { display: flex; gap: 8px; margin-top: auto; }

/* ==================== EDUCATION ==================== */
#education { background: var(--bg); }

.edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.edu-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; transition: all 0.3s var(--silk); position: relative; overflow: hidden;
}
.edu-card:hover { border-color: var(--border2); box-shadow: var(--glow); }
.edu-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.edu-period {
  font-family: var(--fm); font-size: 11px; color: var(--cyan);
  letter-spacing: 0.08em; margin-bottom: 8px;
}
.edu-degree {
  font-family: var(--fh); font-size: 20px; font-weight: 700; color: var(--text);
  letter-spacing: 0.02em; margin-bottom: 4px;
}
.edu-school { font-size: 13px; color: var(--text2); margin-bottom: 12px; }
.edu-desc { font-size: 13px; color: var(--text3); line-height: 1.7; }

/* ==================== EXPERIENCE ==================== */
#experience { background: var(--bg2); }

.exp-timeline { position: relative; padding-left: 36px; }
.exp-timeline::before {
  content: ''; position: absolute; left: 5px; top: 10px; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--cyan), var(--purple), rgba(124,108,240,0.08));
}
.exp-item { position: relative; margin-bottom: 36px; }
.exp-item:last-child { margin-bottom: 0; }
.exp-dot {
  position: absolute; left: -41px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}
.exp-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 22px 24px; transition: all 0.3s var(--silk);
}
.exp-card:hover { border-color: var(--border2); box-shadow: var(--glow); }

.exp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.exp-role { font-family: var(--fh); font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.exp-period { font-family: var(--fm); font-size: 11px; color: var(--cyan); letter-spacing: 0.06em; white-space: nowrap; }
.exp-company { font-size: 13px; color: var(--text2); margin-bottom: 12px; }
.exp-desc { font-size: 13.5px; color: var(--text2); line-height: 1.75; }
.exp-desc li { margin-bottom: 4px; margin-left: 16px; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }

/* ==================== SERVICES ==================== */
#services { background: var(--bg2); }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.svc-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px 26px; text-align: center; transition: all 0.35s var(--silk);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.svc-card.featured { border-color: var(--border3); background: var(--bg3); box-shadow: var(--glow); }
.svc-card.featured::after {
  content: 'POPULAR'; position: absolute; top: 18px; right: -18px;
  background: var(--cyan); color: var(--bg); font-family: var(--fm); font-size: 9px;
  font-weight: 700; letter-spacing: 0.12em; padding: 3px 28px; transform: rotate(45deg);
}
.svc-card:hover { border-color: var(--border2); box-shadow: var(--glow); transform: translateY(-6px); }
.svc-card.featured:hover { transform: translateY(-6px); }

.svc-icon {
  width: 62px; height: 62px; border-radius: 16px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.svc-name { font-family: var(--fh); font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: 0.04em; }
.svc-desc { font-size: 13.5px; color: var(--text2); line-height: 1.75; margin-bottom: 22px; flex: 1; }
.svc-price { font-family: var(--fh); font-size: 36px; font-weight: 700; color: var(--cyan); line-height: 1; }
.svc-price-label { font-size: 12px; color: var(--text3); margin-top: 4px; margin-bottom: 22px; }
.svc-features { list-style: none; text-align: left; margin-bottom: 24px; }
.svc-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--text2); padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.svc-features li:last-child { border-bottom: none; }
.svc-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ==================== TESTIMONIALS ==================== */
#testimonials { background: var(--bg); }

.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.testi-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; transition: all 0.3s var(--silk);
}
.testi-card:hover { border-color: var(--border2); box-shadow: var(--glow); }

.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars svg { width: 14px; height: 14px; fill: var(--orange); stroke: none; }
.testi-quote { font-family: var(--fh); font-size: 40px; color: var(--cyan); opacity: 0.25; line-height: 1; margin-bottom: -6px; }
.testi-text { font-size: 14.5px; color: var(--text2); line-height: 1.8; font-style: italic; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  border: 1px solid var(--border2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: 14px; font-weight: 700; color: var(--cyan);
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-role-label { font-size: 12px; color: var(--text3); }

/* ==================== CONTACT ==================== */
#contact { background: var(--bg); position: relative; overflow: hidden; }
#contact::before {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,158,232,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon-box {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--cyan-dim); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon-box svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ci-label { font-size: 11px; color: var(--text3); margin-bottom: 2px; font-family: var(--fm); }
.ci-val { font-size: 14px; color: var(--text); font-weight: 500; }
.ci-val a { color: var(--cyan); text-decoration: none; }
.ci-val a:hover { text-decoration: underline; }

.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg2); border: 1px solid var(--border); text-decoration: none;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.social-btn svg { width: 18px; height: 18px; stroke: var(--text2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.social-btn:hover { background: var(--cyan-dim); border-color: var(--border2); box-shadow: var(--glow); }
.social-btn:hover svg { stroke: var(--cyan); }

/* Contact form */
.cf { display: flex; flex-direction: column; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label { font-family: var(--fm); font-size: 11px; color: var(--text3); letter-spacing: 0.06em; }
.fg input, .fg textarea {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; color: var(--text); font-family: var(--fb); font-size: 14px;
  outline: none; transition: all 0.2s; resize: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text3); }
.fg input:focus, .fg textarea:focus { border-color: var(--border3); background: var(--bg3); box-shadow: 0 0 0 3px rgba(74,158,232,0.06); }
.fg textarea { height: 130px; }

/* ==================== FOOTER ==================== */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 28px; text-align: center;
}
footer p { font-size: 13px; color: var(--text3); }
footer span { color: var(--cyan); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1080px) {
  .hero-terminal { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .skills-grid  { grid-template-columns: repeat(2, 1fr); }
  .proj-grid    { grid-template-columns: repeat(2, 1fr); }
  .svc-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section-pad { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-photo-wrap { margin: 0 auto; }
  .about-info { justify-content: center; }
  .about-stats { justify-content: center; }
  .edu-grid { grid-template-columns: 1fr; }
  .testi-grid  { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .skills-grid { grid-template-columns: 1fr; }
  .proj-grid   { grid-template-columns: 1fr; }
  .svc-grid    { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
}
