:root {
  --purple-700: #6D28D9;
  --purple-600: #7C3AED;
  --purple-500: #8B5CF6;
  --purple-400: #A78BFA;
  --purple-100: #EDE9FE;
  --purple-50: #F5F3FF;
  --ink-900: #1F1147;
  --ink-700: #2E1F5E;
  --ink-500: #5B4B8A;
  --ink-300: #8A7CB3;
  --bg: #FAF8FF;
  --card: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(31, 17, 71, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 17, 71, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 17, 71, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--purple-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  color: var(--ink-900);
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 0.8em; }

/* ----- Top bar ----- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(250, 248, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.brand { display: inline-flex; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-300);
}

.lang-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn[aria-pressed="true"] {
  background: var(--purple-100);
  color: var(--purple-700);
}

.lang-btn:hover { color: var(--purple-700); }
.lang-sep { color: var(--ink-300); }

/* ----- Hero ----- */
.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-copy h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-500);
  max-width: 36ch;
  margin-bottom: 1.6em;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.badge-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.badge-label {
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--purple-600);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  z-index: 1;
  white-space: nowrap;
}

.badge-wrap img {
  border-radius: 12px;
  filter: drop-shadow(0 6px 14px rgba(31, 17, 71, 0.18));
  opacity: 0.95;
}

.hero-phone {
  display: flex;
  justify-content: center;
}

.hero-phone img {
  max-width: 340px;
  width: 100%;
  filter: drop-shadow(0 30px 50px rgba(124, 58, 237, 0.25));
}

/* ----- Audience ----- */
.audience {
  max-width: 1160px;
  margin: 24px auto 12px;
  padding: 0 24px;
  text-align: center;
}

.audience h2 { margin-bottom: 18px; }

.aud-toggle {
  display: inline-flex;
  padding: 6px;
  background: var(--purple-100);
  border-radius: var(--radius-pill);
  gap: 4px;
}

.aud-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font: inherit;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.aud-btn[aria-selected="true"] {
  background: #fff;
  color: var(--purple-700);
  box-shadow: var(--shadow-sm);
}

.aud-btn:focus-visible {
  outline: 2px solid var(--purple-500);
  outline-offset: 2px;
}

/* ----- Benefits ----- */
.benefits {
  max-width: 1160px;
  margin: 32px auto 48px;
  padding: 0 24px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefit {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(124, 58, 237, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-100);
  color: var(--purple-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.benefit-icon svg { width: 22px; height: 22px; }

.benefit h3 { margin-bottom: 6px; }
.benefit p { color: var(--ink-500); margin: 0; font-size: 0.98rem; }

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.benefits[data-audience-panel="operators"] .shots {
  grid-template-columns: 1fr;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.shots img {
  width: 100%;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 16px 32px rgba(31, 17, 71, 0.14));
  background: var(--purple-50);
}

/* ----- Coverage (keyword section) ----- */
.coverage {
  max-width: 760px;
  margin: 16px auto 48px;
  padding: 0 24px;
  text-align: center;
}

.coverage h2 {
  margin-bottom: 12px;
}

.coverage p {
  color: var(--ink-500);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.coverage .cities {
  color: var(--ink-300);
  font-size: 0.92rem;
  margin-top: 14px;
}

/* ----- FAQ ----- */
.faq {
  max-width: 820px;
  margin: 24px auto 48px;
  padding: 0 24px;
}

.faq h2 {
  text-align: center;
  margin-bottom: 8px;
}

.faq-intro {
  text-align: center;
  color: var(--ink-500);
  margin-bottom: 28px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(124, 58, 237, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.faq-item[open] {
  box-shadow: var(--shadow-lg);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

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

.faq-chevron {
  flex: 0 0 auto;
  color: var(--purple-600);
  transition: transform 0.25s ease;
}

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

.faq-steps {
  margin: 0;
  padding: 0 22px 22px 44px;
  color: var(--ink-500);
}

.faq-steps li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.faq-steps li:last-child {
  margin-bottom: 0;
}

.faq-body {
  padding: 0 22px 22px 22px;
  color: var(--ink-500);
}

.faq-body p {
  margin: 0 0 10px;
  line-height: 1.6;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* ----- CTA ----- */
.cta {
  max-width: 800px;
  margin: 24px auto 48px;
  padding: 48px 24px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.6em; }

.btn {
  display: inline-block;
  background: #fff;
  color: var(--purple-700);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

/* ----- Footer ----- */
.footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 36px 24px 28px;
}

.footer-row {
  max-width: 1160px;
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer a { color: #fff; }

.footer .lang-toggle { color: rgba(255, 255, 255, 0.55); }
.footer .lang-btn { color: rgba(255, 255, 255, 0.78); }
.footer .lang-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.copy {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ----- Desktop ----- */
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 80px;
    padding-bottom: 64px;
    gap: 48px;
  }

  .hero-phone img { max-width: 320px; }

  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .shots {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefits[data-audience-panel="operators"] .shots {
    grid-template-columns: repeat(3, 1fr);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ----- Legal pages (privacy / terms) ----- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  color: var(--ink-700);
}

.legal h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 4px;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 2em 0 0.4em;
}

.legal h3 {
  font-size: 1.1rem;
  margin: 1.4em 0 0.3em;
}

.legal .last-updated {
  color: var(--ink-300);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.legal .draft-notice {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #78350F;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 24px 0 32px;
  font-size: 0.95rem;
}

.legal ul {
  padding-left: 22px;
  margin: 0 0 1em;
}

.legal li { margin-bottom: 6px; }

.legal a { color: var(--purple-600); }
.legal a:hover { text-decoration: underline; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5em 0 1.4em;
  font-size: 0.95rem;
}

.legal th, .legal td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.12);
  vertical-align: top;
}

.legal th {
  background: var(--purple-50);
  color: var(--ink-900);
  font-weight: 600;
}

.legal em {
  background: rgba(252, 211, 77, 0.25);
  font-style: normal;
  padding: 0 4px;
  border-radius: 3px;
}

.footer-meta a + a {
  /* keep links visually separated in the legal footer */
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .benefit:hover { transform: none; }
}
