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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
    height: 79px;
    padding: 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 100;
}

.logo {
    width: 240px;
    height: 40px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    text-align: center;
    padding-top: 109px;
    padding-bottom: 40px;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 auto 16px;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto 24px;
}

.btn-primary {
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 100px;
    padding: 14px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #333;
}

/* Single Hero Image Container */
.hero-image-container {
    margin-top: 40px;
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.hero-full-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    content: url('assets/hero-grid.jpg');
}

/* Sections */
.section {
    padding: 120px 0;
    border-top: 1px solid #eaeaea;
}

.section-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-top: 8px;
}

.section-content h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.section-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 24px;
    max-width: 660px;
}

.section-content ul {
    font-size: 18px;
    line-height: 1.6;
    margin: 24px 0 24px 24px;
    color: #4a4a4a;
    max-width: 660px;
}

.section-content li {
    margin-bottom: 12px;
}

/* Waitlist Section */
.waitlist {
    background-color: #f9f9f9;
    text-align: center;
}

/* Remove yellow autocomplete background */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #333 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.waitlist h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.waitlist > .container > p {
    color: #666;
    margin-bottom: 32px;
}

.waitlist-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2d3a2e;
}

.waitlist-form .btn {
    width: 100%;
    margin-top: 8px;
}

.form-message {
    margin-top: 16px;
    font-weight: 500;
}

.form-message.success {
    color: #2d7a2e;
}

.form-message.error {
    color: #d32f2f;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 36px;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .section-label {
        margin-bottom: 0;
        font-size: 11px;
    }

    .section-content h2 {
        font-size: 28px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header {
        height: 64px;
    }
    
    .logo {
        width: 180px;
        height: auto;
    }

    .hero {
        padding-top: 88px; /* 64px header + 24px gap */
        padding-bottom: 32px;
    }
    
    .hero-full-img {
        content: url('assets/hero-grid-mobile.jpg');
    }

    .hero h1 {
        font-size: 26px; /* Smaller to fit on one line per break */
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
        padding: 0 8px;
    }
    
    /* Hide desktop line breaks in subtitle so text flows naturally */
    .hero-subtitle br {
        display: none;
    }

    .btn-primary {
        width: auto; /* Revert full width to match Figma pill */
        min-width: 180px;
        padding: 12px 24px;
    }

    .hero-image-container {
        margin-top: 32px;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }

    .section {
        padding: 40px 0; /* Compact padding */
    }

    /* Hierarchy Fix: Label becomes the main header, H2 becomes sub-text */
    .section-label {
        font-size: 14px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .section-content h2 {
        font-size: 16px; /* Drastically reduced from 22px to fit one line */
        font-weight: 500; /* Lighter weight */
        color: #555; /* Lighter color */
        margin-bottom: 16px;
        line-height: 1.4;
    }
    
    .section-content p {
        font-size: 14px; /* Reduced from 16px */
        line-height: 1.5;
        margin-bottom: 12px;
        color: #666; /* Slightly lighter to match design lightness */
    }

    /* Host List: Restore bullets for mobile */
    .section-content ul {
        font-size: 14px;
        line-height: 1.5;
        list-style: disc; /* Restore bullets */
        padding-left: 20px; /* Indent for bullets */
        margin: 12px 0;
    }

    .section-content li {
        margin-bottom: 12px;
    }
    
    .waitlist-form {
        width: 100%;
        max-width: 100%;
    }

    .waitlist h2 {
        font-size: 24px; /* Smaller waitlist header */
    }
}
