:root {
    --bs-purple: #8249df;
    --bs-navy-blue: #0F1014;
    --bs-info: #00bdd6;
    --bs-body-bg: #050507;
    --bs-body-color: #e1e1e6;

    --card-bg: #0F1014;
    --card-border: #1E1F24;
    --primary-glow: 0 0 40px rgba(0, 189, 214, 0.15);
}

html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
    /* Base size slightly larger for modern feel */
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

/* ─── Typography overrides ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    letter-spacing: -0.025em;
    /* Tighter headings */
}

li::marker {
    color: var(--bs-info);
}

/* ─── Utilities ─── */
.text-balance {
    text-wrap: balance;
}

.bg-info-opacity-25 {
    background-color: rgba(0, 189, 214, 0.1);
    color: #00bdd6;
    border: 1px solid rgba(0, 189, 214, 0.2);
}

.bg-purple-opacity-25 {
    background-color: rgba(130, 73, 223, 0.1);
    color: #a77dff;
    border: 1px solid rgba(130, 73, 223, 0.2);
}

.bg-gradient-purple-info {
    background: linear-gradient(135deg, rgba(130, 73, 223, 0.2), rgba(0, 189, 214, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Grid background pattern */
.bg-grid {
    background-color: var(--bs-body-bg);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

/* ─── Buttons ─── */
.btn {
    font-weight: 500;
    letter-spacing: -0.01em;
    padding: 0.625rem 1.25rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-info {
    background-color: var(--bs-info);
    border-color: var(--bs-info);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 189, 214, 0.3);
}

.btn-info:hover {
    background-color: #00d4f0;
    border-color: #00d4f0;
    box-shadow: 0 0 30px rgba(0, 189, 214, 0.5);
    transform: translateY(-1px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* ─── Gradient Text ─── */
.gradient-text {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-image: linear-gradient(90deg, #00bdd6, #8249df, #00bdd6);
    background-size: 200% auto;
    animation: gradient-shift 5s linear infinite;
    font-weight: 800;
}

@keyframes gradient-shift {
    to {
        background-position: 200% center;
    }
}

/* ─── Sections ─── */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    /* Prevent overflow from glowing elements */
}

/* ─── Navbar ─── */
.navbar {
    background: rgba(5, 5, 7, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.navbar-brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #fff;
}

.navbar-brand-logo span {
    color: var(--bs-info);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #a0a0b0 !important;
    transition: color 0.2s ease;
}

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

/* ─── Hero ─── */
.hero-section {
    padding-top: 8rem;
    /* Account for fixed navbar */
    background: radial-gradient(circle at 50% 0%, rgba(130, 73, 223, 0.15), transparent 60%);
}

.hero-mockup {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.2),
        0 20px 60px -10px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(130, 73, 223, 0.15);
    /* Soft purple glow behind */
    transition: transform 0.5s ease-out;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

/* ─── Cards ─── */
.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    /* More rounded */
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    border-color: rgba(130, 73, 223, 0.5);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.icon-box .material-symbols-outlined {
    font-size: 1.75rem;
}

/* ─── Pricing ─── */
.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.pricing-featured {
    background: linear-gradient(to bottom, #13141a, #0F1014);
    border: 1px solid rgba(0, 189, 214, 0.5);
    box-shadow: 0 0 40px rgba(0, 189, 214, 0.05);
}

.pricing-badge-popular {
    background: linear-gradient(90deg, #00bdd6, #8249df);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(130, 73, 223, 0.4);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}

.pricing-feature-item {
    font-size: 0.95rem;
    color: #d0d0d5;
    display: flex;
    gap: 0.75rem;
    padding: 0.4rem 0;
}

.pricing-feature-item .material-symbols-outlined {
    color: var(--bs-info);
    font-size: 1.25rem;
}

/* ─── Code Window ─── */
.code-window {
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.code-window-header {
    border-bottom: 1px solid #27272a;
    background: #101012;
    padding: 0.75rem 1rem;
}

.code-window-body {
    padding: 1.5rem;
    background: transparent;
    overflow-x: auto;
}

.code-window-body pre {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #e4e4e7;
}

/* ─── Footer ─── */
.footer {
    background: #020203;
    border-top: 1px solid #1e1e1e;
}

.footer-top {
    border-bottom: 1px solid #1a1a1a;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #fff;
}

.footer-logo-text span {
    color: var(--bs-info);
}

.footer-link {
    color: #71717a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
}


/* ─── Badge ─── */
.section-badge {
    border-radius: 100px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* ─── Text Sizes Refined ─── */
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.text-7xl {
    font-size: 4.5rem;
    line-height: 1;
}

@media (min-width: 640px) {
    .text-sm-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .text-sm-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .text-sm-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .text-sm-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .text-sm-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .text-lg-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .text-lg-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .text-lg-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .text-lg-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .text-lg-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
}

@media (min-width: 1280px) {
    .text-xl-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .text-xl-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .text-xl-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .text-xl-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .text-xl-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
}