:root {
  --bg: #050b16;
  --bg-2: #071323;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f8ff;
  --muted: #aebbd0;
  --muted-2: #7f8fa8;
  --cyan: #12d9e8;
  --blue: #1688ff;
  --purple: #6044ff;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(18, 217, 232, 0.16), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(96, 68, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #030712 0%, var(--bg) 46%, #040914 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(76px);
  opacity: 0.2;
  z-index: -3;
}

body::before { left: -230px; top: 210px; background: var(--cyan); }
body::after { right: -240px; top: 610px; background: var(--purple); }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.028;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

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

.section { padding: 82px 0; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 999;
  background: var(--white);
  color: #06101f;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(3, 8, 20, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
  min-width: 176px;
}

.brand img {
  width: 176px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a { transition: color 0.2s ease; }
.nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  padding-top: 82px;
  padding-bottom: 64px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 58px;
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 5vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  max-width: 720px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.25vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.13rem;
  letter-spacing: -0.02em;
}

.lead {
  margin-bottom: 28px;
  color: #d8e2f4;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
  max-width: 650px;
}

.hero-actions,
.contact-actions,
.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  color: #031021;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 42px rgba(16, 215, 230, 0.18);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
}

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

.trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(42px);
  pointer-events: none;
}
.orb-a { width: 220px; height: 220px; left: -38px; top: 28px; background: rgba(18, 217, 232, 0.18); }
.orb-b { width: 260px; height: 260px; right: -42px; bottom: 20px; background: rgba(96, 68, 255, 0.18); }

.visual-frame {
  position: relative;
  min-height: 470px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 20% 18%, rgba(18, 217, 232, 0.13), transparent 33%),
    radial-gradient(circle at 88% 80%, rgba(96, 68, 255, 0.16), transparent 38%);
  box-shadow: var(--shadow);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 80%);
}

.visual-topline {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.visual-topline span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(255,255,255,.22);
}
.visual-topline span:first-child { background: var(--cyan); }

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(430px, 86%);
  margin: 64px auto 36px;
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.24));
}

.signal-map {
  position: absolute;
  inset: 74px 44px auto auto;
  width: 230px;
  height: 190px;
  opacity: 0.55;
  pointer-events: none;
}

.signal-map::before,
.signal-map::after {
  content: "";
  position: absolute;
  inset: 28px 22px;
  border: 1px solid rgba(18, 217, 232, 0.2);
  border-radius: 999px;
  transform: rotate(-22deg);
}
.signal-map::after {
  inset: 52px 46px;
  border-color: rgba(96, 68, 255, 0.28);
  transform: rotate(24deg);
}
.signal-map i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(18, 217, 232, 0.8);
}
.signal-map i:nth-child(1){ left: 12px; top: 72px; }
.signal-map i:nth-child(2){ right: 34px; top: 24px; background: var(--purple); }
.signal-map i:nth-child(3){ right: 18px; bottom: 42px; }
.signal-map i:nth-child(4){ left: 72px; bottom: 22px; background: var(--purple); }
.signal-map i:nth-child(5){ left: 112px; top: 84px; }

.visual-grid-cards {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.visual-grid-cards article {
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(3, 8, 20, 0.56);
  backdrop-filter: blur(16px);
}
.visual-grid-cards small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.visual-grid-cards strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}
.visual-grid-cards span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.strip-section { padding-top: 18px; padding-bottom: 18px; }

.value-strip {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(18, 217, 232, 0.09), rgba(96, 68, 255, 0.07));
}
.value-strip p {
  margin: 0;
  color: #dbe7f7;
  font-size: clamp(1.02rem, 1.6vw, 1.32rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

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

.service-card,
.step,
.proof-card,
.quiz-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.032));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.service-card {
  min-height: 284px;
  padding: 25px;
  border-radius: var(--radius-lg);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(18, 217, 232, 0.35); }

.service-card p,
.step p,
.proof-card span,
.contact-card p,
.diagnostic-copy p {
  color: var(--muted);
  line-height: 1.64;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  color: var(--cyan);
  background: rgba(18, 217, 232, 0.085);
  border: 1px solid rgba(18, 217, 232, 0.2);
  font-weight: 900;
}

.diagnostic-section { position: relative; }

