:root {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --accent-primary: #6d28d9;
    --accent-secondary: #0ea5e9;
    --btn-hover: #7c3aed;
    --border-color: #e2e8f0;
    --gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(109, 40, 217, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
    z-index: -100;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Navigation ───────────────────────────────────────────────────────────── */

nav {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo span span {
    color: var(--accent-secondary);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-menu-toggle:hover {
    color: var(--accent-primary);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
    padding: 100px 0;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(109, 40, 217, 0.08);
    border: 1px solid rgba(109, 40, 217, 0.25);
    border-radius: 100px;
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(109, 40, 217, 0.25);
}

.btn-glass {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(0, 0, 0, 0.08);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-secondary);
    color: var(--accent-secondary);
}

/* ── Terminal ─────────────────────────────────────────────────────────────── */

.terminal-preview {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.08), 0 2px 8px rgba(0,0,0,0.06);
}

.terminal-header {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-title {
    margin-left: 1rem;
    font-size: 0.75rem;
    color: #64748b;
    font-family: monospace;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9rem;
    color: #1e293b;
}

.line {
    margin-bottom: 0.5rem;
}

.cmd { color: var(--accent-primary); }

.anim-1 { animation: fadeIn 0.5s ease forwards 1s; opacity: 0; }
.anim-2 { animation: fadeIn 0.5s ease forwards 2s; opacity: 0; }
.anim-3 { animation: fadeIn 0.5s ease forwards 3s; opacity: 0; }
.anim-4 { animation: fadeIn 0.5s ease forwards 4s; opacity: 0; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ── Hero Visual ───────────────────────────────────────────────────────────── */

.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(109, 40, 217, 0.1);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.06) 0%, transparent 70%);
    z-index: -1;
}

/* ── Features ─────────────────────────────────────────────────────────────── */

.features {
    padding: 70px 0;
    background: #f1f5f9;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(109, 40, 217, 0.06), 0 4px 8px -2px rgba(109, 40, 217, 0.03);
    border-color: rgba(109, 40, 217, 0.3);
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 1px solid rgba(109, 40, 217, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-primary);
    font-size: 1.15rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(109, 40, 217, 0.15);
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-secondary);
}


/* ── Quick Start ──────────────────────────────────────────────────────────── */

.quick-start {
    padding: 100px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.steps {
    list-style: none;
    margin-top: 3rem;
}

.steps li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-num {
    background: var(--gradient);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    color: white;
    font-size: 0.85rem;
}

code {
    display: block;
    background: #f8fafc;
    color: #1e293b;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: monospace;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
}

.code-preview {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: #1e293b;
}

.key { color: #6d28d9; }
.string { color: #0ea5e9; }
.comment { color: #94a3b8; }

/* ── Pricing ──────────────────────────────────────────────────────────────── */

.pricing {
    padding: 100px 0;
    background: transparent;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: #e2e8f0;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-switch.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(28px);
}

.toggle-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}

.toggle-label.active {
    color: var(--text-primary);
}

.discount-badge {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.pricing-card.popular {
    background: white;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 20px 40px rgba(109, 40, 217, 0.12);
}

.pricing-card.popular:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.15);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.3rem 1.25rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    min-height: 44px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 0.25rem;
    font-family: 'Inter', sans-serif;
}

.plan-period {
    color: var(--accent-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    min-height: 22px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.pricing-features li i {
    color: var(--accent-secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-secondary);
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: var(--text-secondary);
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    background: #f1f5f9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

/* ── Mobile ───────────────────────────────────────────────────────────────── */

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
        background: rgba(248, 250, 252, 0.97);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem 1rem;
        margin: 0;
        gap: 1.5rem;
        box-shadow: 0 20px 40px rgba(0,0,0,0.06);
        overflow-x: hidden;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a.btn {
        display: inline-block;
        width: auto;
    }

    .hero-content, .split-layout, .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        justify-content: center;
    }

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


    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Modal ────────────────────────────────────────────────────────────────── */

.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    color: var(--text-primary);
}

.modal-content h2 {
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.08);
}


