/**
 * BOT (Baked On Time) - Landing Page Styles
 * Brand Colors:
 * - Background: #FFF5EC (warm cream)
 * - Text: #3C2F2F (dark brown)
 * - Accent: #F8C8D6 (soft pink)
 * - White: #FFFFFF
 */

/* ========================================
   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, sans-serif;
    background-color: #FFF5EC;
    color: #3C2F2F;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title {
    font-size: 5rem; /* Increased from 4rem */
    font-weight: 900;
    margin-bottom: 2rem; /* Increased spacing */
    color: #3C2F2F;
}

.hero-subtitle {
    font-size: 1.75rem; /* Increased from 1.5rem */
    opacity: 0.8;
    margin-bottom: 3rem; /* Increased spacing */
}

.section-title {
    font-size: 3.5rem; /* Increased from 3rem */
    text-align: center;
    margin-bottom: 5rem; /* Increased spacing */
    color: #3C2F2F;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
    max-width: 1400px; /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0; /* Increased from 5rem */
}

/* Add animations and visual enhancements */

/* Smooth fade-in animation for sections */
section {
    animation: fadeIn 1.5s ease-in-out;
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, #FFF5EC, #F8C8D6);
    text-align: center;
    padding: 10rem 2rem; /* Increased from 8rem */
    min-height: 100vh; /* Increased from 90vh */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    max-width: 900px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #F8C8D6;
    color: #3C2F2F;
    box-shadow: 0 4px 12px rgba(248, 200, 214, 0.3);
}

.btn-primary:hover {
    background-color: #f5b5c9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(248, 200, 214, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #3C2F2F;
    border: 2px solid #F8C8D6;
}

.btn-secondary:hover {
    background-color: #F8C8D6;
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Add hover effects to buttons */
.btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    background-color: #FFFFFF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background-color: #FFF5EC;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(60, 47, 47, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(60, 47, 47, 0.12);
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: #F8C8D6;
    color: #3C2F2F;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #3C2F2F;
}

.feature-description {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.85;
}

/* ========================================
   PRODUCT DESCRIPTION SECTION
   ======================================== */

.product-description {
    background-color: #FFF5EC;
}

.product-text {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    opacity: 0.9;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.25rem;
    padding: 1.25rem;
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(60, 47, 47, 0.06);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

/* ========================================
   SIGNUP SECTION
   ======================================== */

.signup {
    background-color: #FFF5EC;
    text-align: center;
}

.signup-subtitle {
    font-size: 1.25rem;
    opacity: 0.75;
    margin-bottom: 3rem;
}

.waitlist-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #3C2F2F;
}

.form-input {
    width: 100%;
    padding: 1.125rem 1.5rem;
    border: 2px solid #E5D4C1;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #3C2F2F;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #F8C8D6;
}

.form-input::placeholder {
    color: #9A8A7C;
}

/* Radio Button Styling */
.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    border: 2px solid #E5D4C1;
    border-radius: 0.75rem;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #F8C8D6;
}

.radio-label input[type="radio"] {
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + span,
.radio-label:has(input[type="radio"]:checked) {
    font-weight: 600;
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: #F8C8D6;
    background-color: #FFF5EC;
}

/* ========================================
   MESSAGES
   ======================================== */

.message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.message-success {
    background-color: #D4EDDA;
    color: #155724;
    border: 2px solid #C3E6CB;
}

.message-error {
    background-color: #F8D7DA;
    color: #721C24;
    border: 2px solid #F5C6CB;
}

.message-icon {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ========================================
   LOADING SPINNER
   ======================================== */

.spinner {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 3px solid rgba(60, 47, 47, 0.2);
    border-top-color: #3C2F2F;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #3C2F2F;
    color: #FFF5EC;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: #F8C8D6;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FFF5EC;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 5rem 1.5rem;
        min-height: auto;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-label {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .benefit-item {
        font-size: 1rem;
    }

    .benefit-icon {
        font-size: 1.5rem;
    }
}

/* Add decorative divider between sections */
section + section::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #F8C8D6, #FFF5EC);
    margin: 2rem auto;
    width: 80%;
    border-radius: 2px;
}
