/* ============================================================
   Rahul Buraday — Portfolio
   Futuristic theme · dark · neon · glassmorphism
   ============================================================ */

:root {
  --bg: #05060a;
  --bg-2: #0a0c14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.09);
  --text: #e7ecf5;
  --text-dim: #8b93a7;
  --text-mute: #5d6577;
  --neon-1: #00e5ff;   /* cyan */
  --neon-2: #7c4dff;   /* violet */
  --neon-3: #ff2d95;   /* pink */
  --neon-4: #00ffa3;   /* green */
  --grad: linear-gradient(120deg, var(--neon-1), var(--neon-2) 55%, var(--neon-3));
  --grad-soft: linear-gradient(120deg, rgba(0,229,255,.15), rgba(124,77,255,.15));
  --maxw: 1180px;
  --radius: 20px;
  --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.12);
  font-synthesis: none;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* radial ambient glows */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(50% 40% at 15% 0%, rgba(124,77,255,.18), transparent 60%),
    radial-gradient(45% 40% at 90% 10%, rgba(0,229,255,.16), transparent 60%),
    radial-gradient(60% 50% at 50% 110%, rgba(255,45,149,.12), transparent 60%);
  z-index: -3;
  pointer-events: none;
}

#particle-canvas {
  position: fixed; inset: 0;
  z-index: -2;
  pointer-events: none;
}

.grid-overlay {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 80%);
  z-index: -2;
  pointer-events: none;
}

.noise-overlay {
  position: fixed; inset: 0;
  z-index: -1;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
strong { color: #fff; font-weight: 600; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad);
  z-index: 200;
  box-shadow: 0 0 12px var(--neon-1);
}

/* ===== Cursor glow ===== */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,.10), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 0;
  transition: opacity .3s;
  mix-blend-mode: screen;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  z-index: 100;
  transition: padding .3s, background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding-top: .7rem; padding-bottom: .7rem;
  background: rgba(5,6,10,.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
}
.nav-logo { display: flex; align-items: center; gap: .6rem; font-weight: 700; margin-right: auto; }
.logo-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, #3DDC84, #00C853);
  color: #04060c; font-weight: 800; font-size: .95rem;
  box-shadow: 0 0 20px rgba(61,220,132,.45);
}
.logo-android { width: 22px; height: 22px; color: #04060c; }
.logo-text { font-size: 1.02rem; letter-spacing: .2px; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; }
.nav-links a {
  font-size: .92rem; color: var(--text-dim); position: relative; padding: .2rem 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--grad); transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-resume-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--neon-1);
  color: var(--neon-1); font-weight: 600; font-size: .88rem;
  transition: all .25s;
}
.nav-resume-btn:hover { background: var(--neon-1); color: #04060c; box-shadow: 0 0 24px rgba(0,229,255,.5); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  border: none; transition: transform .2s, box-shadow .3s, background .3s;
  position: relative; overflow: hidden;
}
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }
.btn-primary {
  background: var(--grad); color: #04060c;
  background-size: 200% 200%;
  box-shadow: 0 8px 30px rgba(0,229,255,.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(124,77,255,.45); animation: gradShift 3s ease infinite; }
@keyframes gradShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--surface-border); backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--neon-1); box-shadow: 0 0 24px rgba(0,229,255,.2); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 7rem 1.2rem 2rem;
  position: relative;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: center;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}
