:root {
    --bg: #0b0d12;
    --bg-alt: #10131b;
    --card: #151924;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f3f4f6;
    --muted: #9ca3af;
    --accent: #6366f1;
    --accent-hover: #818cf8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #a855f7);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

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

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

.hero {
    padding: 84px 0 72px;
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.14), transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #c7d2fe;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-sub {
    color: var(--muted);
    font-size: 1.03rem;
    margin-bottom: 26px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-metrics {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.hero-metrics strong {
    display: block;
    font-size: 1.1rem;
    font-family: "Space Grotesk", sans-serif;
}

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

.hero-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.code-head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-title {
    margin-left: 8px;
    font-size: 0.8rem;
    color: var(--muted);
}

.code-body {
    padding: 20px;
    font-size: 0.84rem;
    color: #cbd5e1;
    overflow-x: auto;
}

.section {
    padding: 76px 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 44px;
}

.section-kicker {
    color: var(--accent-hover);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-head h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    margin: 8px 0 10px;
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card, .step-card, .price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.card-icon {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--accent-hover);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.card h3, .step-card h3, .price-card h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.card p, .step-card p, .price-desc {
    color: var(--muted);
    font-size: 0.9rem;
}

.steps-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
    font-weight: 700;
    margin-bottom: 14px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: rgba(99, 102, 241, 0.55);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.12);
}

.pop-tag {
    position: absolute;
    top: -11px;
    right: 18px;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

.price-val {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    margin: 16px 0;
}

.price-list {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.price-list li {
    color: #d1d5db;
    font-size: 0.88rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.contact-sub {
    color: var(--muted);
    margin: 10px 0 22px;
}

.contact-info {
    display: grid;
    gap: 10px;
    font-size: 0.92rem;
    color: #d1d5db;
}

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-size: 0.85rem;
    color: #d1d5db;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #0d1017;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.92rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-status {
    font-size: 0.88rem;
    min-height: 20px;
}

.footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer p {
    color: var(--muted);
    font-size: 0.84rem;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.86rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text);
    text-decoration: underline;
}

.legal-page {
    max-width: 780px;
}

.legal-page h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.1rem;
    margin-bottom: 6px;
}

.legal-meta {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 28px;
}

.legal-page h2 {
    font-size: 1.15rem;
    margin: 24px 0 8px;
}

.legal-page p {
    color: #d1d5db;
    font-size: 0.95rem;
}

.link-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 0.86rem;
    cursor: pointer;
}

.link-btn:hover {
    color: var(--text);
    text-decoration: underline;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: none;
    place-items: center;
    padding: 20px;
    z-index: 100;
}

.modal.open {
    display: grid;
}

.modal-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    color: #d1d5db;
    font-size: 0.9rem;
    display: grid;
    gap: 10px;
}

@media (max-width: 900px) {
    .hero-grid,
    .cards-grid,
    .steps-grid,
    .pricing-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
}
