:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-soft: #eef2ff;
  --text: #1a1f36;
  --muted: #6b7280;
  --primary: #3d5afe;
  --primary-dark: #2541d4;
  --outline: #dde3ee;
  --shadow: 0 8px 24px rgba(20, 30, 60, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 88%, white 12%);
  border-bottom: 1px solid var(--outline);
}

.site-header.compact { position: static; }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.brand-text {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.98rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  font-weight: 600;
  color: #4a5164;
}

.nav a:hover { color: var(--primary-dark); }

.menu-btn {
  display: none;
  border: 1px solid var(--outline);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}

.lang-toggle {
  border: 1px solid var(--outline);
  background: #fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.hero {
  padding: 48px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, white 88%);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.8vw, 2.7rem);
  line-height: 1.2;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
  background: #fff;
  border-color: var(--outline);
  color: #39405a;
}

.stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stats article {
  background: #fff;
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.stats h3 {
  margin: 0;
  color: var(--primary-dark);
}

.stats p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.phone-mock {
  background: linear-gradient(180deg, #ecf1ff 0%, #f7f9ff 100%);
  border: 1px solid #dfe6fb;
  border-radius: 24px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.phone-screen {
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid var(--outline);
}

.mock-header {
  font-weight: 800;
  color: var(--primary-dark);
}

.mock-search {
  margin: 10px 0;
  border: 1px solid #cad6ff;
  border-radius: 999px;
  padding: 10px 14px;
  color: #8791a6;
}

.mock-card {
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
}

.mock-thumb {
  width: 100%;
  height: 90px;
  border-radius: 10px;
  background: linear-gradient(120deg, #d7dff4, #f0f3fb, #d7dff4);
}

.mock-card p {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: #4b546d;
}

.section {
  padding: 40px 0;
}

.section-soft {
  background: color-mix(in srgb, var(--surface-soft) 62%, white 38%);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.section-lead {
  margin: 0 0 18px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.step {
  background: #fff;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 14px;
}

.step span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.step h3 { margin: 10px 0 8px; }
.step p { margin: 0; color: var(--muted); }

.premium-box {
  background: #fff;
  border: 1px solid var(--outline);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.premium-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #3f4760;
}

details {
  background: #fff;
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 8px 0 0;
  color: var(--muted);
}

.cta {
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--outline);
  background: #fff;
  margin-top: 24px;
  padding: 20px 0 8px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-grid p { margin: 6px 0 0; color: var(--muted); }
.footer-grid nav { display: flex; gap: 14px; }
.footer-grid nav a { color: #49516a; font-weight: 600; }

.copyright {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 14px 0 0;
}

.legal-page {
  padding: 30px 0 50px;
}

.legal-page h1 { margin-bottom: 6px; }
.legal-page h2 { margin-top: 22px; font-size: 1.2rem; }
.legal-page p { color: #404862; }

@media (max-width: 920px) {
  .hero-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .premium-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    position: fixed;
    top: 72px;
    right: 4vw;
    left: 4vw;
    background: #fff;
    border: 1px solid var(--outline);
    border-radius: 14px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .brand-text { display: none; }
}

