/* ===========================================================================
   GrowTime 营销站 —— 样式
   零依赖单文件。主题色由每页内联的 --accent 决定。
   面向 App Store 营销网址：大标题、产品截图、价格与下载 CTA。
   =========================================================================== */

:root {
  --accent: #ff5e3a;
  --ink: #0a1c2f;
  --ink-2: #33475e;
  --muted: #5c7288;
  --faint: #8ba0b5;
  --bg: #ffffff;
  --bg-soft: #f2f6fc;
  --surface: #ffffff;
  --border: #e4ecf6;
  --border-strong: #d3e0ee;
  --shadow: 0 1px 2px rgba(10, 28, 47, .04), 0 10px 30px -18px rgba(10, 28, 47, .18);
  --shadow-lg: 0 2px 6px rgba(10, 28, 47, .05), 0 30px 70px -34px rgba(10, 28, 47, .32);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial,
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 34%, transparent); border-radius: 10px; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em; background: var(--bg-soft); border: 1px solid var(--border);
  padding: .1em .38em; border-radius: 6px;
}

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

.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 200; }
.skip:focus { left: 0; }

.eyebrow { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; color: var(--accent); }
.hl {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(180deg, transparent 64%, color-mix(in srgb, var(--accent) 20%, transparent) 64%);
}

/* ---------------- 顶栏 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, #fff 84%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--border); box-shadow: 0 6px 24px -20px rgba(10, 28, 47, .5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17.5px; letter-spacing: -.4px; color: var(--ink); }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { border-radius: 9px; box-shadow: 0 4px 12px -6px rgba(10, 28, 47, .5); }
.nav-links { display: flex; gap: 30px; font-size: 15.5px; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--ink); color: #fff; padding: 10px 19px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; transition: background .16s ease, transform .08s ease;
}
.nav-cta:hover { background: #16324b; text-decoration: none; }
.nav-cta:active { transform: translateY(1px); }

/* ---------------- 按钮 / 徽章 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-size: 16px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--accent) 92%, transparent); }
.btn-primary:hover { box-shadow: 0 18px 38px -14px color-mix(in srgb, var(--accent) 96%, transparent); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); }

.as-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 17px; border-radius: 15px;
  background: var(--ink); color: #fff;
  box-shadow: 0 16px 32px -18px rgba(10, 28, 47, .8);
  transition: transform .1s ease, box-shadow .2s ease;
}
.as-badge:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 20px 40px -18px rgba(10, 28, 47, .85); }
.as-logo { width: 23px; height: 27px; flex: none; }
.as-text { display: flex; flex-direction: column; line-height: 1.12; }
.as-text small { font-size: 10.5px; letter-spacing: .5px; opacity: .82; }
.as-text strong { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.as-badge.is-soon { cursor: default; }
.as-badge.is-soon:hover { transform: none; }
.as-badge.is-soon .as-text { opacity: .82; }
.as-soon {
  margin-left: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase;
  background: rgba(255, 255, 255, .16); padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 76px 0 84px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 660px; pointer-events: none;
  background:
    radial-gradient(560px 380px at 78% 22%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(520px 360px at 12% 8%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 72%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero h1 { margin: 14px 0 0; font-size: clamp(38px, 5.2vw, 62px); line-height: 1.03; letter-spacing: -2.2px; font-weight: 800; }
.hero .lead { margin: 20px 0 0; font-size: 19px; line-height: 1.58; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; align-items: center; gap: 11px; margin: 22px 0 0; font-size: 14.5px; color: var(--faint); font-weight: 600; }
.hero-meta i { font-style: normal; opacity: .55; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0; }

/* ---------------- 手机框 ---------------- */
.phone {
  margin: 0; --w: 266px; width: var(--w);
  border-radius: calc(var(--w) * .158);
  padding: calc(var(--w) * .031);
  background: linear-gradient(158deg, #22365099, #0a1c2f), #0a1c2f;
  box-shadow: 0 46px 90px -40px rgba(10, 28, 47, .58), 0 10px 26px -16px rgba(10, 28, 47, .42);
}
.phone-hero { --w: 296px; }
.phone-screen { border-radius: calc(var(--w) * .129); overflow: hidden; background: var(--shot-bg); }
.statusbar {
  display: flex; align-items: center; justify-content: space-between;
  height: calc(var(--w) * .112);
  padding: 0 calc(var(--w) * .072) 0 calc(var(--w) * .082);
  background: var(--shot-bg); color: var(--shot-fg);
}
.sb-time { font-size: calc(var(--w) * .047); font-weight: 700; letter-spacing: -.2px; font-variant-numeric: tabular-nums; }
.sb-svg { height: calc(var(--w) * .05); width: auto; display: block; }
.phone-screen img { display: block; width: 100%; height: auto; }

/* 悬浮小卡（仅 Hero） */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 11px 16px; box-shadow: 0 24px 48px -26px rgba(10, 28, 47, .5);
}
.float-card strong { display: block; font-size: 14.5px; letter-spacing: -.2px; }
.float-card small { color: var(--faint); font-size: 12.5px; }
.fc-dot { position: relative; width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--accent) 15%, transparent); flex: none; }
.fc-dot::after { content: ''; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.fc-ring { width: 34px; height: 34px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--accent) 26%, transparent); border-top-color: var(--accent); flex: none; }
.float-a { top: 13%; left: -2%; animation: floaty 5.5s ease-in-out infinite; }
.float-b { bottom: 15%; right: -4%; animation: floaty 6.5s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------------- 数据条 ---------------- */
.stats { background: linear-gradient(120deg, #0a1c2f, #14304a); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-top: 40px; padding-bottom: 40px; }
.stat-value { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -1.2px; color: var(--accent); }
.stat-label { margin: 7px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, .74); line-height: 1.45; }

/* ---------------- 区块 ---------------- */
.block { padding: 88px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; }
.section-head.center { text-align: center; }
.section-head h2 { margin: 8px 0 14px; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.1; letter-spacing: -1.4px; font-weight: 800; }
.section-lead { margin: 0; font-size: 18px; color: var(--muted); }

/* ---------------- 功能区 ---------------- */
.feature { display: grid; grid-template-columns: 1fr .82fr; gap: 60px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 64px; }
.feature.is-flipped .feature-copy { order: 2; }
.feature.is-flipped .feature-visual { order: 1; }
.feature h3 { margin: 10px 0 14px; font-size: clamp(24px, 2.7vw, 33px); line-height: 1.14; letter-spacing: -.9px; font-weight: 800; }
.feature-body { margin: 0; font-size: 17px; color: var(--muted); }
.feature-visual { display: flex; justify-content: center; }

.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 32px; font-size: 15.5px; color: var(--ink-2); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}
.check-list li::after {
  content: ''; position: absolute; left: 7px; top: .46em; width: 5px; height: 9px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(42deg);
}

/* ---------------- 隐私/信任 ---------------- */
.trust { background: var(--bg-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card { border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-check {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 11px; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent);
}
.trust-card h3 { margin: 14px 0 8px; font-size: 17px; font-weight: 800; letter-spacing: -.35px; }
.trust-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------------- 价格 ---------------- */
.pricing-note { margin: 26px auto 0; text-align: center; font-size: 14px; color: var(--faint); max-width: 60ch; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 840px; margin: 0 auto; }
.plan { position: relative; border-radius: var(--radius-lg); padding: 30px 28px; }
.plan.is-featured { border: 2px solid var(--accent); box-shadow: 0 30px 70px -36px color-mix(in srgb, var(--accent) 75%, transparent); }
.plan-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .5px;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--accent) 90%, transparent);
}
.plan h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 0; }
.plan-price span { font-size: 42px; font-weight: 800; letter-spacing: -1.8px; }
.plan-price small { color: var(--muted); font-size: 14px; }
.plan .check-list { margin-top: 18px; }
.plan .btn { width: 100%; margin-top: 24px; }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 34%, var(--border)); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 16.5px; letter-spacing: -.25px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.chev { flex: none; color: var(--faint); transition: transform .2s ease; }
.faq-item[open] .chev { transform: rotate(180deg); color: var(--accent); }
.faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq-body p { margin: 0; }
.faq-body strong { color: var(--ink); }
.faq-more { text-align: center; margin: 26px 0 0; font-size: 15.5px; color: var(--muted); font-weight: 600; }

