/* PetFinder AI Landing Page Styles */

:root {
    --primary: #E8923A;
    --primary-dark: #D17F2D;
    --bg-cream: #FDF6EC;
    --bg-white: #FFFFFF;
    --text-dark: #2D2D2D;
    --text-medium: #5A5A5A;
    --text-light: #8A8A8A;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Header */
.header {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.header-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.header-link:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    padding: 48px 0 32px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subhead {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 28px;
    max-width: 480px;
}

.form-section {
    margin-top: 8px;
}

.form-headline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.hero-image img {
    width: 100%;
    max-width: 580px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Problem Section */
.problem {
    padding: 48px 0 64px;
    background: var(--bg-white);
}

.section-eyebrow {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.problem h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-cream);
    padding: 28px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card.stat-urgent {
    background: var(--primary);
    color: white;
}

.stat-card.stat-urgent .stat-number,
.stat-card.stat-urgent .stat-label {
    color: white;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-medium);
}

.problem-text {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

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

.how-it-works h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step {
    text-align: center;
    background: var(--bg-white);
    padding: 28px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Testimonial */
.testimonial {
    padding: 48px 0;
    background: var(--primary);
    text-align: center;
}

.testimonial blockquote {
    font-size: 1.4rem;
    font-weight: 500;
    color: white;
    font-style: italic;
    max-width: 650px;
    margin: 0 auto 16px;
    line-height: 1.4;
}

.testimonial cite {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
}

/* Final CTA */
.final-cta {
    padding: 64px 0;
    background: var(--bg-white);
    text-align: center;
}

.final-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-subhead {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 28px;
}

.social-proof {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-top: 16px;
}

.launch-info {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    padding: 28px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Tally form embed */
.tally-embed {
    max-width: 400px;
}

.tally-embed iframe {
    border-radius: 8px;
}

.tally-centered {
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subhead {
        max-width: 100%;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    .tally-embed {
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .steps {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 32px 0 24px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .problem h2,
    .how-it-works h2,
    .final-cta h2 {
        font-size: 1.75rem;
    }
    
    .testimonial blockquote {
        font-size: 1.15rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
