:root {
  --bg: #0c1118;
  --bg-elevated: #141c27;
  --bg-card: #1a2433;
  --text: #e8eef7;
  --text-muted: #93a4bc;
  --accent: #3d9cf5;
  --accent-soft: rgba(61, 156, 245, 0.14);
  --accent-2: #6ee7b7;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --max: 1080px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(61, 156, 245, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(110, 231, 183, 0.08), transparent);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #6bb8ff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12, 17, 24, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: #fff;
  box-shadow: 0 8px 24px rgba(61, 156, 245, 0.35);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 12px 32px rgba(61, 156, 245, 0.45);
}

.btn-ghost {
  background: var(--accent-soft);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(61, 156, 245, 0.25);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta strong {
  color: var(--text);
  font-weight: 600;
}

.phone-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1rem;
  box-shadow: var(--shadow);
  max-width: 320px;
  margin-inline: auto;
}

.phone-screen {
  background: var(--bg-elevated);
  border-radius: 20px;
  padding: 1.25rem;
  min-height: 280px;
  font-size: 0.82rem;
}

.phone-screen .msg {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  border: 1px solid var(--border);
}

.phone-screen .msg-bot {
  border-left: 3px solid var(--accent);
}

.phone-screen .kbd {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  margin: 0.2rem 0.25rem 0 0;
  border-radius: 8px;
  background: var(--accent-soft);
  font-size: 0.75rem;
}

section {
  padding: 2.5rem 0;
}

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 40em;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.price-card.featured {
  border-color: rgba(61, 156, 245, 0.45);
  box-shadow: 0 0 0 1px rgba(61, 156, 245, 0.15);
}

.price-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0;
}

.price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.15rem 1.15rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--accent);
}

.faq p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-band {
  margin: 2rem 0 3rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer .inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.mobile-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(12, 17, 24, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  z-index: 40;
}

.mobile-cta .btn {
  flex: 1;
}

@media (min-width: 640px) {
  .nav {
    display: flex;
  }

  .mobile-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .phone-mock {
    margin-inline: 0 0 auto;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer .inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 639px) {
  body {
    padding-bottom: 4.5rem;
  }
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.8rem;
}

.lang-switch a {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.lang-switch a:hover,
.lang-switch a[aria-current="page"] {
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(61, 156, 245, 0.35);
}

.faq-intro {
  margin-bottom: 1rem;
}

.faq-more-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
