/* ============================================================
   VARIABLES & RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #04040a;
  --bg2:       #07071100;
  --border:    rgba(255,255,255,0.07);
  --border-h:  rgba(255,255,255,0.14);
  --accent:    #7c3aed;
  --accent2:   #a855f7;
  --glow-p:    rgba(124,58,237,0.45);
  --teal:      #00FFD1;
  --glow-t:    rgba(0,255,209,0.35);
  --pink:      #FF2A5F;
  --text:      #e2e8f0;
  --muted:     rgba(226,232,240,0.48);
  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius-card: 24px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.65;
  cursor: none;
}

body.loading { overflow: hidden; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #04040a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.06);
  border-top-color: var(--accent);
  border-right-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.loader-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9990;
  transform: translate(-50%,-50%);
  transition: transform 0.06s linear;
  will-change: transform;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal), 0 0 20px var(--glow-t);
  pointer-events: none;
  z-index: 9991;
  transform: translate(-50%,-50%);
  transition: transform 0.04s linear, width 0.2s, height 0.2s, opacity 0.2s;
  will-change: transform;
}

.cursor-dot.hover {
  width: 16px;
  height: 16px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent), 0 0 32px var(--glow-p);
}

/* ============================================================
   CANVAS & AURORA
   ============================================================ */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.aurora-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: auroraDrift 18s ease-in-out infinite alternate;
}

.a1 {
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, var(--accent), transparent 70%);
  top: -20%; left: -10%;
  animation-duration: 20s;
}
.a2 {
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, #00FFD1, transparent 70%);
  bottom: 0; right: -10%;
  animation-duration: 16s;
  animation-delay: -6s;
}
.a3 {
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, var(--pink), transparent 70%);
  top: 40%; left: 30%;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes auroraDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(5%, 8%) scale(1.08); }
  66%  { transform: translate(-4%, 5%) scale(0.95); }
  100% { transform: translate(3%, -5%) scale(1.05); }
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--teal), var(--pink));
  z-index: 200;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--glow-t);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 1.25rem 4rem;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(4,4,10,0.85);
  backdrop-filter: blur(24px) saturate(160%);
  border-color: var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-right: auto;
}

.logo-bracket { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--teal);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }

/* Language toggle */
.lang-toggle {
  margin-left: 2.5rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  cursor: none;
  letter-spacing: 0.08em;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.lang-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 12px var(--glow-t);
}

.lang-sep { color: var(--border); }

.lang-toggle.zh .lang-en { color: var(--muted); }
.lang-toggle.zh .lang-zh { color: var(--teal); }
.lang-toggle:not(.zh) .lang-en { color: var(--teal); }
.lang-toggle:not(.zh) .lang-zh { color: var(--muted); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 4rem 6rem;
  text-align: center;
  flex-direction: column;
  gap: 0;
}

.hero-inner { max-width: 860px; width: 100%; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%,100% { box-shadow: 0 0 8px var(--teal); }
  50%      { box-shadow: 0 0 24px var(--teal), 0 0 48px var(--glow-t); }
}

.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
  display: block;
}

/* Glitch word */
.glitch-word {
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, #fff 30%, var(--accent2) 70%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glitch-word::before,
.glitch-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glitch-word::before {
  left: 2px;
  animation: glitch1 4s infinite linear;
  clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
}

.glitch-word::after {
  left: -2px;
  animation: glitch2 4s infinite linear;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}

@keyframes glitch1 {
  0%,94%,100% { transform: translate(0); opacity: 0; }
  95%         { transform: translate(-3px, 1px); opacity: 0.6; filter: hue-rotate(60deg); }
  97%         { transform: translate(3px, -1px); opacity: 0.6; }
}

@keyframes glitch2 {
  0%,90%,100% { transform: translate(0); opacity: 0; }
  91%         { transform: translate(3px, 2px); opacity: 0.5; filter: hue-rotate(-60deg); }
  93%         { transform: translate(-3px, -2px); opacity: 0.5; }
}

/* Typed text */
.hero-typed {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
  min-height: 2em;
  font-style: italic;
}

.typed-cursor {
  display: inline-block;
  font-style: normal;
  color: var(--teal);
  animation: blink 1s step-end infinite;
}

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

/* CTA buttons */
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--accent), #5b21b6);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  letter-spacing: 0.03em;
  box-shadow: 0 0 30px var(--glow-p);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 60px var(--glow-p), 0 12px 40px rgba(0,0,0,0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: none;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 20px var(--glow-t);
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.scroll-hint-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.scroll-hint-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 4rem;
  position: relative;
  z-index: 1;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.label-line {
  display: block;
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
}

.label-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--teal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 3.5rem;
}

.section-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   APPS SECTION
   ============================================================ */
.apps-section {
  position: relative;
  z-index: 1;
  padding-top: 0;
}