.hero-inner { max-width: 560px; text-align: left; }
.hero-inner .hero-badge,
.hero-inner .hero-cta,
.hero-inner .hero-socials { justify-content: flex-start; }
.hero-inner .hero-typewriter { justify-content: flex-start; }
.hero-inner .hero-subtitle { margin-left: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1.1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--surface-border);
  font-size: .85rem; color: var(--text-dim); margin-bottom: 1.8rem;
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--neon-4);
  box-shadow: 0 0 0 0 rgba(0,255,163,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,255,163,.55); }
  70% { box-shadow: 0 0 0 12px rgba(0,255,163,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,255,163,0); }
}
.hero-title { font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: 1.02; font-weight: 800; letter-spacing: -1.5px; }
.hero-title .line { display: block; }
.hero-title .line:first-child { color: #fff; }
.hero-subtitle { margin: 1.6rem auto 0; max-width: 620px; color: var(--text-dim); font-size: clamp(1rem, 2.4vw, 1.18rem); }
.hero-typewriter {
  margin: 1.4rem auto 0; font-family: "JetBrains Mono", monospace;
  font-size: clamp(.85rem, 2.2vw, 1rem); color: var(--neon-1);
  display: inline-flex; align-items: center; gap: .5rem; min-height: 1.5em;
}
.hero-typewriter .prompt { color: var(--neon-4); }
.caret { animation: blink 1s steps(2) infinite; color: var(--neon-1); }
@keyframes blink { 50% { opacity: 0; } }

.hero-cta { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-socials { display: flex; gap: 1rem; justify-content: flex-start; margin-top: 2.4rem; }
.hero-socials a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--surface-border); color: var(--text-dim);
  transition: all .25s; position: relative;
}
.hero-socials a:hover { color: #fff; transform: translateY(-4px); border-color: var(--neon-1); box-shadow: 0 0 22px rgba(0,229,255,.3); }
.hero-socials a[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; background: #11131c; padding: .25rem .6rem; border-radius: 6px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; border: 1px solid var(--surface-border);
}
.hero-socials a:hover::after { opacity: 1; }

.glitch { position: relative; }

.scroll-indicator {
  display: flex; flex-direction: column; align-items: center;
  margin: .9rem auto 1.4rem;
  color: var(--text-mute);
}
.mouse { width: 24px; height: 38px; border: 2px solid var(--text-mute); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.wheel { width: 4px; height: 8px; background: var(--neon-1); border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(12px)} }

/* ===== Sections ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 6.5rem clamp(1.2rem, 4vw, 2rem); }
.section-head { margin-bottom: 3rem; }
.section-index { font-family: "JetBrains Mono", monospace; color: var(--neon-2); font-size: .9rem; font-weight: 600; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -1px; margin-top: .3rem; }
.section-sub { color: var(--text-dim); margin-top: .8rem; font-size: 1.05rem; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.about-text p { color: var(--text-dim); margin-bottom: 1.1rem; font-size: 1.05rem; }
.hl { color: var(--neon-1); font-weight: 600; }
.about-facts { list-style: none; margin-top: 1.6rem; display: grid; gap: .8rem; }
.about-facts li { display: flex; align-items: center; gap: .7rem; color: var(--text); font-weight: 500; }
.about-facts svg { color: var(--neon-1); flex-shrink: 0; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card { border-radius: var(--radius); padding: 1.8rem 1.2rem; text-align: center; transition: transform .3s, box-shadow .3s; }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.stat-num { display: block; font-size: 2.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat-label { color: var(--text-dim); font-size: .85rem; margin-top: .5rem; display: block; }

/* ===== Leadership & Startups ===== */
.leadership-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
  width: 100%;
}
.leadership-card {
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform .3s, border-color .3s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.leadership-body {
  min-width: 0;
  flex: 1;
}
.leadership-card:hover { transform: translateY(-5px); }
.leadership-card-featured {
  border-color: rgba(0,229,255,.35);
  background: linear-gradient(135deg, rgba(0,229,255,.06), rgba(124,77,255,.04));
}
.leadership-card-featured::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
}
.leadership-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  border: 1px solid var(--surface-border);
}
.leadership-body h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.lead-now {
  font-size: .62rem; font-weight: 800;
  padding: .15rem .45rem; border-radius: 4px;
  background: var(--neon-4); color: #04060c;
  letter-spacing: .5px; text-transform: uppercase;
  animation: pulse 2s infinite;
}
.leadership-body p {
  color: var(--text-dim);
  font-size: .88rem;
  line-height: 1.55;
  margin-bottom: .8rem;
}
.leadership-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.leadership-tags span {
  font-size: .68rem; font-family: "JetBrains Mono", monospace;
  padding: .2rem .5rem; border-radius: 5px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--surface-border);
  color: var(--text-dim);
}
.leadership-card-featured .leadership-tags span {
  border-color: rgba(0,229,255,.25);
  color: var(--neon-1);
}

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--neon-1), var(--neon-2), var(--neon-3)); opacity: .5; }
.timeline-item { position: relative; margin-bottom: 1.8rem; }
.timeline-dot { position: absolute; left: -2.2rem; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--neon-1); box-shadow: 0 0 14px var(--neon-1); transform: translateX(-1px); }
.timeline-card { border-radius: var(--radius); padding: 1.6rem 1.8rem; transition: transform .3s, border-color .3s; }
.timeline-card:hover { transform: translateX(6px); border-color: rgba(0,229,255,.35); }
.timeline-date { font-family: "JetBrains Mono", monospace; font-size: .8rem; color: var(--neon-1); }
.timeline-card h3 { font-size: 1.2rem; margin-top: .3rem; }
.timeline-company { color: var(--neon-2); font-weight: 600; font-size: .92rem; }
.timeline-badge {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  padding: .2rem .55rem; border-radius: 999px;
  margin-top: .4rem; margin-bottom: .2rem;
  letter-spacing: .3px;
}
.startup-badge {
  background: rgba(255,45,149,.12);
  color: #ff7eb9;
  border: 1px solid rgba(255,45,149,.3);
}
.lead-badge {
  background: rgba(0,229,255,.12);
  color: var(--neon-1);
  border: 1px solid rgba(0,229,255,.3);
}
.timeline-card ul { list-style: none; margin-top: .9rem; display: grid; gap: .5rem; }
.timeline-card li { color: var(--text-dim); font-size: .95rem; padding-left: 1.2rem; position: relative; }
.timeline-card li::before { content: "▹"; position: absolute; left: 0; color: var(--neon-1); }

