:root {
  --bg: #0f1124;
  --bg-elevated: rgba(18, 23, 52, 0.74);
  --bg-soft: rgba(255, 255, 255, 0.06);
  --surface: #161a38;
  --surface-strong: #1e2450;
  --text: #f4f7ff;
  --text-muted: #aeb7dd;
  --heading: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff8a3d;
  --accent-strong: #ff6a00;
  --accent-soft: rgba(255, 138, 61, 0.18);
  --shadow: 0 30px 80px rgba(1, 6, 22, 0.45);
  --hero-glow: radial-gradient(circle at top left, rgba(112, 73, 255, 0.45), transparent 34%),
    radial-gradient(circle at 80% 12%, rgba(255, 138, 61, 0.28), transparent 20%),
    linear-gradient(180deg, #11152f 0%, #0c1023 100%);
  color-scheme: dark;
}

body[data-theme="light"] {
  --bg: #f5f7ff;
  --bg-elevated: rgba(255, 255, 255, 0.8);
  --bg-soft: rgba(19, 29, 67, 0.04);
  --surface: #ffffff;
  --surface-strong: #eef2ff;
  --text: #202749;
  --text-muted: #5b6386;
  --heading: #111833;
  --line: rgba(17, 24, 51, 0.08);
  --accent: #ff7a22;
  --accent-strong: #e35d00;
  --accent-soft: rgba(255, 122, 34, 0.14);
  --shadow: 0 20px 70px rgba(80, 97, 161, 0.18);
  --hero-glow: radial-gradient(circle at top left, rgba(126, 117, 255, 0.18), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(255, 138, 61, 0.14), transparent 20%),
    linear-gradient(180deg, #fbfcff 0%, #edf2ff 100%);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background-color 180ms ease, color 180ms ease;
}

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

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 32%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.01));
}

.site-header,
.section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--heading);
}

.brand-wordmark {
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--heading);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lang-button.is-active {
  background: var(--bg-soft);
  color: var(--heading);
}

.theme-toggle,
.button,
.store-badge {
  border-radius: 999px;
}

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  width: 52px;
  height: 52px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.2rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible,
.store-badge:hover,
.store-badge:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 38px rgba(255, 106, 0, 0.28);
}

.button-secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--heading);
}

.section {
  padding: 48px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 96px);
}

.hero-copy h1,
.section-heading h2,
.audience-card h2,
.cta-card h2 {
  margin: 0;
  color: var(--heading);
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 3.8vw, 3.3rem);
  line-height: 1.06;
  max-width: 12ch;
}

.hero-lead,
.section-heading p,
.feature-card p,
.flow-card p,
.sector-card p,
.faq-list p,
.cta-card p,
.audience-card p,
.metric-card span,
.stat-card p {
  color: var(--text-muted);
  line-height: 1.62;
  font-size: 0.98rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 800;
}

.hero-actions,
.hero-notes,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-notes {
  margin-top: 24px;
}

.metric-card,
.feature-card,
.flow-card,
.sector-card,
.stat-card,
.audience-card,
.cta-card,
.faq-list details,
.store-badge {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.metric-card,
.feature-card,
.flow-card,
.sector-card,
.stat-card,
.audience-card,
.cta-card,
.faq-list details {
  border-radius: 28px;
}

.metric-card {
  flex: 1 1 220px;
  padding: 16px 18px;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
}

.store-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 184px;
  padding: 0.86rem 1.08rem;
}

.store-caption {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.phone-stack {
  position: relative;
  min-height: 700px;
  border-radius: 42px;
  padding: 42px;
  overflow: hidden;
  background: var(--hero-glow);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.phone-stack::before,
.phone-stack::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.phone-stack::before {
  top: 48px;
  right: 36px;
  width: 110px;
  height: 110px;
  background: rgba(255, 138, 61, 0.36);
}

.phone-stack::after {
  bottom: 88px;
  left: 10px;
  width: 140px;
  height: 140px;
  background: rgba(88, 97, 255, 0.34);
}

.phone-card {
  position: absolute;
  border-radius: 32px;
  padding: 24px;
  color: white;
  background: linear-gradient(180deg, rgba(43, 52, 118, 0.94), rgba(24, 28, 67, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-card h2 {
  margin: 14px 0 10px;
  font-size: 1.45rem;
  line-height: 1.08;
}

.phone-card p,
.phone-card li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.phone-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.phone-card-main {
  top: 56px;
  left: 34px;
  width: min(100%, 340px);
}

.phone-card-side {
  top: 168px;
  right: 34px;
  width: 240px;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.42rem 0.76rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.12);
}

.phone-pill-accent {
  background: rgba(255, 138, 61, 0.18);
}

.phone-screen {
  position: absolute;
  width: 180px;
  border-radius: 28px;
  border: 10px solid rgba(13, 17, 41, 0.9);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.phone-screen-left {
  left: 74px;
  bottom: 48px;
  transform: rotate(-8deg);
}

.phone-screen-right {
  right: 58px;
  bottom: 42px;
  transform: rotate(8deg);
}

.audience-split,
.feature-grid,
.sector-grid,
.stats-band {
  display: grid;
  gap: 20px;
}

.audience-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-card {
  padding: 24px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(1.72rem, 3.5vw, 2.9rem);
  line-height: 1.08;
}

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

.feature-card,
.flow-card,
.sector-card,
.stat-card {
  padding: 21px;
}

.feature-card h3,
.flow-card h3,
.sector-card h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 1.08rem;
}

.feature-index,
.flow-card span,
.stat-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

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

.sector-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.stats-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  margin: 0 auto 18px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 0 22px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  color: var(--heading);
  font-size: 1rem;
}

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

.faq-list details p {
  margin: 0 0 22px;
}

.cta-card {
  padding: 32px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(255, 138, 61, 0.22), transparent 28%),
    var(--bg-elevated);
}

.cta-card h2 {
  max-width: 840px;
  margin: 0 auto 16px;
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
}

.cta-card p {
  max-width: 760px;
  margin: 0 auto;
}

.cta-actions {
  justify-content: center;
  margin-top: 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .hero,
  .audience-split,
  .feature-grid,
  .sector-grid,
  .stats-band,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .phone-stack {
    min-height: 620px;
  }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .section {
    padding: 42px 0;
  }

  .phone-stack {
    min-height: 760px;
    padding: 28px;
  }

  .phone-card-main,
  .phone-card-side,
  .phone-screen-left,
  .phone-screen-right {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .phone-screen {
    width: min(100%, 280px);
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
