:root {
    --bg: #07111f;
    --bg-2: #0d1b2f;
    --panel: #101f35;
    --panel-light: #ffffff;
    --text: #eaf2ff;
    --muted: #a9b8ce;
    --dark-text: #0c1726;
    --dark-muted: #536275;
    --brand: #4de0c6;
    --brand-2: #4f8cff;
    --border: rgba(255,255,255,.12);
    --shadow: 0 24px 70px rgba(0,0,0,.28);
}

* { 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;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(7,17,31,.86); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #03111c; font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; color: var(--muted); font-weight: 650; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; border: 0; color: var(--text); background: transparent; font-size: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #04121f; font-weight: 800; padding: .9rem 1.3rem; box-shadow: 0 10px 28px rgba(77,224,198,.2); }
.btn:hover { transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,.08); color: var(--text); box-shadow: none; border: 1px solid var(--border); }
.btn-small { padding: .6rem 1rem; }
.hero, .product-hero { padding: 92px 0 70px; background: radial-gradient(circle at top left, rgba(77,224,198,.18), transparent 34%), radial-gradient(circle at 85% 15%, rgba(79,140,255,.22), transparent 28%); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--brand); text-transform: uppercase; letter-spacing: .14em; font-weight: 850; font-size: .78rem; margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(2.55rem, 6vw, 5rem); max-width: 900px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); margin: 1rem 0 0; }
.lead { font-size: 1.22rem; max-width: 700px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 30px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: .7rem; color: var(--muted); }
.trust-row span { padding: .55rem .8rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.05); }
.hero-card { position: relative; border-radius: 30px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); border: 1px solid var(--border); }
.hero-card img { width: 100%; height: 520px; object-fit: cover; opacity: .9; }
.floating-panel { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 20px; border-radius: 22px; background: rgba(7,17,31,.78); backdrop-filter: blur(16px); border: 1px solid var(--border); display: grid; gap: 4px; }
.floating-panel span { color: var(--muted); }
.section { padding: 86px 0; background: #f7faff; color: var(--dark-text); }
.section p { color: var(--dark-muted); }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start; margin-bottom: 34px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-card, .price-card, .requirements-card { background: white; border: 1px solid #e5ecf7; border-radius: 26px; padding: 28px; box-shadow: 0 16px 44px rgba(13,27,47,.07); }
.icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #edf9ff; margin-bottom: 18px; font-size: 1.45rem; }
.dark-section { background: linear-gradient(180deg, #0a1628, #07111f); color: var(--text); }
.dark-section p, .dark-section li { color: var(--muted); }
.api-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 46px; align-items: center; }
.check-list { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 12px; }
.check-list li::before { content: "✓"; color: var(--brand); font-weight: 900; margin-right: 10px; }
.code-card { border: 1px solid var(--border); border-radius: 26px; background: #050b14; padding: 24px; box-shadow: var(--shadow); overflow: auto; }
pre { margin: 0; white-space: pre-wrap; color: #d9f7ef; }
.center-heading { text-align: center; max-width: 760px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.price-card { position: relative; }
.price-card.featured { border: 2px solid var(--brand); transform: translateY(-8px); }
.price { font-size: 1.1rem; font-weight: 850; color: var(--dark-text) !important; }
.badge { position: absolute; top: 20px; right: 20px; background: #defcf6; color: #056051; border-radius: 999px; padding: .35rem .7rem; font-weight: 800; font-size: .78rem; }
.price-card ul, .requirements-card ul { margin: 18px 0 0; padding-left: 20px; color: var(--dark-muted); }
.product-strip { background: #eaf3ff; }
.product-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 38px; border-radius: 30px; background: white; box-shadow: 0 16px 44px rgba(13,27,47,.08); }
.comparison-table-wrap { overflow-x: auto; margin-top: 30px; }
.comparison-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.05); border-radius: 22px; overflow: hidden; min-width: 720px; }
.comparison-table th, .comparison-table td { padding: 18px; border-bottom: 1px solid var(--border); text-align: center; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; }
.requirements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.requirements-card.highlighted { border: 2px solid var(--brand-2); }
.note { text-align: center; margin-top: 22px; }
.footer { padding: 56px 0 24px; background: #050b14; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer a { display: block; color: var(--muted); margin-top: 10px; }
.footer-brand { color: var(--text) !important; margin-top: 0 !important; }
.footer-bottom { color: var(--muted); border-top: 1px solid var(--border); margin-top: 36px; padding-top: 22px; }
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 76px; background: #081426; padding: 18px; border: 1px solid var(--border); border-radius: 18px; flex-direction: column; align-items: stretch; }
    .nav-open .nav-links { display: flex; }
    .hero-grid, .split, .api-grid, .requirements-grid { grid-template-columns: 1fr; }
    .feature-grid, .feature-grid.four, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
    .product-strip-inner { flex-direction: column; align-items: flex-start; }
    .hero-card img { height: 360px; }
}


#screenshots .video-wrapper,
#screenshots .screenshot-card {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 70px auto;
    display: flex;
    justify-content: center;
}

    #screenshots .video-wrapper video {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    }

#screenshots .hero-card {
    width: 100%;
    max-width: 1100px;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: var(--shadow);
}

    #screenshots .hero-card img {
        width: 100%;
        height: auto !important;
        object-fit: contain !important;
        display: block;
        opacity: 1;
    }

#screenshots .floating-panel {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    width: calc(100% - 60px);
    max-width: 380px;
    background: rgba(7,17,31,.84);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 22px;
    text-align: center;
}

    #screenshots .floating-panel span {
        color: var(--muted);
    }

@media (max-width: 1200px) {
    #screenshots .video-wrapper,
    #screenshots .screenshot-card,
    #screenshots .hero-card {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    #screenshots .video-wrapper,
    #screenshots .screenshot-card,
    #screenshots .hero-card {
        width: 94vw;
        max-width: 94vw;
    }

    #screenshots .floating-panel {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: auto;
        max-width: none;
        margin: 18px;
    }
}

.licence-steps {
    margin-top: 4rem;
}

.licence-step {
    margin-bottom: 6rem;
}

    .licence-step:last-child {
        margin-bottom: 0;
    }

.licence-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

    .licence-image img {
        width: 100%;
        max-width: 650px;
        height: auto;
        display: block;
        border-radius: 12px;
    }

.licence-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

    .licence-text .eyebrow,
    .licence-text h3,
    .licence-text p {
        text-align: center;
    }

    .licence-text h3 {
        margin-bottom: 1rem;
    }

    .licence-text p {
        margin-left: auto;
        margin-right: auto;
    }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-box {
    background: #ffffff;
    color: #0c1726;
    max-width: 520px;
    width: 100%;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

    .modal-box h3 {
        margin-top: 0;
    }

.modal-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 20px 0;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

    .modal-actions button {
        padding: 10px 18px;
        border-radius: 8px;
        border: 0;
        cursor: pointer;
    }

        .modal-actions button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }