/* ===== Design tokens (from the mobile app theme) ===== */
:root {
  --primary: #4A90E2;
  --purple: #7B68EE;
  --coral: #FF6B6B;
  --orange: #FFA500;
  --green: #2ECC71;
  --pink: #FF6B9D;

  --text: #2C3E50;
  --text-light: #7F8C8D;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --bg-blue: #E8F4F8;
  --border: #E6ECF2;

  --grad: linear-gradient(135deg, #4A90E2 0%, #7B68EE 100%);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 4px 16px rgba(44, 62, 80, 0.08);
  --shadow-md: 0 14px 40px rgba(74, 144, 226, 0.18);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand-logo { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { font-weight: 700; color: var(--text); font-size: 15px; transition: color .2s; }
.main-nav a:hover { color: var(--primary); }
.main-nav .nav-cta {
  background: var(--grad); color: #fff; padding: 9px 20px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.main-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 4px; gap: 2px; }
.lang-btn {
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
  font-weight: 800; font-size: 13px; color: var(--text-light);
  padding: 6px 12px; border-radius: 999px; transition: all .2s;
}
.lang-btn.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; background: var(--bg-soft); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; z-index: 0; }
.hero-blob-1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(74,144,226,.25), transparent 70%); top: -120px; right: -80px; }
.hero-blob-2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(123,104,238,.22), transparent 70%); bottom: -140px; left: -100px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }

.badge-pill {
  display: inline-block; background: #fff; color: var(--primary);
  font-weight: 800; font-size: 14px; padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.badge-pill.light { background: rgba(255,255,255,.2); color: #fff; box-shadow: none; }

.hero-copy h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -1px; margin-bottom: 20px; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--text-light); max-width: 520px; margin-bottom: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--text-light); }

/* ===== Store badges ===== */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badges.center { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border);
  padding: 10px 20px; border-radius: 14px; box-shadow: var(--shadow-sm);
  cursor: default; transition: transform .2s;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge.dark { background: var(--text); border-color: var(--text); color: #fff; }
.store-badge-icon {
  width: 26px; height: 26px; flex: none; border-radius: 6px;
  background: var(--grad);
  -webkit-mask: center/contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M16.5 2.6c0 1.1-.4 2.1-1.2 2.9-.8.9-2 1.5-3.1 1.4-.1-1.1.4-2.2 1.1-2.9.8-.9 2.1-1.5 3.2-1.4zM20.6 17c-.5 1.2-.8 1.7-1.5 2.7-1 1.5-2.4 3.3-4.1 3.3-1.5 0-1.9-1-4-1-2 0-2.5 1-4 1-1.7 0-3-1.6-4-3.1-2.8-4.2-3.1-9.1-1.4-11.7 1-1.5 2.6-2.4 4.1-2.4 1.6 0 2.6 1 4 1 1.3 0 2.1-1 4-1 1.4 0 2.8.7 3.9 2-3.4 1.9-2.9 6.8.5 8.2z'/></svg>");
  mask: center/contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M16.5 2.6c0 1.1-.4 2.1-1.2 2.9-.8.9-2 1.5-3.1 1.4-.1-1.1.4-2.2 1.1-2.9.8-.9 2.1-1.5 3.2-1.4zM20.6 17c-.5 1.2-.8 1.7-1.5 2.7-1 1.5-2.4 3.3-4.1 3.3-1.5 0-1.9-1-4-1-2 0-2.5 1-4 1-1.7 0-3-1.6-4-3.1-2.8-4.2-3.1-9.1-1.4-11.7 1-1.5 2.6-2.4 4.1-2.4 1.6 0 2.6 1 4 1 1.3 0 2.1-1 4-1 1.4 0 2.8.7 3.9 2-3.4 1.9-2.9 6.8.5 8.2z'/></svg>");
}
.store-badge-icon.play {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3.6 2.2c-.3.2-.5.6-.5 1.1v17.4c0 .5.2.9.5 1.1l9.3-9.8L3.6 2.2zm11 7.6L5.9 1.3l11.4 6.5-2.7 2zM18.6 9.4l-2.9 1.6 2.9 1.6 2.3-1.3c.8-.5.8-1.6 0-2.1l-2.3-1.3-.9.5.9 1zM5.9 22.7l8.7-8.5 2.7 2-11.4 6.5z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M3.6 2.2c-.3.2-.5.6-.5 1.1v17.4c0 .5.2.9.5 1.1l9.3-9.8L3.6 2.2zm11 7.6L5.9 1.3l11.4 6.5-2.7 2zM18.6 9.4l-2.9 1.6 2.9 1.6 2.3-1.3c.8-.5.8-1.6 0-2.1l-2.3-1.3-.9.5.9 1zM5.9 22.7l8.7-8.5 2.7 2-11.4 6.5z'/></svg>");
}
.store-badge.dark .store-badge-icon { background: #fff; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge-text small { font-size: 11px; color: var(--text-light); font-weight: 700; }
.store-badge.dark .store-badge-text small { color: rgba(255,255,255,.7); }
.store-badge-text strong { font-size: 17px; font-weight: 800; }

/* ===== Hero phone ===== */
.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: 280px; height: 570px; background: #fff;
  border-radius: 44px; padding: 12px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: var(--text); border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Stats ===== */
.stats { background: #fff; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 36px 24px; margin: -40px auto 0; position: relative; z-index: 3;
  max-width: 960px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md); text-align: center;
}
.stat strong { display: block; font-size: 32px; font-weight: 900; color: var(--primary); }
.stat span { font-size: 14px; color: var(--text-light); font-weight: 600; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 14px; }
.section-head p { font-size: 18px; color: var(--text-light); }

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 28px; margin-bottom: 20px;
  background: color-mix(in srgb, var(--c) 14%, white);
}
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 15.5px; }

