:root {
  --navy: #11253f;
  --blue: #2f7df6;
  --blue-dark: #1f6ae0;
  --green: #19b36b;
  --red: #e23b3b;
  --ink: #16202c;
  --muted: #5d6b7a;
  --line: #e6ebf2;
  --soft: #f4f7fb;
  --gold: #f59e0b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(17, 37, 63, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 37, 63, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

.muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 125, 246, 0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.02rem;
}
.brand img {
  width: 30px;
  height: 30px;
}
.brand:hover {
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav .btn {
  padding: 9px 16px;
  font-size: 0.92rem;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(
      1200px 500px at 80% -10%,
      rgba(47, 125, 246, 0.25),
      transparent
    ),
    linear-gradient(160deg, var(--navy) 0%, #0c2138 100%);
  color: #fff;
  padding: 72px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  color: #fff;
}
.hero p.lead {
  font-size: 1.18rem;
  color: #c8d6e8;
  max-width: 33ch;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #9fb2c8;
}
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.badge {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #dce6f2;
}

/* ---------- Popup mock ---------- */
.mock {
  width: 330px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--ink);
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.mock-head img {
  width: 20px;
  height: 20px;
}
.mock-head .t {
  font-weight: 700;
  font-size: 0.82rem;
}
.mock-head .pro {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f7b500, var(--gold));
  padding: 3px 8px;
  border-radius: 10px;
}
.mock-tabs {
  display: flex;
  gap: 16px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}
.mock-tabs span {
  padding: 10px 2px;
  color: var(--muted);
}
.mock-tabs span.on {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}
.mock-actions {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
}
.mock-actions .b {
  flex: 1;
  text-align: center;
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 9px 4px;
  border-radius: 8px;
}
.mock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 0 14px 16px;
}
.mock-grid .tile {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 7px;
}
.mock-grid .tile::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.tile.a {
  background: linear-gradient(135deg, #6ea8ff, #2f7df6);
}
.tile.b {
  background: linear-gradient(135deg, #45d49a, #19b36b);
}
.tile.c {
  background: linear-gradient(135deg, #ff7b7b, #e23b3b);
}
.tile.d {
  background: linear-gradient(135deg, #c9d6e8, #9fb2c8);
}

/* ---------- Sections ---------- */
section {
  padding: 76px 0;
}
.section-soft {
  background: var(--soft);
}
.section-title {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-title p {
  font-size: 1.1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: rgba(47, 125, 246, 0.12);
}
.card h3 {
  font-size: 1.18rem;
}
.card p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.1rem;
}
.step p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.plan.featured {
  border: 2px solid var(--blue);
  position: relative;
}
.plan.featured .tag {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 1.3rem;
}
.price {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 6px 0 4px;
}
.price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}
.plan li {
  padding: 7px 0 7px 28px;
  position: relative;
  color: var(--ink);
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.plan li.no {
  color: var(--muted);
}
.plan li.no::before {
  content: "—";
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 800;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* ---------- CTA banner ---------- */
.cta {
  background: linear-gradient(160deg, var(--navy), #0c2138);
  color: #fff;
  text-align: center;
  border-radius: 22px;
  padding: 56px 24px;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #c8d6e8;
  max-width: 50ch;
  margin: 0 auto 26px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.disclaimer {
  margin-top: 20px;
  font-size: 0.82rem;
  color: #93a1b1;
  max-width: 80ch;
}

/* ---------- Legal / privacy page ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 0;
}
.legal h1 {
  font-size: 2.2rem;
}
.legal h2 {
  font-size: 1.35rem;
  margin-top: 36px;
}
.legal p,
.legal li {
  color: #33414f;
}
.legal .meta {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid,
  .cards,
  .steps,
  .pricing {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 52px 0 64px;
  }
  .mock {
    margin-top: 36px;
  }
  .nav-links {
    display: none;
  }
}
