:root {
    /* Modern cyan/teal accent */
    --primary: #00D4FF;
    --primary-dark: #00B8E6;
    --primary-rgb: 0, 212, 255;
    --bg-dark: #0D0D0D;
    --bg-card: #1A1A1A;
    --bg-card-hover: #222222;
    --bg-light: #F5F5F5;
    --text-light: #FFFFFF;
    --text-muted: #999999;
    --text-dark: #0D0D0D;
    --border-dark: #2A2A2A;
    --border-light: #E5E5E5;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --radius-full: 100px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font); 
    background: var(--bg-dark); 
    color: var(--text-light); 
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.375rem; }
p { color: var(--text-muted); line-height: 1.7; }
.lead { font-size: 1.25rem; color: var(--text-muted); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    gap: 10px;
    padding: 14px 28px; 
    border-radius: var(--radius-full); 
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none; 
    transition: all var(--transition); 
    border: none; 
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary { 
    background: var(--primary); 
    color: var(--text-dark);
}
.btn-primary:hover { 
    background: var(--primary-dark);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
}
.btn-secondary { 
    background: transparent;
    color: var(--text-light); 
    border: 2px solid var(--border-dark);
}
.btn-secondary:hover { 
    border-color: var(--primary);
    color: var(--primary);
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 10px 16px;
}
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* Header */
.header {
    position: fixed; 
    top: 0; 
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13,13,13,0.9); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dark);
}
.header-inner { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 80px; 
}
.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-weight: 700; 
    font-size: 1.375rem; 
    color: var(--text-light); 
    letter-spacing: -0.02em;
}
.logo:hover { color: var(--text-light); }
.nav { display: flex; gap: 8px; }
.nav-link { 
    color: var(--text-muted); 
    font-weight: 500; 
    font-size: 0.9375rem;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition); 
}
.nav-link:hover { color: var(--text-light); background: var(--bg-card); }
.nav-link.active { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-login {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}
.header-login:hover {
    color: var(--text-light);
    background: var(--bg-card);
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--text-light);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    border: none;
}
.btn-cta:hover {
    background: var(--primary);
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}
.btn-cta svg {
    transition: transform var(--transition);
}
.btn-cta:hover svg {
    transform: translateX(3px);
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-light); margin: 5px 0; transition: var(--transition); }

/* Hero */
.hero { 
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero h1 { margin-bottom: 24px; position: relative; }
.hero .lead { 
    max-width: 640px; 
    margin: 0 auto 40px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

/* Trust badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    padding-top: 48px;
    border-top: 1px solid var(--border-dark);
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9375rem;
}
.trust-badge-icon { font-size: 1.25rem; }
.trust-badge strong { color: var(--text-light); }

/* Sections */
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.section-light { background: var(--bg-light); color: var(--text-dark); }
.section-light h2, .section-light h3, .section-light h4 { color: var(--text-dark); }
.section-light p { color: #666; }
.section-light .card { background: #fff; border-color: var(--border-light); }
.section-light .card:hover { border-color: var(--border-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { font-size: 1.125rem; }
.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
    background: var(--bg-card); 
    border: 1px solid var(--border-dark); 
    border-radius: var(--radius-lg);
    padding: 36px; 
    transition: all var(--transition);
}
.card:hover { 
    background: var(--bg-card-hover);
    border-color: var(--border-dark);
    transform: translateY(-4px);
}
.card-icon { 
    width: 56px; 
    height: 56px; 
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    border-radius: var(--radius); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 24px; 
    font-size: 26px;
}
.card h3 { margin-bottom: 12px; color: var(--text-light); }
.card p { font-size: 0.9375rem; }

/* Feature rows */
.feature-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
    padding: 80px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--border-dark); }
.feature-row:nth-child(even) { direction: rtl; }
.feature-row:nth-child(even) > * { direction: ltr; }
.feature-label { 
    color: var(--primary); 
    font-size: 0.875rem; 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.feature-content h3 { font-size: 2rem; margin-bottom: 20px; }
.feature-content > p { margin-bottom: 28px; font-size: 1.0625rem; }
.feature-list { list-style: none; }
.feature-list li { 
    padding: 12px 0 12px 36px; 
    position: relative; 
    color: var(--text-muted);
}
.feature-list li::before { 
    content: '✓'; 
    position: absolute; 
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.125rem;
}
.feature-visual { 
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg); 
    aspect-ratio: 4/3; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--text-muted);
    font-weight: 500;
    overflow: hidden;
}
.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

/* Stats */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value { 
    font-size: 3.5rem; 
    font-weight: 700; 
    color: var(--primary);
    letter-spacing: -0.03em;
    line-height: 1;
}
.stat-label { color: var(--text-muted); font-size: 1rem; margin-top: 8px; }

/* Logo grid */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition);
}
.logo-item:hover {
    border-color: var(--primary);
    color: var(--text-light);
}
.logo-item span { font-size: 1.375rem; }

