html, body {
    scroll-behavior: smooth !important;
}

:root {
    --navy: #0f172a;
    --indigo: #6366f1;
    --border: #e2e8f0;
    --slate: #f8fafc;
    --text: #334155;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate { 
    opacity: 0; 
    animation: fadeInUp 0.8s ease-out forwards; 
}
.delay-100 { animation-delay: 0.15s; }
.delay-200 { animation-delay: 0.3s; }
.delay-300 { animation-delay: 0.45s; }
.delay-400 { animation-delay: 0.6s; }

/* Reveal on scroll - No default opacity 0 to prevent blank page */
.reveal { 
    transform: translateY(20px); 
    transition: opacity 1s ease-out, transform 1s ease-out; 
}
.reveal.active { opacity: 1 !important; transform: translateY(0); }

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    background: #fff;
    color: var(--text);
    line-height: 1.5;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a { text-decoration: none; color: inherit; transition: all 0.2s; }

/* Header */
.header {
    height: 100px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--navy); font-size: 1.5rem; }
.logo img { width: 24px; height: 24px; }

.nav-links { display: flex; align-items: center; gap: 2.5rem; }
header .nav-links a { color: var(--navy); font-weight: 500; font-size: 0.875rem; transition: color 0.2s; }
header .nav-links a.btn-primary { color: white; }
header .nav-links a:not(.btn):hover { color: var(--indigo); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }

.btn-outline { border: 1px solid var(--border); background: #fff; color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* Hero */
.hero { padding: 360px 0 60px; text-align: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-title { font-size: 3.5rem; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.125rem; color: var(--text); margin-bottom: 2.5rem; max-width: 600px; margin: 0 auto 3rem; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; margin-bottom: 5rem; }

.vs-btn-save { padding: 6px 12px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 0.7rem; font-weight: 700; color: #64748b; }
.vs-btn-publish { padding: 6px 14px; background: var(--indigo); border-radius: 6px; font-size: 0.7rem; font-weight: 700; color: #fff; box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2); }

.vs-inputs-bar { padding: 1rem 1.5rem; background: #f8fafc; border-bottom: 1px solid #f1f5f9; display: flex; gap: 2rem; }
.vs-input-group { display: flex; flex-direction: column; gap: 4px; flex: 2; }
.vs-input-group label { font-size: 0.55rem; font-weight: 800; color: #94a3b8; letter-spacing: 0.05em; }
.vs-input-group input { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 0.8rem; color: #0f172a; background: #fff; width: 100%; border-left: 3px solid var(--indigo); }
.vs-input-group:last-child { flex: 1; }
.vs-fake-select { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 0.75rem; color: #64748b; background: #fff; }

.vs-main { flex: 1; display: flex; background: #f1f5f9; overflow: hidden; }
.vs-canvas { flex: 1; padding: 2rem; display: flex; justify-content: center; overflow-y: auto; }
.vs-email-paper { width: 100%; max-width: 480px; background: #fff; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); display: flex; flex-direction: column; }

.vse-header { padding: 1.5rem; text-align: center; border-bottom: 1px solid #f8fafc; }
.vse-hero { height: 180px; background: #0f172a; position: relative; display: flex; align-items: center; justify-content: center; color: white; border-radius: 4px; margin: 10px; }
.vse-hero-content { text-align: center; position: relative; z-index: 10; padding: 1rem; }
.vse-hero-content h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 0.5rem; letter-spacing: -1px; }
.vse-hero-content p { font-size: 0.75rem; opacity: 0.7; }
.vse-body { padding: 2.5rem; text-align: center; }
.vse-body h3 { font-size: 1.25rem; font-weight: 800; color: #1e293b; margin-bottom: 1rem; }
.vse-body p { font-size: 0.85rem; color: #64748b; line-height: 1.6; margin-bottom: 2rem; }
.vse-button { display: inline-block; padding: 12px 30px; background: var(--indigo); color: white; font-weight: 700; font-size: 0.8rem; border-radius: 50px; }
.vse-footer { padding: 2rem; border-top: 1px solid #f8fafc; text-align: center; }
.vse-social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1rem; color: #cbd5e1; }
.vse-footer p { font-size: 0.6rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; }

.vs-sidebar { width: 220px; background: #fff; border-left: 1px solid #e2e8f0; display: flex; flex-direction: column; }
.vss-title { padding: 1.25rem; font-size: 0.6rem; font-weight: 900; color: #94a3b8; letter-spacing: 0.1em; border-bottom: 1px solid #f8fafc; }
.vss-grid { padding: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vss-item { padding: 1rem 0.5rem; border: 1px solid #f1f5f9; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-size: 0.65rem; font-weight: 700; color: #64748b; cursor: pointer; transition: all 0.2s; }
.vss-item:hover, .vss-item.active { border-color: var(--indigo); color: var(--indigo); background: rgba(99, 102, 241, 0.03); }
.vss-icon { width: 36px; height: 36px; border-radius: 8px; background: #f8fafc; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; }

.vs-footer { padding: 1rem 1.5rem; border-top: 1px solid #e2e8f0; background: #fff; display: flex; justify-content: space-between; align-items: center; }
.vs-score { font-size: 0.75rem; font-weight: 700; color: #64748b; }
.vs-score span { color: #10b981; font-weight: 900; }
.vs-btn-main { padding: 10px 24px; background: #0f172a; color: white; border-radius: 6px; font-weight: 800; font-size: 0.8rem; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }

@media (max-width: 1100px) {
    .vs-sidebar { display: none; }
}

@media (max-width: 1100px) {
    .workspace-toolbox { display: none; }
}

@media (max-width: 1000px) {
    .editor-sidebar-right { display: none; }
    .email-page { max-width: 100%; }
}

/* DETAILED MOCKUP CSS */
.hero-visual { width: 100%; max-width: 1000px; margin: 18rem auto 0; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 40px 80px rgba(15,23,42,0.06); scroll-margin-top: 200px; cursor: pointer; }

.dashboard-mockup {
    display: flex;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 540px;
    text-align: left;
    overflow: hidden;
}

.mock-sidebar { width: 180px; background: var(--navy); padding: 1.5rem 0.75rem; display: flex; flex-direction: column; gap: 2rem; }
.mock-logo-group { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.5rem; }
.mock-logo-dot { width: 14px; height: 14px; background: var(--indigo); border-radius: 3px; }
.mock-logo-text { color: #fff; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.05em; }

.mock-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.mock-nav-item { padding: 0.75rem 1rem; color: #94a3b8; font-size: 0.8rem; border-left: 3px solid transparent; transition: all 0.2s; cursor: pointer; }
.mock-nav-item.active { 
    color: white; 
    background: rgba(99, 102, 241, 0.15); 
    border-left-color: var(--indigo);
    font-weight: 600;
}

/* Dashboard Mockup Common Styles */
.mock-main { flex: 1; background: var(--slate); display: flex; flex-direction: column; }
.mock-header { height: 50px; background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 1.5rem; justify-content: space-between; }
.mock-breadcrumb { font-size: 0.65rem; font-weight: 600; color: #94a3b8; }
.mock-breadcrumb span { color: var(--navy); }
.mock-user-group { display: flex; align-items: center; gap: 1rem; }
.mock-search-bar { width: 120px; height: 24px; background: var(--slate); border-radius: 4px; border: 1px solid var(--border); }
.mock-user-av { width: 24px; height: 24px; border-radius: 50%; background: #e2e8f0; border: 1px solid var(--border); }

.mock-content { padding: 1.5rem; flex: 1; overflow: hidden; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.mock-card { background: #fff; border: 1px solid var(--border); padding: 1rem; border-radius: 8px; position: relative; }
.mock-card label { font-size: 0.6rem; text-transform: uppercase; font-weight: 700; color: #94a3b8; display: block; margin-bottom: 0.25rem; }
.mock-card .val { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.mock-trend { font-size: 0.55rem; font-weight: 700; padding: 2px 4px; border-radius: 4px; position: absolute; top: 1rem; right: 1rem; }
.mock-trend.pos { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.mock-trend.neg { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.mock-grid-main { display: grid; grid-template-columns: 1.8fr 1fr; gap: 1rem; }
.mock-card-head { font-size: 0.75rem; font-weight: 700; color: var(--navy); margin-bottom: 1.25rem; }

.mock-chart-card { background: #fff; border: 1px solid var(--border); padding: 1.25rem; border-radius: 10px; height: 260px; }
.mock-chart { height: 160px; display: flex; align-items: flex-end; }
.chart-line { width: 100%; height: 100%; overflow: visible; }

.mock-recent-card { background: #fff; border: 1px solid var(--border); padding: 1.25rem; border-radius: 10px; }
.mock-list { display: flex; flex-direction: column; gap: 1rem; }
.mock-list-item { display: flex; align-items: center; gap: 0.75rem; }
.mock-item-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-item-dot.success { background: #10b981; }
.mock-item-dot.warn { background: #f59e0b; }
.mock-item-title { font-size: 0.7rem; font-weight: 700; color: var(--navy); }
.mock-item-sub { font-size: 0.6rem; color: #94a3b8; }

/* Studio V11 - Proportions Corrigées */
.editor-view { display: flex; flex-direction: column; background: #fff; height: 100%; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; }
.studio-container { display: flex; flex-direction: column; height: 100%; width: 100%; }

.studio-header-v11 { padding: 1rem 1.5rem; background: #fff; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: flex-end; }
.sh-inputs-area { display: flex; gap: 1rem; flex: 1; }
.sh-input-v11 { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sh-input-v11 label { font-size: 0.55rem; font-weight: 800; color: #94a3b8; letter-spacing: 0.05em; }
.sh-input-v11 input { padding: 8px 14px; border: 1px solid #e2e8f0; border-radius: 100px; font-size: 0.75rem; color: #1e293b; background: #fdfdfd; width: 100%; }
.sh-actions-v11 { display: flex; gap: 0.5rem; margin-left: 2rem; }
.sha-btn { padding: 6px 12px; border: 1px solid #6366f1; border-radius: 6px; font-size: 0.7rem; font-weight: 700; color: #6366f1; }

.studio-workspace-v11 { flex: 1; display: flex; background: #f8fafc; overflow: hidden; }
.s-canvas-v11 { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0.5rem 1rem 2rem; overflow-y: auto; }
.canvas-controls { width: 100%; max-width: 540px; display: flex; justify-content: space-between; padding: 0.5rem 0; color: #cbd5e1; }
.cc-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cc-icon.active { color: #64748b; }

.email-preview-v11 { width: 100%; max-width: 540px; background: #fff; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid #f1f5f9; height: fit-content; }
.ep-header-v11 { padding: 1.5rem; text-align: center; font-weight: 900; letter-spacing: 2px; color: #0f172a; border-bottom: 1px solid #f8fafc; }
.ep-hero-v11 { height: 140px; margin: 12px; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.ep-hero-v11 h2 { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px; }
.ep-hero-v11 p { font-size: 0.75rem; opacity: 0.6; }
.ep-content-v11 { padding: 2.5rem; text-align: center; }
.ep-content-v11 h3 { font-size: 1.2rem; font-weight: 800; color: #1e293b; margin-bottom: 1rem; }
.ep-content-v11 p { font-size: 0.8rem; color: #64748b; line-height: 1.6; margin-bottom: 2rem; }
.ep-cta-v11 { display: inline-block; padding: 10px 24px; background: #6366f1; color: #fff; font-weight: 800; border-radius: 4px; font-size: 0.75rem; }
.ep-v11-footer { padding: 2rem; text-align: center; border-top: 1px solid #f8fafc; font-size: 0.6rem; color: #cbd5e1; }

.s-toolbox-v11 { width: 280px; background: #fff; border-left: 1px solid #e2e8f0; display: flex; }
.st-grid-3 { flex: 1; padding: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; align-content: start; }
.st-item-v11 { padding: 0.75rem 0; border: 1px solid #f1f5f9; border-radius: 6px; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; font-size: 0.6rem; font-weight: 700; color: #64748b; cursor: pointer; }
.st-item-v11.active { border-color: #6366f1; color: #6366f1; background: rgba(99, 102, 241, 0.02); }
.st-ico-v11 { width: 100%; height: 30px; display: flex; align-items: center; justify-content: center; background: #f8fafc; border-bottom: 1px solid #f1f5f9; font-size: 0.8rem; }
.st-tabs-vertical { width: 40px; border-left: 1px solid #f1f5f9; display: flex; flex-direction: column; background: #fdfdfd; }
.stv-tab { height: 80px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #f1f5f9; cursor: pointer; }
.stv-tab span { transform: rotate(-90deg); font-size: 0.55rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.stv-tab.active { background: #fff; }
.stv-tab.active span { color: #6366f1; }

.studio-footer-v11 { padding: 1rem 1.5rem; border-top: 1px solid #f1f5f9; background: #fff; display: flex; justify-content: space-between; align-items: center; }
.sf-left-v11 { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; font-weight: 600; color: #94a3b8; }
.sf-select-v11 { padding: 8px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; font-weight: 700; color: #1e293b; min-width: 200px; }
.sf-pj, .sf-check { font-size: 0.65rem; padding: 6px 10px; background: #f1f5f9; border-radius: 4px; color: #64748b; }
.sf-right-v11 { display: flex; align-items: center; gap: 2rem; }
.sf-deliv { font-size: 0.65rem; font-weight: 800; color: #94a3b8; }
.sf-deliv span { color: #10b981; font-size: 1rem; margin-left: 0.4rem; }
.sf-btn-send-v11 { padding: 10px 24px; background: #6366f1; color: #fff; border-radius: 50px; font-weight: 800; font-size: 0.8rem; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); }

@media (max-width: 1000px) {
    .s-toolbox-v11 { display: none; }
}

/* Features */
.features { padding: 100px 0; border-top: 1px solid var(--border); background: var(--slate); }
.section-title { text-align: center; font-size: 2.25rem; color: var(--navy); font-weight: 800; margin-bottom: 5rem; letter-spacing: -0.03em; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.feature-item { padding: 4rem 2rem; background: #fff; border: 0.5px solid var(--border); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.feature-item:hover { background: #fff !important; transform: translateY(-8px); box-shadow: 0 30px 60px rgba(15,23,42,0.1); z-index: 10; }
.feature-item h3 { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.icon-wrap { color: var(--indigo); margin-bottom: 1.5rem; }
.icon-wrap svg { width: 32px; height: 32px; stroke-width: 2px; }

/* CTA */
.cta { padding: 100px 0; text-align: center; border-top: 1px solid var(--border); }
.cta h2 { font-size: 2.5rem; color: var(--navy); font-weight: 800; margin-bottom: 1rem; }
.cta p { margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer Simple & Pro */
.footer { padding: 60px 0; border-top: 1px solid var(--border); background: #fff; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.footer-left { display: flex; align-items: center; gap: 2rem; }
.copyright { font-size: 0.75rem; color: #94a3b8; }

.footer-right { display: flex; align-items: center; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.75rem; color: #64748b; font-weight: 500; transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: var(--navy); }

/* Legal Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.modal-content {
    background: #fff;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.modal-close {
    position: absolute;
    top: 1rem; right: 1.5rem;
    background: none; border: none;
    font-size: 1.5rem; color: #94a3b8;
    cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: var(--navy); }
.modal-content h2 { margin-bottom: 1.5rem; font-size: 1.5rem; color: var(--navy); font-weight: 800; }
.modal-content p { font-size: 0.875rem; color: #475569; line-height: 1.6; margin-bottom: 1rem; }
.modal-content p strong { color: var(--navy); font-weight: 600; }

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    z-index: 900;
    max-width: 500px;
    width: 90%;
}
.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.cookie-content p {
    font-size: 0.75rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}
.cookie-content strong {
    color: var(--navy);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .footer-flex { flex-direction: column; gap: 2rem; text-align: center; }
    .footer-left, .footer-right { flex-direction: column; gap: 1rem; }
}


@media (max-width: 900px) {
    .mock-grid-main { grid-template-columns: 1fr; }
    .mock-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
    .hero-title { font-size: 2.5rem; }
    .mock-sidebar { display: none; }
}
/* Pricing Overlay & Components */
.pricing-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 2000;
    overflow-y: auto;
    padding: 4rem 1.5rem;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-overlay.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.close-pricing {
    position: fixed;
    top: 2rem; right: 2rem;
    background: var(--slate);
    border: 1px solid var(--border);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2001;
    color: var(--navy); transition: all 0.2s;
}
.close-pricing:hover { background: var(--navy); color: #fff; }

.pricing-header { text-align: center; margin-bottom: 4rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.pricing-header h2 { font-size: 3rem; font-weight: 900; color: var(--navy); letter-spacing: -0.04em; margin-bottom: 1rem; }
.pricing-header p { color: var(--text-muted); font-size: 1.1rem; }

.billing-toggle-wrapper { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-bottom: 4rem; }
.billing-toggle-container { display: flex; align-items: center; background: var(--slate); padding: 4px; border-radius: 99px; border: 1px solid var(--border); position: relative; cursor: pointer; width: fit-content; }
.toggle-indicator { position: absolute; top: 4px; left: 4px; height: calc(100% - 8px); width: calc(50% - 4px); background: #fff; border-radius: 99px; box-shadow: 0 2px 8px rgba(0,0,10,0.1); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1; }
.billing-toggle-container.annual .toggle-indicator { transform: translateX(100%); }
.toggle-btn { padding: 0.6rem 2rem; border-radius: 99px; cursor: pointer; font-weight: 700; border: none; background: transparent; color: #64748b; font-size: 0.875rem; position: relative; z-index: 2; transition: color 0.2s; }
.billing-toggle-container.monthly .m-btn, .billing-toggle-container.annual .a-btn { color: var(--navy); }

.promo-badge { color: var(--indigo); font-weight: 800; font-size: 0.8rem; background: rgba(99, 102, 241, 0.1); padding: 4px 12px; border-radius: 100px; display: flex; align-items: center; gap: 6px; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto 6rem; }
.p-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3rem 2rem; display: flex; flex-direction: column; transition: all 0.3s; position: relative; }
.p-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,23,42,0.05); }
.p-card.featured { border: 2px solid var(--indigo); box-shadow: 0 20px 50px rgba(99, 102, 241, 0.12); }

.popular-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--indigo); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.p-name { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: #64748b; letter-spacing: 0.1em; margin-bottom: 1rem; }
.featured .p-name { color: var(--indigo); }
.p-price-area { margin-bottom: 2.5rem; }
.p-price { font-size: 3rem; font-weight: 900; color: var(--navy); letter-spacing: -0.02em; }
.p-period { font-size: 0.875rem; color: #64748b; font-weight: 500; }

.p-features { list-style: none; margin-bottom: 3rem; flex-grow: 1; }
.p-feature-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; }
.p-feature-item i { flex-shrink: 0; margin-top: 2px; }

.beta-tag { background: rgba(99, 102, 241, 0.1); color: var(--indigo); padding: 2px 6px; border-radius: 4px; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; margin-left: 6px; border: 1px solid rgba(99, 102, 241, 0.2); }

/* Comparison Table */
.comparison-sec { margin-top: 4rem; max-width: 1100px; margin-left: auto; margin-right: auto; }
.comparison-sec h3 { text-align: center; font-size: 1.75rem; font-weight: 800; color: var(--navy); margin-bottom: 3rem; }
.table-scroll { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow-x: auto; background: #fff; }
.c-table { width: 100%; border-collapse: collapse; min-width: 800px; text-align: left; }
.c-table th, .c-table td { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.c-table th { background: var(--slate); font-weight: 700; color: var(--navy); }
.c-table td:first-child { font-weight: 600; color: var(--navy); width: 30%; }

@media (max-width: 768px) {
    .pricing-header h2 { font-size: 2.25rem; }
    .p-card { padding: 2rem 1.5rem; }
}
