/* ==========================================
   Content AI Toolbox - Marketing Website Styles
   Extracted from production agent.html
   ========================================== */

/* ==========================================
   CSS RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Brand Colors */
    --primary-green: #2E7D32;
    --primary-green-light: #43A047;
    --gradient-primary: linear-gradient(135deg, #2E7D32 0%, #43A047 100%);

    /* Neutral Colors */
    --neutral-dark: #1d2c3a;
    --neutral-light: #f7f9fc;
    --neutral-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;

    /* Accent Colors */
    --accent-blue: #69b2c2;
    --success-green: #4e7339;
    --error-red: #cc3333;

    /* Spacing Scale (8px base unit) */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.subheadline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.muted {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.centered {
    text-align: center;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 14px 32px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.btn-primary.btn-large {
    padding: 18px 48px;
    font-size: 18px;
    border-radius: 30px;
}

.btn-primary.btn-small {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 20px;
}

/* ==========================================
   LAYOUT SECTIONS
   ========================================== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--spacing-md);
}

.section-gray {
    background: var(--neutral-light);
}

/* Ensure first section accounts for fixed nav */
.hero-header {
    margin-top: 72px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-3xl) var(--spacing-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-header h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.proof-line {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: var(--spacing-lg);
    font-weight: 500;
}

/* ==========================================
   COMPARISON GRID
   ========================================== */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.comparison-item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.comparison-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.comparison-item h3 {
    color: var(--primary-green);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.comparison-item p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

/* ==========================================
   STEPS GRID (How It Works)
   ========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.step {
    text-align: center;
    padding: var(--spacing-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-green);
}

.step p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================
   SCREENSHOTS
   ========================================== */
.screenshot {
    width: 100%;
    max-width: 900px;
    margin: var(--spacing-xl) auto 0;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.screenshots-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s;
}

.screenshots-grid img:hover {
    transform: scale(1.02);
}

/* ==========================================
   TWO COLUMN LAYOUT
   ========================================== */
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
    margin-top: var(--spacing-xl);
}

.column img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ==========================================
   FEATURE LIST
   ========================================== */
.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.feature-list li {
    padding: var(--spacing-sm) 0;
    font-size: 1.125rem;
    line-height: 1.6;
    border-bottom: 1px solid #e0e0e0;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: var(--primary-green);
}

/* ==========================================
   PRICING CARD
   ========================================== */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-xl);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: var(--spacing-xl) auto;
    text-align: center;
}

.pricing-card p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.revenue-projection {
    font-size: 2rem !important;
    font-weight: 700;
    color: var(--primary-green);
    margin: var(--spacing-lg) 0;
}

.disclaimer {
    font-size: 0.9rem !important;
    color: var(--text-muted);
    font-style: italic;
    margin-top: var(--spacing-sm);
}

/* ==========================================
   CHECKLIST
   ========================================== */
.checklist {
    max-width: 700px;
    margin: var(--spacing-xl) auto;
}

.check-item {
    background: white;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border-radius: 8px;
    font-size: 1.125rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.check-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-3xl) var(--spacing-md);
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.cta-subtext {
    margin-top: var(--spacing-lg);
    font-size: 1rem;
    opacity: 0.9;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--neutral-dark);
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-header h1 {
        font-size: 2.25rem;
    }

    .section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .comparison-grid,
    .steps-grid,
    .two-column,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .btn-primary.btn-large {
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .section {
        padding: var(--spacing-2xl) var(--spacing-md);
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.py-xl {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}