/* ===== Projects ===== */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.4rem; }
.project-card { border-radius: var(--radius); padding: 1.8rem; position: relative; overflow: hidden; transition: transform .3s, border-color .3s; }
.project-card:hover { transform: translateY(-6px); border-color: rgba(124,77,255,.4); }
.project-glow { position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 50%; background: var(--grad-soft); filter: blur(40px); opacity: 0; transition: opacity .4s; }
.project-card:hover .project-glow { opacity: 1; }
.project-tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--neon-1); border: 1px solid rgba(0,229,255,.3); padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.project-card h3 { font-size: 1.22rem; margin-bottom: .7rem; }
.project-card p { color: var(--text-dim); font-size: .95rem; }
.project-stack { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.project-stack span { font-size: .76rem; font-family: "JetBrains Mono", monospace; color: var(--text-dim); background: rgba(255,255,255,.04); padding: .25rem .6rem; border-radius: 7px; border: 1px solid var(--surface-border); }

/* ===== Apps ===== */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.app-card { border-radius: var(--radius); padding: 1.4rem; display: flex; align-items: center; gap: 1.1rem; transition: transform .3s, border-color .3s; }
.app-card:hover { transform: translateY(-5px); border-color: rgba(0,229,255,.4); box-shadow: var(--shadow-glow); }
.app-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; flex-shrink: 0; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 6px 22px rgba(0,0,0,.4); }
.app-info { flex: 1; }
.app-info h3 { font-size: 1.08rem; }
.app-info p { color: var(--text-dim); font-size: .85rem; }
.app-rating { font-size: .78rem; color: var(--neon-4); font-weight: 600; }
.app-arrow { font-size: 1.3rem; color: var(--text-mute); transition: transform .25s, color .25s; }
.app-card:hover .app-arrow { color: var(--neon-1); transform: translate(3px, -3px); }
.apps-note { color: var(--text-mute); font-size: .9rem; margin-top: 1.4rem; text-align: center; }
.apps-note code { background: rgba(255,255,255,.06); padding: .15rem .4rem; border-radius: 5px; font-family: "JetBrains Mono", monospace; color: var(--neon-1); }

/* ===== GitHub ===== */
.github-cta { border-radius: var(--radius); padding: 2.2rem; display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.github-icon { color: var(--neon-1); flex-shrink: 0; }
.github-text { flex: 1; min-width: 240px; }
.github-text h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.github-text p { color: var(--text-dim); }

/* ===== Skills ===== */
.skills-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.skill-group { border-radius: var(--radius); padding: 1.6rem 1.8rem; transition: transform .3s, border-color .3s; }
.skill-group:hover { transform: translateY(-4px); border-color: rgba(0,229,255,.3); }
.skill-group h3 { font-size: 1.05rem; margin-bottom: 1.1rem; color: var(--neon-1); }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips span { font-size: .85rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--surface-border); color: var(--text); transition: all .2s; cursor: default; }
.chips span:hover { border-color: var(--neon-2); color: #fff; transform: translateY(-2px); box-shadow: 0 0 16px rgba(124,77,255,.25); }

/* ===== Certifications ===== */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.3rem; }
.cert-card { border-radius: var(--radius); padding: 1.6rem; position: relative; transition: transform .3s, border-color .3s; }
.cert-card:hover { transform: translateY(-5px); }
.cert-card.earned:hover { border-color: rgba(0,255,163,.4); }
.cert-card.upcoming { border-style: dashed; }
.cert-card.upcoming:hover { border-color: rgba(124,77,255,.5); }
.cert-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .9rem; background: rgba(0,255,163,.12); color: var(--neon-4); border: 1px solid rgba(0,255,163,.3); }
.upcoming-badge { background: rgba(124,77,255,.12); color: #b69bff; border-color: rgba(124,77,255,.35); }
.cert-card h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.cert-card p { color: var(--text-dim); font-size: .9rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.3rem; }
.contact-card { border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: .4rem; transition: transform .3s, border-color .3s; }
.contact-card:hover { transform: translateY(-5px); border-color: rgba(0,229,255,.4); box-shadow: var(--shadow-glow); }
.contact-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); color: var(--neon-1); margin-bottom: .7rem; }
.contact-label { font-size: .8rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 1px; }
.contact-val { font-weight: 600; word-break: break-word; }
.contact-cta { text-align: center; margin-top: 3rem; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--surface-border); padding: 3rem 1.2rem; text-align: center; margin-top: 4rem; }
.footer-logo { font-size: 1.5rem; font-weight: 800; }
.footer p { color: var(--text-dim); margin-top: .5rem; }
.footer-copy { color: var(--text-mute); font-size: .85rem; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(3,4,8,.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 1.2rem;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
  border-radius: 24px; padding: 2.6rem 2.2rem; max-width: 460px; width: 100%;
  text-align: center; position: relative; transform: translateY(20px) scale(.96);
  transition: transform .4s cubic-bezier(.2,.9,.3,1.2);
  border: 1px solid rgba(0,229,255,.25);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(0,229,255,.15);
}
.modal-overlay.show .modal { transform: translateY(0) scale(1); }
.modal-icon { font-size: 3rem; margin-bottom: .6rem; animation: bounceIn .6s; }
@keyframes bounceIn { 0%{transform:scale(0)} 60%{transform:scale(1.2)} 100%{transform:scale(1)} }
.modal h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.modal-text { color: var(--text-dim); margin-bottom: 1.6rem; }
.modal-contacts { display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.modal-contact {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .8rem; border-radius: 12px; background: rgba(255,255,255,.04);
  border: 1px solid var(--surface-border); color: var(--text); font-weight: 500; transition: all .2s;
}
.modal-contact:hover { border-color: var(--neon-1); color: var(--neon-1); }
.modal-contact svg { color: var(--neon-1); }
.modal-ok { width: 100%; justify-content: center; }
.modal-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: none; color: var(--text-mute); font-size: 1.8rem; cursor: pointer; line-height: 1; transition: color .2s; }
.modal-close:hover { color: #fff; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ANDROID THEME — phone mockups, robot, versions, flavors
   ============================================================ */

/* --- Hero visual: phone + robot --- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  perspective: 900px;
}

.phone-mockup {
  position: relative;
  z-index: 2;
  animation: phoneFloat 5s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(4deg); }
  50% { transform: translateY(-14px) rotateY(-5deg) rotateX(2deg); }
}

.phone-frame {
  width: 220px;
  background: linear-gradient(160deg, #1a1d2e 0%, #0d0f18 50%, #1a1d2e 100%);
  border-radius: 32px;
  padding: 10px;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 60px rgba(61,220,132,.15);
  position: relative;
}
.phone-frame-sm { width: 160px; border-radius: 24px; padding: 7px; }

.phone-notch {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 22px;
  background: #0d0f18;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.phone-frame-sm .phone-notch { width: 50px; height: 16px; top: 7px; }

.phone-screen {
  background: #0a0c12;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9/19;
  position: relative;
}
.phone-frame-sm .phone-screen { border-radius: 18px; }

.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 14px 6px;
  font-size: .65rem; font-weight: 600; color: var(--text-dim);
}
.phone-signal { letter-spacing: 2px; color: var(--neon-4); }

.build-header {
  display: flex; align-items: center; gap: .5rem;
  padding: .4rem 12px;
  font-size: .68rem; color: var(--neon-1);
  font-family: "JetBrains Mono", monospace;
}
.build-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--neon-4);
  animation: pulse 1.5s infinite;
}

.build-ui { padding: 6px 12px; display: grid; gap: 6px; }
.ui-block {
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: uiBuild .8s ease forwards;
}
.ui-block.block-nav { height: 10px; width: 60%; animation-delay: .3s; }
.ui-block.block-hero { height: 48px; animation-delay: .6s; background: linear-gradient(135deg, rgba(0,229,255,.15), rgba(124,77,255,.15)); }
.ui-row { display: flex; gap: 6px; }
.ui-block.block-card { flex: 1; height: 36px; animation-delay: .9s; }
.ui-block.block-list { height: 28px; animation-delay: 1.2s; }
.ui-block.block-btn { height: 14px; width: 70%; margin: 4px auto 0; animation-delay: 1.5s; background: linear-gradient(90deg, #3DDC84, #00C853); opacity: 0; }
@keyframes uiBuild {
  to { opacity: 1; transform: scaleX(1); }
}

.build-progress { padding: 8px 12px 14px; }
.build-bar {
  height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.build-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #3DDC84, var(--neon-1));
  border-radius: 2px;
  animation: buildProgress 4s ease-in-out infinite;
}
@keyframes buildProgress {
  0% { width: 0%; }
  70% { width: 92%; }
  85% { width: 92%; }
  100% { width: 100%; }
}
.build-label {
  display: block; margin-top: 5px;
  font-size: .58rem; color: var(--text-mute);
  font-family: "JetBrains Mono", monospace;
}

.phone-glow {
  position: absolute; inset: -20%;
  background: radial-gradient(circle, rgba(61,220,132,.2), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* Android robot */
.android-robot {
  position: absolute;
  bottom: 8%; left: -8%;
  width: 90px;
  animation: robotBob 3s ease-in-out infinite;
  z-index: 3;
}
@keyframes robotBob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}
.robot-svg { width: 100%; filter: drop-shadow(0 8px 24px rgba(61,220,132,.4)); }
.robot-wave {
  position: absolute; top: -8px; right: -12px;
  font-size: 1.4rem;
  animation: waveHand 2s ease-in-out infinite;
}
@keyframes waveHand {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-10deg); }
}

