
  * { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --brand: #4CAF50;
    --brand-dark: #388E3C;
    --brand-light: #66BB6A;
    --brand-tint: rgba(76, 175, 80, 0.1);
    --bg-page: #0D0D0D;
    --bg-surface: #1A1A1A;
    --bg-surface-2: #232323;
    --bg-elevated: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #D4D4D4;
    --text-tertiary: #A3A3A3;
    --text-muted: #A3A3A3;
    --border: #262626;
    --border-strong: #333333;
  }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* iPhone device frame — wraps a 1320x2868 screenshot */
  .phone {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1320 / 2868;
    background: #1C1C1E;
    border-radius: 50px;
    padding: 12px;
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    margin: 0 auto;
  }
  .phone img {
    width: 100%; height: 100%;
    border-radius: 38px;
    display: block;
    object-fit: cover;
  }
  /* Dynamic Island */
  .phone::before {
    content: ""; position: absolute;
    top: 20px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 30px;
    background: #000;
    border-radius: 16px;
    z-index: 2;
  }
  .phone.lg { max-width: 380px; }

  /* Top nav */
  nav.top {
    position: sticky; top: 0; z-index: 50;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
  }
  nav.top .inner {
    max-width: 1180px; margin: 0 auto;
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
  }
  nav.top .logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--text-primary); text-decoration: none;
    font-weight: 700; font-size: 18px;
  }
  nav.top .logo img { width: 28px; height: 28px; border-radius: 6px; }
  nav.top ul { list-style: none; display: flex; align-items: center; gap: 24px; }
  nav.top a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; }
  nav.top a:hover { color: var(--text-primary); }
  nav.top .btn-cta {
    background: var(--brand);
    color: #000;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
  }
  nav.top .btn-cta:hover { background: var(--brand-light); color: #000; }
  .desktop-only { display: list-item; }
  @media (max-width: 640px) { .desktop-only { display: none; } }

  /* Section + container */
  .section { padding: 96px 24px; }
  .container { max-width: 1180px; margin: 0 auto; }
  h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
  h1 span, h2 span { color: var(--brand); }
  .eyebrow {
    display: inline-block;
    text-transform: uppercase; letter-spacing: 0.12em;
    font-size: 12px; font-weight: 700;
    color: var(--brand);
    margin-bottom: 16px;
  }
  .section-lead { color: var(--text-tertiary); font-size: 18px; max-width: 720px; margin: 16px 0 56px; }

  /* HERO */
  section.hero {
    padding: 80px 24px 96px;
    background:
      radial-gradient(1100px 600px at 80% 10%, rgba(76, 175, 80, 0.08), transparent 60%),
      radial-gradient(800px 500px at 10% 80%, rgba(76, 175, 80, 0.04), transparent 60%),
      var(--bg-page);
  }
  section.hero .inner {
    max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
    align-items: center;
  }
  section.hero h1 { font-size: clamp(40px, 6vw, 72px); margin: 12px 0 24px; }
  section.hero .lead { color: var(--text-tertiary); font-size: 19px; max-width: 540px; margin-bottom: 36px; }
  .hero-pillars { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
  .hero-pillar { display: flex; gap: 14px; align-items: center; }
  .hero-pillar .icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: var(--brand-tint);
    border: 1px solid rgba(76, 175, 80, 0.25);
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--brand);
  }
  .hero-pillar .icon .ms { font-size: 22px; }
  .hero-pillar .txt strong { display: block; color: var(--text-primary); font-weight: 600; font-size: 15px; }
  .hero-pillar .txt span { color: var(--text-tertiary); font-size: 14px; }
  .stores { display: flex; gap: 12px; flex-wrap: wrap; }
  .store-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; color: #000;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.15s ease;
  }
  .store-btn:hover { transform: translateY(-2px); }
  .store-btn svg { width: 24px; height: 24px; fill: #000; }
  .store-btn .meta { display: flex; flex-direction: column; line-height: 1.15; }
  .store-btn .meta small { font-size: 10px; opacity: 0.7; }
  .store-btn .meta strong { font-size: 15px; font-weight: 600; }
  .store-btn.disabled {
    background: var(--bg-surface);
    color: var(--text-tertiary);
    pointer-events: none;
    opacity: 0.7;
  }
  .store-btn.disabled svg { fill: var(--text-tertiary); }

  @media (max-width: 900px) {
    section.hero .inner { grid-template-columns: 1fr; gap: 48px; }
    section.hero h1 { text-align: center; }
    section.hero .lead { text-align: center; margin-left: auto; margin-right: auto; }
    .hero-pillars { max-width: 480px; margin-left: auto; margin-right: auto; }
    .stores { justify-content: center; }
  }

  /* FEATURES */
  #features { background: var(--bg-page); }
  #features h2 { font-size: clamp(32px, 4.5vw, 48px); }
  .features {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }
  .feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
  }
  .feature-icon {
    width: 48px; height: 48px;
    background: var(--brand-tint);
    border: 1px solid rgba(76, 175, 80, 0.25);
    border-radius: 12px;
    display: grid; place-items: center;
    color: var(--brand);
    margin-bottom: 20px;
  }
  .feature-icon .ms { font-size: 26px; }
  .feature-card h3 { font-size: 20px; margin-bottom: 12px; }
  .feature-card p { color: var(--text-tertiary); font-size: 15px; line-height: 1.6; }
  @media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

  /* SHOWCASE */
  #screenshots { background: linear-gradient(180deg, var(--bg-page) 0%, #0A0A0A 100%); }
  #screenshots h2 { font-size: clamp(32px, 4.5vw, 48px); }
  .showcase-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
    margin-top: 16px;
  }
  .ss-card { text-align: center; }
  .ss-card .phone { margin-bottom: 18px; max-width: 220px; }
  .ss-card h3 { font-size: 16px; margin-bottom: 8px; }
  .ss-card p { color: var(--text-tertiary); font-size: 13px; line-height: 1.5; }
  @media (max-width: 1100px) { .showcase-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 700px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }
  @media (max-width: 420px) { .showcase-grid { grid-template-columns: 1fr; } }

  /* PRO */
  #pro {
    background:
      radial-gradient(800px 500px at 90% 50%, rgba(76, 175, 80, 0.08), transparent 60%),
      var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  #pro .inner {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
    align-items: center;
  }
  #pro h2 { font-size: clamp(32px, 4.5vw, 48px); }
  #pro .lead { color: var(--text-tertiary); font-size: 18px; margin: 16px 0 28px; }
  .pro-points {
    list-style: none; display: flex; flex-direction: column; gap: 14px;
    margin-top: 8px;
  }
  .pro-points li {
    display: flex; align-items: flex-start; gap: 12px;
    color: var(--text-secondary); font-size: 16px;
  }
  .pro-points li::before {
    content: "✓";
    color: var(--brand);
    font-weight: 800;
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: var(--brand-tint);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 13px;
  }
  @media (max-width: 900px) { #pro .inner { grid-template-columns: 1fr; gap: 48px; } }

  /* CTA */
  section.cta {
    padding: 120px 24px;
    background:
      radial-gradient(900px 500px at 50% 30%, rgba(76, 175, 80, 0.12), transparent 60%),
      var(--bg-page);
    text-align: center;
  }
  section.cta h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
  section.cta p { color: var(--text-tertiary); font-size: 18px; margin-bottom: 36px; }
  section.cta .stores { justify-content: center; }

  /* Footer */
  footer {
    background: #080808;
    border-top: 1px solid var(--border);
    padding: 64px 24px 32px;
  }
  footer .inner { max-width: 1180px; margin: 0 auto; }
  .footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
    margin-bottom: 48px;
  }
  .footer-brand .logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--text-primary); text-decoration: none;
    font-weight: 700; font-size: 22px;
    margin-bottom: 16px;
  }
  .footer-brand .logo img { width: 36px; height: 36px; border-radius: 8px; }
  .footer-brand p { color: var(--text-tertiary); font-size: 14px; max-width: 300px; line-height: 1.7; }
  footer h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 16px; font-weight: 700; }
  footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  footer ul a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color 0.15s; }
  footer ul a:hover { color: var(--brand); }
  .pill {
    display: inline-block;
    background: var(--bg-elevated);
    color: var(--text-tertiary);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-muted); font-size: 13px;
  }
  @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
  @media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  }

  nav.top .inner { gap: 16px; flex-wrap: wrap; }
  nav.top ul { gap: 16px; flex-wrap: wrap; }
  nav.top a { display: inline-flex; align-items: center; min-height: 44px; }
  .icon svg, .feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  #about { border-top: 1px solid var(--border); }
  #about h2 { font-size: clamp(28px, 4vw, 42px); }
  #about .section-lead { margin-bottom: 24px; }
  .company-name { font-size: 20px; color: var(--text-primary); margin: 24px 0 16px; }
  .company-copy { max-width: 760px; color: var(--text-secondary); line-height: 1.8; }
  .subscription-card { padding: 32px; background: var(--bg-page); border: 1px solid var(--border-strong); border-radius: 18px; }
  .subscription-card h3 { font-size: 24px; margin-bottom: 20px; }
  .subscription-card p { color: var(--text-secondary); margin: 16px 0; }
  .subscription-card a, .company-copy a { color: var(--brand-light); }
  .download-note { color: var(--text-tertiary); font-size: 14px; margin-top: 20px; line-height: 1.7; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; line-height: 1.8; }
  footer h2 { line-height: 1.5; }
  footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
  @media (max-width: 640px) { nav.top .inner { padding: 10px 16px; } nav.top ul { gap: 8px; } .section { padding: 64px 20px; } section.hero { padding: 48px 20px 64px; } section.hero h1 { font-size: clamp(34px, 8vw, 48px); } section.hero .eyebrow { display: block; text-align: center; } section.cta { padding: 72px 20px; } .feature-card, .subscription-card { padding: 24px; } }

  .test-status { display: inline-block; padding: 12px 18px; border: 1px solid #388e3c; border-radius: 10px; color: #b9e2bb; background: var(--brand-tint); font-size: 15px; line-height: 1.6; }
  .support-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; color: var(--brand-light); text-underline-offset: 4px; }

  .store-btn { border: 0; font-family: inherit; }
  .store-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .store-btn:disabled { background: #292929; color: #b4b4b4; cursor: not-allowed; transform: none; }
  .store-btn:disabled .meta small { opacity: 1; }
  .store-btn:disabled:hover { transform: none; }