/* Testimonials */
.testimonials { overflow: hidden; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.testimonial-stars { color: #FFD700; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { 
    font-size: 1rem; 
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, #A855F7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}
.testimonial-info strong { display: block; color: var(--text-light); font-size: 0.9375rem; }
.testimonial-info span { color: var(--text-muted); font-size: 0.8125rem; }

/* Pricing */
.pricing-card { text-align: center; position: relative; }
.pricing-card.featured { 
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.05) 0%, var(--bg-card) 100%);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.pricing-card > p { font-size: 0.9375rem; margin-bottom: 24px; }
.pricing-price { 
    font-size: 3rem; 
    font-weight: 700; 
    color: var(--text-light); 
    margin-bottom: 32px;
    letter-spacing: -0.03em;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-features { list-style: none; text-align: left; margin-bottom: 32px; }
.pricing-features li { 
    padding: 14px 0 14px 32px; 
    border-bottom: 1px solid var(--border-dark); 
    color: var(--text-muted);
    position: relative;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}
.pricing-features li:last-child { border: none; }

/* Integration grid */
.integration-card { 
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
    padding: 28px;
}
.integration-icon { 
    width: 52px; 
    height: 52px; 
    background: var(--bg-card-hover);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 24px; 
    flex-shrink: 0;
}
.integration-info h4 { margin-bottom: 6px; color: var(--text-light); }
.integration-info p { font-size: 0.875rem; margin: 0; }

/* Fix for light sections */
.section-light .integration-info h4 { color: var(--text-dark); }
.section-light .integration-info p { color: #666; }

/* Use cases */
.use-case { 
    padding: 56px 0; 
    border-bottom: 1px solid var(--border-dark);
}
.use-case:last-child { border: none; }
.use-case-header { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    margin-bottom: 28px;
}
.use-case-icon { 
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.use-case-header h3 { font-size: 1.5rem; }
.use-case-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.use-case-content h4 { 
    font-size: 0.8125rem; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}
.use-case-results ul { margin-left: 20px; }
.use-case-results li { color: var(--text-muted); margin-bottom: 10px; }

/* CTA */
.cta { 
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 100px 0; 
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.cta h2 { margin-bottom: 16px; position: relative; }
.cta p { color: var(--text-muted); margin-bottom: 36px; font-size: 1.125rem; position: relative; }

/* Forms */
.form-group { margin-bottom: 24px; }
.form-group label { 
    display: block; 
    font-weight: 600; 
    font-size: 0.875rem;
    margin-bottom: 10px;
    color: var(--text-light);
}
.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%; 
    padding: 16px 20px; 
    border: 1px solid var(--border-dark); 
    border-radius: var(--radius);
    font-size: 1rem; 
    font-family: inherit; 
    transition: all var(--transition);
    background: var(--bg-card);
    color: var(--text-light);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus { 
    outline: none; 
    border-color: var(--primary);
    background: var(--bg-card-hover);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.contact-info h3 { margin-bottom: 20px; }
.contact-info > p { margin-bottom: 12px; font-size: 1.0625rem; }
.contact-info a { color: var(--primary); }
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 40px;
}
.contact-card h4 { margin-bottom: 20px; color: var(--text-light); }
.contact-card ul { margin-left: 24px; }
.contact-card li { color: var(--text-muted); margin-bottom: 12px; }

/* Legal pages */
.legal { padding: 140px 0 100px; }
.legal h1 { margin-bottom: 12px; }
.legal .updated { color: var(--text-muted); margin-bottom: 48px; }
.legal h2 { font-size: 1.375rem; margin: 48px 0 20px; color: var(--text-light); }
.legal p { margin-bottom: 16px; }
.legal ul { margin: 0 0 16px 24px; }
.legal li { margin-bottom: 10px; color: var(--text-muted); }

/* Placeholder pages */
.placeholder { text-align: center; padding: 200px 24px 140px; }
.placeholder h1 { margin-bottom: 20px; }

/* Blog cards */
.blog-card { display: flex; flex-direction: column; }
.blog-card:hover h3 { color: var(--primary); }

@media (max-width: 768px) {
    .card[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .blog-featured-img { display: none !important; }
}

/* Changelog */
.changelog-entry { padding: 48px 0; border-bottom: 1px solid var(--border-dark); }
.changelog-entry:last-child { border: none; }
.changelog-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.changelog-version { 
    background: var(--primary); 
    color: var(--text-dark); 
    padding: 8px 18px; 
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9375rem;
}
.changelog-date { color: var(--text-muted); font-size: 0.9375rem; }
.changelog-entry > p { margin-bottom: 20px; color: var(--text-light); }
.changelog-entry ul { margin-left: 24px; }
.changelog-entry li { margin-bottom: 10px; color: var(--text-muted); }

/* Footer */
.footer { 
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
    padding: 80px 0 40px;
}
.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 60px; 
    margin-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-tagline { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--primary); }
.footer-col h4 { 
    font-size: 0.8125rem; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    margin-bottom: 24px; 
    color: var(--text-muted);
    font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a { color: var(--text-muted); font-size: 0.9375rem; }
.footer-col a:hover { color: var(--text-light); }
.footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: 40px; 
    border-top: 1px solid var(--border-dark);
}
.footer-bottom p { color: var(--text-muted); font-size: 0.875rem; }
.footer-legal { display: flex; gap: 32px; }
.footer-legal a { color: var(--text-muted); font-size: 0.875rem; }
.footer-legal a:hover { color: var(--text-light); }

/* Light section overrides */
.section-light .card { background: #fff; border-color: var(--border-light); }
.section-light .card:hover { background: #fff; }
.section-light .card h3 { color: var(--text-dark); }
.section-light .card-icon { background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2) 0%, rgba(var(--primary-rgb), 0.1) 100%); }
.section-light .logo-item { background: #fff; border-color: var(--border-light); color: #666; }
.section-light .logo-item:hover { border-color: var(--primary); color: var(--text-dark); }
.section-light .section-label { color: #0D0D0D; }

/* Mobile */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .hero { padding: 140px 0 80px; }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .nav { 
        display: none; 
        position: absolute; 
        top: 80px; 
        left: 0; 
        right: 0; 
        background: var(--bg-dark);
        flex-direction: column; 
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--border-dark);
    }
    .nav.open { display: flex; }
    .nav-link { padding: 14px 20px; border-radius: var(--radius); }
    .nav-toggle { display: block; }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    .header-actions .btn-cta { display: none; }
    .header-actions .header-login { display: none; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    .feature-row, 
    .feature-row:nth-child(even) { 
        grid-template-columns: 1fr; 
        direction: ltr; 
        gap: 40px;
        padding: 60px 0;
    }
    
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .use-case-content { grid-template-columns: 1fr; gap: 24px; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: span 2; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    
    .stats-row { gap: 40px; }
    .stat-value { font-size: 2.5rem; }
    
    .trust-badges { gap: 20px; }
    .trust-badge { font-size: 0.8125rem; }
}

/* ===== Checkout Page ===== */
.checkout-page {
    padding: 140px 0 80px;
    min-height: 100vh;
}
.checkout-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    max-width: 1060px;
    align-items: start;
}

/* Breadcrumb */
.checkout-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 0.8125rem;
}
.checkout-breadcrumb a { color: var(--text-muted); }
.checkout-breadcrumb a:hover { color: var(--primary); }
.checkout-breadcrumb svg { color: var(--text-muted); opacity: 0.5; }
.checkout-breadcrumb span { color: var(--text-light); font-weight: 500; }

/* Title */
.checkout-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}
.checkout-subtitle {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 36px;
    line-height: 1.6;
}
.checkout-subtitle strong { color: var(--primary); font-weight: 600; }

/* Sections */
.checkout-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-dark);
}
.checkout-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-light);
}
.checkout-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.checkout-section-desc {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin-bottom: 20px;
    margin-left: 36px;
}
.checkout-section-desc a { color: var(--primary); font-weight: 500; }