/* ---------------- 底部 CTA ---------------- */
.cta { background: linear-gradient(120deg, #0a1c2f, #17364f); color: #fff; padding: 66px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -1.3px; font-weight: 800; }
.cta p { margin: 0; font-size: 17px; color: rgba(255, 255, 255, .76); }
.cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34); }
.cta .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------------- 页脚 ---------------- */
.footer { background: #fff; border-top: 1px solid var(--border); padding: 54px 0 34px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 44px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 12px; }
.footer-name { margin: 0; font-weight: 800; font-size: 17px; letter-spacing: -.3px; }
.footer-by { margin: 2px 0 0; font-size: 14px; color: var(--faint); }
.footer-cols { display: flex; gap: 58px; flex-wrap: wrap; }
.footer-h { margin: 0 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--faint); }
.footer-cols a { display: block; margin-bottom: 9px; font-size: 15px; font-weight: 500; color: var(--muted); }
.footer-cols a:hover { color: var(--ink); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--faint);
}
.footer-base p { margin: 0; }

/* ---------------- 滚动出现 ---------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .62s ease, transform .62s cubic-bezier(.2, .7, .3, 1); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .float-a, .float-b { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { padding: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 30px; }
  .feature.is-flipped .feature-copy { order: 0; }
  .feature.is-flipped .feature-visual { order: 1; }
  .feature-visual { justify-content: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .block { padding: 64px 0; }
  .hero { padding: 52px 0 64px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; padding-top: 34px; padding-bottom: 34px; }
  .plan-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .phone-hero { --w: 250px; }
  .phone { --w: 244px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-cols { gap: 36px; }
}

@media (max-width: 420px) {
  .hero h1 { letter-spacing: -1.4px; }
  .as-badge { padding: 9px 15px 9px 13px; }
  .as-text strong { font-size: 15.5px; }
}

@media print {
  .nav, .footer, .cta, .hero-actions, .float-card { display: none; }
  body { font-size: 12pt; }
}
