:root {
  --deep: #062B25;
  --emerald: #087A58;
  --mint: #50D6B0;
  --gold: #D8AE52;
  --white: #FFFFFF;
  --bg: #F4F8F6;
  --surface: #FFFFFF;
  --ink: #062B25;
  --muted: #55736A;
  --line: #D8E7DF;
  --shadow: 0 18px 50px rgba(6, 43, 37, 0.10);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 248, 246, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--muted); font-size: 0.75rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-links a:hover { color: var(--emerald); }
.nav-cta {
  background: var(--deep);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 12px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 10%, rgba(80, 214, 176, 0.20), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(216, 174, 82, 0.16), transparent 45%),
    var(--deep);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.28; }
.hero-glow-one { width: 360px; height: 360px; background: var(--mint); top: -120px; right: -80px; }
.hero-glow-two { width: 420px; height: 420px; background: var(--gold); bottom: -180px; left: -100px; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding: 88px 0 96px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--mint);
  font-weight: 700;
  font-size: 0.9rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(216, 174, 82, 0.15); }
h1 {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 4.8vw, 3.55rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 span { color: var(--mint); }
.hero-lead {
  max-width: 36rem;
  margin: 0 0 30px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn-gold { background: var(--gold); color: #2A1E00; box-shadow: 0 12px 28px rgba(216, 174, 82, 0.22); }
.btn-gold:hover { background: #E6C479; transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--white); border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}
.hero-meta svg { width: 17px; height: 17px; color: var(--mint); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: min(300px, 80%);
  aspect-ratio: 9 / 18.5;
  background: #0B3A31;
  border: 10px solid #0B3A31;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(80, 214, 176, 0.25);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-notch {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: #02110E;
}
.floating-icon {
  position: absolute;
  bottom: 26px;
  left: -10px;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border: 4px solid var(--mint);
  border-radius: 24px;
  background: var(--deep);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}
.floating-icon img { width: 100%; height: 100%; }
.floating-chip {
  position: absolute;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
}
.chip-one { top: 52px; right: -8px; }
.chip-two { bottom: 96px; right: -18px; color: var(--gold); }

/* Stats */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.stat { padding: 24px 18px; text-align: center; background: var(--surface); }
.stat strong { display: block; color: var(--emerald); font-size: 1.45rem; }
.stat span { color: var(--muted); font-size: 0.85rem; }

/* Shared sections */
.section { padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.kicker { margin: 0 0 8px; color: var(--emerald); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.04em; }
.section-head h2, .privacy-intro h2, .download-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.35;
}
.section-head p { margin: 0; color: var(--muted); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--mint); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: rgba(80, 214, 176, 0.16);
  color: var(--emerald);
}
.feature-icon svg { width: 25px; height: 25px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.13rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Privacy */
.privacy-section { background: #EAF3EE; }
.privacy-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.privacy-intro p { color: var(--muted); }
.privacy-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.privacy-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 700;
}
.privacy-badges svg { width: 17px; height: 17px; }
.privacy-cards { display: grid; gap: 16px; }
.privacy-card { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.privacy-card h3 { margin: 0 0 12px; font-size: 1.05rem; }
.privacy-card ul { margin: 0; padding-inline-start: 18px; color: var(--muted); }
.privacy-card li + li { margin-top: 6px; }

/* Download */
.download-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 48px;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), #0B3A31);
  box-shadow: 0 30px 70px rgba(6, 43, 37, 0.25);
}
.download-card .kicker { color: var(--mint); }
.download-copy p { color: rgba(255, 255, 255, 0.72); }
.download-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.download-meta span {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
}
.hash-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
}
.hash-label { width: 100%; color: var(--gold); font-size: 0.75rem; font-weight: 700; }
.hash-box code {
  flex: 1;
  min-width: 220px;
  word-break: break-all;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.76rem;
  color: #DFF4E8;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.copy-btn svg { width: 16px; height: 16px; }
.download-action {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}
.btn-large { width: 100%; padding: 17px 22px; font-size: 1.05rem; }
.download-action p { margin: 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); }
.download-status { font-weight: 700; color: var(--mint) !important; }
.download-status.is-warning { color: var(--gold) !important; }
.install-steps { margin: 4px 0 0; padding-inline-start: 20px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }
.install-steps li + li { margin-top: 6px; }

/* FAQ */
.faq-section { background: #EAF3EE; }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 48px; }
.section-head-right { margin: 0; text-align: right; }
.faq-list { display: grid; gap: 12px; }
details { padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--emerald); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* Footer */
.site-footer { padding: 54px 0 22px; color: var(--white); background: var(--deep); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 14px; }
.footer-brand strong { display: block; }
.footer-brand span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.9rem; font-weight: 600; }
.footer-links a:hover { color: var(--mint); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-meta, .privacy-badges { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .floating-icon { left: 10%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid, .faq-grid { grid-template-columns: 1fr; }
  .section-head-right { text-align: center; }
  .download-card { grid-template-columns: 1fr; padding: 36px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav-links a:not(.nav-cta) { display: none; }
  .header-inner { min-height: 64px; }
  .hero-inner { padding: 52px 0 60px; }
  h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-card { padding: 26px; border-radius: 20px; }
  .footer-inner, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
