:root {
  color-scheme: dark;
  --bg: #070a0e;
  --bg-soft: #0d1218;
  --panel: rgba(18, 25, 33, 0.76);
  --panel-strong: #121922;
  --line: rgba(201, 216, 229, 0.14);
  --line-strong: rgba(139, 224, 255, 0.3);
  --silver: #dbe5ed;
  --silver-muted: #93a4b2;
  --ice: #8be0ff;
  --ice-strong: #45c8fa;
  --green: #64e6a5;
  --red: #ff7a8a;
  --white: #f7fbff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--silver);
  background:
    radial-gradient(circle at 82% 8%, rgba(69, 200, 250, 0.14), transparent 28rem),
    radial-gradient(circle at 12% 44%, rgba(138, 158, 177, 0.1), transparent 24rem),
    linear-gradient(180deg, #080c11 0%, #070a0e 56%, #090d12 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

img { max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #041017;
  background: var(--ice);
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(201, 216, 229, 0.08);
  background: rgba(7, 10, 14, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px 14px 14px 5px;
  color: var(--ice);
  background: linear-gradient(145deg, rgba(139, 224, 255, 0.13), rgba(201, 216, 229, 0.03));
  box-shadow: inset 0 0 24px rgba(139, 224, 255, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.brand-copy { display: grid; line-height: 1.12; }
.brand-copy small { color: var(--silver-muted); font-size: 0.66rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
}

.nav-links a { color: var(--silver-muted); text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }

.language-link {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(139, 224, 255, 0.45); outline-offset: 3px; }
.button-primary { color: #041017; background: linear-gradient(135deg, var(--ice), #b8edff); box-shadow: 0 14px 38px rgba(69, 200, 250, 0.18); }
.button-secondary { color: var(--white); border-color: var(--line); background: rgba(255, 255, 255, 0.035); }
.button-small { min-height: 40px; padding: 0.55rem 0.88rem; border-radius: 12px; font-size: 0.9rem; }

.hero {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 2rem auto auto 55%;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(139, 224, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(139, 224, 255, 0.015), 0 0 0 10rem rgba(139, 224, 255, 0.01);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(2.6rem, 7vw, 7rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--ice);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ice); }

h1, h2, h3 { margin-top: 0; color: var(--white); line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 800px; margin-bottom: 1.35rem; font-size: clamp(3.1rem, 8vw, 6.7rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { margin-bottom: 0.6rem; font-size: 1.18rem; }

.accent { color: var(--ice); }

.hero-lead {
  max-width: 650px;
  margin: 0 0 2rem;
  color: #b8c6d1;
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin-top: 1.5rem;
  color: var(--silver-muted);
  font-size: 0.86rem;
}

.trust-line span::before { content: "✓"; margin-right: 0.4rem; color: var(--green); font-weight: 900; }

.phone {
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 10px;
  border: 1px solid rgba(219, 229, 237, 0.18);
  border-radius: 38px;
  background: linear-gradient(145deg, #1d2630, #080b0f 42%);
  box-shadow: var(--shadow), 0 0 70px rgba(69, 200, 250, 0.1);
  transform: rotate(1.4deg);
}

.phone-screen {
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 30px;
  background: #0b1118;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.phone-avatar { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; color: #061118; background: var(--ice); font-size: 0.7rem; font-weight: 900; }
.phone-title { display: grid; font-size: 0.91rem; font-weight: 800; }
.phone-title small { color: var(--green); font-size: 0.7rem; font-weight: 650; }
.phone-body { display: grid; gap: 0.8rem; padding: 1rem; }
.message { max-width: 92%; padding: 0.85rem 0.95rem; border: 1px solid var(--line); border-radius: 17px 17px 17px 5px; background: #131c25; color: #c8d4dd; font-size: 0.85rem; }
.message strong { color: var(--white); }
.message-user { justify-self: end; border-radius: 17px 17px 5px 17px; border-color: rgba(139, 224, 255, 0.22); background: #173342; }
.market-row { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.35rem; border-bottom: 1px solid rgba(255,255,255,0.055); }
.market-row:last-child { border: 0; }
.gain { color: var(--green); }
.loss { color: var(--red); }
.mock-label { margin-top: 0.6rem; text-align: center; color: #647585; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }

.section { padding: clamp(4.2rem, 8vw, 7rem) 0; }
.section-compact { padding: 3.5rem 0; }
.section-heading { max-width: 720px; margin-bottom: 2.4rem; }
.section-heading p { margin: 0; color: var(--silver-muted); font-size: 1.03rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card, .price-card, .legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(19, 27, 36, 0.88), rgba(11, 16, 22, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.feature-card { min-height: 225px; padding: 1.5rem; }
.feature-index { display: inline-block; margin-bottom: 2rem; color: var(--ice); font-size: 0.74rem; font-weight: 850; letter-spacing: 0.12em; }
.feature-card p { margin: 0; color: var(--silver-muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.price-card { position: relative; padding: clamp(1.5rem, 4vw, 2.2rem); }
.price-card-featured { border-color: var(--line-strong); box-shadow: 0 24px 70px rgba(69, 200, 250, 0.08); }
.badge { position: absolute; right: 1.3rem; top: 1.3rem; padding: 0.35rem 0.65rem; border-radius: 999px; color: #071117; background: var(--ice); font-size: 0.7rem; font-weight: 900; text-transform: uppercase; }
.price { margin: 1rem 0 0.3rem; color: var(--white); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -0.05em; }
.price-note { margin: 0 0 1.5rem; color: var(--silver-muted); }
.price-list { margin: 0 0 1.8rem; padding: 0; list-style: none; }
.price-list li { padding: 0.45rem 0; color: #bdcad4; }
.price-list li::before { content: "✓"; display: inline-block; width: 1.4rem; color: var(--green); font-weight: 900; }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: steps; }
.step { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 1rem; color: var(--ice); font-weight: 900; }
.step p { margin: 0; color: var(--silver-muted); }

.notice { padding: 1.1rem 1.25rem; border-left: 3px solid var(--ice); border-radius: 0 14px 14px 0; color: #b6c4cf; background: rgba(139, 224, 255, 0.055); }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(139, 224, 255, 0.12), rgba(17, 24, 32, 0.85) 45%, rgba(219, 229, 237, 0.055));
  box-shadow: var(--shadow);
}
.cta-panel::after { content: "SW"; position: absolute; right: -1rem; bottom: -4.5rem; color: rgba(219,229,237,0.035); font-size: 12rem; font-weight: 950; letter-spacing: -0.12em; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel p { max-width: 650px; color: #b8c6d1; }

.site-footer { padding: 2.6rem 0 3.5rem; border-top: 1px solid var(--line); color: var(--silver-muted); font-size: 0.86rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem 1.1rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }

.legal-hero { padding: 4.5rem 0 2rem; }
.legal-hero p { max-width: 720px; color: var(--silver-muted); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-bottom: 5rem; }
.legal-card { padding: clamp(1.3rem, 4vw, 2.2rem); }
.legal-card h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #bac7d1; }
.legal-card a { color: var(--ice); }
.legal-meta { color: var(--silver-muted); font-size: 0.88rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-line { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .phone { transform: none; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 1.25rem), var(--max)); }
  .nav-links a:not(.language-link):not(.button) { display: none; }
  .nav-links { gap: 0.45rem; }
  .nav .button { display: none; }
  .brand-copy small { display: none; }
  .feature-grid, .pricing-grid, .how-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-index { margin-bottom: 1rem; }
  .footer-grid { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .phone-screen { min-height: 570px; }
}

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