@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #070912;
    --bg-soft: #0d1020;
    --card: rgba(17, 22, 43, 0.78);
    --card-strong: rgba(20, 27, 54, 0.95);
    --text: #f7f8ff;
    --muted: #a8b0d2;
    --line: rgba(255, 255, 255, 0.1);
    --primary: #7c3aed;
    --primary-2: #22d3ee;
    --success: #22c55e;
    --danger: #fb7185;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 10%, rgba(124, 58, 237, 0.22), transparent 28%),
        radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.16), transparent 28%),
        var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

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

code {
    color: #93c5fd;
}

.bg-orb {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.5;
    z-index: -1;
}

.orb-one {
    left: -160px;
    top: 220px;
    background: var(--primary);
}

.orb-two {
    right: -160px;
    top: 480px;
    background: var(--primary-2);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 9, 18, 0.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.navbar {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.15rem;
}

.brand-logo {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 12px 34px rgba(124, 58, 237, 0.35);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu a {
    padding: 10px 14px;
    color: var(--muted);
    border-radius: 999px;
    transition: 0.2s ease;
}

.nav-menu a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
    display: none;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 13px;
    font-size: 1.2rem;
}

.hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: calc(100vh - 78px);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
    padding: 64px 0;
}

.eyebrow {
    color: var(--primary-2);
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.hero h1,
.section-head h2,
.order-card h2,
.result-card h1 {
    margin: 0;
    line-height: 1.05;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.9rem);
    letter-spacing: -0.08em;
}

.hero-desc {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 13px 18px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    box-shadow: 0 16px 34px rgba(124, 58, 237, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.hero-stats div,
.feature-box,
.product-card,
.order-card,
.result-card,
.ad-section,
.faq details {
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-stats div {
    padding: 18px;
    border-radius: 18px;
}

.hero-stats strong {
    display: block;
    font-size: 1.4rem;
}

.hero-stats span {
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(23, 29, 56, 0.9), rgba(10, 14, 29, 0.9));
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.terminal-bar {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

.terminal-bar span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
}

.hero-card pre {
    margin: 0;
    padding: 28px;
    white-space: pre-wrap;
    color: #bae6fd;
    line-height: 1.9;
}

.section,
.ad-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 74px 0;
}

.section-head {
    margin-bottom: 26px;
}

.section-head h2,
.order-card h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
    letter-spacing: -0.05em;
}

.section-head p {
    color: var(--muted);
}

.ad-section {
    min-height: 110px;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--muted);
    padding: 22px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.ad-section span {
    color: var(--text);
    font-weight: 800;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.tab {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    padding: 11px 15px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

.tab.active {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.product-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card,
.feature-box {
    border-radius: var(--radius);
    padding: 22px;
}

.product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.badge,
.category {
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.75rem;
    font-weight: 800;
}

.badge {
    color: white;
    background: rgba(124, 58, 237, 0.45);
}

.category {
    color: var(--primary-2);
    background: rgba(34, 211, 238, 0.1);
}

.product-card h3,
.feature-box h3 {
    font-size: 1.3rem;
    margin: 22px 0 10px;
}

.product-card p,
.feature-box p,
.faq p {
    color: var(--muted);
    line-height: 1.7;
}

.price {
    font-size: 2rem;
    font-weight: 900;
    margin: 20px 0;
    letter-spacing: -0.04em;
}

.price span {
    font-size: 0.88rem;
    color: var(--muted);
    font-weight: 600;
}

.product-card ul {
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
}

.product-card li {
    color: #dbeafe;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.product-card li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: 900;
}

.btn-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--line);
}

.order-card {
    border-radius: calc(var(--radius) + 6px);
    padding: 30px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
}

.order-form {
    display: grid;
    gap: 14px;
}

label {
    color: var(--muted);
    font-weight: 700;
}

input,
select,
textarea {
    margin-top: 8px;
    width: 100%;
    border: 1px solid var(--line);
    outline: none;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--text);
    padding: 14px;
    font: inherit;
}

textarea {
    min-height: 118px;
    resize: vertical;
}

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

.faq details {
    border-radius: 18px;
    padding: 18px 20px;
}

.faq summary {
    cursor: pointer;
    font-weight: 900;
}

.footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.result-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.result-card {
    width: min(620px, 100%);
    border-radius: var(--radius);
    padding: 32px;
}

.result-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.result-icon.success {
    background: rgba(34, 197, 94, 0.18);
    color: var(--success);
}

.result-icon.error {
    background: rgba(251, 113, 133, 0.18);
    color: var(--danger);
}

.order-summary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 18px;
    margin: 22px 0;
}

.error-list {
    color: var(--danger);
}

.hidden {
    display: none !important;
}

@media (max-width: 980px) {
    .hero,
    .order-card {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 88px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(7, 9, 18, 0.96);
    }

    .nav-menu.show {
        display: flex;
    }

    .hero {
        padding-top: 38px;
    }

    .hero-stats,
    .product-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        display: block;
    }
}
