:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #0a0f1c;
  --surface: rgba(15, 23, 42, 0.7);
  --surface-strong: rgba(12, 18, 33, 0.9);
  --surface-hover: rgba(24, 35, 61, 0.82);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(125, 211, 252, 0.34);
  --text: #f8fafc;
  --muted: #a8b3c7;
  --muted-strong: #cbd5e1;
  --blue: #38bdf8;
  --blue-strong: #0ea5e9;
  --violet: #a78bfa;
  --green: #5eead4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius-sm: 0.8rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --container: 1180px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 6%, rgba(56, 189, 248, 0.1), transparent 25rem),
    radial-gradient(circle at 92% 28%, rgba(167, 139, 250, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  pointer-events: none;
}

::selection {
  background: rgba(56, 189, 248, 0.3);
  color: var(--text);
}

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

button,
select {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

p {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.8);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  border-radius: 0.6rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.narrow-container {
  width: min(calc(100% - 2.5rem), 840px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 7rem 0;
}

.section-compact {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-header > div {
  max-width: 730px;
}

.section-header p {
  max-width: 620px;
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  color: #9bdfff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  content: "";
}

.gradient-text {
  background: linear-gradient(105deg, #ffffff 8%, #b9eaff 50%, #c4b5fd 92%);
  background-clip: text;
  color: transparent;
}

.glass {
  border: 1px solid var(--border);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.016)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.38);
  border-radius: 0.55rem;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(167, 139, 250, 0.25)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.16);
  color: white;
  font-size: 0.72rem;
  letter-spacing: -0.08em;
}

.brand-lab {
  color: #8bdcff;
  font-size: 0.7em;
  letter-spacing: 0.13em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 160ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -0.65rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--violet));
  content: "";
  transition: transform 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.language-switcher {
  display: flex;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.035);
}

.language-switcher button {
  min-width: 2.2rem;
  padding: 0.35rem 0.45rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.language-switcher button:hover {
  color: var(--text);
}

.language-switcher button.is-active {
  background: rgba(56, 189, 248, 0.15);
  color: #d9f5ff;
}

.menu-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: 0.28rem auto;
  background: var(--text);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(920px, 100svh);
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  isolation: isolate;
}

.hero::before,
.product-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("../img/hero-bg.jpg");
  background-position: center;
  background-size: cover;
  content: "";
}

.hero::after,
.product-hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.85) 48%, rgba(5, 7, 13, 0.46) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.52) 0%, rgba(5, 7, 13, 0.14) 45%, var(--bg) 100%);
  content: "";
}

.hero-grid,
.product-hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy > p {
  max-width: 670px;
  margin-bottom: 2rem;
  color: #c1cad9;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 750;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

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

.button-primary {
  border-color: rgba(125, 211, 252, 0.46);
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.92), rgba(99, 102, 241, 0.92));
  box-shadow: 0 12px 34px rgba(14, 165, 233, 0.2);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 15px 42px rgba(14, 165, 233, 0.3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.button svg,
.text-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 160ms ease;
}

.button:hover svg,
.text-link:hover svg {
  transform: translateX(3px);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 12% -12% -12% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), rgba(167, 139, 250, 0.08) 45%, transparent 72%);
  content: "";
  filter: blur(20px);
}

.system-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.panel-status,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-status::before,
.status-badge::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.7);
  content: "";
}

.panel-dots {
  display: flex;
  gap: 0.3rem;
}

.panel-dots span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.panel-content {
  padding: 1.3rem;
}

.panel-orbit {
  position: relative;
  display: grid;
  min-height: 210px;
  margin-bottom: 1rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background:
    radial-gradient(circle at center, rgba(56, 189, 248, 0.18), transparent 42%),
    rgba(5, 7, 13, 0.5);
}

.orbit-ring {
  position: absolute;
  width: 165px;
  height: 165px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.orbit-ring::before,
.orbit-ring::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.orbit-ring::before {
  width: 120px;
  height: 120px;
}

.orbit-ring::after {
  width: 215px;
  height: 215px;
}

.orbit-dot {
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px var(--blue);
}

.orbit-core {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.4rem;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.28), rgba(167, 139, 250, 0.19));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.16),
    0 0 50px rgba(56, 189, 248, 0.17);
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.08em;
}

.panel-stats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, 1fr);
}

.panel-stat {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.025);
}

.panel-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
}

.panel-stat strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--text);
  font-size: 0.85rem;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -1.7rem;
}

.trust-strip-inner {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 1.15rem 1.3rem;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 0.15rem;
  font-size: 0.88rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.76rem;
}

.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.45fr 0.8fr;
}

.product-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.product-card-main {
  display: grid;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
}

.product-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.product-copy p {
  max-width: 540px;
}

