:root {
    color-scheme: dark;
    --bg: #000;
    --panel: #050505;
    --panel-strong: #0b0b0b;
    --text: #fff;
    --muted: rgba(255, 255, 255, .76);
    --line: rgba(255, 255, 255, .24);
    --line-strong: rgba(255, 255, 255, .92);
    --shadow: 10px 10px 0 rgba(255, 255, 255, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: "IBM Plex Mono", "Cascadia Mono", "Lucida Console", "Courier New", monospace;
    letter-spacing: .015em;
}

body::before {
    position: fixed;
    z-index: 20;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: .15;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 2px,
        rgba(255, 255, 255, .28) 3px
    );
    mix-blend-mode: screen;
}

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

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

.page-glow { display: none; }

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; width: fit-content; gap: 10px; }
.brand img { width: 34px; height: 34px; object-fit: contain; filter: grayscale(1) brightness(3) contrast(1.3); }
.brand span { display: flex; align-items: baseline; letter-spacing: -.08em; }
.brand strong { font-size: 24px; line-height: 1; }
.brand small { margin-left: 4px; color: #fff; font-size: 12px; letter-spacing: -.05em; }

.nav { display: flex; gap: 28px; color: #fff; font-size: 12px; text-transform: uppercase; }
.nav a { border-bottom: 1px solid transparent; transition: border-color .16s ease; }
.nav a:hover { border-color: #fff; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    gap: 16px;
    padding: 0 21px;
    border: 1px solid #fff;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.button:hover { background: #fff; color: #000; transform: translate(-2px, -2px); }
.button-small { min-height: 40px; padding: 0 14px; font-size: 10px; }
.button-primary { background: #fff; color: #000; }
.button-primary:hover { background: #000; color: #fff; }
.button-primary b { font-size: 20px; font-weight: 400; line-height: 0; }
.button-light { width: 100%; margin-top: 22px; background: #fff; color: #000; }

.hero {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    align-items: center;
    min-height: calc(100vh - 92px);
    gap: 30px;
    padding: 80px 0 58px;
}

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

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 19px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.eyebrow span { width: 9px; height: 9px; border: 1px solid #fff; background: #fff; }

h1 {
    max-width: 700px;
    margin-bottom: 24px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.075em;
    text-transform: uppercase;
}

h1 em { color: #fff; font-style: normal; }

.hero-lead {
    max-width: 520px;
    margin-bottom: 31px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.text-link { border-bottom: 1px dashed #fff; color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .16s ease; }
.text-link:hover span { transform: translateY(3px); }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin: 37px 0 0;
    padding: 0;
    color: #fff;
    font-size: 11px;
    list-style: none;
}

.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ">"; font-weight: 700; }

.hero-visual {
    position: relative;
    min-height: 475px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background-color: #030303;
    background-image:
        linear-gradient(rgba(255, 255, 255, .075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .075) 1px, transparent 1px);
    background-size: 25px 25px;
    box-shadow: var(--shadow);
}

.hero-visual::before {
    position: absolute;
    z-index: 4;
    top: 16px;
    left: 17px;
    content: "EYESNET // SECURE LINK";
    color: #fff;
    font-size: 10px;
    letter-spacing: .08em;
}

.hero-visual::after {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 34%);
}

.visual-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(255, 255, 255, .72);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-14deg);
}

.orbit-large { width: 410px; height: 177px; }
.orbit-small { width: 280px; height: 116px; border-style: solid; }

.visual-line {
    position: absolute;
    height: 1px;
    opacity: .72;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform-origin: left;
}

.line-one { top: 39%; left: 10%; width: 340px; transform: rotate(14deg); }
.line-two { right: 10%; bottom: 31%; width: 300px; transform: rotate(-21deg); }

.eye-core {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    display: grid;
    width: 182px;
    height: 182px;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #000;
    box-shadow: 0 0 0 12px rgba(255,255,255,.07);
    transform: translate(-50%, -50%);
}

.eye-core img { position: relative; z-index: 2; width: 112px; filter: grayscale(1) brightness(3) contrast(1.3); }
.eye-pulse { position: absolute; inset: 19px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; animation: pulse 3s steps(5, end) infinite; }

@keyframes pulse {
    50% { transform: scale(.77); opacity: .28; }
}

.signal-card {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid #fff;
    border-radius: 0;
    background: #fff;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.signal-card i { width: 6px; height: 6px; border: 1px solid #000; border-radius: 50%; background: #000; }
.signal-left { top: 22%; left: 11%; }
.signal-right { right: 9%; bottom: 24%; }

.secure-chip {
    position: absolute;
    z-index: 6;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border: 1px solid var(--line);
    background: #000;
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
}

.secure-chip span { font-weight: 700; }

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: #000;
}

.metrics article { display: grid; gap: 6px; padding: 25px 29px; }
.metrics article + article { border-left: 1px solid var(--line); }
.metrics strong { font-size: 26px; letter-spacing: -.08em; }
.metrics span { color: var(--muted); font-size: 11px; text-transform: uppercase; }

.section { padding: 132px 0 0; }
.section-heading h2, .cta h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 51px); line-height: 1.04; letter-spacing: -.075em; text-transform: uppercase; }

.feature-grid { display: grid; grid-template-columns: 1.25fr .875fr .875fr; gap: 14px; margin-top: 45px; }

.feature-card {
    position: relative;
    min-height: 278px;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--panel);
}

.feature-card-main { border-color: #fff; background: var(--panel-strong); }
.feature-card h3 { max-width: 315px; margin: 21px 0 11px; font-size: 18px; line-height: 1.24; letter-spacing: -.045em; text-transform: uppercase; }
.feature-card p { max-width: 310px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.feature-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #fff; border-radius: 0; color: #fff; font-size: 20px; }

.devices-visual { position: absolute; right: 27px; bottom: 0; display: flex; align-items: end; gap: 9px; height: 111px; }
.device { display: block; border: 1px solid #fff; background: #000; box-shadow: 5px -5px 0 rgba(255,255,255,.08); }
.phone { width: 37px; height: 76px; }
.tablet { width: 51px; height: 93px; }
.laptop { width: 96px; height: 62px; }

.steps-section { margin-top: 130px; padding: 85px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #030303; }
.steps-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }
.steps-list { display: grid; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.steps-list li:first-child { padding-top: 0; }
.steps-list li:last-child { padding-bottom: 0; border: 0; }
.steps-list span { color: #fff; font-size: 13px; font-weight: 700; }
.steps-list h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.04em; text-transform: uppercase; }
.steps-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.tariff-card {
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 40px;
    padding: 49px;
    border: 1px solid #fff;
    border-radius: 0;
    background: #050505;
    box-shadow: var(--shadow);
}

.tariff-description { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.tariff-price { padding: 26px; border: 1px solid #fff; border-radius: 0; background: #000; }
.tariff-price > span, .tariff-price > small { display: block; color: #fff; text-transform: uppercase; }
.tariff-price > strong { display: block; margin: 3px 0; font-size: 45px; letter-spacing: -.09em; }
.tariff-price > small { font-size: 11px; }

.tariff-options { display: grid; gap: 7px; margin-top: 19px; }
.tariff-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 0; background: #050505; }
.tariff-option span { min-width: 0; overflow: hidden; color: #fff; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tariff-option strong { color: #fff; font-size: 11px; letter-spacing: -.03em; white-space: nowrap; }
.tariff-loading, .tariff-options-error { display: block; padding: 11px 0 3px; color: #fff; font-size: 11px; line-height: 1.5; }
.tariff-sync-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-transform: uppercase; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 132px 0; }

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 27px 0 35px;
    border-top: 1px solid var(--line);
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
}

.footer .brand { transform: scale(.85); transform-origin: left center; }
.footer p { margin: 0; }
.footer > a:last-child { border-bottom: 1px solid #fff; }

@media (max-width: 820px) {
    .topbar { min-height: 76px; }
    .nav { display: none; }
    .hero { grid-template-columns: 1fr; min-height: auto; padding: 58px 0 34px; }
    .hero-visual { min-height: 390px; }
    .metrics { grid-template-columns: 1fr; }
    .metrics article + article { border-top: 1px solid var(--line); border-left: 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 218px; }
    .steps-layout, .tariff-card { grid-template-columns: 1fr; gap: 42px; }
    .tariff-card { padding: 32px; }
    .tariff-price { max-width: 350px; }
    .cta { align-items: flex-start; flex-direction: column; padding: 94px 0; }
}

@media (max-width: 520px) {
    .container { width: min(100% - 32px, 1120px); }
    .button-small { min-height: 39px; padding: 0 12px; font-size: 9px; }
    .brand img { width: 29px; height: 29px; }
    .brand strong { font-size: 21px; }
    .hero { padding-top: 48px; }
    h1 { font-size: 43px; }
    .hero-lead { font-size: 14px; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 17px; }
    .button-primary { width: 100%; }
    .hero-visual { min-height: 336px; }
    .orbit-large { width: 350px; height: 145px; }
    .eye-core { width: 145px; height: 145px; }
    .eye-core img { width: 89px; }
    .signal-left { left: 7%; }
    .signal-right { right: 6%; }
    .section { padding-top: 90px; }
    .steps-section { margin-top: 88px; padding: 70px 0; }
    .tariff-card { padding: 26px; }
    .footer { align-items: flex-start; flex-direction: column; }
}
