:root {
    --bg: #0b111c;
    --bg-soft: #101827;
    --bg-card: #141e2f;
    --bg-card-light: #192438;
    --border: #273348;
    --border-soft: rgba(255, 255, 255, 0.08);
    --text: #f8fafc;
    --muted: #9ca3af;
    --muted-2: #6b7280;
    --blue: #4f7cff;
    --blue-2: #7aa2ff;
    --green: #22c55e;
    --yellow: #fbbf24;
    --danger: #ef4444;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --radius: 22px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    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;
    background:
        radial-gradient(circle at top left, rgba(79, 124, 255, 0.18), transparent 34rem),
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 28rem),
        var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 17, 28, 0.82);
    border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(18px);
}

.navbar {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue), #1d4ed8);
    box-shadow: 0 12px 34px rgba(79, 124, 255, 0.32);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.nav-links a {
    transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 999px;
}

.hero {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 58px;
    padding: 70px 0;
}

.hero-content h1,
.page-hero h1,
.product-detail-hero h1 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.hero-content p,
.page-hero p,
.product-detail-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-2);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    border: 0;
    border-radius: 14px;
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--blue), #315fe8);
    box-shadow: 0 18px 40px rgba(79, 124, 255, 0.28);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
}

.btn.full {
    width: 100%;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 560px;
    gap: 14px;
    margin-top: 44px;
}

.hero-trust div {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.035);
}

.hero-trust strong {
    display: block;
    font-size: 24px;
}

.hero-trust span {
    color: var(--muted);
    font-size: 13px;
}

.hero-panel {
    position: relative;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(25, 36, 56, 0.96), rgba(11, 17, 28, 0.96));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(79, 124, 255, 0.16), transparent 45%);
    pointer-events: none;
}

.panel-header {
    position: relative;
    display: flex;
    gap: 8px;
    padding: 10px 8px 20px;
}

.panel-header span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--border);
}

.panel-header span:nth-child(1) {
    background: #ef4444;
}

.panel-header span:nth-child(2) {
    background: #f59e0b;
}

.panel-header span:nth-child(3) {
    background: #22c55e;
}

.license-preview {
    position: relative;
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
}

.preview-line {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 14px;
}

.preview-line.small {
    width: 42%;
    height: 10px;
}

.preview-line.large {
    width: 72%;
    height: 18px;
}

.license-card {
    margin-top: 26px;
    padding: 18px;
    border-radius: 18px;
    background: var(--bg-card-light);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.license-card strong,
.license-card span {
    display: block;
}

.license-card span {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.13);
    border: 1px solid rgba(34, 197, 94, 0.24);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.license-grid span {
    min-height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--text);
    background: rgba(79, 124, 255, 0.12);
    border: 1px solid rgba(79, 124, 255, 0.22);
    font-weight: 800;
    font-size: 13px;
}

.secure-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border-soft);
}

.secure-box span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 8px;
}

.secure-box strong {
    letter-spacing: 0.1em;
}

.section,
.page-hero,
.product-detail-hero {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}

.section.compact {
    padding-top: 36px;
}

.section-heading {
    max-width: 740px;
    text-align: center;
    margin: 0 auto 42px;
}

.section-heading.left {
    text-align: left;
    margin-left: 0;
}

.section-heading h2,
.split-section h2,
.cta-section h2 {
    margin: 14px 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.section-heading p,
.split-section p,
.cta-section p {
    color: var(--muted);
    line-height: 1.7;
}

.product-grid,
.store-grid,
.pricing-grid,
.feature-grid {
    display: grid;
    gap: 18px;
}

.product-grid {
    grid-template-columns: repeat(3, 1fr);
}

.store-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature-grid {
    grid-template-columns: repeat(4, 1fr);
}

.product-card,
.store-card,
.price-card,
.feature-card,
.step-card,
.support-card,
.detail-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(25, 36, 56, 0.9), rgba(16, 24, 39, 0.9));
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.product-card,
.store-card,
.price-card,
.feature-card,
.step-card,
.support-card {
    padding: 24px;
}

.product-card h3,
.store-card h2,
.price-card h3,
.feature-card h3,
.step-card h3,
.support-card h2 {
    margin: 14px 0 10px;
    letter-spacing: -0.035em;
}

.product-card p,
.store-card p,
.price-card p,
.feature-card p,
.step-card p,
.support-card p,
.clean-list {
    color: var(--muted);
    line-height: 1.65;
}

.product-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(79, 124, 255, 0.13);
    border: 1px solid rgba(79, 124, 255, 0.22);
    color: var(--blue-2);
    font-weight: 900;
}

.license-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
}

.license-tags span,
.product-badge {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-soft);
    font-size: 12px;
    font-weight: 800;
}

.card-link {
    color: var(--blue-2);
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 44px;
    align-items: start;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.step-card span {
    color: var(--blue-2);
    font-weight: 900;
}

.cta-section {
    width: min(var(--container), calc(100% - 40px));
    margin: 20px auto 90px;
    padding: 64px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 34px;
    background:
        radial-gradient(circle at top, rgba(79, 124, 255, 0.18), transparent 26rem),
        linear-gradient(180deg, rgba(25, 36, 56, 0.92), rgba(16, 24, 39, 0.92));
}

.page-hero {
    padding: 78px 0 34px;
}

.page-hero h1 {
    max-width: 850px;
}

.store-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.product-detail-hero {
    padding: 58px 0 30px;
}

.back-link {
    color: var(--muted);
    font-weight: 800;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 36px;
    align-items: end;
    margin-top: 30px;
}

.detail-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.detail-points span {
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(79, 124, 255, 0.1);
    border: 1px solid rgba(79, 124, 255, 0.2);
    color: var(--blue-2);
    font-weight: 800;
    font-size: 13px;
}

.detail-box {
    padding: 24px;
}

.price-card {
    position: relative;
}

.price-card.highlighted {
    border-color: rgba(79, 124, 255, 0.58);
    box-shadow: 0 24px 60px rgba(79, 124, 255, 0.16);
}

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.26);
    color: #bbf7d0;
    font-size: 12px;
    font-weight: 900;
}

.price {
    margin: 22px 0;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.price-card ul {
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 24px;
}

.support-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.contact-list div {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
}

.contact-list span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 6px;
}

.clean-list {
    padding-left: 20px;
}

.clean-list li {
    margin-bottom: 10px;
}

.footer {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 46px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 28px;
    color: var(--muted);
}

.footer strong {
    color: var(--text);
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: var(--text);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(10px);
}

.modal-backdrop.open {
    display: flex;
}

.modal {
    position: relative;
    width: min(460px, 100%);
    padding: 30px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.modal h2 {
    margin: 16px 0 8px;
    letter-spacing: -0.04em;
}

.modal p {
    color: var(--muted);
    line-height: 1.65;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    font-size: 22px;
}

@media (max-width: 980px) {
    .hero,
    .split-section,
    .product-detail-layout,
    .support-layout {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .store-grid,
    .pricing-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: var(--bg-card);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 14px;
        border-radius: 12px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.05);
    }

    .hero,
    .section,
    .page-hero,
    .product-detail-hero {
        width: min(100% - 28px, var(--container));
    }

    .hero {
        padding-top: 46px;
    }

    .hero-content h1,
    .page-hero h1,
    .product-detail-hero h1 {
        font-size: 42px;
    }

    .hero-trust,
    .product-grid,
    .store-grid,
    .pricing-grid,
    .feature-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .license-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-section {
        width: min(100% - 28px, var(--container));
        padding: 36px 22px;
    }

    .footer {
        flex-direction: column;
        width: min(100% - 28px, var(--container));
    }
}