/* Orbiting tech chips */
.android-orbit {
  position: absolute; inset: 0;
  pointer-events: none;
}
.orbit-chip {
  position: absolute;
  font-size: .72rem; font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(61,220,132,.3);
  color: #3DDC84;
  font-family: "JetBrains Mono", monospace;
  white-space: nowrap;
  animation: orbitFloat 4s ease-in-out infinite;
}
.chip-1 { top: 8%; right: 0; animation-delay: 0s; }
.chip-2 { top: 35%; right: -12%; animation-delay: .8s; color: var(--neon-1); border-color: rgba(0,229,255,.3); }
.chip-3 { bottom: 30%; right: -8%; animation-delay: 1.6s; color: var(--neon-2); border-color: rgba(124,77,255,.3); }
.chip-4 { bottom: 10%; left: 5%; animation-delay: 2.4s; color: var(--neon-3); border-color: rgba(255,45,149,.3); }
.chip-5 { top: 55%; left: -10%; animation-delay: 1.2s; color: #ffd60a; border-color: rgba(255,214,10,.35); }
.chip-6 { bottom: 5%; right: 10%; animation-delay: 2s; color: var(--neon-4); border-color: rgba(0,255,163,.3); }
@keyframes orbitFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Floating code snippet */
.code-float {
  position: absolute;
  top: 5%; right: -5%;
  background: rgba(8,10,18,.92);
  border: 1px solid rgba(0,229,255,.25);
  border-radius: 10px;
  padding: .7rem .9rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem;
  line-height: 1.5;
  color: var(--text-dim);
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 30px rgba(0,229,255,.1);
  animation: codeFloat 6s ease-in-out infinite;
  z-index: 4;
}
@keyframes codeFloat {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}
.code-float .kw { color: var(--neon-2); }
.code-float .fn { color: var(--neon-1); }
.code-float .ty { color: #3DDC84; }

/* Gradle / ADB terminal float */
.terminal-float {
  position: absolute;
  bottom: 2%; left: -12%;
  width: 210px;
  background: rgba(8,10,18,.94);
  border: 1px solid rgba(61,220,132,.25);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 30px rgba(61,220,132,.1);
  animation: terminalFloat 7s ease-in-out infinite;
  z-index: 4;
}
@keyframes terminalFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.terminal-bar {
  display: flex; align-items: center; gap: 5px;
  padding: .45rem .7rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--surface-border);
}
.t-dot { width: 8px; height: 8px; border-radius: 50%; }
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green { background: #28c840; }
.t-title { font-size: .58rem; color: var(--text-mute); margin-left: .4rem; font-family: "JetBrains Mono", monospace; }
.terminal-body {
  padding: .6rem .7rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .52rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}
.t-prompt { color: #3DDC84; }
.t-ok { color: var(--neon-4); }
.t-log { color: var(--neon-1); }

/* Background floating robots */
.bg-robots {
  position: fixed; inset: 0;
  pointer-events: none; z-index: -1;
  overflow: hidden;
}
.bg-robot {
  position: absolute;
  width: 120px; height: 120px;
}
.bg-robot.r1 { top: 18%; left: 3%; animation: bgRobotDrift 12s ease-in-out infinite; }
.bg-robot.r2 { top: 55%; right: 4%; width: 90px; height: 90px; animation: bgRobotDrift 15s ease-in-out infinite reverse; }
.bg-robot.r3 { bottom: 12%; left: 8%; width: 70px; height: 70px; animation: bgRobotDrift 10s ease-in-out infinite 2s; }
@keyframes bgRobotDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Latest version badge glow */
.ver-badge-latest {
  position: relative;
  border-color: color-mix(in srgb, var(--ver-color) 55%, transparent) !important;
  box-shadow: 0 0 24px color-mix(in srgb, var(--ver-color) 20%, transparent);
}
.ver-latest-tag {
  position: absolute; top: -8px; right: -6px;
  font-size: .58rem; font-weight: 800;
  padding: .15rem .45rem; border-radius: 4px;
  background: var(--ver-color); color: #04060c;
  letter-spacing: .5px;
}

/* Android versions & flavors strip */
.android-strip {
  width: 100%;
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding: 0 1.2rem;
}
.android-strip-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem 1.4rem;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}
.strip-label {
  font-size: .78rem; font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.strip-divider {
  width: 1px; height: 32px;
  background: var(--surface-border);
}
.version-badges { display: flex; gap: .7rem; flex-wrap: wrap; }
.ver-badge {
  display: flex; align-items: center; gap: .5rem;
  padding: .4rem .8rem;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid color-mix(in srgb, var(--ver-color) 40%, transparent);
  transition: transform .2s, box-shadow .2s;
}
.ver-badge:hover { transform: translateY(-2px); box-shadow: 0 0 20px color-mix(in srgb, var(--ver-color) 25%, transparent); }
.ver-num {
  font-size: 1.1rem; font-weight: 800;
  color: var(--ver-color);
  line-height: 1;
}
.ver-name { font-size: .72rem; color: var(--text-dim); }
.ver-api {
  font-size: .65rem; font-family: "JetBrains Mono", monospace;
  color: var(--text-mute);
  padding: .15rem .4rem;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
}
.flavor-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.flavor-chip {
  font-size: .72rem; font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(61,220,132,.12), rgba(0,229,255,.08));
  border: 1px solid rgba(61,220,132,.25);
  color: #3DDC84;
}

/* Page guide — quick navigation */
.page-guide {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .35rem .5rem;
  margin-top: 1.2rem;
  padding: .55rem 1rem;
  font-size: .78rem;
  color: var(--text-mute);
}
.guide-label {
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; font-size: .68rem;
  color: var(--text-dim); margin-right: .3rem;
}
.page-guide a {
  color: var(--text-dim); transition: color .2s;
  font-weight: 500;
}
.page-guide a:hover { color: var(--neon-1); }
.guide-dot { opacity: .35; user-select: none; }
.inline-link { color: var(--neon-1); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: #fff; }

/* --- Phone showcase (Apps section) --- */
.phone-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding: 2rem 0;
}
.showcase-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  transition: transform .3s;
}
.showcase-phone:hover { transform: translateY(-8px); }
.showcase-phone-center { transform: translateY(-20px); }
.showcase-phone-center:hover { transform: translateY(-28px); }
.showcase-label {
  font-size: .78rem; font-weight: 600;
  color: var(--text-dim);
  font-family: "JetBrains Mono", monospace;
}

/* Mini app screens inside phones */
.app-screen { display: flex; flex-direction: column; }
.app-screen-header {
  padding: 24px 10px 8px;
  font-size: .65rem; font-weight: 700;
  text-align: center;
  color: #fff;
}
.app-screen-body { flex: 1; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.app-vahak .app-screen-header { background: linear-gradient(135deg, #00e5ff, #7c4dff); }
.app-vahak .app-map {
  flex: 1; border-radius: 8px;
  background: linear-gradient(180deg, rgba(0,229,255,.2) 0%, rgba(0,100,80,.3) 100%);
  position: relative;
}
.app-vahak .app-map::after {
  content: "📍"; position: absolute; top: 40%; left: 45%; font-size: .8rem;
}
.app-vahak .app-cta-bar {
  padding: 6px; border-radius: 6px; text-align: center;
  font-size: .55rem; font-weight: 700;
  background: linear-gradient(90deg, #00e5ff, #7c4dff);
  color: #fff;
}
.app-invoice .app-screen-header { background: linear-gradient(135deg, #00ffa3, #00b8ff); color: #04060c; }
.app-invoice-card {
  height: 40px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(0,255,163,.2), rgba(0,184,255,.15));
  border: 1px solid rgba(0,255,163,.3);
}
.app-invoice-row { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); }
.app-invoice-row.short { width: 60%; }
.app-walmart .app-screen-header { background: linear-gradient(135deg, #ffd60a, #ff6b00); color: #04060c; }
.app-walmart .app-search {
  height: 14px; border-radius: 7px;
  background: rgba(255,255,255,.1);
  margin-bottom: 4px;
}
.app-product-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: 1;
}
.app-product-grid div {
  border-radius: 5px;
  background: rgba(255,214,10,.15);
  border: 1px solid rgba(255,214,10,.2);
}
.app-cisco .app-screen-header { background: linear-gradient(135deg, #049fd9, #005073); }
.app-cisco .app-screen-body {
  align-items: center; justify-content: center; gap: 8px;
}
.app-cisco-shield { font-size: 1.6rem; }
.app-cisco-status {
  font-size: .55rem; font-weight: 700; color: var(--neon-4);
  text-align: center;
}
.app-cisco-bar {
  width: 70%; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #049fd9, #00ffa3);
}

/* --- Android Ecosystem section --- */
.android-ecosystem { position: relative; }
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.3rem;
}
.eco-card {
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .3s, border-color .3s;
}
.eco-card:hover { transform: translateY(-5px); border-color: rgba(61,220,132,.35); }
.eco-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: var(--neon-1);
  margin-bottom: 1rem;
}
.eco-icon.android-green { background: rgba(61,220,132,.15); color: #3DDC84; }
.eco-icon.ai-purple { background: rgba(124,77,255,.15); color: var(--neon-2); }
.eco-icon.play-store { background: rgba(0,229,255,.12); color: var(--neon-1); }
.eco-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.eco-card p { color: var(--text-dim); font-size: .92rem; margin-bottom: 1rem; }
.eco-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.eco-tags span {
  font-size: .72rem; font-family: "JetBrains Mono", monospace;
  padding: .25rem .55rem; border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--surface-border);
  color: var(--text-dim);
}

/* Dessert version timeline */
.dessert-timeline {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  border: 1px solid var(--surface-border);
}
.dessert-title {
  text-align: center;
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-weight: 500;
}
.dessert-track {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  gap: .5rem;
}
.dessert-track::before {
  content: "";
  position: absolute;
  top: 18px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, #3DDC84, var(--neon-1), var(--neon-2), var(--neon-3), var(--text-mute));
  opacity: .4;
}
.dessert-item {
  display: flex; flex-direction: column; align-items: center;
  gap: .4rem; flex: 1; text-align: center;
  position: relative; z-index: 1;
}
.dessert-item.dim { opacity: .45; }
.dessert-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--dessert-color);
  box-shadow: 0 0 16px color-mix(in srgb, var(--dessert-color) 40%, transparent);
  display: grid; place-items: center;
  transition: transform .3s;
}
.dessert-item:hover .dessert-dot { transform: scale(1.15); }
.dessert-ver {
  font-size: .85rem; font-weight: 800;
  color: var(--dessert-color);
}
.dessert-name {
  font-size: .68rem; color: var(--text-dim);
  line-height: 1.2;
}
.dessert-api {
  font-size: .6rem; font-family: "JetBrains Mono", monospace;
  color: var(--text-mute);
}
.dessert-latest .dessert-dot {
  animation: latestPulse 2s ease-in-out infinite;
}
@keyframes latestPulse {
  0%, 100% { box-shadow: 0 0 16px color-mix(in srgb, var(--dessert-color) 40%, transparent); }
  50% { box-shadow: 0 0 28px color-mix(in srgb, var(--dessert-color) 70%, transparent); }
}
.dessert-latest .dessert-ver { font-size: 1rem; }

/* Build pipeline */
.build-pipeline {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  border: 1px solid var(--surface-border);
}
.pipeline-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.pipeline-step {
  display: flex; flex-direction: column; align-items: center;
  gap: .35rem; text-align: center;
  padding: 1rem .8rem;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--surface-border);
  min-width: 100px;
  transition: transform .3s, border-color .3s;
}
.pipeline-step:hover {
  transform: translateY(-4px);
  border-color: rgba(61,220,132,.4);
}
.pipeline-icon { font-size: 1.5rem; line-height: 1; }
.pipeline-label { font-size: .82rem; font-weight: 700; color: #fff; }
.pipeline-sub { font-size: .65rem; color: var(--text-mute); font-family: "JetBrains Mono", monospace; }
.pipeline-arrow {
  font-size: 1.2rem; color: #3DDC84;
  font-weight: 700;
  opacity: .6;
}

/* Jetpack libraries grid */
.jetpack-grid {
  margin-top: 2rem;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: rgba(61,220,132,.04);
  border: 1px solid rgba(61,220,132,.15);
}
.jetpack-chips {
  display: flex; flex-wrap: wrap; gap: .55rem;
  justify-content: center;
  margin-top: 1.2rem;
}
.jetpack-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(61,220,132,.25);
  color: var(--text);
  transition: all .2s;
}
.jetpack-chip:hover {
  background: rgba(61,220,132,.12);
  border-color: #3DDC84;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(61,220,132,.2);
}
.jetpack-chip svg { flex-shrink: 0; }

/* ===== AI Lab ===== */
.ai-lab-section { position: relative; }
.ai-lab-section .github-cta { margin-top: 2.5rem; }
.ai-lab-label {
  font-size: .92rem; font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 1rem; margin-top: .5rem;
}
.ai-inprogress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.ai-inprogress-grid .ai-project-card { margin-bottom: 0; flex-direction: column; align-items: flex-start; }
.ai-inprogress-grid .ai-project-link { margin-top: .5rem; }
.ai-project-card {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.6rem; border-radius: var(--radius);
  margin-bottom: 2rem; position: relative;
  transition: transform .3s, border-color .3s;
  color: inherit;
}
.ai-project-card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,.4); }
.ai-project-live {
  border-color: rgba(0,229,255,.3);
  background: linear-gradient(135deg, rgba(0,229,255,.06), rgba(124,77,255,.04));
}
.ai-project-badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: .65rem; font-weight: 800;
  padding: .2rem .55rem; border-radius: 4px;
  letter-spacing: .5px; text-transform: uppercase;
}
.live-badge { background: var(--neon-4); color: #04060c; }
.upcoming-badge-sm {
  position: static; display: inline-block;
  margin-bottom: .6rem;
  background: rgba(124,77,255,.15);
  color: #b69bff; border: 1px solid rgba(124,77,255,.3);
  border-radius: 4px;
}
.ai-project-icon { font-size: 2.5rem; flex-shrink: 0; }
.ai-project-body { flex: 1; }
.ai-project-body h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.ai-project-body p { color: var(--text-dim); font-size: .92rem; }
.ai-project-stack {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem;
}
.ai-project-stack span {
  font-size: .7rem; font-family: "JetBrains Mono", monospace;
  padding: .2rem .5rem; border-radius: 5px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--surface-border);
  color: var(--text-dim);
}
.ai-project-link {
  font-size: .82rem; font-weight: 600;
  color: var(--neon-1); white-space: nowrap;
  flex-shrink: 0;
}
.ai-upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}
.ai-upcoming-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .3s, border-color .3s;
  color: inherit;
  display: block;
  border-style: dashed;
}
.ai-upcoming-card:hover { transform: translateY(-4px); border-color: rgba(124,77,255,.4); }
.ai-upcoming-link .ai-project-link { display: block; margin-top: .8rem; }
.ai-upcoming-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.ai-upcoming-card h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.ai-upcoming-card p { color: var(--text-dim); font-size: .88rem; margin-bottom: .5rem; }

