:root {
  color-scheme: dark;
  --bg: #050914;
  --bg-2: #071022;
  --surface: rgba(13, 24, 49, .82);
  --surface-2: rgba(18, 33, 65, .9);
  --surface-3: #101f3f;
  --line: rgba(139, 166, 215, .18);
  --line-strong: rgba(91, 142, 255, .38);
  --text: #f5f8ff;
  --text-2: #c8d3e8;
  --muted: #8fa1bf;
  --blue: #29b8ff;
  --blue-2: #3478ff;
  --violet: #745cff;
  --magenta: #d449ff;
  --green: #55d9aa;
  --yellow: #ffd06e;
  --orange: #ff8b53;
  --red: #ff657d;
  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--violet) 54%, var(--magenta) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(41,184,255,.18), rgba(116,92,255,.2), rgba(212,73,255,.15));
  --shadow: 0 30px 80px rgba(0, 0, 0, .42);
  --shadow-glow: 0 0 44px rgba(101, 83, 255, .23);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1220px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(40, 126, 255, .14), transparent 30%),
    radial-gradient(circle at 90% 14%, rgba(181, 63, 255, .14), transparent 28%),
    linear-gradient(180deg, #050914 0%, #061022 38%, #050914 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image:
    linear-gradient(rgba(92, 129, 196, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 129, 196, .14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%);
  z-index: -1;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(41, 184, 255, .75); outline-offset: 3px; }
::selection { background: rgba(116, 92, 255, .55); color: #fff; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 106px 0; }
.section-compact { padding: 72px 0; }
.section-head { max-width: 780px; margin: 0 auto 46px; text-align: center; }
.section-head.align-left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(77, 151, 255, .28);
  border-radius: 999px;
  color: #a9c9ff;
  background: rgba(15, 36, 76, .62);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 14px var(--blue); }
.kicker { margin: 0 0 12px; color: #a7b8d4; font-size: .96rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 6vw, 5.25rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.18rem, 2vw, 1.5rem); letter-spacing: -.02em; }
p { text-wrap: pretty; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--text-2); font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.75; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }

.skip-link { position: fixed; top: -100px; left: 16px; z-index: 9999; padding: 12px 16px; border-radius: 10px; background: #fff; color: #061022; font-weight: 800; }
.skip-link:focus { top: 16px; }

.announcement {
  position: relative;
  z-index: 51;
  border-bottom: 1px solid rgba(105, 143, 210, .16);
  background: linear-gradient(90deg, rgba(31, 99, 181, .16), rgba(107, 66, 212, .16), rgba(156, 54, 203, .12));
}
.announcement .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; color: #c9d8ef; font-size: .82rem; text-align: center; }
.announcement strong { color: #fff; }
.announcement-badge { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: rgba(73, 188, 255, .16); color: #75d1ff; font-weight: 800; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(5, 9, 20, .72);
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(5, 9, 20, .92); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 226px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.main-nav a { color: #bac8df; font-size: .9rem; font-weight: 650; transition: color .2s ease; }
.main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.mobile-toggle span, .mobile-toggle::before, .mobile-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: #e9effb; transition: transform .2s ease, opacity .2s ease; }
.mobile-toggle[aria-expanded="true"] span { opacity: 0; }
.mobile-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 13px 36px rgba(80, 83, 255, .28); }
.btn-primary:hover { box-shadow: 0 17px 45px rgba(80, 83, 255, .38); }
.btn-secondary { border-color: var(--line-strong); color: #e9f1ff; background: rgba(14, 28, 58, .72); }
.btn-secondary:hover { border-color: rgba(78, 175, 255, .7); background: rgba(20, 41, 83, .9); }
.btn-ghost { min-height: 42px; padding: 10px 14px; color: #c8d5e8; background: transparent; }
.btn-sm { min-height: 40px; padding: 9px 14px; font-size: .86rem; }
.btn-lg { min-height: 56px; padding: 16px 24px; border-radius: 15px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { cursor: not-allowed; opacity: .55; transform: none; }

.hero { min-height: calc(100vh - 110px); display: flex; align-items: center; overflow: hidden; padding: 78px 0 64px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hero::before { width: 430px; height: 430px; left: -160px; top: 0; background: rgba(27, 112, 255, .16); }
.hero::after { width: 430px; height: 430px; right: -160px; top: 10%; background: rgba(181, 61, 255, .13); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(460px, .97fr); align-items: center; gap: 38px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 780px; margin: 21px 0 24px; }
.hero-copy .lead { max-width: 720px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.hero-note { display: flex; align-items: flex-start; gap: 11px; max-width: 690px; padding: 14px 16px; border: 1px solid rgba(255, 204, 105, .22); border-radius: 14px; color: #d5dceb; background: rgba(72, 54, 24, .22); font-size: .9rem; }
.hero-note svg { width: 20px; flex: 0 0 auto; color: var(--yellow); margin-top: 2px; }
.hero-visual { position: relative; min-height: 630px; display: grid; place-items: center; }
.hero-visual img { width: 100%; filter: drop-shadow(0 30px 55px rgba(0,0,0,.4)); }
.hero-status {
  position: absolute;
  left: 3%;
  bottom: 9%;
  width: min(310px, 70%);
  padding: 17px;
  border: 1px solid rgba(81, 155, 255, .32);
  border-radius: 17px;
  background: rgba(6, 15, 34, .88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-status-row { display: flex; align-items: center; gap: 10px; color: #dce9fb; font-weight: 800; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }
.hero-status p { margin: 7px 0 0 20px; color: var(--muted); font-size: .78rem; }
.hero-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 31px; }
.proof-item { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 21, 43, .5); color: #c7d4e7; font-size: .78rem; font-weight: 700; }
.proof-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #8edcff; background: rgba(41, 184, 255, .11); }
.proof-icon svg { width: 18px; }

.brand-strip { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5, 12, 26, .72); }
.brand-strip-grid { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: 34px; }
.brand-strip-label { color: var(--muted); font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.brand-strip img { height: 44px; width: auto; opacity: .82; }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card, .feature-card, .step-card, .security-card, .platform-card, .legal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17, 31, 61, .84), rgba(8, 18, 38, .88));
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
}
.trust-card { min-height: 250px; padding: 26px; }
.trust-card::after { content: ""; position: absolute; width: 140px; height: 140px; right: -55px; top: -55px; border-radius: 50%; background: var(--gradient-soft); filter: blur(20px); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border: 1px solid rgba(72, 155, 255, .28); border-radius: 15px; color: #9bdcff; background: rgba(49, 120, 255, .12); }
.card-icon svg { width: 27px; height: 27px; }
.trust-card h3 { margin-bottom: 12px; }
.trust-card p { margin: 0; color: var(--muted); font-size: .93rem; }

.problem-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.problem-list { display: grid; gap: 14px; margin-top: 28px; }
.problem-item { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: flex-start; padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(11, 23, 47, .7); }
.problem-item svg { width: 22px; color: var(--red); margin-top: 3px; }
.problem-item strong { display: block; margin-bottom: 3px; }
.problem-item span { color: var(--muted); font-size: .9rem; }
.dashboard-frame { position: relative; padding: 18px; border: 1px solid rgba(84, 143, 255, .3); border-radius: 30px; background: rgba(11, 23, 48, .72); box-shadow: var(--shadow), var(--shadow-glow); }
.dashboard-frame::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--gradient); opacity: .25; filter: blur(28px); }

.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: steps; }
.step-card { min-height: 270px; padding: 24px 20px; counter-increment: steps; }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 23px; border-radius: 13px; background: var(--gradient); font-weight: 900; box-shadow: 0 9px 24px rgba(84, 78, 255, .3); }
.step-number::before { content: counter(steps); }
.step-card h3 { margin-bottom: 12px; font-size: 1.08rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .87rem; }
.step-arrow { position: absolute; top: 42px; right: -13px; z-index: 3; color: #5f7db6; }

.signup-panel { display: grid; grid-template-columns: 1fr .9fr; gap: 38px; align-items: center; padding: 48px; border: 1px solid rgba(84, 143, 255, .32); border-radius: 32px; background: linear-gradient(145deg, rgba(15, 33, 68, .94), rgba(7, 17, 38, .95)); box-shadow: var(--shadow); }
.signup-panel h2 { margin: 18px 0 20px; }
.signup-points { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 25px 0 30px; }
.checkline { display: flex; gap: 9px; align-items: flex-start; color: #d6dfef; font-size: .88rem; }
.checkline svg { width: 19px; flex: 0 0 auto; color: var(--green); margin-top: 2px; }
.signup-visual img { filter: drop-shadow(0 28px 44px rgba(0,0,0,.4)); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 265px; padding: 28px; }
.feature-card h3 { margin: 18px 0 11px; }
.feature-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.feature-meta { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(92, 85, 255, .13); color: #b9adff; font-size: .72rem; font-weight: 800; }

.platforms-shell { padding: 42px; border: 1px solid var(--line); border-radius: 30px; background: rgba(8, 18, 39, .84); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 30px; }
.platform-card { display: flex; align-items: center; gap: 13px; min-height: 82px; padding: 16px; }
.platform-mark { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(99, 153, 255, .2); border-radius: 13px; background: #0c1b39; color: #cfe6ff; font-weight: 900; letter-spacing: -.05em; }
.platform-card strong { display: block; font-size: .94rem; }
.platform-card span { color: var(--muted); font-size: .76rem; }
.integration-disclaimer { margin: 25px 0 0; padding: 14px 16px; border: 1px solid rgba(255, 205, 103, .2); border-radius: 14px; background: rgba(88, 61, 19, .15); color: #cfd8e7; font-size: .84rem; }

.pricing-grid { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 640px; padding: 31px; border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(160deg, rgba(16, 30, 60, .96), rgba(7, 16, 35, .96)); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.price-card.popular { border-color: rgba(126, 99, 255, .72); box-shadow: 0 23px 70px rgba(102, 75, 255, .22); }
.price-card.solar { border-color: rgba(255, 154, 65, .42); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: var(--gradient); font-size: .72rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.plan-head { display: flex; align-items: center; gap: 14px; }
.plan-orb { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #5ed3ff, #3155d9 55%, #101d55); box-shadow: 0 0 25px rgba(45, 138, 255, .34); }
.plan-orb.terra { background: radial-gradient(circle at 30% 30%, #c0a9ff, #7754df 55%, #281658); box-shadow: 0 0 25px rgba(133, 87, 255, .35); }
.plan-orb.sol { background: radial-gradient(circle at 30% 30%, #fff0a4, #ff9c37 55%, #6f2a08); box-shadow: 0 0 25px rgba(255, 144, 50, .35); }
.plan-orb svg { width: 30px; }
.plan-head p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.price { display: flex; align-items: flex-start; gap: 6px; margin: 28px 0 4px; }
.price .currency { margin-top: 10px; color: #aebed6; font-size: 1rem; font-weight: 700; }
.price strong { font-size: 3rem; line-height: 1; letter-spacing: -.06em; }
.price .period { align-self: flex-end; margin-bottom: 5px; color: var(--muted); font-size: .82rem; }
.plan-description { min-height: 74px; margin: 12px 0 21px; color: #c4cfe1; font-size: .92rem; }
.plan-list { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.plan-list li { display: flex; align-items: flex-start; gap: 9px; color: #d5deec; font-size: .87rem; }
.plan-list svg { width: 18px; flex: 0 0 auto; color: #6ee1b3; margin-top: 3px; }
.price-card .btn { margin-top: auto; }
.price-note { margin: 14px 0 0; color: var(--muted); font-size: .73rem; text-align: center; }
.pricing-footnote { max-width: 920px; margin: 26px auto 0; color: var(--muted); font-size: .82rem; text-align: center; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: rgba(8, 18, 38, .82); }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead th { color: #eef4ff; background: rgba(20, 37, 72, .78); }
.compare-table tbody td { color: #c6d0e1; font-size: .88rem; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 900; }
.scope { color: var(--yellow); font-size: .78rem; }

.security-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: start; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.security-card { padding: 24px; min-height: 210px; }
.security-card h3 { margin: 15px 0 9px; font-size: 1.05rem; }
.security-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.promise-box { margin-top: 28px; padding: 20px; border: 1px solid rgba(82, 213, 169, .2); border-radius: 17px; background: rgba(29, 86, 66, .14); }
.promise-box strong { color: #8ef0cb; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: rgba(10, 20, 42, .78); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border: 0; background: transparent; color: #e8eef9; cursor: pointer; text-align: left; font-weight: 750; }
.faq-question svg { width: 18px; flex: 0 0 auto; transition: transform .25s ease; }
.faq-question[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: .9rem; }
.faq-item:has(.faq-question[aria-expanded="true"]) .faq-answer { grid-template-rows: 1fr; }

.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.legal-card { display: flex; flex-direction: column; min-height: 330px; padding: 27px; }
.legal-card h3 { margin: 17px 0 10px; }
.legal-card p { margin: 0 0 20px; color: var(--muted); font-size: .88rem; }
.legal-card ul { margin: 0 0 26px; padding-left: 18px; color: #cbd5e6; font-size: .84rem; }
.legal-card a { margin-top: auto; color: #9dceff; font-weight: 800; }

.final-cta { overflow: hidden; padding: 60px; border: 1px solid rgba(91, 143, 255, .35); border-radius: 34px; background: linear-gradient(135deg, rgba(20, 71, 126, .45), rgba(69, 45, 145, .48), rgba(112, 37, 124, .32)); box-shadow: var(--shadow); text-align: center; }
.final-cta::before { content: ""; position: absolute; inset: -80% 30% auto -20%; height: 350px; border-radius: 50%; background: rgba(42, 185, 255, .14); filter: blur(80px); }
.final-cta > * { position: relative; }
.final-cta h2 { max-width: 850px; margin-inline: auto; }
.final-cta p { max-width: 720px; margin: 19px auto 28px; color: #cbd5e7; }
.final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.site-footer { margin-top: 100px; border-top: 1px solid var(--line); background: rgba(4, 9, 19, .92); }
.footer-main { display: grid; grid-template-columns: 1.15fr .8fr .8fr 1fr; gap: 42px; padding: 60px 0 40px; }
.footer-brand img { width: 235px; }
.footer-brand p { max-width: 330px; color: var(--muted); font-size: .86rem; }
.footer-col h4 { margin-bottom: 14px; font-size: .92rem; }
.footer-col a, .footer-col span { display: block; margin: 9px 0; color: var(--muted); font-size: .82rem; }
.footer-col a:hover { color: #fff; }
.footer-partners { display: grid; gap: 17px; }
.footer-partners img { max-width: 210px; max-height: 52px; opacity: .82; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; padding: 22px 0 28px; border-top: 1px solid var(--line); color: #7587a5; font-size: .75rem; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 15px; }

.cookie-banner { position: fixed; right: 18px; bottom: 18px; z-index: 100; width: min(440px, calc(100% - 36px)); padding: 20px; border: 1px solid rgba(91, 143, 255, .35); border-radius: 18px; background: rgba(7, 16, 35, .97); box-shadow: var(--shadow); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h3 { margin-bottom: 8px; font-size: 1rem; }
.cookie-banner p { margin: 0 0 14px; color: var(--muted); font-size: .8rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-details { display: none; margin: 13px 0; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #09162e; }
.cookie-details.open { display: block; }
.cookie-option { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin: 8px 0; color: #cbd5e5; font-size: .8rem; }
.switch { position: relative; width: 42px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #263653; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--violet); }
.switch input:checked + span::before { transform: translateX(18px); }

.install-button { position: fixed; left: 18px; bottom: 18px; z-index: 40; display: none; }
.install-button.show { display: inline-flex; }

/* Form and legal pages */
.page-hero { padding: 72px 0 54px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% -10%, rgba(75, 93, 255, .18), transparent 45%); }
.page-hero .container { max-width: 980px; }
.page-hero h1 { margin: 18px 0 17px; font-size: clamp(2.25rem, 5vw, 4rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .8rem; }
.breadcrumb a { color: #add6ff; }

.form-shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.form-sidebar { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(10, 21, 43, .86); }
.progress-label { display: flex; justify-content: space-between; color: #c9d4e5; font-size: .8rem; font-weight: 800; }
.progress-track { height: 8px; margin: 12px 0 22px; border-radius: 999px; background: #15284b; overflow: hidden; }
.progress-bar { height: 100%; width: 20%; border-radius: inherit; background: var(--gradient); transition: width .3s ease; }
.form-steps-nav { display: grid; gap: 8px; }
.form-step-link { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; color: #8294b2; font-size: .78rem; }
.form-step-link span:first-child { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #2a416b; border-radius: 50%; }
.form-step-link.active { color: #fff; background: rgba(84, 88, 255, .15); }
.form-step-link.active span:first-child { border-color: transparent; background: var(--gradient); }
.form-step-link.done { color: #9ce8c8; }
.form-card { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: rgba(9, 19, 41, .9); box-shadow: 0 18px 55px rgba(0,0,0,.2); }
.form-step[hidden] { display: none; }
.form-step h2 { margin-bottom: 9px; font-size: 1.7rem; }
.form-step > p { margin: 0 0 27px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label, .field legend { color: #d7e0ef; font-size: .84rem; font-weight: 750; }
.field .hint { color: var(--muted); font-size: .72rem; }
.required::after { content: " *"; color: #ff7f91; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid #273d67;
  border-radius: 12px;
  color: #f6f9ff;
  background: #091832;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input, .select { height: 50px; padding: 0 14px; }
.textarea { min-height: 120px; padding: 13px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: #4ea8ff; outline: 0; box-shadow: 0 0 0 4px rgba(46, 150, 255, .12); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red); }
.error-text { min-height: 18px; color: #ff9aaa; font-size: .72rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: flex; min-height: 58px; align-items: center; gap: 10px; padding: 13px; border: 1px solid #273d67; border-radius: 12px; background: #091832; cursor: pointer; color: #cbd6e7; font-size: .83rem; }
.choice input:checked + label { border-color: #6b75ff; background: rgba(82, 75, 199, .19); box-shadow: 0 0 0 3px rgba(82, 75, 199, .1); color: #fff; }
.choice input:focus-visible + label { outline: 3px solid rgba(41, 184, 255, .75); outline-offset: 2px; }
.checkbox-line { display: flex; align-items: flex-start; gap: 11px; margin: 12px 0; color: #c9d3e4; font-size: .8rem; }
.checkbox-line input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--violet); }
.checkbox-line a { color: #9dceff; text-decoration: underline; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-alert { margin-bottom: 22px; padding: 14px 16px; border: 1px solid rgba(255, 207, 105, .2); border-radius: 13px; color: #d4ddeb; background: rgba(89, 59, 13, .16); font-size: .8rem; }
.summary-box { display: grid; gap: 11px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #091832; }
.summary-row { display: flex; justify-content: space-between; gap: 18px; color: #ccd5e4; font-size: .82rem; }
.summary-row span:first-child { color: var(--muted); }
.success-state { text-align: center; padding: 25px 0; }
.success-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; color: #062319; background: var(--green); box-shadow: 0 0 42px rgba(85, 217, 170, .3); }
.success-icon svg { width: 38px; }
.protocol { display: inline-flex; margin: 15px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; color: #bfe3ff; background: #08162e; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 45px); overflow: auto; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(9, 19, 40, .9); }
.legal-toc h3 { margin-bottom: 12px; font-size: .92rem; }
.legal-toc a { display: block; padding: 6px 0; color: var(--muted); font-size: .75rem; }
.legal-toc a:hover { color: #fff; }
.legal-document { padding: 42px; border: 1px solid var(--line); border-radius: 24px; background: rgba(8, 18, 38, .9); }
.legal-document .legal-meta { margin-bottom: 28px; padding: 15px 17px; border: 1px solid rgba(41,184,255,.2); border-radius: 13px; color: #c9d6e9; background: rgba(23, 77, 116, .16); font-size: .8rem; }
.legal-document h2 { margin: 42px 0 14px; font-size: 1.45rem; letter-spacing: -.02em; }
.legal-document h2:first-of-type { margin-top: 0; }
.legal-document h3 { margin: 26px 0 10px; font-size: 1.05rem; }
.legal-document p, .legal-document li { color: #b8c5d9; font-size: .9rem; }
.legal-document li { margin: 7px 0; }
.legal-document strong { color: #edf3ff; }
.legal-document a { color: #9dd3ff; text-decoration: underline; }
.legal-callout { margin: 24px 0; padding: 16px 18px; border-left: 4px solid var(--yellow); border-radius: 0 12px 12px 0; background: rgba(91, 66, 20, .16); color: #d5deed; }
.print-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.activation-box { max-width: 720px; margin: 0 auto; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: rgba(9, 19, 40, .92); box-shadow: var(--shadow); }
.activation-plan { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 22px 0; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #0b1a35; }
.activation-plan strong { font-size: 1.2rem; }
.activation-plan .amount { font-size: 1.65rem; font-weight: 900; }
.loading-spinner { width: 30px; height: 30px; margin: 20px auto; border: 3px solid rgba(255,255,255,.18); border-top-color: #72a8ff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast-region { position: fixed; right: 18px; top: calc(var(--header-h) + 18px); z-index: 110; display: grid; gap: 10px; }
.toast { max-width: 380px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: #0b1832; box-shadow: var(--shadow); color: #dce6f5; font-size: .82rem; animation: toast-in .25s ease; }
.toast.error { border-color: rgba(255, 101, 125, .4); }
.toast.success { border-color: rgba(85, 217, 170, .4); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .82rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 520px; }
  .hero-proof { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-partners { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header { height: var(--header-h); }
  .brand img { width: 195px; }
  .main-nav { position: fixed; inset: calc(38px + var(--header-h)) 18px auto 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(6, 14, 30, .98); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; border-radius: 10px; font-size: .92rem; }
  .main-nav a:hover { background: #102142; }
  .mobile-toggle { display: block; }
  .header-actions .btn-ghost { display: none; }
  .hero { min-height: auto; padding-top: 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead, .hero-note { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: auto; max-width: 650px; margin-inline: auto; }
  .hero-status { left: 0; bottom: 4%; }
  .brand-strip-grid { grid-template-columns: 1fr 1fr; }
  .brand-strip-label { grid-column: 1 / -1; text-align: center; }
  .problem-layout, .signup-panel, .security-layout { grid-template-columns: 1fr; }
  .problem-layout .section-head { text-align: center; margin-inline: auto; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 650px; margin-inline: auto; }
  .price-card.popular { transform: none; }
  .price-card { min-height: auto; }
  .plan-description { min-height: 0; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .form-shell, .legal-layout { grid-template-columns: 1fr; }
  .form-sidebar, .legal-toc { position: static; max-height: none; }
  .form-steps-nav { grid-template-columns: repeat(5, minmax(110px, 1fr)); overflow-x: auto; }
  .legal-toc { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 78px 0; }
  .announcement .container { padding: 7px 0; }
  .announcement-badge { display: none; }
  .header-actions .btn-primary { display: none; }
  .brand img { width: 190px; }
  .hero { padding-top: 46px; }
  .hero-copy h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .hero-actions .btn { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-status { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -20px; }
  .brand-strip-grid { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .trust-grid, .features-grid, .steps-grid, .security-grid, .signup-points, .platform-grid { grid-template-columns: 1fr; }
  .signup-panel, .platforms-shell, .final-cta { padding: 28px 20px; }
  .price-card { padding: 26px 22px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-partners { grid-column: auto; grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .form-card, .legal-document, .activation-box { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .choice-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .summary-row, .activation-plan { align-items: flex-start; flex-direction: column; }
  .cookie-actions .btn { flex: 1; }
}

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

@media print {
  body { color: #111; background: #fff; }
  body::before, .announcement, .site-header, .site-footer, .legal-toc, .cookie-banner, .install-button, .print-actions { display: none !important; }
  .section, .page-hero { padding: 20px 0; }
  .legal-layout { display: block; }
  .legal-document { border: 0; padding: 0; background: #fff; }
  .legal-document p, .legal-document li, .page-hero .lead, .muted { color: #222; }
  .page-hero { border: 0; background: #fff; }
  h1, h2, h3, strong { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
}

.form-alert.danger { border-color: rgba(255, 100, 126, .3); color: #ffd5dc; background: rgba(119, 25, 46, .22); }
.offline-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 0; background: radial-gradient(circle at 30% 20%, rgba(0,203,255,.12), transparent 35%), var(--bg); }
.offline-card { max-width: 680px; margin: 0 auto; padding: 44px; border: 1px solid var(--line); border-radius: 26px; background: rgba(8, 18, 38, .94); box-shadow: var(--shadow); text-align: center; }
.offline-card img { width: min(360px, 88%); margin: 0 auto 30px; }
.offline-card .btn { margin: 10px 5px 0; }
@media (max-width: 640px) { .offline-card { padding: 30px 20px; } }
