/* ===== LANDING PAGE STYLES ===== */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --teal: #00bfa5;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --bg: #ffffff;
    --radius: 14px;

    /* Bento Box Styling */
    --bento-radius: 24px;
    --bento-gap: 16px;
    --bento-padding: 32px;
    --bento-bg: rgba(255, 255, 255, 0.7);
    --bento-border: 1px solid rgba(0, 0, 0, 0.04);
    --bento-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

.nav-logo .logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
    background: #f0f4ff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-nav {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
}

.btn-nav-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-nav-outline:hover {
    background: #e8f0fe;
}

.btn-nav-filled {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(26, 115, 232, 0.25);
}

.btn-nav-filled:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(26, 115, 232, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 60%, rgba(0, 191, 165, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f0fe;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    max-width: 800px;
    margin: 0 auto 20px;
    letter-spacing: -1px;
}

.hero h1 .grad {
    background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero-primary {
    padding: 14px 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.3);
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.35);
}

.btn-hero-secondary {
    padding: 13px 28px;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-hero-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f4ff;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .lbl {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 500;
}

.stat-sep {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ===== SECTION ===== */
section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f0fe;
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

/* ===== BENTO FEATURES ===== */
.features-bg {
    background: #f9fafb;
}

.bento-grid-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: var(--bento-gap);
    margin-top: 48px;
}

.bento-card {
    background: var(--bento-bg);
    border-radius: var(--bento-radius);
    padding: var(--bento-padding);
    border: var(--bento-border);
    box-shadow: var(--bento-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-2px) scale(1.005);
    box-shadow: 0 12px 32px rgba(26, 115, 232, 0.08);
}

.span-2x2 { grid-column: span 2; grid-row: span 2; }
.span-2x1 { grid-column: span 2; grid-row: span 1; }
.span-1x1 { grid-column: span 1; grid-row: span 1; }
.span-1x2 { grid-column: span 1; grid-row: span 2; }

@media (max-width: 900px) {
    .bento-grid-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .span-2x2 { grid-column: span 2; grid-row: span 2; }
    .span-2x1 { grid-column: span 2; grid-row: span 1; }
    .span-1x1 { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 600px) {
    .bento-grid-features {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .span-2x2, .span-2x1, .span-1x1, .span-1x2 {
        grid-column: span 1; grid-row: span 1;
    }
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.fi-blue {
    background: #e8f0fe;
}

.fi-teal {
    background: #e0f7f4;
}

.fi-green {
    background: #e8f5e9;
}

.fi-orange {
    background: #fff3e0;
}

.fi-purple {
    background: #f3e5f5;
}

.fi-red {
    background: #ffebee;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== TUTORIAL ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(100%/6);
    right: calc(100%/6);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--teal));
    opacity: 0.3;
}

.step-card {
    text-align: center;
    padding: 24px 16px;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.code-box {
    background: #1a1a2e;
    border-radius: 10px;
    padding: 20px;
    margin-top: 32px;
    overflow-x: auto;
}

.code-box pre {
    color: #e2e8f0;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    line-height: 1.8;
    white-space: pre;
}

.code-box .c-purple {
    color: #c678dd;
}

.code-box .c-green {
    color: #98c379;
}

.code-box .c-blue {
    color: #61afef;
}

.code-box .c-yellow {
    color: #e5c07b;
}

/* ===== PRICING ===== */
.pricing-bg {
    background: linear-gradient(180deg, #fff 0%, #f0f4ff 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.pricing-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 22px;
    border: 1.5px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 115, 232, 0.12);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(26, 115, 232, 0.2);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--teal));
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.plan-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 4px;
}

.plan-price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin-bottom: 24px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 5px 0;
    color: var(--text-muted);
}

.plan-features li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 700;
    flex-shrink: 0;
}

.plan-features li.pro::before {
    content: '✓';
    color: var(--primary);
}

.btn-plan {
    width: 100%;
    padding: 10px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
}

.btn-plan-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-plan-outline:hover {
    background: #e8f0fe;
}

.btn-plan-filled {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 12px rgba(26, 115, 232, 0.3);
}

.btn-plan-filled:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0d5dc5 50%, var(--teal) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 24px;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    color: var(--primary);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* ===== FOOTER ===== */
footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 40px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand .logo span {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.footer-brand .logo .mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    max-width: 220px;
}

.footer-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .steps::before {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-sep {
        display: none;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.float {
    animation: float 4s ease-in-out infinite;
}