.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* App Card */
.app-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.app-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(124,58,237,0.5), rgba(168,85,247,0.2), transparent 50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
}

.app-card-glow.glow-teal {
  background: linear-gradient(135deg, rgba(0,255,209,0.4), rgba(0,200,160,0.15), transparent 50%);
}

.app-card:hover .app-card-glow { opacity: 1; }

.app-card-inner {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  transition: border-color 0.4s, background 0.4s;
  backdrop-filter: blur(4px);
}

.app-card:hover .app-card-inner {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.04);
}

#card-skyquiz:hover .app-card-inner {
  border-color: rgba(0,255,209,0.3);
  background: rgba(0,255,209,0.03);
}

/* Logo */
.app-logo-wrap {
  display: flex;
  justify-content: center;
}

.app-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}

/* Float animation */
.float-anim {
  animation: floatBob 4s ease-in-out infinite;
}

@keyframes floatBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* App info */
.app-info { display: flex; flex-direction: column; gap: 0.75rem; }

.app-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--accent2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
}

.app-badge.teal {
  background: rgba(0,255,209,0.08);
  border-color: rgba(0,255,209,0.25);
  color: var(--teal);
}

.app-name {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.app-tagline {
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
}

.app-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Swatches */
.app-swatches {
  display: flex;
  gap: 0.45rem;
}

.swatch {
  display: block;
  width: 28px; height: 28px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: none;
}

.swatch:hover {
  transform: translateY(-4px) scale(1.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Metrics */
.app-metrics {
  display: flex;
  gap: 1.5rem;
}

.metric { display: flex; flex-direction: column; }

.metric-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
}

.metric-label {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* App link */
.app-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: color 0.3s, gap 0.3s;
  cursor: none;
  align-self: flex-start;
}

.app-link .link-arrow { transition: transform 0.3s; }

.app-link:hover { color: var(--accent2); gap: 0.9rem; }
.app-link:hover .link-arrow { transform: translateX(4px); }
.app-link.teal:hover { color: var(--teal); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(124,58,237,0.03) 40%, transparent 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: start;
}

/* Photo */
.about-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.photo-frame {
  position: relative;
  width: 260px;
  height: 260px;
}

.author-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 3px solid rgba(255,255,255,0.06);
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.4s;
}

.author-photo:hover { filter: grayscale(0%) contrast(1.05); }

.photo-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-p) 0%, transparent 70%);
  z-index: 1;
  animation: photoGlowPulse 3s ease-in-out infinite;
}

@keyframes photoGlowPulse {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

.photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.35);
  z-index: 3;
  animation: ringRotate 12s linear infinite;
}

.photo-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  transform: translateX(-50%);
}

@keyframes ringRotate { to { transform: rotate(360deg); } }

.photo-caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.caption-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.caption-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* About text */
.about-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 2rem;
}

.tag {
  display: inline-block;
  padding: 0.38rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: default;
}

.tag:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 10px var(--glow-t);
}

/* Stats row in about */
.about-stats-row {
  display: flex;
  gap: 2.5rem;
}

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

.stat-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.stat-suf {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--teal);
  margin-left: 2px;
  vertical-align: super;
}

.stat-lbl {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  z-index: 1;
}

.contact-inner { text-align: center; max-width: 640px; margin: 0 auto; }

.contact-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 1.5rem 0 1rem;
}

.contact-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.25rem;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.2s;
  cursor: none;
}

.contact-btn:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  background: rgba(168,85,247,0.06);
  box-shadow: 0 0 30px var(--glow-p);
  transform: translateY(-3px);
}

.contact-btn.teal:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0,255,209,0.05);
  box-shadow: 0 0 30px var(--glow-t);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: livePulse 2.5s ease-in-out infinite;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1) var(--d,0s),
              transform 0.9s cubic-bezier(0.16,1,0.3,1) var(--d,0s);
}

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

/* ============================================================
   3D TILT CARD (JS-driven via inline style)
   ============================================================ */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ============================================================
   MAGNETIC BUTTON
   ============================================================ */
.magnetic {
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, color 0.3s, border-color 0.3s;
}

/* ============================================================
   SCANLINE OVERLAY
   ============================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.03) 3px,
    rgba(0,0,0,0.03) 4px
  );
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .apps-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { flex-direction: row; align-items: center; gap: 2rem; }
  .section-container { padding: 4rem 2rem; }
  .nav { padding: 1rem 2rem; }
}

@media (max-width: 768px) {
  .hero { padding: 7rem 2rem 4rem; }
  .nav-links { display: none; }
  .about-photo-wrap { flex-direction: column; }
  .about-stats-row { gap: 1.5rem; }
  .footer-inner { padding: 1.25rem 2rem; flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .contact-links { flex-direction: column; align-items: center; }
}
