/**
 * Ask Bob - Marketing Site Styles
 * Enhanced with animations, glassmorphism, and modern design
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* ULTRA DARK MODE - Deepest, darkest black */
    --void-black: #000000;
    --abyss-black: #030305;
    --deep-black: #050508;
    --surface-black: #08080c;
    --card-black: #0a0a10;
    
    /* Text colors for dark mode */
    --text-dark: #f0f0f5;
    --text-light: #a0a0b0;
    --text-muted: #707080;
    
    /* Glassmorphism variables */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    --glass-blur: blur(20px);
    
    /* Legacy variable overrides for ultra-dark */
    --bg-light: var(--deep-black);
    --bg-surface: var(--surface-black);
    --bg-card: var(--glass-bg);
    --white: var(--surface-black);
    --border-color: var(--glass-border);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    /* ULTRA DARK - Deepest black gradient */
    background: linear-gradient(180deg, 
        var(--void-black) 0%, 
        var(--abyss-black) 20%, 
        var(--deep-black) 50%, 
        var(--abyss-black) 80%, 
        var(--void-black) 100%
    );
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Header */
.header {
    /* Ultra-dark glassmorphism header */
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: #667eea;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* Inline SVG Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 600px;
    z-index: 0;
    pointer-events: none;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.30;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
    color: #faf3c0;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease 0.6s both;
}

/* Single hero CTA: primary design at ~3x width with scaled typography */
.hero-cta-main {
    min-width: 540px;
    padding: 28px 56px;
    font-size: 1.875rem;
    font-weight: 600;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.hero-demo {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 1.6s ease 0.8s both;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--abyss-black);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.features h2, .section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--text-dark);
}