/* ===== Categories ===== */
.categories { background: var(--bg-soft); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-chip {
  display: flex; align-items: center; gap: 14px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 20px; font-weight: 800; transition: transform .2s, box-shadow .2s;
}
.category-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.category-chip span { font-size: 26px; }
.category-chip em { font-style: normal; font-size: 15.5px; }

/* ===== How it works ===== */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how-step { text-align: center; position: relative; }
.how-img {
  width: 180px; height: 180px; margin: 0 auto 24px; border-radius: 28px;
  background: var(--bg-blue); display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.how-img img { width: 78%; height: 78%; object-fit: contain; }
.how-num {
  position: absolute; top: -8px; left: 50%; transform: translateX(78px);
  width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff;
  font-weight: 900; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.how-step h3 { font-size: 21px; margin-bottom: 10px; }
.how-step p { color: var(--text-light); max-width: 300px; margin: 0 auto; }

/* ===== Premium ===== */
.premium { background: var(--grad); color: #fff; }
.premium-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.premium-copy h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.premium-copy > p { font-size: 18px; opacity: .9; margin-bottom: 28px; }
.premium-list { list-style: none; display: grid; gap: 14px; }
.premium-list li { position: relative; padding-left: 34px; font-weight: 600; font-size: 16px; }
.premium-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px;
}
.premium-cards { display: flex; gap: 20px; justify-content: center; }
.price-card {
  position: relative; background: #fff; color: var(--text); border-radius: var(--radius);
  padding: 32px 28px; text-align: center; min-width: 150px; box-shadow: var(--shadow-md);
}
.price-card.featured { transform: scale(1.06); border: 3px solid var(--orange); }
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-label { display: block; font-weight: 800; color: var(--text-light); font-size: 15px; }
.price-amount { display: block; font-size: 44px; font-weight: 900; color: var(--primary); margin: 6px 0; }
.price-per { display: block; font-size: 14px; color: var(--text-light); font-weight: 700; }

/* ===== Download ===== */
.download { text-align: center; background: var(--bg-soft); }
.download-logo { height: 76px; margin: 0 auto 24px; }
.download-inner h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.download-inner > p { font-size: 18px; color: var(--text-light); max-width: 560px; margin: 0 auto 32px; }

/* ===== Footer ===== */
.site-footer { background: var(--text); color: #fff; padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-wordmark {
  display: inline-block; font-size: 26px; font-weight: 900; color: #fff;
  margin-bottom: 14px; letter-spacing: -.5px;
}
.footer-wordmark::before {
  content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad); margin-right: 10px; vertical-align: middle;
}
.footer-brand p { color: rgba(255,255,255,.6); max-width: 280px; }
.footer-col h4 { font-size: 16px; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.65); margin-bottom: 10px; font-weight: 600; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner, .premium-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone { width: 230px; height: 468px; }
  .feature-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; gap: 48px; }
  .how-num { transform: translateX(78px); }
  .premium-cards { margin-top: 8px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px; box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .3s; margin: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .main-nav .nav-cta { text-align: center; margin-top: 12px; border: 0; }
  .menu-toggle { display: flex; }
}

@media (max-width: 560px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .feature-grid, .category-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
