/* ===========================
   CSS Reset & Base Styles
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: #2563EB;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1E40AF;
}

/* ===========================
   Layout Utilities
   =========================== */

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

.section-heading {
    text-align: center;
    font-size: 1.875rem;
    margin-bottom: 3rem;
    color: #1F2937;
}

.hidden {
    display: none;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2563EB 0%, #10B981 100%);
    color: white;
    padding: 2rem 1.5rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero h2 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* ===========================
   CTA Buttons
   =========================== */

.cta-button {
    display: inline-block;
    background-color: #F97316;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #EA580C;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.cta-button:active {
    transform: translateY(0);
}

/* ===========================
   Benefits Section
   =========================== */

.benefits {
    padding: 5rem 0;
    background-color: #F9FAFB;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: #2563EB;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card p {
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===========================
   How It Works Section
   =========================== */

.how-it-works {
    padding: 5rem 0;
    background-color: #F3F4F6;
}

.how-it-works-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #1F2937;
}

.steps-list {
    text-align: left;
    max-width: 500px;
    margin: 2rem auto;
    padding-left: 1.5rem;
}

.steps-list li {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #4B5563;
    line-height: 1.7;
}

.conclusion-text {
    font-size: 1.125rem;
    margin-top: 2rem;
    color: #1F2937;
    font-weight: 600;
    margin-bottom: 0;
}

/* ===========================
   Founder Story Section
   =========================== */

.founder-story {
    padding: 5rem 0;
    background-color: #FEF3C7;
}

.founder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.founder-image {
    flex-shrink: 0;
}

.founder-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.founder-text {
    text-align: center;
}

.founder-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1F2937;
    margin-bottom: 1.5rem;
}

.founder-text p:last-child {
    margin-bottom: 0;
}

/* ===========================
   Final CTA Section
   =========================== */

.final-cta {
    padding: 5rem 0;
    background-color: #1F2937;
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-subtext {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* ===========================
   Form Styles
   =========================== */

.signup-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    background-color: white;
    color: #1F2937;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563EB;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.signup-form .cta-button {
    width: 100%;
    margin-top: 1rem;
    min-height: 48px;
}

/* ===========================
   Footer
   =========================== */

.footer {
    padding: 2rem 0;
    background-color: #111827;
    color: #9CA3AF;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer a {
    color: #10B981;
}

.footer a:hover {
    color: #059669;
}

/* ===========================
   Tablet Styles (768px+)
   =========================== */

@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1.125rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .section-heading {
        font-size: 2.25rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .founder-content {
        flex-direction: row;
        text-align: left;
    }

    .founder-text {
        text-align: left;
    }

    .founder-image img {
        width: 280px;
        height: 280px;
    }
}

/* ===========================
   Desktop Styles (1024px+)
   =========================== */

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .section-heading {
        font-size: 2.5rem;
    }

    .benefits {
        padding: 6rem 0;
    }

    .how-it-works {
        padding: 6rem 0;
    }

    .founder-story {
        padding: 6rem 0;
    }

    .final-cta {
        padding: 6rem 0;
    }

    .founder-image img {
        width: 320px;
        height: 320px;
    }

    .benefits-grid {
        gap: 2.5rem;
    }

    .benefit-card {
        padding: 2.5rem;
    }
}

/* ===========================
   Accessibility
   =========================== */

.cta-button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
