/* ============== TOKENS ============== */
:root {
  --bg: #0F0F1F;
  --bg-2: #15152A;
  --card: #1F1F33;
  --card-2: #262640;
  --line: rgba(255, 255, 255, 0.08);
  --text: #FFFFFF;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-mute: rgba(255, 255, 255, 0.52);
  --accent: #00D1AB;
  --accent-soft: rgba(0, 209, 171, 0.14);
  --danger: #FF4040;
  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --shadow-1: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 24px 80px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 8px; }

p { color: var(--text-soft); margin: 0 0 12px; }

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 31, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 800; letter-spacing: 0.04em;
  font-size: 17px;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--text-soft); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ============== HERO ============== */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0, 209, 171, 0.18), transparent 60%),
    radial-gradient(800px 500px at -10% 40%, rgba(0, 120, 255, 0.10), transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center;
}
.hero-copy h1 { color: var(--text); }
.hero-copy .lede { font-size: 18px; color: var(--text-soft); max-width: 560px; }
.hero-copy em { color: var(--accent); font-style: normal; }
.badge {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 209, 171, 0.28);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 20px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 18px; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
}
.cta:hover { text-decoration: none; transform: translateY(-1px); }
.cta-primary {
  background: var(--accent);
  color: #00120E;
  flex-direction: column; align-items: flex-start;
  padding: 10px 22px;
  line-height: 1.1;
}
.cta-primary .cta-sub { font-size: 11px; font-weight: 600; opacity: 0.7; letter-spacing: 0.06em; text-transform: uppercase; }
.cta-primary .cta-main { font-size: 17px; font-weight: 800; }
.cta-disabled { cursor: not-allowed; opacity: 0.85; }
.cta-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.cta-ghost:hover { background: var(--card); }

.hero-bullets {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; gap: 8px;
}
.hero-bullets li {
  position: relative; padding-left: 24px;
  color: var(--text-mute); font-size: 14px;
}
.hero-bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* Hero card / image */
.hero-art { position: relative; }
.hero-card {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.hero-image-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-image-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  background:
    radial-gradient(400px 300px at 70% 30%, rgba(0, 209, 171, 0.18), transparent 60%),
    radial-gradient(400px 400px at 30% 80%, rgba(0, 120, 255, 0.12), transparent 60%);
}
.hero-card .hero-image-wrap img:not([style*="display: none"]) ~ .hero-image-fallback { display: none; }
.hero-card-bar {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(15, 15, 31, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text); font-weight: 600; font-size: 13px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-mute); }
.dot-on { background: var(--accent); box-shadow: 0 0 0 0 rgba(0,209,171, 0.5); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,209,171, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(0,209,171, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0,209,171, 0); }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 420px; margin: 0 auto; }
}

/* ============== SECTIONS ============== */
section { padding: 72px 0; }
.section-title { color: var(--text); }
.section-lede { font-size: 18px; max-width: 720px; }

.value { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value .container { text-align: center; max-width: 820px; }
.value .section-lede { margin: 0 auto; }

/* ============== FEATURES ============== */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 28px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.feature:hover { transform: translateY(-2px); border-color: rgba(0,209,171,0.32); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 14px;
}
.feature h3 { color: var(--text); }
.feature p { font-size: 14.5px; }

@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============== HOW IT WORKS ============== */
.steps {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 16px;
}
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.step h3 { color: var(--text); }
.step p { font-size: 14.5px; }

/* ============== USE CASES ============== */
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 28px;
}
.case {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.case:hover { transform: translateY(-2px); border-color: rgba(0,209,171,0.32); }
.case-emoji { font-size: 28px; margin-bottom: 10px; }
.case h3 { color: var(--text); }
.case p { font-size: 14px; }

@media (max-width: 980px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .case-grid { grid-template-columns: 1fr; } }

/* ============== APPLE WATCH ============== */
.watch { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.watch-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.check-list li {
  position: relative; padding-left: 28px;
  color: var(--text-soft);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%2300D1AB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 8.5 6.5 11.5 12.5 5.5'/></svg>");
  background-position: center; background-repeat: no-repeat;
}

.watch-art { display: flex; justify-content: center; }
.watch-mock {
  width: 220px; height: 260px;
  border-radius: 44px;
  background: linear-gradient(180deg, #2a2a3a, #1a1a26);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: 18px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.watch-mock::before, .watch-mock::after {
  content: "";
  position: absolute; right: -3px;
  width: 6px; height: 22px; border-radius: 4px;
  background: #1a1a26;
}
.watch-mock::before { top: 70px; }
.watch-mock::after  { top: 110px; height: 14px; }
.watch-screen {
  width: 100%; height: 100%;
  background: #000;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  padding: 14px;
  text-align: center;
}
.watch-pulse {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255, 140, 0, 0.32), transparent 60%);
  animation: watchpulse 1.8s ease-in-out infinite;
}
@keyframes watchpulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.watch-text { position: relative; z-index: 2; }
.watch-title { font-size: 14px; font-weight: 800; color: #FF9F2E; }
.watch-sub { font-size: 11px; color: var(--text-soft); margin-top: 4px; }

@media (max-width: 880px) {
  .watch-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============== FAQ ============== */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 700; color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; }

/* ============== CTA FINAL ============== */
.cta-final {
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% -50%, rgba(0, 209, 171, 0.22), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.cta-final h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-final p { max-width: 640px; margin: 0 auto 28px; }

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-2);
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 800; letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-soft); font-size: 14px; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-fine {
  width: 100%;
  font-size: 12px;
  color: var(--text-mute);
  margin: 12px 0 0;
}

/* ============== LEGAL PAGES ============== */
.legal {
  padding: 56px 0 72px;
}
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.legal .updated { color: var(--text-mute); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin-top: 36px; margin-bottom: 10px; }
.legal h3 { font-size: 17px; color: var(--text); margin-top: 22px; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal a { color: var(--accent); }
.legal .toc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin: 18px 0 28px;
}
.legal .toc h3 { margin-top: 0; }
.legal .toc ol { padding-left: 22px; margin: 0; color: var(--text-soft); }
.legal .toc a { color: var(--text-soft); }
.legal .toc a:hover { color: var(--accent); }
