﻿:root {
    --ink: #111827;
    --muted: #5b6472;
    --paper: #f6f8fb;
    --white: #ffffff;
    --line: #d9e1ea;
    --blue: #155eef;
    --teal: #0f9f86;
    --gold: #c98b11;
    --dark: #09111f;
    --dark-2: #111a2b;
    --radius: 8px;
    --shadow: 0 22px 60px rgba(9, 17, 31, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

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

.topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 max(17px, calc((100vw - 1160px) / 2));
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(9, 17, 31, 0.9);
    backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.top-actions,
.hero-actions,
.footer-inner {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.nav-links {
    gap: 18px;
    color: #dbeafe;
    font-size: 0.9rem;
    font-weight: 750;
}

.nav-links a,
.top-action,
.button,
.footer a {
    text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
    color: #90f1dd;
}

.top-actions {
    gap: 9px;
    flex-shrink: 0;
}

.top-action {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 850;
    background: rgba(255, 255, 255, 0.08);
}

.top-action-pro {
    color: #07111f;
    border-color: transparent;
    background: linear-gradient(90deg, #f7d56b 0%, #fff2b8 48%, #c98b11 100%);
    box-shadow: 0 10px 28px rgba(201, 139, 17, 0.26);
}

.hero {
    position: relative;
    min-height: min(760px, 86vh);
    overflow: hidden;
    padding: 118px 0 76px;
    color: var(--white);
    background: #070c16;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(21, 94, 239, 0.22) 0%, rgba(7, 12, 22, 0) 38%),
        linear-gradient(270deg, rgba(15, 159, 134, 0.18) 0%, rgba(7, 12, 22, 0) 44%),
        linear-gradient(0deg, rgba(7, 12, 22, 0.96) 0%, rgba(7, 12, 22, 0.82) 100%);
}

.hero-shell {
    position: relative;
    z-index: 2;
    width: min(1160px, calc(100% - 34px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
    gap: 42px;
    align-items: center;
}

.hero-content {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: #90f1dd;
    font-size: 0.79rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--blue);
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 18px;
    font-size: clamp(1.95rem, 4.25vw, 3.45rem);
    font-weight: 950;
}

.hero-title {
    display: grid;
    gap: 2px;
}

.hero-title span {
    display: block;
    white-space: nowrap;
}

.title-free {
    color: #90f1dd;
}

.title-vs {
    color: #ffffff;
    font-size: 0.48em;
    text-transform: uppercase;
}

.title-pro {
    width: fit-content;
    color: #f7d56b;
    background: none;
    text-shadow: 0 0 30px rgba(247, 213, 107, 0.28);
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 930;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.hero-lead {
    max-width: 690px;
    margin: 0 0 28px;
    color: #e5eef9;
    font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
    flex-wrap: wrap;
    gap: 12px;
}

.hero-visual-panel {
    position: relative;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(144, 241, 221, 0.28);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.hero-visual {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    background: #000;
    object-fit: cover;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-weight: 900;
}

.button-primary {
    color: var(--white);
    background: var(--blue);
}

.button-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
}

.section {
    padding: 82px 0;
}

.section-light {
    background: var(--paper);
}

.section-split {
    background: #fff8ea;
}

.section-dark {
    color: var(--white);
    background: linear-gradient(135deg, var(--dark) 0%, #13243a 100%);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.version-card,
.plan-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.version-card {
    padding: 28px;
}

.version-card.free {
    border-top: 5px solid var(--teal);
}

.version-card.pro {
    border-top: 5px solid var(--blue);
}

.card-kicker {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.version-card p,
.version-card li,
.plan-item p,
.decision-checks p {
    color: var(--muted);
}

.version-card ul {
    margin: 18px 0 0;
    padding-left: 19px;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 20px;
    padding: 9px 14px;
    border-radius: 7px;
    color: var(--white);
    background: var(--dark-2);
    font-weight: 900;
    text-decoration: none;
}

.platform-link:hover {
    background: var(--blue);
}
.version-card li + li {
    margin-top: 8px;
}

.compare-table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.compare-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) repeat(2, minmax(220px, 1fr));
    border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
    border-bottom: 0;
}

.compare-row > div {
    min-width: 0;
    padding: 17px 18px;
}

.compare-row > div + div {
    border-left: 1px solid var(--line);
}

.table-head {
    color: var(--white);
    background: var(--dark-2);
    font-weight: 900;
}

.compare-row:not(.table-head) > div:first-child {
    font-weight: 850;
}

.compare-row small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.86rem;
}

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 930;
}

.status.yes {
    color: #064e3b;
    background: #d8f8ea;
}

.status.no {
    color: #881337;
    background: #ffe2e9;
}

.status.partial {
    color: #713f12;
    background: #fff0bf;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 38px;
    align-items: start;
}

.split-layout > div:first-child p:last-child {
    color: #5c4c2b;
    font-size: 1.06rem;
}

.plan-list {
    display: grid;
    gap: 14px;
}

.plan-item {
    padding: 20px;
}

.plan-item span {
    display: inline-flex;
    margin-bottom: 9px;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 920;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-item strong {
    display: block;
    font-size: 1.1rem;
}

.plan-item p {
    margin: 7px 0 0;
}

.decision-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
    gap: 34px;
    align-items: center;
}

.decision-copy p:last-child {
    color: #d9e6f5;
    font-size: 1.07rem;
}

.decision-checks {
    display: grid;
    gap: 14px;
}

.decision-checks p {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    color: #d9e6f5;
    background: rgba(255, 255, 255, 0.06);
}

.decision-checks strong {
    color: var(--white);
}

.footer {
    padding: 28px 0;
    color: #dbeafe;
    background: #070c16;
}

.footer-inner {
    justify-content: space-between;
    gap: 18px;
    font-size: 0.92rem;
}

.footer a {
    color: #90f1dd;
    font-weight: 850;
}

.scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #07111f;
    background: linear-gradient(135deg, #f7d56b 0%, #fff2b8 52%, #c98b11 100%);
    box-shadow: 0 16px 36px rgba(9, 17, 31, 0.28);
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
    text-decoration: none;
}

@media (max-width: 900px) {
    .topbar {
        height: auto;
        min-height: 68px;
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 12px 17px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 2px;
        font-size: 0.84rem;
    }

    .hero {
        padding-top: 142px;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .version-grid,
    .split-layout,
    .decision-layout {
        grid-template-columns: 1fr;
    }


    .compare-table {
        border-radius: 0;
        margin-inline: -17px;
        border-left: 0;
        border-right: 0;
    }

    .compare-row {
        grid-template-columns: 1fr;
    }

    .compare-row > div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .table-head {
        display: none;
    }

    .compare-row:not(.table-head) > div:nth-child(2)::before {
        content: "WebARStudioPro-Free";
        display: block;
        margin-bottom: 8px;
        color: var(--blue);
        font-size: 0.76rem;
        font-weight: 930;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .compare-row:not(.table-head) > div:nth-child(3)::before {
        content: "WebAR Studio Pro - visor3dRA";
        display: block;
        margin-bottom: 8px;
        color: var(--teal);
        font-size: 0.76rem;
        font-weight: 930;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}

@media (max-width: 560px) {
    .top-actions {
        width: 100%;
    }

    .top-action {
        flex: 1;
        width: 100%;
    }

    .hero {
        min-height: 720px;
    }

    h1 {
        font-size: clamp(1.45rem, 7.8vw, 2.35rem);
    }

    .hero-actions .button {
        width: 100%;
    }

    .section {
        padding: 62px 0;
    }

    .version-card {
        padding: 22px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