/* ===== GitHub repos ===== */
.github-repos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.repo-card {
  border-radius: var(--radius);
  padding: 1.4rem;
  display: block;
  transition: transform .3s, border-color .3s;
  color: inherit;
}
.repo-card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,.35); }
.repo-card-more { border-style: dashed; }
.repo-lang {
  font-size: .68rem; font-family: "JetBrains Mono", monospace;
  color: var(--neon-1); font-weight: 600;
}
.repo-card h3 { font-size: 1.05rem; margin: .5rem 0 .4rem; }
.repo-card p { color: var(--text-dim); font-size: .85rem; margin-bottom: .6rem; }
.repo-meta { font-size: .72rem; color: var(--text-mute); }

/* ===== Footer nav ===== */
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .8rem 1.2rem; margin: 1rem 0;
}
.footer-nav a {
  font-size: .82rem; color: var(--text-mute);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--neon-1); }

/* ===== Awards ===== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.3rem;
}
.award-card {
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  transition: transform .3s, border-color .3s;
  overflow: hidden;
}
.award-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
  opacity: 0; transition: opacity .3s;
}
.award-card:hover { transform: translateY(-5px); border-color: rgba(255,214,10,.35); }
.award-card:hover::before { opacity: 1; }
.award-icon { font-size: 2rem; margin-bottom: .6rem; }
.award-year {
  font-size: .72rem; font-family: "JetBrains Mono", monospace;
  color: var(--neon-1); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
}
.award-card h3 { font-size: 1.15rem; margin: .4rem 0 .6rem; }
.award-card p { color: var(--text-dim); font-size: .92rem; margin-bottom: .8rem; }
.award-org {
  font-size: .78rem; font-weight: 600;
  color: var(--neon-2);
}

/* ===== DevOps & CI/CD ===== */
.devops-section { position: relative; }

