:root {
  --accent: #85c2fa;
  --accent-strong: #388cff;
  --accent-deep: #2563b8;
  --success: #16a56a;
  --success-soft: #2eeb8c;
  --warning: #e86a1a;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --bg: #fafbfd;
  --bg-alt: #f0f4fa;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --max: 1080px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(56, 140, 255, 0.12);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.has-mobile-cta { padding-bottom: 76px; }

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

a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 16px;
  background: var(--text);
  color: #fff;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  left: 16px;
}

/* —— Nav —— */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 253, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: grid;
  place-items: center;
}

.logo-mark svg { width: 20px; height: 20px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  background: var(--accent-strong);
  color: #fff;
}

html.i18n-loading body {
  visibility: hidden;
}

html.i18n-ready body {
  visibility: visible;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 4px 14px rgba(56, 140, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(56, 140, 255, 0.4);
}

/* —— Hero —— */

.hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(56, 140, 255, 0.09), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(46, 235, 140, 0.06), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.overline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero-lead em {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.price-pill {
  display: inline-block;
  padding: 8px 14px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
}

.price-note {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--text);
  color: #fff;
  border-radius: 10px;
  min-width: 180px;
  transition: opacity 0.15s, transform 0.15s;
}

.store-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-btn span { display: block; }
.store-btn small { display: block; font-size: 10px; opacity: 0.7; line-height: 1.2; }
.store-btn strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }

/* —— Phone mockup —— */

.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.phone {
  width: min(280px, 100%);
  background: #111827;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.phone-notch {
  width: 96px;
  height: 24px;
  background: #111827;
  border-radius: 0 0 16px 16px;
  margin: -4px auto 8px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: linear-gradient(180deg, #f5f7fc 0%, #e8eef8 100%);
  border-radius: 32px;
  padding: 28px 20px 24px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
}

.status-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid #e2e8f0;
}

.status-ring.pending {
  border-top-color: var(--warning);
  border-right-color: var(--warning);
  border-left-color: #fdba74;
}

.status-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--warning);
}

.app-headline {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-sub {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.app-map {
  width: 100%;
  height: 100px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border: 1px solid rgba(56, 140, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-deep);
}

.map-pin {
  width: 14px;
  height: 14px;
  background: var(--accent-strong);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.app-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.chip {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
}

.app-cta {
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(56, 140, 255, 0.35);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.locked-card {
  top: 12%;
  right: -4%;
  animation: float 4s ease-in-out infinite;
}

.unlocked-card {
  bottom: 18%;
  left: -6%;
  animation: float 4s ease-in-out 1s infinite;
}

.float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.float-dot.red { background: var(--danger); }
.float-dot.green { background: var(--success); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* —— Trust bar —— */

.trust-bar {
  position: relative;
  list-style: none;
  margin: 48px 0 0;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.trust-bar li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-bar svg { color: var(--accent-strong); flex-shrink: 0; }

/* —— Problem section —— */

.problem {
  padding: 72px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.problem h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.problem > div > p {
  margin: 0;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.problem-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.problem-icon.no { background: #f1f5f9; color: var(--text-muted); }
.problem-icon.partial { background: #fff7ed; color: var(--warning); }
.problem-icon.yes { background: #ecfdf5; color: var(--success); }

.problem-list strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.problem-list p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* —— Sections —— */

section { padding: 88px 0; }

section.alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.feature-highlight {
  border-color: rgba(56, 140, 255, 0.35);
  box-shadow: 0 4px 24px rgba(56, 140, 255, 0.1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(133,194,250,0.2), rgba(56,140,255,0.12));
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent-strong);
}

.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
}

.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature a {
  color: var(--accent-strong);
  font-weight: 500;
}

.feature a:hover { text-decoration: underline; }

/* —— Steps —— */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}

.step p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* —— FAQ —— */

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.faq-layout .section-head {
  margin-bottom: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
}

.faq-item summary {
  padding: 18px 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item a {
  color: var(--accent-strong);
  font-weight: 500;
}

/* —— Pricing —— */

.pricing-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pricing-main {
  padding: 48px;
  border-right: 1px solid var(--border);
}

.pricing-amount {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-amount .currency { font-size: 2rem; vertical-align: top; margin-right: 2px; }
.pricing-amount .cents { font-size: 2rem; }

.pricing-tagline {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.pricing-list {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.pricing-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.pricing-btn { min-width: 200px; }

.pricing-aside {
  padding: 48px;
  background: var(--bg-alt);
}

.pricing-aside h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
}

.pricing-aside h3:not(:first-child) {
  margin-top: 28px;
}

.pricing-aside p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* —— CTA —— */

.cta {
  text-align: center;
  padding: 72px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.cta p {
  color: var(--text-muted);
  margin: 0 0 32px;
  font-size: 17px;
}

.cta .store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* —— Footer —— */

footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--accent-strong); }

/* —— Mobile sticky CTA —— */

.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}

.mobile-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin-inline: auto;
}

.mobile-cta strong {
  display: block;
  font-size: 14px;
}

.mobile-cta span {
  font-size: 12px;
  color: var(--text-muted);
}

.mobile-cta .btn {
  padding: 10px 18px;
  flex-shrink: 0;
}

/* —— Legal —— */

.legal-page .legal-content {
  padding: 48px 0 80px;
  max-width: 720px;
}

.legal-content h1 {
  font-size: 2.25rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.legal-updated {
  color: var(--text-muted);
  margin: 0 0 32px;
  font-size: 14px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-content a {
  color: var(--accent-strong);
  font-weight: 500;
}

/* —— Responsive —— */

@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links .lang-switch { display: inline-flex; }

  .hero-grid,
  .features,
  .steps,
  .problem-grid,
  .pricing-card,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero { padding: 40px 0 32px; }
  .hero-visual { order: -1; min-height: auto; margin-bottom: 8px; }

  .float-card { display: none; }

  section { padding: 64px 0; }
  .problem { padding: 56px 0; }

  .trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .pricing-main {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 32px;
  }

  .pricing-aside { padding: 32px; }
  .cta { padding: 48px 24px; }
}

@media (min-width: 901px) {
  .mobile-cta { display: none !important; }
}

@media (max-width: 900px) {
  body.has-mobile-cta .mobile-cta { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card { animation: none; }
  .btn-primary:hover,
  .store-btn:hover { transform: none; }
}