.diagnostic-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}
.diagnostic-copy { position: sticky; top: 108px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  color: #d9e4f5;
}
.check-list li { position: relative; padding-left: 28px; margin: 13px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 900; }

.quiz-card { border-radius: var(--radius-xl); padding: clamp(22px, 4vw, 32px); }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.quiz-kicker { color: var(--cyan); font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.74rem; }
.quiz-step { color: var(--muted); font-size: 0.9rem; }
.progress { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.08); margin-bottom: 26px; }
.progress span { display: block; height: 100%; width: 14.28%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--purple)); transition: width 0.25s ease; }

.quiz-form fieldset { margin: 0; padding: 0; border: 0; }
.quiz-panel { display: none; }
.quiz-panel.is-active { display: block; animation: panelIn 0.28s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.quiz-panel legend {
  margin-bottom: 18px;
  font-size: clamp(1.22rem, 1.6vw, 1.48rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.quiz-panel label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin: 10px 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  color: #dce7f8;
  background: rgba(255, 255, 255, 0.043);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.quiz-panel label:hover,
.quiz-panel label:has(input:checked) {
  border-color: rgba(18, 217, 232, 0.4);
  background: rgba(18, 217, 232, 0.085);
  transform: translateX(3px);
}
.quiz-panel input { accent-color: var(--cyan); }
.quiz-actions { margin-top: 25px; justify-content: space-between; }
.is-hidden { display: none !important; }

.quiz-result { animation: panelIn 0.3s ease both; }
.result-label { display: inline-flex; margin-bottom: 16px; color: var(--cyan); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.quiz-result h3 { font-size: clamp(1.45rem, 2.4vw, 2.12rem); line-height: 1.08; margin-bottom: 14px; }
.quiz-result p { color: var(--muted); line-height: 1.65; }
.result-summary {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  color: #dbe6f5;
  line-height: 1.65;
  white-space: pre-line;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step { padding: 25px; border-radius: var(--radius-lg); }
.step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 13px;
  color: #06101f;
  background: var(--cyan);
  font-weight: 900;
}

.proof-section { padding-top: 36px; padding-bottom: 36px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-card { min-height: 164px; padding: 27px; border-radius: var(--radius-lg); }
.proof-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--cyan), #fff, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-section { padding-bottom: 108px; }
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 20%, rgba(18, 217, 232, 0.12), transparent 36%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04));
}
.contact-card h2 { max-width: 760px; }
.contact-card p { max-width: 650px; margin-bottom: 0; }
.contact-actions { justify-content: flex-end; }

.site-footer {
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 14, 0.62);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer-brand { margin-bottom: 18px; }
.site-footer p { max-width: 620px; color: var(--muted); line-height: 1.58; margin-bottom: 0; }
.site-footer strong, .site-footer a { display: block; }
.site-footer strong { margin-bottom: 12px; }
.site-footer a:not(.brand) { color: var(--muted); margin: 8px 0; }
.site-footer a:not(.brand):hover { color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@media (max-width: 980px) {
  .hero-grid,
  .diagnostic-grid,
  .contact-card,
  .footer-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 58px; min-height: auto; }
  .hero-visual, .visual-frame { min-height: 420px; }
  .cards-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .diagnostic-copy { position: static; }
  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 64px 0; }
  .header-wrap { min-height: 68px; }
  .brand, .brand img { width: 146px; min-width: 146px; }

  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    left: 15px;
    right: 15px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(3, 8, 20, 0.95);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px; border-radius: 14px; }
  .nav a:hover { background: rgba(255, 255, 255, 0.06); }

  h1 { font-size: clamp(2.22rem, 10.8vw, 3.3rem); line-height: 1.06; }
  h2 { font-size: clamp(1.78rem, 8.2vw, 2.45rem); }

  .hero-actions, .quiz-actions, .contact-actions { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .trust-row span { width: 100%; }
  .cards-grid, .steps, .proof-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }

  .hero-visual { min-height: auto; }
  .visual-frame { min-height: auto; padding: 22px; }
  .hero-logo { width: 92%; margin: 50px auto 28px; }
  .signal-map { display: none; }
  .visual-grid-cards { grid-template-columns: 1fr; margin-top: 20px; }
  .visual-grid-cards article { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
