:root {
  --bg: #050b10;
  --bg-soft: #08141b;
  --panel: rgba(10, 25, 33, 0.74);
  --panel-strong: #0d2029;
  --line: rgba(143, 202, 215, 0.17);
  --text: #f4f7f3;
  --muted: #9badb3;
  --aqua: #52f4ea;
  --aqua-soft: rgba(82, 244, 234, 0.14);
  --lime: #d7ff2f;
  --lime-soft: rgba(215, 255, 47, 0.12);
  --danger: #ff7b82;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 8%, rgba(32, 218, 214, 0.08), transparent 26rem),
    radial-gradient(circle at 15% 44%, rgba(44, 137, 184, 0.07), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .025; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }

.site-header {
  position: sticky; top: 0; z-index: 15;
  height: 76px; padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5, 11, 16, .82); border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #071118; background: var(--lime); font-size: 13px; font-weight: 950; box-shadow: 0 0 26px rgba(215,255,47,.14); }
.brand strong { display: block; font-size: 14px; letter-spacing: .11em; }
.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 1px; }
.header-actions { display: flex; gap: 10px; }
button { color: var(--text); }
.ghost-button, .primary-button { border: 0; border-radius: 12px; min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 800; transition: transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease; }
.ghost-button { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); }
.ghost-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.primary-button { color: #061015; background: var(--lime); box-shadow: 0 8px 28px rgba(215,255,47,.1); }
.primary-button:hover, .ghost-button:hover { transform: translateY(-2px); }
.primary-button:active, .ghost-button:active { transform: translateY(0); }
.primary-button.compact { min-height: 42px; }

.hero { padding: 84px 0 46px; }
.eyebrow, .section-kicker { color: var(--aqua); text-transform: uppercase; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 26px; }
.eyebrow span { width: 9px; height: 9px; border: 2px solid var(--aqua); border-radius: 50%; box-shadow: 0 0 13px var(--aqua); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; }
h1 { margin: 0; max-width: 760px; font-size: clamp(48px, 7.25vw, 94px); line-height: .94; letter-spacing: -.065em; font-weight: 950; text-wrap: balance; }
h1 em { color: var(--aqua); font-style: normal; text-shadow: 0 0 32px rgba(82,244,234,.12); }
.hero-copy { padding-bottom: 8px; }
.hero-copy > p { margin: 0 0 25px; font-size: 17px; color: #d8e0e0; max-width: 500px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 12px; font-weight: 700; }
.trust-row i { color: var(--lime); font-style: normal; margin-right: 6px; }

.order-builder { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.panel { background: linear-gradient(145deg, rgba(11,27,35,.88), rgba(7,18,24,.92)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.builder-main { padding: 28px; }
h2 { margin: 8px 0 22px; font-size: clamp(27px, 3vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.tariff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tariff-card { position: relative; min-height: 430px; padding: 22px 19px 18px; border: 1px solid rgba(181,219,226,.14); background: rgba(255,255,255,.018); border-radius: 16px; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.tariff-card:hover { transform: translateY(-3px); border-color: rgba(82,244,234,.36); }
.tariff-card.selected { border-color: var(--aqua); background: linear-gradient(165deg, rgba(82,244,234,.10), rgba(7,19,25,.65)); box-shadow: inset 0 0 0 1px rgba(82,244,234,.07), 0 0 30px rgba(82,244,234,.05); }
.tariff-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-dot { display: inline-block; width: 15px; height: 15px; border: 1px solid #739097; border-radius: 50%; vertical-align: -2px; margin-right: 6px; }
.selected .radio-dot { border: 4px solid var(--lime); box-shadow: 0 0 12px rgba(215,255,47,.3); }
.plan-name { font-size: 12px; font-weight: 850; }
.badge { position: absolute; right: 13px; top: 17px; background: var(--lime); color: #111905; border-radius: 999px; padding: 4px 9px; font-size: 9px; font-weight: 900; }
.price { display: block; margin: 17px 0 12px; font-size: 27px; letter-spacing: -.03em; }
.price-line { display: flex; align-items: center; gap: 9px; }
.price-line .price { margin-right: 0; }
.price-line del { color: #65767c; font-size: 12px; }
.tariff-card p { min-height: 70px; margin: 0 0 18px; color: #b5c4c8; font-size: 12px; }
.tariff-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: #c5d1d2; font-size: 11px; }
.tariff-card li { position: relative; padding-left: 17px; }
.tariff-card li::before { content: "✓"; position: absolute; left: 0; color: var(--aqua); font-weight: 900; }
.saving { display: block; color: var(--lime); font-size: 10px; margin-top: 14px; }
.addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 11px; }
.addon-card { min-height: 82px; padding: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: start; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: rgba(255,255,255,.018); }
.addon-card input { position: absolute; opacity: 0; }
.check-box { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #5b737b; border-radius: 5px; color: #071118; font-size: 11px; font-weight: 900; }
.addon-card strong, .addon-card small { display: block; }
.addon-card strong { font-size: 12px; }
.addon-card small { color: var(--muted); font-size: 10px; margin-top: 4px; line-height: 1.35; }
.addon-card b { color: var(--lime); font-size: 11px; white-space: nowrap; }

.summary { position: sticky; top: 94px; padding: 27px; overflow: hidden; }
.summary::after { content: ""; position: absolute; width: 160px; height: 160px; right: -95px; top: -95px; border-radius: 50%; background: var(--aqua); filter: blur(70px); opacity: .16; pointer-events: none; }
.summary h2 { font-size: 24px; min-height: 52px; margin-bottom: 18px; }
.summary-lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; display: grid; gap: 11px; }
.summary-line { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; }
.summary-line span { color: #cbd4d4; }
.summary-line b { font-size: 11px; }
.summary-line.gift span { color: var(--lime); }
.summary-total { padding: 18px 0 5px; }
.summary-total span, .summary-total strong { display: block; }
.summary-total span { color: var(--muted); font-size: 11px; }
.summary-total strong { margin-top: 4px; font-size: 38px; letter-spacing: -.05em; }
.summary > p { color: var(--muted); font-size: 10px; margin: 0 0 18px; }
.summary .primary-button { width: 100%; }
.safe-note { display: block; text-align: center; color: #72878d; font-size: 9px; margin-top: 10px; }

.steps { padding: 110px 0 90px; }
.steps h2, .faq h2 { max-width: 640px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps article { min-height: 220px; padding: 22px; border-radius: 17px; background: rgba(11,27,35,.58); border: 1px solid var(--line); }
.steps article > span { color: var(--aqua); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.steps h3 { margin: 48px 0 9px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; }

.standards { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding: 65px; background: linear-gradient(135deg, rgba(19,52,62,.6), rgba(10,27,34,.54)); border: 1px solid var(--line); border-radius: 26px; }
.standard-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.standard-list span { padding: 13px 15px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); color: #d7e1e1; font-size: 12px; }
.standard-list span::before { content: "✓"; color: var(--lime); font-weight: 900; margin-right: 8px; }

.faq { padding: 100px 0; max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 21px 4px; font-weight: 850; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--aqua); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 13px; margin: -7px 4px 22px; max-width: 720px; }

.site-footer { border-top: 1px solid var(--line); min-height: 170px; display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 45px; }
.site-footer p { color: var(--muted); font-size: 11px; }

.modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.76); backdrop-filter: blur(10px); }
.modal-dialog { position: relative; z-index: 1; width: min(720px, 100%); max-height: min(840px, calc(100dvh - 32px)); overflow-y: auto; border-radius: 24px; padding: 29px; background: #0a171e; border: 1px solid rgba(82,244,234,.22); box-shadow: 0 38px 100px rgba(0,0,0,.7); }
.modal-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; color: #91a2a7; font-size: 30px; cursor: pointer; }
.modal-head h2 { margin-bottom: 7px; }
.modal-head p { color: var(--muted); font-size: 12px; margin: 0 0 22px; }
.form-progress { height: 3px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 24px; }
.form-progress span { display: block; width: 25%; height: 100%; background: var(--aqua); transition: width .25s ease; box-shadow: 0 0 12px var(--aqua); }
.form-step { display: none; min-height: 290px; }
.form-step.active { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form label:not(.addon-card):not(.tariff-card) { display: block; margin-bottom: 15px; }
form label > span:first-child { display: block; margin-bottom: 7px; color: #c4d0d2; font-size: 11px; font-weight: 800; }
input, textarea, select { width: 100%; color: var(--text); background: rgba(255,255,255,.035); border: 1px solid rgba(173,216,224,.17); border-radius: 11px; outline: none; padding: 12px 13px; transition: border-color .2s ease, box-shadow .2s ease; }
input, select { min-height: 46px; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(82,244,234,.08); }
input.invalid, textarea.invalid, select.invalid { border-color: var(--danger); }
select option { color: #081118; }
.file-field { min-height: 150px; padding: 19px; text-align: center; border: 1px dashed rgba(82,244,234,.35); border-radius: 16px; cursor: pointer; background: rgba(82,244,234,.025); }
.file-field input { position: absolute; opacity: 0; pointer-events: none; }
.file-field strong, .file-field small, .file-field b { display: block; }
.file-field small { color: var(--muted); font-size: 10px; max-width: 460px; margin: 6px auto 10px; }
.file-field b { color: var(--aqua); font-size: 11px; }
.file-icon { display: grid !important; place-items: center; width: 36px; height: 36px; margin: 0 auto 9px !important; border-radius: 10px; background: var(--aqua-soft); color: var(--aqua) !important; font-size: 20px !important; }
.consent { display: grid !important; grid-template-columns: auto 1fr; gap: 9px; align-items: start; cursor: pointer; }
.consent input { position: absolute; opacity: 0; }
.consent > span:last-child { color: var(--muted) !important; font-size: 10px !important; font-weight: 500 !important; }
.order-preview { max-height: 120px; overflow: auto; white-space: pre-wrap; padding: 12px; border-radius: 10px; color: #a8b8bc; background: rgba(0,0,0,.18); font: 10px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.form-error { min-height: 20px; color: var(--danger); font-size: 11px; }
.form-actions { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: 2px; }
.form-actions > span { text-align: center; color: var(--muted); font-size: 10px; }
.hidden { display: none !important; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; padding: 12px 16px; border-radius: 12px; color: #071118; background: var(--lime); font-size: 12px; font-weight: 850; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 640px; }
  .order-builder { grid-template-columns: 1fr; }
  .summary { position: static; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .standards { grid-template-columns: 1fr; gap: 25px; padding: 40px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 24px, 620px); }
  .site-header { height: 68px; padding-inline: 12px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 12px; }
  .header-actions .ghost-button span { display: none; }
  .header-actions .ghost-button { width: 42px; padding: 0; }
  .header-actions .primary-button { padding-inline: 12px; font-size: 11px; }
  .hero { padding: 62px 0 30px; }
  h1 { font-size: clamp(44px, 14vw, 70px); }
  .hero-copy > p { font-size: 14px; }
  .builder-main { padding: 17px; }
  .tariff-grid { grid-template-columns: 1fr; }
  .tariff-card { min-height: 0; }
  .tariff-card p { min-height: 0; }
  .addon-grid, .field-row, .standard-list { grid-template-columns: 1fr; }
  .addon-card { grid-template-columns: auto 1fr; }
  .addon-card b { grid-column: 2; }
  .steps { padding: 80px 0 65px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps article { min-height: 170px; }
  .steps h3 { margin-top: 28px; }
  .standards { padding: 26px 19px; border-radius: 20px; }
  .site-footer { min-height: 240px; grid-template-columns: 1fr; gap: 12px; padding: 35px 0; }
  .site-footer .ghost-button { width: 100%; }
  .modal { padding: 0; align-items: end; }
  .modal-dialog { max-height: 94dvh; border-radius: 22px 22px 0 0; padding: 24px 16px 18px; }
  .form-step { min-height: 320px; }
  .form-actions { grid-template-columns: auto 1fr auto; }
  .form-actions .primary-button, .form-actions .ghost-button { padding-inline: 13px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

.order-success { display: grid; gap: 12px; justify-items: start; padding: 6px 0 2px; }
.order-success .success-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #061015; background: var(--aqua); font-size: 21px; font-weight: 700; }
.order-success h3 { margin: 0; font-size: 20px; }
.order-success p { margin: 0; color: var(--muted); font-size: 12px; }
.order-success .primary-button, .order-success .ghost-button { text-decoration: none; }
.consent input:checked + .check-box { background: var(--lime); border-color: var(--lime); }
.consent input:checked + .check-box::after { content: "✓"; }
