/* ============================================================
   HanziGo — Premium Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Serif+SC:wght@400;700&display=swap');

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
  --bg:          #0A0B14;
  --bg-2:        #0F1020;
  --surface:     rgba(255,255,255,0.04);
  --surface-hi:  rgba(255,255,255,0.08);
  --border:      rgba(255,255,255,0.09);
  --border-hi:   rgba(255,255,255,0.18);

  --red:         #E53935;
  --red-glow:    rgba(229, 57, 53, 0.35);
  --teal:        #1DE9B6;
  --teal-glow:   rgba(29, 233, 182, 0.25);
  --gold:        #FFD54F;
  --gold-glow:   rgba(255, 213, 79, 0.2);
  --purple:      #7C4DFF;
  --purple-glow: rgba(124, 77, 255, 0.3);

  --text:        #FFFFFF;
  --text-2:      rgba(255,255,255,0.6);
  --text-3:      rgba(255,255,255,0.35);

  --radius-sm:   12px;
  --radius:      20px;
  --radius-lg:   32px;
  --radius-xl:   48px;

  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Ambient Background Orbs ──────────────────────────────── */
.bg-orbs {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 20s ease-in-out infinite alternate;
}
.orb-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, var(--red) 0%, transparent 70%);
  animation-duration: 22s;
}
.orb-2 {
  width: 500px; height: 500px;
  bottom: 10%; left: -150px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  animation-duration: 18s; animation-delay: -6s;
}
.orb-3 {
  width: 400px; height: 400px;
  top: 50%; left: 30%;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  opacity: 0.3;
  animation-duration: 25s; animation-delay: -12s;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.05); }
  100% { transform: translate(-20px, 50px) scale(0.95); }
}

/* ─── Glassmorphism Utility ────────────────────────────────── */
.glass {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}

/* ─── Navigation ───────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 0;
}

.nav-wrapper {
  position: relative; z-index: 1;
  background: rgba(10, 11, 20, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}

.logo-link {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}

.nav-logo {
  width: 38px; height: 38px;
  border-radius: 10px;
}

.brand-name {
  font-size: 20px; font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-name span {
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex; gap: 8px;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500; font-size: 14px;
  padding: 8px 16px; border-radius: 50px;
  transition: all 0.25s var(--ease-smooth);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-hi);
}

.nav-cta {
  background: var(--text) !important;
  color: var(--bg) !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.88) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15) !important;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 40px 80px;
  max-width: 1200px; margin: 0 auto;
  gap: 60px;
}

.hero-content { flex: 1; max-width: 580px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.3);
  color: #FF6B6B;
  font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-hanzi {
  font-family: 'Noto Serif SC', serif;
  display: block;
  background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 60%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(56px, 9vw, 110px);
  line-height: 1;
  margin-bottom: 16px;
  animation: shimmer-text 4s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes shimmer-text {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 18px; color: var(--text-2);
  margin-bottom: 48px; line-height: 1.7;
  max-width: 460px;
}

.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: all 0.3s var(--ease-spring);
  cursor: pointer; border: none; outline: none;
}

.btn-primary {
  background: #FFFFFF;
  color: var(--bg);
  box-shadow: 0 0 0 0 rgba(255,255,255,0);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255,255,255,0.18);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface-hi);
  color: var(--text);
  border-color: var(--border-hi);
  transform: translateY(-2px);
}

.apple-icon { font-size: 20px; }

.hero-stats {
  display: flex; gap: 36px; margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

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

.stat-number {
  font-size: 28px; font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 12px; color: var(--text-3);
  font-weight: 500; margin-top: 4px;
  text-transform: uppercase; letter-spacing: 0.8px;
}

/* ─── Hero Visual ───────────────────────────────────────────── */
.hero-visual {
  flex: 1; display: flex;
  justify-content: flex-end; align-items: center;
  position: relative;
}

.phone-scene {
  position: relative;
  width: 320px; height: 660px;
}

.phone-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse at center,
    var(--red-glow) 0%,
    var(--purple-glow) 40%,
    transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.08); }
}

.phone-mockup {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #1c1c2e, #12121a);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 52px;
  overflow: hidden;
  box-shadow:
    0 0 0 8px rgba(255,255,255,0.03),
    0 60px 120px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.1);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(0.5deg); }
  66%       { transform: translateY(-6px) rotate(-0.3deg); }
}

.phone-notch {
  position: absolute; top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 30px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.screen-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}