.product-copy .text-link {
  margin-top: auto;
}

.product-visual {
  position: relative;
  min-height: 320px;
}

.product-glow {
  position: absolute;
  inset: 15% -10% -15% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.26), rgba(167, 139, 250, 0.14) 42%, transparent 70%);
  filter: blur(18px);
}

.mini-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 292px;
  padding: 0.38rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 1.75rem;
  background: #080b13;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.45);
}

.mini-phone:nth-child(2) {
  transform: translate(-73%, -49%) rotate(-8deg);
}

.mini-phone:nth-child(3) {
  transform: translate(-27%, -50%) rotate(7deg);
}

.mini-phone-screen {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 1.42rem;
  background:
    radial-gradient(circle at 25% 15%, rgba(56, 189, 248, 0.23), transparent 30%),
    linear-gradient(160deg, rgba(17, 31, 54, 0.96), rgba(9, 12, 22, 0.98));
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.mini-phone-screen img,
.phone-screen img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.mini-phone-screen strong {
  margin-bottom: 0.25rem;
  color: var(--text);
  font-size: 1rem;
}

.future-card {
  display: flex;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  align-items: flex-start;
  flex-direction: column;
  background:
    linear-gradient(160deg, rgba(167, 139, 250, 0.08), transparent 45%),
    var(--surface);
}

.future-mark {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 2rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 300;
}

.future-card p {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #bcecff;
  font-size: 0.9rem;
  font-weight: 750;
}

.capability-grid,
.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.capability-card,
.feature-card {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.capability-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background-color: rgba(255, 255, 255, 0.035);
}

.capability-icon,
.feature-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.4rem;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.13), rgba(167, 139, 250, 0.1));
  color: #a8e6ff;
}

.capability-icon svg,
.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.capability-card p,
.feature-card p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.highlight-section {
  overflow: hidden;
}

.highlight-card {
  display: grid;
  padding: clamp(1.6rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
}

.highlight-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.highlight-copy p {
  max-width: 520px;
  margin-bottom: 1.8rem;
}

.phone-stage {
  position: relative;
  min-height: 430px;
}

.phone-stage::before {
  position: absolute;
  inset: 12% 0 0 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.23), rgba(167, 139, 250, 0.11) 45%, transparent 70%);
  content: "";
  filter: blur(18px);
}

.phone-mockup {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 385px;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2.2rem;
  background: #070a11;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
}

.phone-mockup:nth-child(1) {
  z-index: 1;
  transform: translate(-125%, -47%) rotate(-9deg) scale(0.86);
}

.phone-mockup:nth-child(2) {
  z-index: 3;
  transform: translate(-50%, -52%);
}

.phone-mockup:nth-child(3) {
  z-index: 2;
  transform: translate(25%, -47%) rotate(9deg) scale(0.86);
}

.phone-screen {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.82rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.24), transparent 27%),
    radial-gradient(circle at 85% 82%, rgba(167, 139, 250, 0.18), transparent 32%),
    linear-gradient(165deg, #111d32, #070a13);
}

.phone-notch {
  position: absolute;
  top: 0.52rem;
  left: 50%;
  width: 3.5rem;
  height: 0.95rem;
  border-radius: 1rem;
  background: #05070d;
  transform: translateX(-50%);
}

.placeholder-label {
  padding: 0.7rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.placeholder-label strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
  font-size: 0.92rem;
}

.secondary-atmosphere {
  position: relative;
  overflow: hidden;
}

.secondary-atmosphere::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg), rgba(5, 7, 13, 0.82), var(--bg)),
    url("../img/bg.jpg") center / cover;
  content: "";
  opacity: 0.72;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(4, 6, 11, 0.8);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 0 3rem;
  grid-template-columns: 1.5fr repeat(2, 0.65fr);
}

.footer-brand p {
  max-width: 460px;
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.footer-column h3 {
  margin-bottom: 1rem;
  color: var(--muted-strong);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 160ms ease;
}

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

.footer-bottom {
  display: flex;
  padding: 1.25rem 0 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.77rem;
}

.back-to-top {
  position: fixed;
  z-index: 80;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 0.8rem;
  opacity: 0;
  background: rgba(10, 15, 28, 0.86);
  color: var(--text);
  transform: translateY(1rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--surface-hover);
}

.back-to-top svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.product-hero {
  position: relative;
  display: grid;
  min-height: 760px;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  isolation: isolate;
}

.product-hero::before {
  background-position: center right;
}

.product-hero::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.83) 52%, rgba(5, 7, 13, 0.48) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.42), var(--bg) 100%);
}

.product-hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

.product-kicker {
  display: inline-flex;
  margin-bottom: 1.2rem;
  align-items: center;
  gap: 0.55rem;
  color: #c4b5fd;
  font-weight: 750;
}

