:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: #030914;
  --page-soft: #071426;
  --surface: rgb(8 23 41 / 78%);
  --surface-strong: #0b1c31;
  --line: rgb(0 190 255 / 28%);
  --cyan: #00c8ff;
  --blue: #087cff;
  --text: #f5fbff;
  --muted: #9cb0c5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 20rem; background: var(--page); color: var(--text); overflow-x: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgb(0 200 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 200 255 / 4%) 1px, transparent 1px),
    radial-gradient(circle at 75% 10%, rgb(0 126 255 / 15%), transparent 30%),
    linear-gradient(180deg, #020712, #06111f 55%, #030914);
  background-size: 64px 64px, 64px 64px, auto, auto;
}
a { color: inherit; }
.page-glow { position: fixed; z-index: -2; width: 28rem; height: 28rem; border-radius: 50%; filter: blur(110px); opacity: .18; pointer-events: none; }
.page-glow-one { top: 5rem; left: -14rem; background: var(--cyan); }
.page-glow-two { right: -12rem; top: 38rem; background: var(--blue); }
.site-header, .section-shell, footer { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 2.5rem; aspect-ratio: 1; display: grid; place-items: center; transform: rotate(-12deg); border: 2px solid var(--cyan); border-radius: .55rem 1rem .55rem 1rem; background: linear-gradient(145deg, #00d9ff, #0668f5); color: #00101c; font-size: 1.45rem; font-weight: 1000; box-shadow: 0 0 24px rgb(0 200 255 / 35%); }
.brand-copy { display: grid; letter-spacing: .14em; line-height: 1; }
.brand-copy strong { font-size: 1.05rem; }
.brand-copy small { margin-top: .35rem; color: var(--cyan); font-size: .55rem; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.language-switcher { display: flex; align-items: center; gap: .45rem; color: #4d6a82; }
.language-switcher a { padding: .35rem; color: var(--muted); font: inherit; font-weight: 800; text-decoration: none; }
.language-switcher a[aria-current="page"] { color: var(--cyan); }
.button { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; padding: .8rem 1.45rem; border: 1px solid rgb(110 225 255 / 75%); border-radius: .45rem; background: linear-gradient(135deg, var(--cyan), #0781ff); color: #00101c; font-weight: 900; text-decoration: none; box-shadow: 0 0 25px rgb(0 175 255 / 18%); transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 0 32px rgb(0 190 255 / 35%); }
.button-small { min-height: 2.55rem; padding: .55rem 1rem; }
.hero { min-height: 42rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(25rem, .9fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: 6rem; }
.eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: .78rem; font-weight: 900; letter-spacing: .2em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 13ch; margin-bottom: 1.5rem; font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05; letter-spacing: -.04em; }
.hero-description { max-width: 39rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.text-link { color: #d8f5ff; font-weight: 750; text-underline-offset: .3rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: 0; margin: 2rem 0 0; color: var(--muted); font-size: .88rem; list-style: none; }
.hero-points li::before { content: "◆"; margin-right: .55rem; color: var(--cyan); font-size: .6rem; }
.translator-demo { position: relative; min-height: 30rem; display: grid; place-items: center; perspective: 1000px; }
.circuit-lines { position: absolute; inset: 3rem -20vw; opacity: .5; background: linear-gradient(135deg, transparent 48%, var(--line) 49%, transparent 50%), linear-gradient(45deg, transparent 48%, var(--line) 49%, transparent 50%); background-size: 90px 90px; mask-image: radial-gradient(circle, #000, transparent 70%); }
.demo-window { position: relative; width: min(100%, 31rem); padding: 1.25rem; border: 1px solid rgb(0 205 255 / 42%); border-radius: 1.1rem; background: linear-gradient(145deg, rgb(10 31 54 / 96%), rgb(3 12 24 / 96%)); box-shadow: 0 35px 80px rgb(0 0 0 / 50%), 0 0 55px rgb(0 166 255 / 12%); transform: rotateY(-5deg) rotateX(2deg); }
.demo-window::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(130deg, var(--cyan), transparent 35%, var(--blue)); filter: blur(14px); opacity: .25; }
.demo-header { display: flex; align-items: center; gap: .55rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.live-dot { width: .55rem; aspect-ratio: 1; border-radius: 50%; background: #ff3d71; box-shadow: 0 0 10px #ff3d71; }
.demo-language { margin-left: auto; color: var(--cyan); }
.chat-message { display: flex; gap: .9rem; margin: 1.4rem 0; padding: 1rem; border: 1px solid rgb(255 255 255 / 7%); border-radius: .8rem; background: rgb(255 255 255 / 4%); }
.demo-avatar, .mini-avatar { flex: 0 0 auto; width: 2.4rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #884dff, #00c8ff); font-weight: 900; }
.chat-message strong { color: #bf94ff; }
.chat-message p, .translated-message p { margin: .35rem 0 0; line-height: 1.5; }
.translation-flow { display: flex; justify-content: center; gap: .4rem; margin: -.1rem 0 .7rem; }
.translation-flow span { width: .38rem; aspect-ratio: 1; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.translated-message { padding: 1.15rem; border-left: 3px solid var(--cyan); border-radius: .2rem .8rem .8rem .2rem; background: rgb(0 159 255 / 10%); }
.translated-message small { color: var(--cyan); font-size: .65rem; font-weight: 900; letter-spacing: .14em; }
.trust-strip { display: flex; justify-content: center; align-items: center; gap: 2rem; padding: 1.25rem; border-block: 1px solid var(--line); background: rgb(4 18 32 / 72%); color: #a9bfd2; font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.trust-strip i { width: .35rem; aspect-ratio: 1; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.content-section { padding-block: 7rem; }
.section-heading { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.section-heading p:last-child { color: var(--muted); line-height: 1.7; }
.section-heading-left { max-width: none; margin-inline: 0; text-align: left; }
.steps-grid, .features-grid, .plans-grid { display: grid; gap: 1.2rem; }
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.features-grid { grid-template-columns: repeat(2, 1fr); }
.feature-card, .plan-card { position: relative; padding: 1.75rem; border: 1px solid var(--line); border-radius: .9rem; background: linear-gradient(145deg, rgb(9 29 50 / 85%), rgb(4 15 28 / 85%)); overflow: hidden; }
.feature-card::after, .plan-card::after { content: ""; position: absolute; width: 8rem; height: 1px; right: 0; top: 0; background: linear-gradient(90deg, transparent, var(--cyan)); }
.feature-card h3, .plan-card h3 { margin-bottom: .7rem; font-size: 1.25rem; }
.feature-card p, .plan-card p, .obs-copy p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.step-number { display: block; margin-bottom: 2.4rem; color: var(--cyan); font-size: .78rem; font-weight: 900; letter-spacing: .15em; }
.feature-icon { width: 2.7rem; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 1.35rem; border: 1px solid var(--line); border-radius: .55rem; color: var(--cyan); background: rgb(0 197 255 / 8%); font-weight: 900; }
.obs-section { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); padding-block: 6rem; }
.screen-frame { position: relative; min-height: 22rem; display: flex; align-items: end; padding: 2rem; border: 7px solid #11253a; border-radius: 1rem; background: radial-gradient(circle at 70% 20%, rgb(0 169 255 / 18%), transparent 35%), linear-gradient(145deg, #05101e, #020711); box-shadow: 0 30px 70px rgb(0 0 0 / 45%); }
.screen-label { position: absolute; top: 1rem; left: 1rem; color: #536d86; font-size: .7rem; font-weight: 900; letter-spacing: .18em; }
.screen-overlay { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; background: rgb(5 18 31 / 88%); }
.screen-overlay strong { color: var(--cyan); }
.screen-overlay p { margin: .25rem 0 0; font-size: .9rem; }
.obs-copy ul { padding: 0; margin: 1.5rem 0 0; list-style: none; }
.obs-copy li { margin-top: .8rem; color: #dcecf7; }
.obs-copy li::before { content: "✓"; margin-right: .7rem; color: var(--cyan); font-weight: 900; }
.plans-grid { max-width: 55rem; grid-template-columns: repeat(2, 1fr); margin-inline: auto; }
.plan-card { min-height: 20rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.plan-current { border-color: rgb(0 200 255 / 65%); box-shadow: 0 0 45px rgb(0 166 255 / 9%); }
.plan-future { opacity: .72; }
.plan-badge { display: inline-block; margin-bottom: 1.25rem; color: var(--cyan); font-size: .68rem; font-weight: 900; letter-spacing: .15em; }
.plan-card h3 { font-size: 2rem; }
.button-disabled { border-color: #30445a; background: #172638; color: #8195aa; box-shadow: none; cursor: not-allowed; }
.button-disabled:hover { transform: none; box-shadow: none; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-block: 3rem 7rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgb(0 200 255 / 45%); border-radius: 1rem; background: linear-gradient(110deg, rgb(0 137 255 / 17%), rgb(4 18 32 / 86%)); }
.final-cta h2 { max-width: 18ch; margin-bottom: 0; }
footer { min-height: 8rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
footer > a:last-child { color: #d8f5ff; text-underline-offset: .25rem; }

@media (max-width: 900px) {
  .hero, .obs-section { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .hero-copy { text-align: center; }
  h1, .hero-description { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .translator-demo { min-height: 25rem; }
  .trust-strip { flex-wrap: wrap; gap: 1rem 1.5rem; }
}

@media (max-width: 680px) {
  .site-header, .section-shell, footer { width: min(100% - 1.5rem, 1180px); }
  .brand-copy small { display: none; }
  .header-actions { gap: .5rem; }
  .steps-grid, .features-grid, .plans-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: 4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .translator-demo { min-height: 21rem; }
  .demo-window { transform: none; }
  .content-section, .obs-section { padding-block: 4.5rem; }
  .trust-strip i { display: none; }
  .trust-strip { flex-direction: column; text-align: center; }
  .final-cta, footer { flex-direction: column; text-align: center; }
  .final-cta { align-items: stretch; }
  footer { padding-block: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