/* Floating Cards */
.float-card {
  position: absolute; z-index: 5;
  background: rgba(10, 11, 20, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 14px 18px;
  pointer-events: none;
}

.float-card-1 {
  top: 12%; right: -70px;
  animation: card-float-1 7s ease-in-out infinite;
}
.float-card-2 {
  bottom: 22%; left: -80px;
  animation: card-float-2 8s ease-in-out infinite;
}

@keyframes card-float-1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes card-float-2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

.card-hanzi {
  font-family: 'Noto Serif SC', serif;
  font-size: 32px; line-height: 1;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-pinyin {
  font-size: 13px; color: var(--teal); font-weight: 600;
  margin-top: 4px;
}

.card-meaning {
  font-size: 12px; color: var(--text-3);
}

.streak-value {
  font-size: 22px; font-weight: 900; color: var(--gold);
}
.streak-label {
  font-size: 11px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.streak-icon { font-size: 20px; margin-bottom: 2px; }

/* ─── Section Base ─────────────────────────────────────────── */
section { position: relative; z-index: 1; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--teal); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 2px;
  background: var(--teal); border-radius: 1px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px; color: var(--text-2);
  max-width: 560px; line-height: 1.8;
}

/* ─── Features ─────────────────────────────────────────────── */
.features {
  padding: 120px 40px;
  max-width: 1200px; margin: 0 auto;
}

.features-header {
  text-align: center; margin-bottom: 80px;
}
.features-header .section-label { justify-content: center; }
.features-header .section-desc { margin: 0 auto; }

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative; overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.02));
  opacity: 0; transition: opacity 0.4s;
}

.feature-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
  opacity: 0; transition: opacity 0.4s;
}