/* Form overrides inside checkout */
.checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.checkout-form .form-row:last-child { margin-bottom: 0; }

.checkout-form .form-group {
    margin-bottom: 0 !important;
}
.checkout-form .form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.checkout-form .form-group input,
.checkout-form .form-group textarea {
    width: 100%;
    padding: 11px 14px !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    background: var(--bg-dark) !important;
    border: 1px solid var(--border-dark) !important;
    color: var(--text-light);
    font-family: inherit;
    transition: all var(--transition);
}
.checkout-form .form-group input::placeholder,
.checkout-form .form-group textarea::placeholder {
    color: #555;
}
.checkout-form .form-group input:focus,
.checkout-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
    background: var(--bg-card) !important;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.06);
}
.checkout-form .form-group textarea {
    min-height: 64px;
    resize: vertical;
}
.form-optional {
    font-weight: 400;
    color: var(--text-muted);
    opacity: 0.5;
    font-size: 0.625rem;
    text-transform: none;
    letter-spacing: 0;
}

/* PayPal */
.paypal-container {
    margin-top: 16px;
    margin-left: 36px;
}

/* Alerts */
.checkout-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-top: 12px;
    margin-left: 36px;
}
.checkout-alert svg { flex-shrink: 0; margin-top: 1px; width: 16px; height: 16px; }
.checkout-alert code {
    background: rgba(255,255,255,0.08);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.75rem;
}
.checkout-alert-error {
    background: rgba(209, 52, 56, 0.06);
    border: 1px solid rgba(209, 52, 56, 0.15);
    color: #ff6b6b;
}

