/* ═══════════════════════════════════════════════════════════════════
   PongPath — Apple-inspired design system
   ═══════════════════════════════════════════════════════════════════ */

/* ── Custom Properties ──────────────────────────────────────────── */
:root {
  --white:        #ffffff;
  --offwhite:     #f5f5f7;
  --black:        #000000;
  --ink:          #1d1d1f;     /* Apple near-black */
  --ink-light:    #f5f5f7;     /* on dark */
  --gray:         #6e6e73;     /* Apple secondary */
  --gray-2:       #86868b;     /* Apple tertiary */
  --gray-line:    #d2d2d7;     /* Apple divider */
  --blue:         #0071e3;
  --blue-hover:   #0077ed;
  --blue-deep:    #0058b1;

  --accent-green: #29c764;     /* tiny accent only */
  --accent-orange:#ff7a45;     /* tiny accent only */

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --ease-apple:  cubic-bezier(0.28, 0.11, 0.32, 1);
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 44px;

  --radius-sm:  12px;
  --radius-md:  18px;
  --radius-lg:  22px;
  --radius-pill:980px;

  --max-w:      1200px;
  --content-w:  980px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-display);
  background: var(--white);
  color: var(--ink);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: rgba(0,113,227,0.18); color: var(--ink); }

/* ── Utilities ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
}

/* ═══════════════════════════════════════════════════════════════════
   TEXT LINKS — Apple "Learn more ›" style
   ═══════════════════════════════════════════════════════════════════ */
.text-link {
  display: inline-block;
  position: relative;
  color: var(--blue);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.4;
  transition: color 0.25s var(--ease-apple);
}
.text-link:hover { color: var(--blue-hover); }
.text-link.light {
  color: #2997ff;
}
.text-link.light:hover { color: #429cff; }
.text-link.small { font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS — Apple pill
   ═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.17648;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  min-width: 140px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-apple),
              color 0.3s var(--ease-apple),
              transform 0.4s var(--ease-apple);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-hover); }

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: var(--nav-h);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background-color 0.4s var(--ease-apple);
}

.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.022em;
  flex-shrink: 0;
  opacity: 0.88;
  transition: opacity 0.3s var(--ease-apple);
}
.nav-logo:hover { opacity: 1; }
.nav-logo svg { filter: drop-shadow(0 0 6px rgba(157, 107, 255, 0.18)); }
.nav-logo span { display: inline-block; padding-top: 1px; }

.brand-text {
  background: linear-gradient(100deg,
    #ff5e8a 0%,
    #9d6bff 48%,
    #3b8eff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  font-weight: 600;
  letter-spacing: -0.022em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 1 auto;
}
.nav-links a {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.88;
  padding: 4px 10px;
  border-radius: 4px;
  transition: opacity 0.3s var(--ease-apple);
}
.nav-links a:hover { opacity: 1; }

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ── Language menu (Apple-style) ───────────────────────────────── */
.lang-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.78;
  border-radius: 4px;
  transition: opacity 0.3s var(--ease-apple);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.lang-button:hover { opacity: 1; }
.lang-button .lang-chevron {
  display: inline-block;
  font-size: 10px;
  margin-left: 2px;
  color: var(--gray-2);
  transition: transform 0.3s var(--ease-apple);
}
.lang-menu.open .lang-button .lang-chevron { transform: rotate(90deg); }

.lang-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.12),
    0 2px 8px rgba(0,0,0,0.06);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease-apple),
    transform 0.2s var(--ease-apple);
  z-index: 10000;
}
.lang-menu.open .lang-options {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border-radius: 8px;
  text-align: left;
  letter-spacing: -0.01em;
  font-family: var(--font-display);
  transition: background-color 0.2s var(--ease-apple), color 0.2s var(--ease-apple);
  width: 100%;
}
.lang-option:hover { background: rgba(0,0,0,0.05); }
.lang-option.active {
  color: var(--blue);
  font-weight: 500;
}
.lang-option.active::after {
  content: '✓';
  color: var(--blue);
  font-size: 12px;
  margin-left: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-apple), opacity 0.3s var(--ease-apple);
}
.hamburger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 8px 22px 24px;
}
.mobile-menu a {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════════
   HERO — cosmic atmospheric gradient, centered, huge text
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, #1a2942 0%, #0a0e1a 50%, #000 100%);
  color: var(--ink-light);
  padding: calc(var(--nav-h) + 76px) 22px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(20,40,80,0.35) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: cover, 200px 200px;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #f5f5f7;
  margin-bottom: 16px;
  background: linear-gradient(110deg,
    #ff7eb6 0%,
    #ff5e8a 18%,
    #b870ff 42%,
    #6a8dff 68%,
    #4ab8ff 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(157, 107, 255, 0.25))
          drop-shadow(0 0 80px rgba(80, 140, 255, 0.18));
  animation: heroShimmer 12s ease-in-out infinite;
}

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

.hero-sub {
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #f5f5f7;
  max-width: 720px;
  margin: 0 auto 24px;
}

.hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero-links .text-link {
  color: #2997ff;
  font-size: 19px;
}
.hero-links .text-link:hover { color: #429cff; }

/* Phone mockup */
.hero-phone {
  margin: 0 auto;
  perspective: 2000px;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1c1c1e 0%, #0a0a0a 100%);
  border-radius: 48px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 0 0 2px #0a0a0a,
    inset 0 0 0 4px #2a2a2c,
    0 30px 80px rgba(0,113,227,0.32),
    0 10px 30px rgba(0,0,0,0.5);
  padding: 10px;
  overflow: hidden;
}

/* Dynamic island */
.phone-island {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
}
.phone-island::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  width: 140px;
  height: 24px;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(0,113,227,0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  filter: blur(2px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, #eaf2ff 0%, #fafbff 40%, #f0f0f3 100%);
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--ink);
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.screen-time { font-variant-numeric: tabular-nums; }
.screen-icons { display: flex; align-items: center; gap: 6px; }
.screen-dot.live {
  width: 6px; height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(41,199,100,0.6);
  animation: livePulse 2s var(--ease-apple) infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(41,199,100,0.6); }
  50% { box-shadow: 0 0 0 5px rgba(41,199,100,0); }
}

.screen-body {
  flex: 1;
  padding: 30px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.screen-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.screen-title-big {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.swing-arc {
  background: linear-gradient(135deg, #e8f0ff 0%, #f5f7ff 100%);
  border-radius: 14px;
  padding: 10px 8px;
  border: 1px solid rgba(0,113,227,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.swing-arc svg { width: 100%; height: auto; }

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.metric-chip {
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(240,244,255,0.6) 100%);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(0,113,227,0.08);
}
.chip-label {
  font-size: 9px;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.chip-val {
  font-size: 17px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.metric-chip:nth-child(4) .chip-val { color: var(--accent-green); }

.phone-home-bar {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(0,0,0,0.3);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   SPOTLIGHT SECTIONS — each with its own atmosphere
   ═══════════════════════════════════════════════════════════════════ */
.spotlight {
  padding: 120px 22px 130px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Spotlight 1: AI 挥拍分析 — soft sky-blue glow on white */
.spotlight-light {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #f0f4ff 0%, #ffffff 60%),
    linear-gradient(180deg, #fdfcfa 0%, #ffffff 100%);
  color: var(--ink);
}

/* Spotlight 3: AI 训练计划 — warm cream → soft sand */
.spotlight-offwhite {
  background: linear-gradient(180deg, #fef9f3 0%, #f5ede0 100%);
  color: var(--ink);
}

/* Spotlight 2: AI 实时监测 — deep indigo cosmos */
.spotlight-dark {
  background:
    radial-gradient(ellipse 100% 70% at 50% 50%, #142847 0%, #050912 80%);
  color: var(--ink-light);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.spotlight-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.spotlight-dark .spotlight-inner {
  position: relative;
  z-index: 1;
}

.spotlight-inner {
  max-width: var(--content-w);
  margin: 0 auto;
}

.eyebrow {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--blue);
  margin-bottom: 8px;
  line-height: 1.2;
}
.spotlight-dark .eyebrow { color: #a8b8e0; }
.spotlight-offwhite .eyebrow { color: #b8895a; }

.spotlight-title {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: inherit;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.spotlight-dark .spotlight-title {
  text-shadow: 0 0 40px rgba(120, 180, 255, 0.15);
}

.spotlight-sub {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: -0.015em;
  color: inherit;
  opacity: 0.82;
  max-width: 680px;
  margin: 0 auto 28px;
}
.spotlight-dark .spotlight-sub { opacity: 0.78; }

.spotlight-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.spotlight-visual {
  margin-top: 16px;
}

/* — Analysis card visual */
.analysis-card {
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
  border-radius: 28px;
  padding: 36px 40px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 1px 0 rgba(0,113,227,0.05),
    0 30px 60px -30px rgba(0,113,227,0.25);
  border: 1px solid rgba(0,113,227,0.08);
}
.spotlight-offwhite .analysis-card {
  background: linear-gradient(180deg, #ffffff 0%, #fdf8ee 100%);
  border-color: rgba(184,137,90,0.12);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 30px 60px -30px rgba(184,137,90,0.18);
}

.analysis-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0,113,227,0.1);
  color: var(--blue);
  letter-spacing: -0.01em;
}
.badge-soft.outline {
  background: transparent;
  border: 1px solid var(--gray-line);
  color: var(--gray);
}

.analysis-trace {
  background: linear-gradient(135deg, #f0f5ff 0%, #f8faff 100%);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 22px;
  border: 1px solid rgba(0,113,227,0.06);
}
.analysis-trace svg { width: 100%; height: auto; }

.analysis-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.analysis-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-num {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--blue);
  line-height: 1;
}
.analysis-stats > div:nth-child(4) .stat-num { color: var(--accent-green); }
.stat-cap {
  font-size: 13px;
  color: var(--gray);
  font-weight: 400;
}

/* — Monitor card (dark spotlight) */
.monitor-card {
  background:
    linear-gradient(180deg, rgba(40,72,128,0.18) 0%, rgba(20,40,80,0.08) 100%);
  border: 1px solid rgba(168,184,224,0.18);
  border-radius: 28px;
  padding: 48px 40px;
  max-width: 820px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 80px -20px rgba(0,40,120,0.4);
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.monitor-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.monitor-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px; top: 25%;
  height: 50%; width: 1px;
  background: rgba(255,255,255,0.1);
}
.monitor-num {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #f5f5f7;
  line-height: 1;
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #c9d6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.monitor-suffix {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  color: #86868b;
  margin-top: 6px;
}
.monitor-cap {
  margin-top: 10px;
  font-size: 14px;
  color: #86868b;
  font-weight: 400;
}

.monitor-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #86868b;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: livePulse 2s var(--ease-apple) infinite;
}

/* — Plan card (offwhite spotlight) */
.plan-card {
  background: linear-gradient(180deg, #ffffff 0%, #fefaf2 100%);
  border-radius: 28px;
  padding: 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 1px 0 rgba(184,137,90,0.05),
    0 30px 60px -30px rgba(184,137,90,0.22);
  border: 1px solid rgba(184,137,90,0.1);
}

.plan-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-line);
  margin-bottom: 24px;
}
.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
  transition: all 0.3s var(--ease-apple);
}
.day .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-line);
  display: inline-block;
}
.day .dot.done { background: var(--blue); }
.day .dot.live {
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(0,113,227,0.5);
  animation: livePulse 2s var(--ease-apple) infinite;
}
.day.active {
  background: rgba(0,113,227,0.08);
  color: var(--blue);
  font-weight: 600;
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.plan-list li:last-child { border-bottom: none; }
.plan-time {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
  min-width: 48px;
  padding-top: 2px;
}
.plan-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plan-text strong {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.plan-text small {
  font-size: 13px;
  color: var(--gray);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════════
   MORE FEATURES — compact 3-card grid
   ═══════════════════════════════════════════════════════════════════ */
.more-features {
  background: radial-gradient(ellipse 60% 50% at 50% 100%, #f5f5f7 0%, #ffffff 70%);
  padding: 120px 0 130px;
  text-align: center;
  position: relative;
}

.section-header {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 720px;
}
.section-title {
  font-size: clamp(40px, 5.6vw, 56px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-sub {
  font-size: clamp(19px, 2vw, 21px);
  font-weight: 400;
  color: var(--gray);
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
}

.mini-card {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 44px 36px 36px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.6s var(--ease-apple), box-shadow 0.6s var(--ease-apple);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
}
.mini-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 20px 40px -20px rgba(0,0,0,0.12);
}
.mini-card:nth-child(1) {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border-color: rgba(0,113,227,0.08);
}
.mini-card:nth-child(2) {
  background: linear-gradient(180deg, #fdfaf3 0%, #f7efe1 100%);
  border-color: rgba(184,137,90,0.1);
}
.mini-card:nth-child(3) {
  background: linear-gradient(180deg, #f6fbf8 0%, #ecf6f0 100%);
  border-color: rgba(41,199,100,0.1);
}

.mini-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.mini-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
.mini-card p {
  font-size: 15px;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.42;
  letter-spacing: -0.01em;
  flex: 1;
}
.mini-card .text-link { margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════ */
.pricing {
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f3 100%);
  padding: 120px 0 130px;
  position: relative;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 22px;
}

.pricing-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  border-radius: var(--radius-lg);
  padding: 44px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.6s var(--ease-apple), box-shadow 0.6s var(--ease-apple);
  border: 1px solid rgba(0,113,227,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 30px 60px -30px rgba(0,113,227,0.2);
}

.pricing-card--pro {
  background: linear-gradient(180deg, #1d1d1f 0%, #0d1428 100%);
  color: var(--ink-light);
  border-color: rgba(168,184,224,0.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 60px -30px rgba(0,40,120,0.4);
}
.pricing-card--pro:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 60px -20px rgba(0,40,120,0.5);
}

.pricing-head h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
  line-height: 1.15;
  margin-bottom: 6px;
}
.pro-tag {
  color: var(--blue);
}
.pricing-card--pro .pro-tag { color: #2997ff; }

.pricing-tag {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
}
.pricing-card--pro .pricing-tag { color: #86868b; }

.pricing-amount {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.amt {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: inherit;
  line-height: 1;
}
.period {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
}
.pricing-card--pro .period { color: #86868b; }

.pricing-card .btn {
  align-self: flex-start;
  min-width: 100%;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.pricing-card--pro .pricing-list {
  border-top-color: rgba(255,255,255,0.12);
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: inherit;
}
.check-mark {
  display: inline-block;
  width: 18px;
  flex-shrink: 0;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}
.pricing-card--pro .check-mark { color: #2997ff; }

/* ═══════════════════════════════════════════════════════════════════
   FINAL CTA — deep blue cosmos, huge text + store badges
   ═══════════════════════════════════════════════════════════════════ */
.final-cta {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, #1d3a6e 0%, #0a1628 60%, #000 100%);
  color: var(--ink-light);
  padding: 130px 22px 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.5;
  pointer-events: none;
}
.final-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.final-title {
  font-size: clamp(48px, 7.5vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #f5f5f7;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #c9d6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgba(150, 190, 255, 0.2);
}
.final-sub {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 400;
  color: #f5f5f7;
  opacity: 0.82;
  line-height: 1.33;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  padding: 11px 20px 12px;
  border-radius: 12px;
  transition: transform 0.4s var(--ease-apple), background 0.3s var(--ease-apple);
  min-width: 168px;
}
.store-badge:hover {
  transform: translateY(-1px);
  background: #f5f5f7;
}
.store-badge svg { flex-shrink: 0; }
.store-badge span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
.store-badge small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #1d1d1f;
}
.store-badge strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 1px;
}

.final-fine {
  font-size: 12px;
  color: #86868b;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER — Apple style
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, #f5f5f7 0%, #ececef 100%);
  color: var(--gray);
  padding: 28px 0 22px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.footer .container {
  max-width: 980px;
}

.footer-note {
  font-size: 12px;
  color: var(--gray);
  border-bottom: 1px solid var(--gray-line);
  padding: 8px 0 22px;
  margin-bottom: 22px;
  line-height: 1.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-line);
  margin-bottom: 18px;
}
.footer-col {
  display: flex;
  flex-direction: column;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.footer-col a {
  font-size: 12px;
  color: var(--gray);
  padding: 4px 0;
  transition: color 0.3s var(--ease-apple);
}
.footer-col a:hover { color: var(--ink); text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 12px;
  color: var(--gray);
}
.footer-bottom > span:first-child { margin-right: auto; }
.footer-links-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-links-row a {
  color: var(--gray);
  transition: color 0.3s var(--ease-apple);
}
.footer-links-row a:hover { color: var(--ink); text-decoration: underline; }
.footer-links-row .sep { color: var(--gray-line); }
.footer-locale {
  padding-left: 14px;
  border-left: 1px solid var(--gray-line);
  color: var(--gray);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 4px 8px; font-size: 12px; }
  .mini-grid { padding: 0 22px; }
  .analysis-stats { gap: 10px; }
  .stat-num { font-size: 30px; }
}

@media (max-width: 834px) {
  .mini-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 734px) {
  :root { --nav-h: 48px; }

  .nav-links, .nav-actions { display: none; }
  .nav-inner { justify-content: space-between; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }

  .hero { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 30px; }
  .hero-title { font-size: clamp(48px, 14vw, 64px); }
  .hero-sub { font-size: 21px; }
  .hero-links { gap: 18px; flex-direction: column; margin-bottom: 40px; }

  .phone-frame { width: 240px; height: 500px; }

  .spotlight { padding: 84px 22px 90px; }
  .spotlight-title { font-size: clamp(34px, 9vw, 44px); }
  .spotlight-sub { font-size: 19px; }
  .spotlight-links { gap: 18px; flex-direction: column; margin-bottom: 44px; }

  .analysis-card { padding: 28px 22px; }
  .analysis-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .monitor-card { padding: 36px 24px; }
  .monitor-grid { grid-template-columns: 1fr; gap: 28px; }
  .monitor-stat:not(:last-child)::after {
    right: 0; left: 0; top: auto; bottom: -14px;
    width: 50%; height: 1px; margin: 0 auto;
  }

  .plan-card { padding: 24px 18px; }
  .plan-week { gap: 4px; }
  .day { font-size: 11px; padding: 8px 2px; }
  .plan-list li { gap: 14px; }

  .more-features, .pricing { padding: 84px 0 90px; }
  .pricing-card { padding: 36px 28px; }

  .final-cta { padding: 90px 22px 100px; }
  .store-badges { flex-direction: column; gap: 10px; }
  .store-badge { width: 100%; max-width: 280px; justify-content: center; }

  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom > span:first-child { margin-right: 0; }
  .footer-locale { padding-left: 0; border-left: none; }
}

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .pricing-card .btn { min-width: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOTION & A11Y
   ═══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-apple), transform 0.7s var(--ease-apple);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   PRIVACY POLICY PAGE
   ═══════════════════════════════════════════════════════════════════ */
.legal-page {
  background: var(--white);
  color: var(--ink);
  padding: calc(var(--nav-h) + 60px) 22px 80px;
  min-height: 80vh;
}

.legal-inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-back {
  display: inline-block;
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease-apple);
}
.legal-back:hover { color: var(--blue-hover); }

.legal-title {
  font-size: clamp(40px, 5.6vw, 56px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
  margin-bottom: 56px;
  letter-spacing: -0.01em;
}

.legal-section {
  margin-bottom: 44px;
}
.legal-section:last-child { margin-bottom: 0; }

.legal-section h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 16px;
}

.legal-section h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-section ul li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 12px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gray-2);
}

.legal-section a {
  color: var(--blue);
  transition: color 0.25s var(--ease-apple);
}
.legal-section a:hover { color: var(--blue-hover); text-decoration: underline; }

.legal-contact-email {
  display: inline-block;
  font-size: 18px;
  color: var(--blue);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: -0.012em;
}

@media (max-width: 734px) {
  .legal-page { padding: calc(var(--nav-h) + 32px) 22px 60px; }
  .legal-section h2 { font-size: 26px; }
  .legal-section h3 { font-size: 18px; }
  .legal-section p, .legal-section ul li { font-size: 16px; }
}
