:root {
  --color-primary: #2563eb;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #1d4ed8;
  --color-accent-green: #22c55e;
  --color-text: #1e293b;
  --color-text-muted: #475569;
  --color-bg-top: #f5f8ff;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg-top);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

/* Header (mobile first) */

.site-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  position: sticky;
  top: 0;
  background: rgba(245, 248, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05);
  z-index: 10;
}

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 8px 14px;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: #64748b;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

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

.lang-toggle.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

.site-nav {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  gap: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.site-nav .lang-switch {
  margin: 14px auto 0;
}

.site-header.nav-open .site-nav {
  display: flex;
}

.site-nav a {
  color: var(--color-text);
  font-weight: 600;
  padding: 12px 4px;
}

.site-nav a:hover {
  color: var(--color-primary);
}

/* Hero (mobile first) */

.hero {
  padding-block: 40px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.hero-text {
  width: 100%;
  text-align: center;
}

.hero-image {
  width: 100%;
  max-width: 384px;
  margin-inline: 0;
  display: flex;
  justify-content: center;
}

.hero-visual {
  position: relative;
  display: inline-block;
  width: min(372px, calc(100vw - 40px));
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 124%;
  height: 90%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.28) 0%, rgba(59, 130, 246, 0.16) 36%, rgba(59, 130, 246, 0) 72%),
    radial-gradient(circle at 64% 38%, rgba(96, 165, 250, 0.18) 0%, rgba(96, 165, 250, 0) 46%),
    radial-gradient(circle at 36% 68%, rgba(147, 197, 253, 0.12) 0%, rgba(147, 197, 253, 0) 40%);
  filter: blur(24px);
  z-index: 0;
}

.hero-visual::after {
  content: "";
  position: absolute;
  bottom: 1.8%;
  left: 50%;
  transform: translateX(-50%);
  width: 56%;
  height: 2.5%;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.44);
  filter: blur(5px);
  z-index: 0;
}

.hero-screenshot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(30, 41, 59, 0.1));
}

.hero h1 {
  font-size: 2.3rem;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--color-text);
}

.hero-tagline {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero-description {
  margin: 0 0 24px;
}

.hero-description p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.hero-badges {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-badges li::before {
  content: "✓";
  color: var(--color-accent-green);
  font-weight: 800;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.store-badge {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.15s ease;
}

.store-badge:hover {
  opacity: 0.82;
}

.store-badge img {
  height: 48px;
  width: auto;
  display: block;
}

/* Features (mobile first) */

.features {
  padding-block: 48px;
}

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 32px;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.feature-card {
  text-align: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 24px 24px 28px;
  box-shadow: 0 8px 24px rgba(30, 41, 59, 0.08);
}

.feature-card-image {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card-image img {
  width: auto;
  max-height: 340px;
  filter: drop-shadow(0 14px 22px rgba(30, 41, 59, 0.16));
}

.feature-card h3 {
  margin: 0 0 18px;
  font-size: 1.25rem;
}

.feature-card h3 .highlight {
  color: var(--color-primary);
}

.feature-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* FAQ (mobile first) */

.faq {
  padding-block: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 20px;
}

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

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

.faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 0.15s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--color-text-muted);
}

/* Support (mobile first) */

.support {
  padding-block: 48px;
}

.support-inner {
  text-align: center;
}

.support-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.support-email {
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 2px;
}

.support-email:hover {
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

/* CTA band (mobile first) */

.cta-band {
  background: linear-gradient(180deg, #f3f7ff 0%, #edf4ff 100%);
  color: var(--color-text);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  padding-block: 48px;
  text-align: center;
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-band h2 {
  font-size: 1.6rem;
  margin: 0 0 10px;
}

.cta-band p {
  margin: 0 0 24px;
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: 24px;
}

.footer-inner {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Larger screens */

@media (min-width: 721px) {
  .container {
    padding: 0 24px;
  }

  .header-inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-block: 16px;
  }

  .brand {
    flex-shrink: 0;
  }

  .header-controls {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    order: 2;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-width: 0;
    margin-inline-start: 24px;
    padding-top: 0;
    border-top: none;
  }

  .site-nav a {
    font-weight: 500;
    padding: 0;
  }

  .site-nav .lang-switch {
    margin: 0;
    margin-inline-start: auto;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .hero {
    padding-block: 64px;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .hero-text {
    flex: 1 1 480px;
  }

  .hero-image {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    flex: 1 1 420px;
  }

  .hero-visual {
    width: auto;
  }

  .hero-screenshot {
    width: auto;
    height: auto;
    max-height: 520px;
  }

  .hero-text {
    text-align: initial;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .hero-tagline {
    font-size: 3.6rem;
  }

  .hero-description p {
    font-size: 1rem;
  }

  .cta-group {
    flex-direction: row;
    width: auto;
  }

  .features {
    padding-block: 72px;
  }

  .section-title {
    font-size: 1.9rem;
    margin: 0 0 40px;
  }

  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .feature-card h3 {
    font-size: 1.3rem;
  }

  .hero-badges {
    justify-content: flex-start;
  }

  .hero-badges li {
    font-size: 0.9rem;
  }

  .faq {
    padding-block: 72px;
  }

  .support {
    padding-block: 72px;
  }

  .cta-band {
    padding-block: 64px;
  }

  .cta-band h2 {
    font-size: 2rem;
  }

  .cta-band .cta-group {
    justify-content: center;
  }
}
