:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --secondary: #38BDF8;

    --dark: #0B1120;
    --dark-soft: #0F172A;
    --light: #F8FAFC;

    --text-muted: #64748B;

    --gradient-brand: linear-gradient(135deg, var(--primary), var(--secondary));

    --radius: 16px;
    --radius-lg: 24px;

    --shadow-soft: 0 10px 30px rgba(15, 23, 42, .08);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, .35);

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--light);
    color: #111827;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    letter-spacing: -0.02em;
}

.text-primary {
    color: var(--primary) !important;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: .65rem 1.5rem;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-primary {
    background: var(--gradient-brand);
    border: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .35);
}

.btn-primary:hover {
    background: var(--gradient-brand);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, .45);
}

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

/* Navbar */

.site-navbar {
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding-top: .6rem;
    padding-bottom: .6rem;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        max-height: 32px;
        width: auto;
    }
}

.site-navbar .nav-link {
    color: rgba(255, 255, 255, .75) !important;
    font-weight: 500;
    padding: .5rem 1rem !important;
    transition: color .2s ease;
}

.site-navbar .nav-link:hover {
    color: #fff !important;
}

main {
    display: block;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

/* Footer */

.site-footer {
    background: var(--dark);
    color: white;
    padding: 6rem 0 2rem;
}

.footer-cta h2 {
    font-size: 2rem;
}

@media (max-width: 767.98px) {
    .site-footer {
        padding: 3.5rem 0 1.5rem;
    }

    .footer-cta h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .footer-cta .btn {
        overflow-wrap: break-word;
        white-space: normal;
        font-size: .95rem;
    }
}

.footer-divider {
    border-color: rgba(255, 255, 255, .1);
    margin: 3.5rem 0 2rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (max-width: 575.98px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-brand img {
        max-height: 28px;
        width: auto;
    }
}

.footer-brand p {
    font-weight: 400;
    font-size: .875rem;
    margin-top: .5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    font-size: .85rem;
}

/* ---------- Hero ---------- */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
    background: linear-gradient(160deg, var(--dark) 0%, #132244 55%, #1E3A8A 100%);
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.hero-section::before {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 70%);
    top: -120px;
    right: -100px;
}

.hero-section::after {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(37, 99, 235, .4), transparent 70%);
    bottom: -160px;
    left: -120px;
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 6.5rem;
        padding-bottom: 3rem;
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1rem;
    border-radius: 50px;
    background: rgba(56, 189, 248, .1);
    border: 1px solid rgba(56, 189, 248, .3);
    color: var(--secondary);
    font-size: .85rem;
    font-weight: 600;
}

.hero-badge.badge-light {
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .25);
    color: var(--primary);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); }
    70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-section h1 {
    line-height: 1.1;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-stats .stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.hero-stats .stat-label {
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
}

@media (max-width: 575.98px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem 2rem;
    }
}

/* ---------- Code window ---------- */

.hero-card {
    background: var(--dark-soft);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-strong);
}

.code-window {
    color: #CBD5E1;
    font-family: var(--font-mono);
    font-size: .9rem;
}

.code-header {
    display: flex;
    align-items: center;
}

.code-header span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #64748B;
    margin-right: 6px;
}

.code-header span:nth-child(1) { background: #F87171; }
.code-header span:nth-child(2) { background: #FBBF24; }
.code-header span:nth-child(3) { background: #34D399; }

.code-window pre {
    margin-top: 20px;
    white-space: pre-wrap;
}

.code-window .kw { color: #F472B6; }
.code-window .cls { color: #38BDF8; }
.code-window .prop { color: #93C5FD; }
.code-window .str { color: #34D399; }

/* ---------- Section headings ---------- */

.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

section {
    scroll-margin-top: 80px;
}

/* ---------- Service cards ---------- */

.service-card,
.price-card {
    height: 100%;
    padding: 35px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover,
.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, .12);
    border-color: rgba(37, 99, 235, .25);
}

.service-card .icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(56, 189, 248, .1));
    margin-bottom: 24px;
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- Pricing section ---------- */

.pricing-section {
    background: var(--light);
    position: relative;
}

.price-card {
    height: 100%;
    text-align: center;
    border: 2px solid rgba(37, 99, 235, .15);
}

@media (max-width: 575.98px) {
    .price-card {
        padding: 24px;
    }

    .price-card .price-tag {
        font-size: 2.25rem;
    }
}

.price-card .price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
}

.price-card .price-tag span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0;
    text-align: left;
    display: inline-block;
}

.price-card li {
    padding: 8px 0;
    color: #374151;
}

.price-card li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    margin-right: 10px;
}

.featured {
    position: relative;
}

.popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: white;
    font-size: .8rem;
    font-weight: 700;
    padding: 6px 22px;
    border-radius: 20px;
}

/* ---------- Why section ---------- */

.why-section {
    background: white;
}

.feature-item {
    padding: 30px 10px;
}

.feature-item .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 14px;
    background: var(--light);
    border: 1px solid rgba(15, 23, 42, .06);
}

.feature-item h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: .95rem;
    margin-bottom: 0;
}