.cicd-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  border: 1px solid var(--surface-border);
  overflow-x: auto;
}
.cicd-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; min-width: 90px; z-index: 1;
}
.cicd-node {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg);
  border: 2px solid var(--surface-border);
  font-family: "JetBrains Mono", monospace;
  font-size: .75rem; font-weight: 700;
  color: var(--text-dim);
  transition: all .4s;
  margin-bottom: .6rem;
}
.cicd-step h4 { font-size: .78rem; font-weight: 700; color: #fff; }
.cicd-step p { font-size: .65rem; color: var(--text-mute); margin-top: .2rem; }
.cicd-step-final .cicd-node { border-color: #3DDC84; color: #3DDC84; }
.cicd-line {
  width: 40px; height: 2px;
  background: rgba(255,255,255,.08);
  margin-top: 22px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.cicd-line-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--neon-1), #3DDC84);
  transform: scaleX(0);
  transform-origin: left;
  animation: cicdPulse 4s ease-in-out infinite;
}
.cicd-line-fill.delay-1 { animation-delay: .5s; }
.cicd-line-fill.delay-2 { animation-delay: 1s; }
.cicd-line-fill.delay-3 { animation-delay: 1.5s; }
.cicd-line-fill.delay-4 { animation-delay: 2s; }
.cicd-line-fill.delay-5 { animation-delay: 2.5s; }
@keyframes cicdPulse {
  0%, 30% { transform: scaleX(0); }
  50%, 80% { transform: scaleX(1); }
  100% { transform: scaleX(1); opacity: .3; }
}
.cicd-step:nth-child(odd) .cicd-node {
  animation: cicdNodeGlow 4s ease-in-out infinite;
}
.cicd-step:nth-child(1) .cicd-node { animation-delay: 0s; }
.cicd-step:nth-child(3) .cicd-node { animation-delay: .7s; }
.cicd-step:nth-child(5) .cicd-node { animation-delay: 1.4s; }
.cicd-step:nth-child(7) .cicd-node { animation-delay: 2.1s; }
.cicd-step:nth-child(9) .cicd-node { animation-delay: 2.8s; }
.cicd-step:nth-child(11) .cicd-node { animation-delay: 3.5s; }
.cicd-step:nth-child(13) .cicd-node { animation-delay: 4.2s; }
@keyframes cicdNodeGlow {
  0%, 100% { border-color: var(--surface-border); box-shadow: none; color: var(--text-dim); }
  15%, 35% { border-color: var(--neon-1); box-shadow: 0 0 16px rgba(0,229,255,.3); color: var(--neon-1); }
}

.devops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.fastlane-terminal {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,229,255,.2);
}
.fastlane-body { font-size: .58rem; }
.devops-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.devops-card {
  border-radius: 16px;
  padding: 1.3rem;
  transition: transform .3s, border-color .3s;
}
.devops-card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,.35); }
.devops-card-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.devops-card h3 { font-size: .95rem; margin-bottom: .4rem; }
.devops-card p { color: var(--text-dim); font-size: .82rem; line-height: 1.5; margin-bottom: .7rem; }
.devops-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.devops-tags span {
  font-size: .68rem; font-family: "JetBrains Mono", monospace;
  padding: .2rem .5rem; border-radius: 5px;
  background: rgba(0,229,255,.08);
  border: 1px solid rgba(0,229,255,.2);
  color: var(--neon-1);
}

