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

:root {
  --primary: #E8839F;
  --primary-dark: #D4708B;
  --bg: #FAFAF8;
  --card: #fff;
  --text: #2D2D2D;
  --mid: #6B6B6B;
  --muted: #999;
  --secondary: #FFF8F0;
  --radius: 20px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Quicksand', system-ui, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .penguin-left, .penguin-right { animation: none !important; }
}

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff; font-weight: 700; font-size: 1.1rem;
  transition: color 0.3s;
}
.nav-brand img { width: 36px; height: 36px; border-radius: 10px; }
.navbar.scrolled .nav-brand { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-lang { font-size: 0.85rem; color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.navbar.scrolled .nav-lang { color: var(--muted); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 20px;
  background: rgba(255,255,255,0.18); color: #fff;
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(4px); cursor: pointer;
}
.navbar.scrolled .nav-cta { background: var(--primary); color: #fff; box-shadow: 0 2px 12px rgba(232,131,159,0.3); }
.nav-cta:hover { background: rgba(255,255,255,0.32); }
.navbar.scrolled .nav-cta:hover { background: var(--primary-dark); }

/* ── Hero ── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, #F06292 0%, #E8839F 35%, #F8BBD0 70%, #FFC1CC 100%);
  padding: 100px 24px 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.hero-orb-1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.hero-orb-2 { width: 350px; height: 350px; bottom: -80px; left: -80px; }
.hero-orb-3 { width: 200px; height: 200px; top: 40%; left: 15%; }

.hero-content {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 64px;
  max-width: 1100px; width: 100%;
}
.hero-text { flex: 1; color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px; border-radius: 24px;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.hero-badge img { border-radius: 6px; }
.hero h1 { font-size: 3rem; font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.hero-accent { font-family: 'Caveat', cursive; font-size: 3.4rem; font-weight: 700; }
.hero-accent-zh {
  font-size: 3.2rem; font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #FFE0E8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.1rem; opacity: 0.88; line-height: 1.7; margin-bottom: 32px; font-weight: 500; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 28px;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.btn-primary:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.15); }
.btn-secondary { background: rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(4px); }
.btn-secondary:hover { background: rgba(255,255,255,0.28); }

/* Hero Phones */
.hero-phones { flex: 0 0 auto; position: relative; width: 300px; height: 520px; }
.phone {
  position: absolute; border-radius: 28px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.1);
  background: #000;
}
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-front { width: 240px; height: 480px; z-index: 2; top: 20px; left: 30px; }
.phone-back { width: 220px; height: 440px; z-index: 1; top: 40px; left: -20px; transform: rotate(-6deg); opacity: 0.85; }

.hero-penguins { position: absolute; bottom: 32px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 8%; pointer-events: none; }
.penguin-left, .penguin-right { width: 64px; image-rendering: pixelated; opacity: 0.35; transition: opacity 0.3s; }
.penguin-right { transform: scaleX(-1); }

/* ── Features ── */
.features { padding: 96px 24px; max-width: 1000px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.section-header p { font-size: 1.05rem; color: var(--mid); font-weight: 500; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
  transition: transform 0.25s, box-shadow 0.25s; cursor: default;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; color: var(--mid); line-height: 1.6; font-weight: 500; }

/* Stagger reveal */
.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.08s; }
.feature-card:nth-child(3) { transition-delay: 0.16s; }
.feature-card:nth-child(4) { transition-delay: 0.24s; }
.feature-card:nth-child(5) { transition-delay: 0.32s; }
.feature-card:nth-child(6) { transition-delay: 0.4s; }

/* ── Showcase ── */
.showcase { max-width: 1000px; margin: 0 auto; padding: 0 24px 96px; }
.showcase-item {
  display: flex; align-items: center; gap: 56px;
  margin-bottom: 80px;
}
.showcase-item:last-child { margin-bottom: 0; }
.showcase-reverse { flex-direction: row-reverse; }
.showcase-phone {
  flex: 0 0 260px; border-radius: 28px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  background: #000;
}
.showcase-phone img { width: 100%; display: block; }
.showcase-text { flex: 1; }
.showcase-label {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  color: var(--primary); background: #FFF0F3; padding: 4px 12px;
  border-radius: 12px; margin-bottom: 12px; letter-spacing: 0.02em;
}
.showcase-text h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.showcase-text p { font-size: 1rem; color: var(--mid); line-height: 1.7; font-weight: 500; }

/* ── Security ── */
.security { padding: 80px 24px; }
.security-inner {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--card); border-radius: 24px; padding: 48px 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.security-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: #FFF0F3; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.security h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.security-desc { font-size: 1rem; color: var(--mid); line-height: 1.7; margin-bottom: 28px; font-weight: 500; }
.security-points { display: flex; flex-direction: column; gap: 14px; text-align: left; max-width: 380px; margin: 0 auto; }
.security-point { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* ── Proof ── */
.proof { padding: 48px 24px 64px; }
.proof-grid {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  max-width: 700px; margin: 0 auto;
}
.proof-card {
  flex: 1; min-width: 140px; text-align: center;
  background: var(--card); border-radius: 16px; padding: 24px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.proof-value {
  font-size: 1.6rem; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-bottom: 4px;
}
.proof-label { font-size: 0.85rem; color: var(--mid); font-weight: 500; }

/* ── Story ── */
.story {
  text-align: center; padding: 80px 24px;
  background: var(--secondary);
}
.story img { width: 140px; image-rendering: pixelated; margin-bottom: 24px; }
.story blockquote {
  max-width: 520px; margin: 0 auto;
  font-size: 1.1rem; line-height: 1.9; color: var(--mid); font-weight: 500;
  border: none; padding: 0;
}
.story strong { color: var(--primary); font-weight: 700; }

/* ── Final CTA ── */
.final-cta {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(160deg, #FFF0F3 0%, #FFF8F0 100%);
}
.final-cta h2 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.final-cta > p { color: var(--mid); font-weight: 500; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-actions .btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(232,131,159,0.3); }
.cta-actions .btn-primary:hover { box-shadow: 0 6px 28px rgba(232,131,159,0.4); }
.cta-actions .btn-secondary { background: #fff; color: var(--text); box-shadow: 0 2px 12px rgba(0,0,0,0.06); backdrop-filter: none; }
.cta-extra a {
  font-size: 0.88rem; color: var(--muted); text-decoration: none; font-weight: 600;
  transition: color 0.2s; cursor: pointer;
}
.cta-extra a:hover { color: var(--text); }
.cta-extra-sep { color: var(--muted); margin: 0 8px; }

/* ── Footer ── */
footer { text-align: center; padding: 32px 24px; color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.footer-links { margin-bottom: 8px; }
.footer-links a { color: var(--primary); text-decoration: none; margin: 0 12px; }
.footer-links a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-content { flex-direction: column; text-align: center; gap: 40px; }
  .hero-text { order: 1; }
  .hero-phones { order: 2; width: 260px; height: 460px; }
  .phone-front { width: 210px; height: 420px; left: 25px; }
  .phone-back { width: 190px; height: 380px; left: -10px; }
  .hero-actions { justify-content: center; }
  .hero h1 { font-size: 2.4rem; }
  .hero-accent { font-size: 2.8rem; }
  .hero-accent-zh { font-size: 2.6rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-item, .showcase-reverse { flex-direction: column; gap: 32px; text-align: center; }
  .showcase-phone { flex: 0 0 auto; width: 220px; }
}

@media (max-width: 600px) {
  .hero { padding: 80px 20px 48px; min-height: auto; }
  .hero h1 { font-size: 1.9rem; }
  .hero-accent { font-size: 2.2rem; }
  .hero-accent-zh { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-phones { width: 220px; height: 400px; }
  .phone-front { width: 180px; height: 360px; left: 20px; top: 20px; }
  .phone-back { width: 160px; height: 320px; left: -5px; top: 40px; }
  .hero-penguins { display: none; }
  .nav-brand span { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding: 64px 20px; }
  .section-header h2 { font-size: 1.6rem; }
  .showcase { padding: 0 20px 64px; }
  .showcase-item { margin-bottom: 56px; }
  .showcase-phone { width: 200px; }
  .showcase-text h3 { font-size: 1.3rem; }
  .security-inner { padding: 32px 24px; }
  .proof-grid { gap: 12px; }
  .proof-card { min-width: 120px; padding: 20px 12px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 260px; justify-content: center; }
}
