:root {
  --navy: #0b2545;
  --deep: #13315c;
  --sea: #1d6fb8;
  --sky: #8ecae6;
  --foam: #f1f7fb;
  --sand: #fff8e7;
  --ink: #0e1a2b;
  --muted: #5a6b7d;
  --line: #e1e8ef;
  --ok: #2e8b57;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--sea); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 18px;
}
.logo-mark { font-size: 22px; }
.site-header nav a {
  margin-left: 18px;
  color: var(--ink);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.2s, border-color 0.2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--sea);
  color: var(--white);
}
.btn-primary:hover { background: var(--deep); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--sea); color: var(--sea); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 8px; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--foam) 0%, #ffffff 100%);
  padding: 64px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 24px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.micro { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* Phone mockup */
.hero-art { display: flex; justify-content: center; }
.phone {
  width: 280px;
  height: 560px;
  background: #111827;
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #000;
  border-radius: 16px;
}
.phone-screen {
  background: linear-gradient(180deg, var(--sky) 0%, var(--foam) 60%);
  width: 100%; height: 100%;
  border-radius: 32px;
  padding: 56px 18px 18px;
}
.q-card {
  background: var(--white);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.q-progress {
  height: 6px; background: var(--line); border-radius: 4px; overflow: hidden;
  margin-bottom: 14px;
}
.q-progress span {
  display: block; height: 100%; width: 35%; background: var(--sea);
}
.q-text {
  font-weight: 600; color: var(--navy); margin: 0 0 14px; font-size: 15px;
}
.q-options {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 8px;
}
.q-options li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  background: #fafbfc;
}
.q-options li.correct {
  border-color: var(--ok);
  background: #e9f6ee;
  color: var(--ok);
  font-weight: 600;
}

/* Sections */
section { padding: 72px 0; }
section h2 {
  font-size: 32px;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section-lead { color: var(--muted); margin: 0 0 32px; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 28px; margin-bottom: 8px; }
.feature h3 { margin: 4px 0 6px; color: var(--navy); font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }

/* Pricing */
.pricing { background: var(--foam); }
.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  margin: 24px auto 0;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--sea);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-card h3 { margin: 8px 0 4px; color: var(--navy); }
.price {
  margin: 12px 0 4px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.price .amount { font-size: 56px; font-weight: 800; color: var(--navy); }
.price .currency { font-size: 22px; color: var(--muted); }
.price-sub { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.price-features {
  list-style: none; padding: 0; margin: 0 0 20px; text-align: left;
}
.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 24px;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}
.price-features li:last-child { border-bottom: none; }

/* Download */
.download {
  background: linear-gradient(135deg, var(--navy) 0%, var(--sea) 100%);
  color: var(--white);
  text-align: center;
}
.download h2 { color: var(--white); }
.download p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.appstore-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  text-align: left;
  line-height: 1.1;
}
.appstore-btn:hover { text-decoration: none; opacity: 0.9; }
.appstore-small { font-size: 11px; opacity: 0.85; }
.appstore-big { font-size: 20px; font-weight: 600; }
.download .micro { color: rgba(255,255,255,0.7); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
  text-align: left;
}
.download-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.download-card h3 { color: var(--white); margin: 0; }
.download-card p { color: rgba(255,255,255,0.85); margin: 0; }
.download-icon { font-size: 32px; }
.download-card .btn-primary { margin-top: 4px; }
.download-card .appstore-btn { margin-top: 4px; }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--white);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  font-size: 20px;
  color: var(--muted);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--white);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-grid a { margin-left: 16px; color: var(--muted); }
.footer-grid a:first-child { margin-left: 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero { padding: 40px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .site-header nav a { margin-left: 12px; font-size: 14px; }
  section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  section h2 { font-size: 26px; }
  .price .amount { font-size: 44px; }
  .site-header nav a:not(.btn) { display: none; }
}
