/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --background: #ffffff;
    --background-light: #f8fafc;
    --background-section: #f1f5f9;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --max-width: 1200px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-brand-text {
    margin-left: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--background-light), var(--background));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    background: var(--background);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

.hero-note {
    color: var(--text-light);
    font-size: 0.875rem;
}

.beta-seats-remaining {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--primary-color);
    min-height: 1.5em; /* Reserve space to prevent layout shift */
}

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

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: var(--background-section);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.problem-examples {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.problem-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    flex-wrap: wrap;
}

.problem-request {
    font-weight: 600;
    color: var(--text-dark);
}

.problem-arrow {
    color: var(--text-light);
}

.problem-result {
    color: var(--warning-color);
}

.problem-outcome {
    color: #dc2626;
    font-weight: 600;
}

.problem-summary {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
}

.conversation-flow {
    max-width: 600px;
    margin: 0 auto;
}

.conversation-step {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.conversation-step.ai-step {
    background: linear-gradient(135deg, #e0e7ff, #f0f9ff);
    border-color: var(--primary-color);
}

.step-type {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content {
    font-size: 1.125rem;
    color: var(--text-dark);
}

.conversation-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--text-light);
    margin: 0.5rem 0;
}

.conversation-continues {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin: 2rem 0;
}

.result-box {
    background: #d1fae5;
    color: #065f46;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    max-width: 600px;
    margin: 3rem auto 0;
}

/* Promises Section */
.promises {
    padding: 80px 0;
    background: var(--background-section);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.promise-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.promise-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.promise-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Integration Section */
.integration {
    padding: 80px 0;
}

.integration-list {
    max-width: 600px;
    margin: 2rem auto;
}

.integration-item {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 1.125rem;
}

.integration-item.available {
    background: #d1fae5;
    color: #065f46;
}

.integration-item.coming-soon {
    background: var(--background-light);
    color: var(--text-light);
}

.integration-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-feature {
    font-size: 1.125rem;
}

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

.cta-section .btn-primary:hover {
    background: var(--background-light);
}

.cta-note {
    margin-top: 2rem;
    opacity: 0.9;
}

/* CTA Section Beta Message */
.cta-section .hero-note {
    color: white !important;
    opacity: 1;
    margin-top: 1rem;
}

.cta-section .beta-seats-remaining,
.subpage-cta .beta-seats-remaining {
    color: white !important;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: var(--background-section);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .problem-item {
        font-size: 1rem;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nav-brand-text {
        font-size: 1.125rem;
    }
}