.devops-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,229,255,.06), rgba(124,77,255,.06));
  border: 1px solid var(--surface-border);
}
.devops-metric { text-align: center; }
.devops-metric-num {
  display: block;
  font-size: 2rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.devops-metric-label {
  font-size: .78rem; color: var(--text-dim);
  margin-top: .4rem; display: block;
}

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ai-upcoming-grid { grid-template-columns: 1fr; }
  .github-repos { grid-template-columns: 1fr; }
  .ai-project-card { flex-direction: column; text-align: center; }
  .ai-project-link { margin-top: .5rem; }
  .hero-inner { max-width: 640px; margin: 0 auto; text-align: center; }
  .hero-inner .hero-badge,
  .hero-inner .hero-cta,
  .hero-inner .hero-socials,
  .hero-inner .hero-typewriter { justify-content: center; }
  .hero-visual { min-height: 420px; margin-top: 1rem; }
  .code-float { right: 2%; font-size: .52rem; }
  .terminal-float { left: 0; width: 180px; font-size: .48rem; }
  .android-robot { left: 2%; width: 70px; }
  .leadership-strip {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .phone-showcase { gap: 1rem; }
  .showcase-phone-center { transform: none; }
  .dessert-track { flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
  .dessert-track::before { display: none; }
  .android-strip-inner { flex-direction: column; }
  .strip-divider { width: 60%; height: 1px; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    flex-direction: column; justify-content: center; gap: 2rem;
    background: rgba(8,10,18,.96); backdrop-filter: blur(20px);
    transform: translateX(100%); transition: transform .4s; padding: 2rem;
    border-left: 1px solid var(--surface-border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-resume-btn { display: none; }
}
@media (max-width: 640px) {
  .leadership-card {
    padding: 1.25rem;
  }
  .leadership-body h3 {
    font-size: 1rem;
  }
  .leadership-body p {
    font-size: .86rem;
  }
}

@media (max-width: 520px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2.1rem; }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .github-cta { flex-direction: column; text-align: center; }
  .phone-frame { width: 180px; }
  .phone-showcase { flex-direction: column; align-items: center; }
  .showcase-phone-center { transform: none; }
  .code-float { display: none; }
  .terminal-float { display: none; }
  .orbit-chip { font-size: .62rem; padding: .25rem .5rem; }
  .ver-badge { padding: .35rem .6rem; }
  .ver-name { display: none; }
  .pipeline-arrow { display: none; }
  .pipeline-track { gap: .8rem; }
  .bg-robot { opacity: .5; }
  .devops-grid { grid-template-columns: 1fr; }
  .devops-cards { grid-template-columns: 1fr; }
  .devops-metrics { grid-template-columns: 1fr 1fr; }
  .cicd-flow { justify-content: flex-start; padding: 1.5rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
