:root {
    --bg: #0b0f14;
    --card: #10161f;
    --muted: #778196;
    --text: #e8eef9;
    --accent: #3b82f6;
    --accent-2: #22d3ee;
    --accent-3: #0b1e2d;
    --accent-4: #1f3a4d;
    --accent-5: #5a1a2a;
    --accent-6: #871c4e;
    --accent-7: #5a4700;
    --accent-8: #8c6a00;
    --ok: #10b981;
    --warn: #f59e0b;
    --err: #ef4444;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
    background: linear-gradient(180deg, #0b0f14 0%, #0a0d12 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 12px; }

.logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    box-shadow: var(--shadow);
}

nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
nav a { opacity: .85; }
nav a:hover { opacity: 1; }

.btn {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform .12s ease, box-shadow .12s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}
.btn:hover { transform: translateY(-1px); }
.btn.secondary {
    background: #17202b;
    color: var(--text);
    border: 1px solid #233143;
}

.hero {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 24px;
    align-items: center;
    margin: 28px 0 18px;
}

.card {
    background: linear-gradient(180deg, #10161f, #0f141b);
    border: 1px solid #1e293b;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero .left { padding: 28px; }

h1 { font-size: 42px; line-height: 1.1; margin: 0 0 16px; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: 28px; margin: 0 0 10px; font-weight: 700; }

p.lead {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 18px;
    line-height: 1.5;
}

.badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }

.badge {
    font-size: 12px;
    border: 1px solid #223247;
    color: #cde1ff;
    padding: 8px 10px;
    border-radius: 999px;
    background: #0d1420;
}

.payments { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pay-chip {
    font-size: 11px;
    letter-spacing: .5px;
    font-weight: 700;
    color: #93a6c7;
    border: 1px solid #243040;
    padding: 6px 10px;
    border-radius: 8px;
    background: #0c1320;
}

.hero-visual { padding: 24px; }
.hero-art {
    position: relative;
    height: 420px;
    border-radius: 18px;
    background: radial-gradient(ellipse at 30% 20%, rgba(34, 211, 238, .12), transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, .15), transparent 60%),
                linear-gradient(160deg, #0c1424, #0a1018);
    border: 1px solid #1e293b;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .5;
}
.orb-1 { width: 200px; height: 200px; top: -40px; right: -40px; background: var(--accent-2); }
.orb-2 { width: 240px; height: 240px; bottom: -60px; left: -40px; background: var(--accent); }

.terminal {
    position: absolute;
    inset: 30px;
    background: #0a1220;
    border: 1px solid #1f2b3b;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
    overflow: hidden;
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #0e1726;
    border-bottom: 1px solid #1f2b3b;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }
.terminal-title { margin-left: 8px; font-size: 12px; color: #93a6c7; font-family: ui-monospace, monospace; }
.terminal-body {
    margin: 0;
    padding: 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #c0dcff;
    white-space: pre-wrap;
}
.terminal-body .prompt { color: var(--accent-2); }
.terminal-body .muted { color: #6b7c95; }
.terminal-body .ok { color: var(--ok); }
.terminal-body .accent { color: var(--accent-2); }

.grid { display: grid; gap: 16px; }

.features { grid-template-columns: repeat(3, 1fr); margin: 20px 0; }
.specs { grid-template-columns: repeat(3, 1fr); }

.feature {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #1e293b;
    background: #0e1520;
    transition: transform .15s ease, border-color .15s ease;
}
.feature:hover { transform: translateY(-2px); border-color: #2a3a52; }
.feature .ico { font-size: 26px; margin-bottom: 6px; }
.feature h3 { margin: 8px 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.spec-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 13px; color: #cde1ff; }
.spec-list > div { display: flex; justify-content: space-between; padding-bottom: 4px; border-bottom: 1px solid #1e293b; }
.spec-list > div:last-child { border-bottom: none; }
.spec-list span:first-child { color: var(--muted); }

.pricing { grid-template-columns: repeat(3, 1fr); margin: 16px 0; }

.price {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #233143;
    background: linear-gradient(180deg, #0f1622, #0c121a);
    display: flex;
    flex-direction: column;
    position: relative;
}
.price.popular { box-shadow: 0 0 0 2px rgba(59, 130, 246, .35), var(--shadow); }
.price h3 { margin: 0 0 8px; font-size: 18px; }
.price .tag {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #152234;
    border: 1px solid #243649;
}
.price ul { list-style: none; margin: 12px 0 18px; padding: 0; color: #c8d9f5; }
.price ul li { margin: 8px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.check {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 6px;
    background: #162834;
    display: grid;
    place-items: center;
    color: var(--ok);
    font-size: 12px;
}
.price .amount { font-size: 30px; margin: 10px 0 16px; font-weight: 700; }
.amount-sub { color: var(--muted); font-size: 15px; font-weight: 400; }
.price .fine { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.price .btn { align-self: flex-start; }

.cta { display: flex; gap: 10px; flex-wrap: wrap; }

.section { margin: 56px 0; }

.kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.kpi {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #243040;
    background: #0f1520;
    text-align: center;
}
.kpi strong { display: block; font-size: 24px; margin-bottom: 4px; }
.kpi span { font-size: 13px; }

.locations {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.locations.countries {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.loc {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #223044;
    background: #0f1726;
    text-align: center;
    font-size: 14px;
    color: #cde1ff;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.loc:hover { background: #142036; border-color: #2f4769; transform: translateY(-1px); }
.loc .flag { font-size: 18px; margin-right: 6px; }
.loc .muted { color: var(--muted); font-size: 12px; }

.tabs { display: flex; gap: 8px; margin: 12px 0 18px; flex-wrap: wrap; }
.tab {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #223247;
    background: #0e1520;
    font-size: 13px;
    cursor: pointer;
    color: var(--text);
    white-space: nowrap;
    font-family: inherit;
    transition: background .12s ease;
}
.tab.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff;
    border-color: transparent;
}

.code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: #0a1220;
    border: 1px solid #1f2b3b;
    border-radius: 12px;
    padding: 14px;
    white-space: pre-wrap;
    color: #c0dcff;
    font-size: 13px;
}

details {
    border: 1px solid #233143;
    border-radius: 12px;
    padding: 14px 16px;
    background: #0f1622;
    transition: border-color .12s ease;
}
details[open] { border-color: #2f4769; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--muted); transition: transform .15s ease; }
details[open] summary::after { content: '−'; }
.answer { margin-top: 10px; color: #cfe2ff; font-size: 14px; line-height: 1.55; }

.note {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #0b1e2d, #0d2035);
    margin-top: 16px;
}
.note strong { color: #cde1ff; }

.cta-card { padding: 28px; }

footer { margin: 40px 0 20px; color: #93a6c7; font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
footer a { color: #93a6c7; }
footer a:hover { color: var(--text); }

.menu-item { padding: 10px 14px; }

.btn.ghost {
    background: transparent;
    color: var(--muted);
    box-shadow: none;
    border: 1px solid #243040;
}
.btn.ghost:hover { color: var(--text); }

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 14, .72);
    backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn .15s ease;
}
.modal-backdrop[hidden] { display: none; }
.modal {
    max-width: 460px;
    width: 100%;
    background: linear-gradient(180deg, #131b27, #0f1620);
    border: 1px solid #233143;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    animation: pop .18s ease;
}
.modal h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
}
.modal p {
    margin: 0 0 18px;
    color: #c8d9f5;
    font-size: 14px;
    line-height: 1.55;
}
.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.modal-actions .btn { justify-content: center; width: 100%; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    background: #10161f;
    border: 1px solid #233143;
    border-radius: 12px;
    padding: 12px 18px;
    color: var(--text);
    font-size: 14px;
    box-shadow: var(--shadow);
    z-index: 1100;
    animation: pop .18s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
    .wrap { padding: 16px; }
    .hero { grid-template-columns: 1fr; margin: 18px 0; }
    .hero-art { height: 300px; }
    .hero-visual { padding: 14px 0 0; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .pricing, .specs { grid-template-columns: 1fr; }
    .locations { grid-template-columns: repeat(3, 1fr); }
    .locations.countries { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .section { margin: 40px 0; }
    h1 { font-size: 36px; }
    h2 { font-size: 26px; }
    nav { gap: 4px; }
    .menu-item { padding: 8px 10px; font-size: 14px; }
}

@media (max-width: 640px) {
    .wrap { padding: 14px; }
    header { gap: 10px; padding: 8px 0; }
    .brand strong { font-size: 16px; }
    .brand small { font-size: 11px; }
    nav { width: 100%; justify-content: space-between; }
    nav a:not(.btn) { padding: 6px 8px; font-size: 13px; }
    nav .btn { padding: 9px 14px; font-size: 13px; }

    h1 { font-size: 28px; line-height: 1.15; }
    h2 { font-size: 22px; }
    p.lead { font-size: 16px; }

    .hero { margin: 14px 0; }
    .hero .left { padding: 18px; }
    .hero-art { height: 240px; }
    .terminal { inset: 18px; }
    .terminal-body { font-size: 11px; line-height: 1.6; padding: 12px; }
    .terminal-title { font-size: 11px; }

    .badges { gap: 6px; }
    .badge { font-size: 11px; padding: 6px 9px; }

    .cta { flex-direction: column; align-items: stretch; }
    .cta .btn { justify-content: center; width: 100%; }

    .features { grid-template-columns: 1fr; }
    .feature { padding: 16px; }
    .kpi { padding: 14px; }
    .kpi strong { font-size: 20px; }

    .price { padding: 18px; }
    .price .amount { font-size: 24px; }
    .price.popular { box-shadow: 0 0 0 1px rgba(59,130,246,.4), var(--shadow); }

    .section { margin: 36px 0; }
    .section-head { margin-bottom: 24px; }

    .btn { padding: 10px 14px; font-size: 14px; }
    .tab { padding: 8px 10px; font-size: 12px; }
    .tabs { gap: 6px; }

    .note { padding: 14px; flex-direction: column; align-items: flex-start; gap: 8px; }

    .cta-card { padding: 22px; }

    .footer-row { flex-direction: column; gap: 8px; }

    .modal { padding: 20px; border-radius: 16px; }
    .modal h3 { font-size: 18px; }
    .modal p { font-size: 13px; }
    .toast { font-size: 13px; padding: 10px 14px; bottom: 20px; left: 16px; right: 16px; transform: none; text-align: center; }
}

@media (max-width: 380px) {
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    .hero-art { height: 200px; }
    .terminal-body { font-size: 10px; }
    .pay-chip { font-size: 10px; padding: 5px 8px; }
}