.feature-card:hover {
  background: var(--surface-hi);
  border-color: var(--border-hi);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after  { opacity: 1; }

.feature-card.large {
  grid-column: span 2;
  display: flex; align-items: center; gap: 60px;
}

.feature-icon {
  font-size: 40px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  background: var(--surface-hi);
  border-radius: var(--radius); border: 1px solid var(--border);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 22px; font-weight: 800;
  margin-bottom: 12px; letter-spacing: -0.5px;
}

.feature-card p {
  color: var(--text-2); font-size: 15px; line-height: 1.7;
}

.feature-tag {
  display: inline-block; margin-top: 16px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.tag-teal   { background: rgba(29,233,182,0.12); color: var(--teal); }
.tag-red    { background: rgba(229,57,53,0.12);  color: #FF6B6B; }
.tag-gold   { background: rgba(255,213,79,0.12); color: var(--gold); }
.tag-purple { background: rgba(124,77,255,0.12); color: #AA8FFF; }

/* HSK pill grid */
.hsk-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 20px;
}

.hsk-pill {
  padding: 8px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.25s;
}

.hsk-pill-1 { background: rgba(29,233,182,0.1); color: var(--teal);  border-color: rgba(29,233,182,0.25); }
.hsk-pill-2 { background: rgba(255,213,79,0.1); color: var(--gold);  border-color: rgba(255,213,79,0.25); }
.hsk-pill-3 { background: rgba(229,57,53,0.1);  color: #FF6B6B; border-color: rgba(229,57,53,0.25); }
.hsk-pill-4 { background: rgba(124,77,255,0.1); color: #AA8FFF; border-color: rgba(124,77,255,0.25); }
.hsk-pill-5 { background: rgba(255,152,0,0.1);  color: #FFB74D; border-color: rgba(255,152,0,0.25); }
.hsk-pill-6 { background: rgba(239,83,80,0.1);  color: #EF5350; border-color: rgba(239,83,80,0.25); }

/* Stroke animation box */
.stroke-demo {
  font-family: 'Noto Serif SC', serif;
  font-size: 80px; line-height: 1;
  flex: 1; text-align: center;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px var(--teal-glow));
  animation: stroke-anim 3s ease-in-out infinite alternate;
}

@keyframes stroke-anim {
  from { filter: drop-shadow(0 0 10px var(--teal-glow)); transform: scale(1); }
  to   { filter: drop-shadow(0 0 30px var(--gold-glow)); transform: scale(1.05); }
}

/* ─── Showcase / Screenshots ───────────────────────────────── */
.showcase {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent);
  overflow: hidden;
}

.showcase-header {
  text-align: center;
  padding: 0 40px;
  margin-bottom: 64px;
}

.screenshot-scroll {
  display: flex; gap: 30px;
  padding: 40px 100px 60px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
}
.screenshot-scroll::-webkit-scrollbar { display: none; }

.screenshot-item {
  flex-shrink: 0; scroll-snap-align: center;
  position: relative;
}

.screenshot {
  width: 240px;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
  display: block;
}

.screenshot-item:nth-child(even) .screenshot {
  transform: translateY(30px) rotate(1.5deg);
}
.screenshot-item:nth-child(odd) .screenshot {
  transform: translateY(-10px) rotate(-1deg);
}

.screenshot-item:hover .screenshot {
  transform: translateY(-10px) rotate(0deg) scale(1.04) !important;
  box-shadow: 0 50px 120px rgba(0,0,0,0.6);
}

/* ─── How It Works ─────────────────────────────────────────── */
.how-it-works {
  padding: 120px 40px;
  max-width: 1200px; margin: 0 auto;
}

.how-header { margin-bottom: 80px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute; top: 36px; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hi), var(--border-hi), transparent);
}

.step-card {
  text-align: center; padding: 48px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
}

.step-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px;
  margin: 0 auto 28px;
  position: relative; z-index: 1;
}

.step-1 .step-number { background: rgba(29,233,182,0.15); color: var(--teal); border: 1px solid rgba(29,233,182,0.3); }
.step-2 .step-number { background: rgba(229,57,53,0.15);  color: #FF6B6B; border: 1px solid rgba(229,57,53,0.3); }
.step-3 .step-number { background: rgba(255,213,79,0.15); color: var(--gold); border: 1px solid rgba(255,213,79,0.3); }

.step-card h3 {
  font-size: 20px; font-weight: 800;
  margin-bottom: 12px;
}
.step-card p { color: var(--text-2); font-size: 15px; line-height: 1.7; }

/* ─── Privacy Callout ────────────────────────────────────────  */
.privacy-strip {
  padding: 60px 40px;
  max-width: 1200px; margin: 0 auto;
}

.privacy-card {
  background: linear-gradient(135deg, rgba(29,233,182,0.05), rgba(124,77,255,0.05));
  border: 1px solid rgba(29,233,182,0.15);
  border-radius: var(--radius-xl);
  padding: 60px 80px;
  display: flex; align-items: center; gap: 60px;
}

.privacy-icon {
  font-size: 64px; flex-shrink: 0;
  filter: drop-shadow(0 0 20px rgba(29,233,182,0.4));
}

.privacy-content h2 {
  font-size: 32px; font-weight: 900;
  letter-spacing: -1px; margin-bottom: 12px;
}
.privacy-content p { color: var(--text-2); font-size: 16px; line-height: 1.7; }

.privacy-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px;
}

.privacy-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 600;
  background: rgba(29,233,182,0.1);
  border: 1px solid rgba(29,233,182,0.2);
  color: var(--teal);
}

/* ─── CTA Section ───────────────────────────────────────────── */
.cta-section {
  padding: 120px 40px;
  text-align: center; position: relative;
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top,
    rgba(229,57,53,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-hanzi-bg {
  font-family: 'Noto Serif SC', serif;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 400px; font-weight: 700;
  color: rgba(255,255,255,0.015);
  pointer-events: none; user-select: none;
  line-height: 1;
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900; letter-spacing: -2px;
  line-height: 1.05; margin-bottom: 20px;
}

.cta-content p {
  color: var(--text-2); font-size: 18px;
  margin-bottom: 48px;
}

.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
  color: var(--bg); padding: 18px 40px;
  border-radius: 50px; font-weight: 800; font-size: 17px;
  text-decoration: none;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 0 0 0 rgba(255,255,255,0);
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 60px rgba(255,255,255,0.15);
}

.cta-btn .apple-icon { font-size: 22px; }

/* ─── Footer ─────────────────────────────────────────────────  */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(10,11,20,0.8);
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 48px 40px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}

.footer-logo img {
  width: 32px; height: 32px; border-radius: 8px;
}

.footer-logo span {
  font-weight: 800; font-size: 16px;
}

.footer-copy { color: var(--text-3); font-size: 13px; }

.footer-links {
  display: flex; gap: 24px;
}

.footer-links a {
  color: var(--text-2); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ─── Animations ────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero immediate animations */
.hero-badge   { animation: fadeUp 0.6s 0.1s both ease-out; }
h1            { animation: fadeUp 0.7s 0.2s both ease-out; }
.hero-subtitle { animation: fadeUp 0.7s 0.35s both ease-out; }
.hero-actions { animation: fadeUp 0.7s 0.5s both ease-out; }
.hero-stats   { animation: fadeUp 0.7s 0.65s both ease-out; }
.hero-visual  { animation: fadeUp 0.8s 0.3s both ease-out; }

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

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feature-card.large { grid-column: span 1; flex-direction: column; gap: 24px; }
  .steps-grid::before { display: none; }
}

@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }

  .hero {
    flex-direction: column; text-align: center;
    padding: 100px 24px 60px;
    gap: 48px;
  }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 28px; }
  .hero-visual { justify-content: center; }
  .float-card-1, .float-card-2 { display: none; }

  .features, .how-it-works { padding: 80px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.large { flex-direction: column; }
  .steps-grid { grid-template-columns: 1fr; }

  .privacy-card { flex-direction: column; padding: 40px; text-align: center; }
  .privacy-badges { justify-content: center; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .phone-scene { width: 260px; height: 530px; }
  .cta-hanzi-bg { font-size: 200px; }
  .privacy-card { padding: 30px 24px; }
}
