:root {
  --bg: #080a10;
  --bg-soft: #111521;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --muted: #aeb7c7;
  --line: rgba(255, 255, 255, 0.14);
  --orange: #ff6a00;
  --orange-soft: #ff9b54;
  --cyan: #66e3ff;
  --green: #46d6a8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 3%, rgba(255, 106, 0, 0.22), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(102, 227, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #070911 0%, #0d111a 45%, #090b11 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 78%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.site-header.is-scrolled {
  background: rgba(8, 10, 16, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.logo {
  display: block;
  width: 154px;
  height: auto;
  border-radius: 9px;
  filter: drop-shadow(0 12px 24px rgba(255, 106, 0, 0.24));
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

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

.language-switcher {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-button {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
}

.lang-button.is-active {
  color: #111521;
  background: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: #111521;
  background: linear-gradient(135deg, #fff, #ffd6bd);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.2);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 760px;
  margin-top: -66px;
  overflow: hidden;
}

.hero-video,
.hero-video-fallback,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero-video-fallback {
  background:
    radial-gradient(circle at 22% 35%, rgba(255, 106, 0, 0.44), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(102, 227, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #111521, #0a0d14);
}

.hero-video.is-loaded + .hero-video-fallback {
  display: none;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.94) 0%, rgba(5, 7, 12, 0.72) 44%, rgba(5, 7, 12, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.6) 0%, rgba(5, 7, 12, 0.32) 56%, #080a10 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  min-height: 760px;
  margin: 0 auto;
  padding: 150px 0 76px;
}

.logo-pill {
  display: none;
  width: 244px;
  margin-bottom: 24px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 20px 44px rgba(255, 88, 0, 0.22), 0 18px 46px rgba(0, 0, 0, 0.22);
}

.logo-pill svg {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--orange-soft);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 7.2vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.1vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.08rem;
}

.hero-text,
.copy-stack p,
.privacy-panel p,
.contact-card p,
.feature-card p,
.benefit-list p,
.mock-window p,
.faq-list p,
.privacy-cards p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
  color: #d7dde8;
  font-size: 1.14rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #111521;
  background: linear-gradient(135deg, #fff 0%, #ffd3b7 100%);
  box-shadow: 0 16px 36px rgba(255, 106, 0, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #d8deea;
  background: rgba(255, 255, 255, 0.075);
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-product {
  justify-self: end;
}

.device-shell {
  position: relative;
  width: min(390px, 100%);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
}

.device-shell::before {
  position: absolute;
  inset: 9px;
  pointer-events: none;
  content: "";
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.device-camera {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 3;
  width: 88px;
  height: 23px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #070911;
}

.device-screen {
  min-height: 630px;
  padding: 58px 20px 20px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 106, 0, 0.18), transparent 32%),
    linear-gradient(180deg, #fcf7f2 0%, #f2e8df 100%);
  color: #171923;
}

.app-topbar,
.message,
.say-box,
.resolved-card {
  border: 1px solid rgba(92, 63, 37, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(70, 45, 22, 0.08);
}

.app-topbar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.92rem;
  font-weight: 900;
}

.app-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #12b981;
  box-shadow: 0 0 0 5px rgba(18, 185, 129, 0.13);
}

.profile-chip {
  display: inline-flex;
  margin: 18px 0 13px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #9a3412;
  background: rgba(255, 106, 0, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
}

.message {
  margin-bottom: 11px;
  padding: 14px;
  border-radius: 20px;
  line-height: 1.48;
}

.message.user {
  width: 82%;
  margin-left: auto;
  color: #5a4032;
}

.message.ai strong {
  display: block;
  margin-bottom: 8px;
}

.message.ai ol {
  margin: 0;
  padding-left: 20px;
}

.say-box,
.resolved-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 20px;
}

.say-box span,
.resolved-card span {
  display: block;
  margin-bottom: 8px;
  color: #7c4a25;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.say-box p {
  margin: 0;
  color: #2c221d;
}

.resolved-card div {
  display: flex;
  gap: 8px;
}

.resolved-card button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  color: #fff;
  background: #0f766e;
  font-weight: 900;
}

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

.product {
  padding-top: 78px;
}

.split,
.audience,
.benefits,
.privacy {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 46px;
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 12px;
}

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

.feature-grid,
.mockup-grid,
.privacy-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card,
.benefit-list article,
.mock-card,
.privacy-cards article,
.contact-card,
details {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.055));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.feature-card {
  min-height: 248px;
  padding: 22px;
  border-radius: 26px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 950;
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-grid span {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #e9edf5;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 850;
}

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

.benefit-list article {
  padding: 22px;
  border-radius: 24px;
}

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

.mock-card {
  padding: 12px;
  border-radius: 28px;
}

.mock-window {
  min-height: 285px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 106, 0, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
}

.mock-window span {
  display: inline-flex;
  margin-bottom: 58px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #111521;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.privacy {
  align-items: stretch;
}

.privacy-panel,
.contact-card {
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 106, 0, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
}

.privacy-panel {
  padding: 28px;
  border: 1px solid var(--line);
}

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

.privacy-cards article {
  padding: 22px;
  border-radius: 24px;
}

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

details {
  overflow: hidden;
  border-radius: 20px;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
}

.contact-card h2 {
  max-width: 780px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: block;
    order: 3;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 10, 16, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 14px;
  }

  .header-actions {
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }

  .hero-inner,
  .split,
  .audience,
  .benefits,
  .privacy,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 36px;
    padding-top: 140px;
  }

  .hero-product {
    justify-self: start;
  }

  .feature-grid,
  .privacy-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 82px;
  }

  .site-header {
    top: 8px;
    width: min(100% - 20px, 1180px);
    gap: 8px;
    padding: 8px;
  }

  .logo {
    width: 128px;
  }

  .language-switcher {
    transform: scale(.92);
    transform-origin: right center;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 7, 12, 0.92), rgba(5, 7, 12, 0.62) 52%, #080a10 100%);
  }

  .hero-inner {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    padding: 126px 0 54px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-actions,
  .contact-actions,
  .trust-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .device-shell {
    width: 100%;
  }

  .device-screen {
    min-height: 560px;
    padding: 52px 16px 16px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 48px 0;
  }

  .feature-grid,
  .mockup-grid,
  .privacy-cards {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .contact-card,
  .privacy-panel {
    padding: 24px;
  }
}