.product-kicker::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
  content: "";
}

.product-hero-copy > p {
  max-width: 640px;
  margin-bottom: 2rem;
  color: #c1cad9;
  font-size: 1.1rem;
}

.product-hero-visual .phone-stage {
  min-height: 500px;
}

.product-hero-visual .phone-mockup:nth-child(1) {
  transform: translate(-105%, -48%) rotate(-7deg) scale(0.9);
}

.product-hero-visual .phone-mockup:nth-child(2) {
  transform: translate(-25%, -52%) scale(1.06);
}

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

.screenshot-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(5, 1fr);
}

.screenshot-placeholder {
  position: relative;
  aspect-ratio: 9 / 19;
  margin: 0;
  padding: 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1.8rem;
  background: #070a11;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.screenshot-placeholder img {
  width: 100%;
  height: 100%;
  border-radius: 1.47rem;
  object-fit: cover;
}

.screenshot-placeholder:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.screenshot-placeholder .phone-screen {
  border-radius: 1.47rem;
}

.screenshot-placeholder .phone-notch {
  top: 0.4rem;
  width: 2.7rem;
  height: 0.7rem;
}

.availability-card {
  display: grid;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  align-items: center;
  border-radius: var(--radius-lg);
  grid-template-columns: 1fr auto;
}

.availability-card p {
  max-width: 650px;
  margin-bottom: 0;
}

.legal-link-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.legal-link-card {
  display: flex;
  padding: 1.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.legal-link-card:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.055);
}

.legal-link-card strong,
.legal-link-card span {
  display: block;
}

.legal-link-card span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-link-card svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 6rem) 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.88), var(--bg)),
    url("../img/hero-bg.jpg") center 42% / cover;
  content: "";
  opacity: 0.68;
}

.legal-hero h1 {
  max-width: 800px;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 7vw, 4.8rem);
}

.legal-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: #c1cad9;
}

.legal-meta {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
  font-size: 0.78rem;
}

.legal-layout {
  display: grid;
  padding: 4rem 0 7rem;
  align-items: start;
  gap: 3rem;
  grid-template-columns: 220px minmax(0, 1fr);
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 19, 34, 0.68);
  backdrop-filter: blur(16px);
}

.legal-nav a {
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.legal-nav a:hover {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.legal-document {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(10, 15, 27, 0.86);
  box-shadow: var(--shadow);
}

.legal-section {
  padding: 2.2rem clamp(1.3rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin-bottom: 1rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.legal-section p:last-child,
.legal-section ul:last-child,
.legal-section ol:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-section li::marker {
  color: var(--blue);
}

.notice {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 0.75rem;
  background: rgba(56, 189, 248, 0.06);
  color: var(--muted-strong);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1040px) {
  .site-nav {
    position: fixed;
    top: calc(var(--header-height) - 0.3rem);
    right: 1.25rem;
    left: 1.25rem;
    display: grid;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    opacity: 0;
    background: rgba(7, 10, 18, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-0.7rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
    visibility: hidden;
    backdrop-filter: blur(20px);
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links {
    display: grid;
    gap: 0.1rem;
  }

  .nav-link {
    padding: 0.7rem 0.6rem;
  }

  .nav-link::after {
    display: none;
  }

  .language-switcher {
    width: 100%;
  }

  .language-switcher button {
    flex: 1;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 5.5rem);
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .system-panel {
    transform: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .future-card {
    min-height: auto;
  }

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

  .highlight-card {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    margin-top: 2rem;
  }

  .product-hero {
    min-height: auto;
  }

  .product-hero-visual {
    display: none;
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .narrow-container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .section {
    padding: 5rem 0;
  }

  .section-compact {
    padding: 3.8rem 0;
  }

  .section-header {
    display: block;
    margin-bottom: 2rem;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .hero {
    padding-top: calc(var(--header-height) + 4rem);
  }

  .hero::after,
  .product-hero::after {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.68)),
      linear-gradient(180deg, rgba(5, 7, 13, 0.48), var(--bg) 100%);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .product-card-main {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 340px;
  }

  .capability-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 370px;
    transform: scale(0.82);
    transform-origin: center;
  }

  .highlight-card {
    padding-bottom: 0;
  }

  .footer-grid {
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .availability-card {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  .legal-link-grid {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    display: block;
    padding-top: 2rem;
  }

  .legal-nav {
    position: static;
    margin-bottom: 1rem;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 0.95rem;
  }

  .hero-visual {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .trust-strip-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .footer-brand {
    grid-column: auto;
  }

  .product-visual {
    transform: scale(0.88);
  }

  .phone-stage {
    min-height: 300px;
    margin: -1rem -4rem 0;
    transform: scale(0.65);
  }

  .screenshot-grid {
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