.features-subtitle, .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    /* Ultra-dark glassmorphism cards */
    background: rgba(10, 10, 20, 0.85) !important;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(15, 15, 30, 0.9) !important;
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25), 0 0 60px rgba(102, 126, 234, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials Section - Ultra Dark */
.testimonials {
    padding: 100px 0;
    background: var(--void-black);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(118, 75, 162, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    /* Ultra-dark glassmorphism testimonial cards */
    background: rgba(10, 10, 20, 0.85) !important;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.testimonial-card:hover {
    border-color: rgba(118, 75, 162, 0.3);
    background: rgba(15, 15, 30, 0.9) !important;
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(118, 75, 162, 0.25);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: bold;
}

.author-info h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: var(--warning-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* How It Works - Ultra Dark */
.how-it-works {
    padding: 100px 0;
    background: var(--deep-black);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 40%),
                radial-gradient(ellipse at 70% 50%, rgba(118, 75, 162, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.how-it-works h2 {
    position: relative;
    z-index: 1;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: rgba(10, 10, 20, 0.85) !important;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
    background: rgba(15, 15, 30, 0.9) !important;
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.step h3 {
    margin: 20px 0 15px;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: var(--abyss-black);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(102, 126, 234, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.pricing-card {
    /* Ultra-dark glassmorphism pricing cards */
    background: rgba(10, 10, 20, 0.85) !important;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 15, 30, 0.9) !important;
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
}

.pricing-card.featured {
    border-color: rgba(102, 126, 234, 0.5) !important;
    transform: scale(1.05);
    background: rgba(20, 15, 40, 0.95) !important;
    box-shadow: 0 8px 40px rgba(102, 126, 234, 0.3), 0 0 80px rgba(102, 126, 234, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    z-index: 10;
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.pricing-card.featured .popular-badge {
    display: none; /* Hide div if ::before is used */
}

.pricing-card:not(.featured) .popular-badge {
    display: block; /* Show div for non-featured cards if needed */
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.price-period {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1rem;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.features-list li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: start;
    gap: 10px;
}

.features-list li::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Waitlist Form */
.waitlist {
    padding: 100px 0;
    background: var(--primary-gradient);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.waitlist::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.waitlist::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.waitlist-content {
    position: relative;
    z-index: 1;
}

.waitlist-form {
    max-width: 500px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255,255,255,0.95);
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.waitlist-btn {
    width: 100%;
    background: var(--white);
    color: var(--primary-color);
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.waitlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.waitlist-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.waitlist-benefits {
    margin-top: 30px;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 2;
}

/* Footer - Ultra Dark */
.footer {
    background: var(--void-black);
    color: var(--text-dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.8;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.success { background: var(--success-color); }
.notification.error { background: var(--error-color); }
.notification.info { background: #3b82f6; }

/* Chat Widget Demo */
.chat-demo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: var(--transition-smooth);
    z-index: 1000;
    animation: pulse 2s ease-in-out infinite;
}

.chat-demo:hover {
    transform: scale(1.15);
    animation: none;
}

/* Trust Badges */
.trust-badges {
    padding: 60px 0;
    background: var(--deep-black);
    text-align: center;
    position: relative;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-badges h3 {
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.8;
}

.badge {
    font-size: 2rem;
    color: var(--text-light);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .hero-cta-main {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        padding: 22px 32px;
        font-size: 1.5rem;
    }

    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-cta-main {
        padding: 20px 24px;
        font-size: 1.25rem;
    }

    .price {
        font-size: 2.5rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ================================================
   ACCOUNT DROPDOWN STYLES
   Enterprise navigation with authenticated state
   ================================================ */

.account-dropdown {
    position: relative;
    display: inline-block;
}

.account-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-family: inherit;
    color: inherit;
}

.account-trigger:hover {
    background: rgba(102, 126, 234, 0.1);
}

.account-trigger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.user-name {
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
}

.account-trigger[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.dropdown-menu.open,
.dropdown-menu[style*="display: block"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px;
    background: var(--primary-gradient);
    color: white;
}

.dropdown-header .user-email {
    font-size: 12px;
    opacity: 0.9;
    display: block;
    margin-top: 2px;
}

.dropdown-header .user-type-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    margin: 4px 8px;
    transition: background 0.2s ease;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background: transparent;
    width: calc(100% - 16px);
    text-align: left;
    font-family: inherit;
}

.dropdown-item:hover {
    background: #f3f4f6;
}

.dropdown-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.dropdown-item.logout-btn {
    color: #dc2626;
}

.dropdown-item.logout-btn:hover {
    background: #fef2f2;
}

/* Logged-in state indicator */
.logged-in-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #059669;
}

.logged-in-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .account-dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 0;
        border-radius: 20px 20px 0 0;
        min-width: 100%;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .user-name {
        display: none;
    }
    
    .dropdown-arrow {
        display: none;
    }
}

/* Dark mode support (if enabled) */
@media (prefers-color-scheme: dark) {
    .dropdown-menu {
        background: #1f2937;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    
    .dropdown-item {
        color: #e5e7eb;
    }
    
    .dropdown-item:hover {
        background: #374151;
    }
    
    .dropdown-divider {
        background: #374151;
    }
    
    .dropdown-item.logout-btn {
        color: #f87171;
    }
    
    .dropdown-item.logout-btn:hover {
        background: rgba(220, 38, 38, 0.1);
    }
}

/* ============================================
   INDUSTRY HUB & PILLAR PAGES
   ============================================ */

/* Industry Hub Grid */
.industry-hub {
    padding: 80px 0;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.industry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.1);
}

.industry-card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.industry-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.industry-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

/* Industry Pillar Page Hero */
.pillar-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    text-align: center;
}

.pillar-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pillar-hero .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 32px;
}

/* Pain Points Section */
.pain-points {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.pain-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pain-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.pain-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #ffffff;
}

.pain-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .pain-grid {
        grid-template-columns: 1fr;
    }
}

/* How It Works Steps */
.how-it-works-pillar {
    padding: 60px 0;
}

.steps-horizontal {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-top: 40px;
}

.step-horizontal {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-horizontal::after {
    content: '→';
    position: absolute;
    right: -24px;
    top: 40px;
    font-size: 24px;
    color: rgba(102, 126, 234, 0.5);
}

.step-horizontal:last-child::after {
    display: none;
}

.step-number-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

@media (max-width: 768px) {
    .steps-horizontal {
        flex-direction: column;
    }
    
    .step-horizontal::after {
        display: none;
    }
}

/* Example Flows */
.example-flows {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.2);
}

.flow-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.flow-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.flow-card h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flow-conversation {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flow-message {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
}

.flow-message.user {
    background: rgba(102, 126, 234, 0.2);
    align-self: flex-end;
    max-width: 85%;
}

.flow-message.bot {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    max-width: 85%;
}

@media (max-width: 768px) {
    .flow-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PROOF STATUS BADGES
   ============================================ */

.proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.proof-proven {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.proof-progress {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.proof-planned {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Feature list with proof badges */
.feature-with-proof {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-with-proof:last-child {
    border-bottom: none;
}

.feature-info {
    flex: 1;
}

.feature-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   ROI CALCULATOR
   ============================================ */

.roi-calculator {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
}

.roi-calculator h3 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.roi-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.roi-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roi-input-group label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.roi-input-group input,
.roi-input-group select {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
}

.roi-input-group input:focus,
.roi-input-group select:focus {
    outline: none;
    border-color: #667eea;
}

.roi-result {
    text-align: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.roi-result p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.roi-amount {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roi-annual {
    display: block;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

@media (max-width: 768px) {
    .roi-inputs {
        grid-template-columns: 1fr;
    }
    
    .roi-amount {
        font-size: 36px;
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-section {
    padding: 60px 0;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h3 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-category h3::before {
    content: attr(data-icon);
    font-size: 28px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question:hover {
    color: #667eea;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.faq-answer-content a {
    color: #667eea;
    text-decoration: none;
}

.faq-answer-content a:hover {
    text-decoration: underline;
}

/* ============================================
   PROOF CENTER PAGE
   ============================================ */

.proof-center {
    padding: 80px 0;
}

.proof-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.proof-table th,
.proof-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-table th {
    background: rgba(102, 126, 234, 0.1);
    font-weight: 600;
    color: #ffffff;
}

.proof-table td {
    color: rgba(255, 255, 255, 0.8);
}

.proof-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}

.proof-link {
    color: #667eea;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.proof-link:hover {
    text-decoration: underline;
}

/* Build info */
.build-info {
    display: flex;
    gap: 24px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 40px;
}

.build-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.build-info-item strong {
    color: #ffffff;
}

/* ============================================
   CHANGELOG TIMELINE
   ============================================ */

.changelog-timeline {
    position: relative;
    padding-left: 40px;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.changelog-entry {
    position: relative;
    margin-bottom: 40px;
}

.changelog-entry::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid #1a1a2e;
}

.changelog-date {
    font-size: 14px;
    color: #667eea;
    margin-bottom: 8px;
}

.changelog-entry h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.changelog-entry ul {
    list-style: none;
    padding: 0;
}

.changelog-entry li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.changelog-entry li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
    padding: 16px 0;
    font-size: 14px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #667eea;
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

.breadcrumbs .current {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   DARK MODE ENFORCEMENT (All Marketing Pages)
   ============================================ */

/* Ensure all sections have dark backgrounds */
section {
    background-color: transparent;
    color: #e5e7eb;
}

/* Pain points section - dark card styling */
.pain-points {
    background: rgba(15, 23, 42, 0.8);
}

.pain-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.pain-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(102, 126, 234, 0.3);
}

.pain-item h4 {
    color: #ffffff;
    margin-bottom: 8px;
}

.pain-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Feature sections */
.feature-info h4 {
    color: #ffffff;
}

.feature-info p {
    color: rgba(255, 255, 255, 0.7);
}

/* Example flows */
.example-flows {
    background: rgba(15, 23, 42, 0.6);
    padding: 60px 0;
}

.example-flows h2 {
    color: #ffffff;
}

/* How it works sections */
.how-it-works-pillar {
    background: rgba(15, 23, 42, 0.8) !important;
}

.how-it-works-pillar h2,
.how-it-works-pillar h3 {
    color: #ffffff;
}

.how-it-works-pillar p {
    color: rgba(255, 255, 255, 0.8);
}

.step-horizontal {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.step-number-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 16px;
}

/* ROI Calculator dark styling */
.roi-calculator {
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.roi-calculator h3 {
    color: #ffffff;
}

.roi-calculator label {
    color: rgba(255, 255, 255, 0.8);
}

.roi-calculator input,
.roi-calculator select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
}

.roi-calculator input:focus,
.roi-calculator select:focus {
    border-color: #667eea;
    outline: none;
}

.roi-result {
    color: rgba(255, 255, 255, 0.8);
}

.roi-amount {
    color: #10b981;
    font-size: 36px;
    font-weight: 700;
}

/* FAQ section dark styling */
.faq-section {
    background: rgba(15, 23, 42, 0.8);
}

.faq-section h2 {
    color: #ffffff;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    background: transparent;
    border: none;
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 20px 20px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.faq-answer-content a {
    color: #667eea;
}

/* CTA sections */
section h2 {
    color: #ffffff;
}

section p {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer dark styling */
footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h4 {
    color: #ffffff;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: #667eea;
}

/* Proof badges */
.proof-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.proof-progress {
    background: rgba(102, 126, 234, 0.15);
    color: #818cf8;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.proof-planned {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.proof-proven {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-large {
    padding: 16px 36px;
    font-size: 17px;
}

/* Pillar hero dark styling */
.pillar-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    padding: 100px 0 60px;
    text-align: center;
}

.pillar-hero h1 {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.pillar-hero .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Nav container for pillar pages */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-container .logo-icon {
    font-size: 28px;
}

.nav-container .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.nav-container .nav-links {
    display: flex;
    gap: 28px;
}

.nav-container .nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-container .nav-link:hover,
.nav-container .nav-link.active {
    color: #667eea;
}

.nav-actions .btn {
    padding: 10px 20px;
}

/* ===== Waitlist CTA section (above footer) ===== */
.waitlist-cta {
    padding: 80px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--abyss-black) 0%, var(--void-black) 100%);
    border-top: 1px solid var(--glass-border);
}
.waitlist-cta .container {
    max-width: 720px;
}
.waitlist-cta h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.25;
    color: var(--text-dark);
}
.waitlist-cta-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}
.waitlist-cta-copy {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
}
.waitlist-cta-actions {
    margin-bottom: 20px;
}
.waitlist-cta-btn {
    display: inline-block;
    padding: 24px 56px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.waitlist-cta-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
}
.waitlist-cta-note {
    font-size: 15px;
    color: var(--text-muted);
}

/* ===== Waitlist Modal (popup) ===== */
.waitlist-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.waitlist-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}
.waitlist-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}
.waitlist-modal-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--surface-black);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--glass-shadow);
}
.waitlist-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 28px;
    line-height: 1;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.waitlist-modal-close:hover {
    color: var(--text-dark);
}
.waitlist-modal-title {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.waitlist-modal-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.waitlist-popup-form .form-group {
    margin-bottom: 16px;
}
.waitlist-popup-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-light);
}
.waitlist-popup-form input[type="text"],
.waitlist-popup-form input[type="email"],
.waitlist-popup-form input[type="url"],
.waitlist-popup-form select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-dark);
    font-size: 16px;
}
.waitlist-popup-form input:focus,
.waitlist-popup-form select:focus {
    outline: none;
    border-color: #667eea;
}
.human-check-group { margin-top: 12px; }
.human-check-label, .consent-label-popup {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
}
.human-check-label input, .consent-label-popup input { margin-top: 3px; }
.consent-group-popup { margin-bottom: 16px; }
.consent-group-popup a { color: #667eea; }
.waitlist-popup-error {
    font-size: 14px;
    color: var(--error-color);
    margin-bottom: 12px;
    min-height: 20px;
}
.waitlist-popup-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: var(--primary-gradient);
    color: white;
    transition: transform 0.2s, opacity 0.2s;
}
.waitlist-popup-btn:hover { transform: translateY(-1px); }
.waitlist-popup-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.waitlist-modal-success h3 {
    font-size: 22px;
    color: #10b981;
    margin-bottom: 12px;
}
.waitlist-modal-success p {
    color: var(--text-light);
    font-size: 16px;
}
#waitlistHoneypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