/* Sidebar */
.checkout-sidebar {
    position: sticky;
    top: 100px;
}
.checkout-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.checkout-summary-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-dark);
}
.checkout-summary-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Plan badge */
.checkout-plan-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}
.checkout-plan-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
    color: var(--primary);
    flex-shrink: 0;
}
.checkout-plan-details { display: flex; flex-direction: column; gap: 1px; }
.checkout-plan-name { font-weight: 600; font-size: 0.9375rem; color: var(--text-light); }
.checkout-plan-desc { font-size: 0.75rem; color: var(--text-muted); }

/* Price rows */
.checkout-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Total */
.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 0;
    margin-top: 12px;
    border-top: 1px solid var(--border-dark);
}
.checkout-total > span {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-light);
}
.checkout-total-price { display: flex; align-items: baseline; gap: 3px; }
.checkout-total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.02em;
}
.checkout-total-period {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Features */
.checkout-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark);
}
.checkout-features h4 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}
.checkout-features ul { list-style: none; }
.checkout-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.checkout-features li svg { color: var(--primary); flex-shrink: 0; width: 14px; height: 14px; }

/* Guarantee */
.checkout-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 14px;
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}
.checkout-guarantee svg { color: var(--primary); flex-shrink: 0; width: 16px; height: 16px; }

/* Trust */
.checkout-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 14px;
}
.checkout-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6875rem;
    color: var(--text-muted);
    opacity: 0.7;
}
.checkout-trust-item svg { width: 12px; height: 12px; }

/* Checkout responsive */
@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .checkout-sidebar {
        position: static;
        order: -1;
    }
    .checkout-page { padding: 120px 0 60px; }
}
@media (max-width: 600px) {
    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }
    .checkout-summary-card { padding: 20px; }
    .checkout-title { font-size: 1.375rem; }
    .checkout-section-desc,
    .paypal-container,
    .checkout-alert { margin-left: 0; }
}


/* Pricing promo styles */
.pricing-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: 400;
    margin-right: 10px;
    opacity: 0.6;
}
.pricing-promo-note {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--primary);
    text-align: center;
    font-weight: 500;
    opacity: 0.9;
}

/* Agency promo card standout */
.pricing-card-promo {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--primary) 0%, #A855F7 50%, #F97316 100%) border-box;
    position: relative;
    transform: scale(1.04);
    box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.15), 0 0 80px rgba(var(--primary-rgb), 0.05);
    z-index: 2;
}
.pricing-card-promo:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 48px rgba(var(--primary-rgb), 0.25), 0 0 100px rgba(var(--primary-rgb), 0.08);
}
.pricing-card-promo.featured {
    border: 2px solid transparent;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08) 0%, var(--bg-card) 40%) padding-box,
                linear-gradient(135deg, var(--primary) 0%, #A855F7 50%, #F97316 100%) border-box;
}
.pricing-badge-promo {
    background: linear-gradient(135deg, var(--primary) 0%, #A855F7 100%);
    color: #fff;
    font-size: 0.6875rem;
    padding: 6px 14px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.pricing-savings {
    display: inline-block;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: #4ade80;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .pricing-card-promo {
        transform: scale(1);
        order: -1;
    }
    .pricing-card-promo:hover {
        transform: translateY(-4px);
    }
}

/* Checkout promo styles */
.checkout-price-promo .checkout-discount {
    color: #4ade80;
    font-weight: 600;
}
.checkout-total-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 400;
    margin-right: 6px;
    opacity: 0.5;
}
.checkout-promo-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(74, 222, 128, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: 8px;
    font-size: 0.75rem;
    color: #4ade80;
    font-weight: 500;
}
.checkout-promo-banner svg { flex-shrink: 0; color: #4ade80; }


/* Searchable select dropdown */
.select-search {
    position: relative;
}
.select-search-input {
    width: 100%;
    cursor: text;
}
.select-search.has-value .select-search-input {
    color: var(--text-light);
}
.select-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    z-index: 50;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.select-search-dropdown.open {
    display: block;
}
.select-search-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
}
.select-search-option:hover,
.select-search-option.active {
    background: var(--bg-card-hover);
    color: var(--text-light);
}
.select-search-code {
    font-size: 0.6875rem;
    color: var(--text-muted);
    opacity: 0.6;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.select-search-empty {
    padding: 14px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}
.select-search-dropdown::-webkit-scrollbar {
    width: 6px;
}
.select-search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.select-search-dropdown::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 3px;
}
