/* Hero Styles */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 120px); /* Use most of viewport height minus header */
    height: auto;
    margin-top: 40px;
    margin-bottom: clamp(100px, 20vh, 300px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-background {
    position: relative;
    width: clamp(85%, 90%, 95%);
    max-width: 1200px;
    height: auto;
    z-index: 2;
    margin: 0 auto;
    transform: translateY(clamp(-50px, -8vh, -100px)); /* Overlap with content above */
}

.hero-background-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.hero-background-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    object-fit: cover;
}

.hero-overlay {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 60vh;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 8vh, 80px) 20px;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text {
    max-width: 1100px;
    text-align: center;
}

.hero-logo {
    margin-bottom: -40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 72px);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-family: 'Fraunces', sans-serif;
    font-weight: 200;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Hero waitlist form styles */
.hero-waitlist-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    margin: 2rem auto 0;
    gap: 16px;
}

.hero-waitlist-input-group {
    display: flex;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-waitlist-input-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.hero-waitlist-input {
    padding: 18px 24px;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.hero-waitlist-input.name-input {
    flex: 0.4;
    border-radius: 12px 0 0 12px;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.hero-waitlist-input.email-input {
    flex: 1;
    border-radius: 12px 0 0 12px;
}

.hero-waitlist-input:focus {
    box-shadow: inset 0 0 0 2px rgba(0,82,204,0.3);
}

.hero-waitlist-input:disabled {
    background-color: #f5f5f5;
    opacity: 0.7;
    cursor: not-allowed;
}

.hero-waitlist-btn {
    padding: 18px 32px;
    background-color: #027dfd;
    color: white;
    border: none;
    border-radius: 0 12px 12px 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    flex-shrink: 0;
}

.hero-waitlist-btn:hover {
    background-color: #3730A3;
    transform: none;
    box-shadow: none;
}

.hero-waitlist-btn:disabled {
    background-color: #027bfc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hero-waitlist-error {
    color: #e53e3e;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    background-color: rgba(229, 62, 62, 0.1);
    padding: 10px 16px;
    border-radius: 8px;
    border-left: 4px solid #e53e3e;
}

/* Action buttons styles */
.action-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    border-radius: 50px;
    font-family: 'Fraunces', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    border: 2px solid rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background-color: black;
    border-color: black;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Mobile responsive adjustments for hero */
@media (max-width: 1024px) {
    .hero {
        min-height: calc(100vh - 80px);
        margin-top: 80px;
        margin-bottom: clamp(50px, 15vh, 150px);
    }
    
    .hero-overlay {
        padding: clamp(30px, 6vh, 50px) 20px;
        min-height: 50vh;
        align-items: center;
    }
    
    .hero-background {
        width: 90%;
        transform: translateY(clamp(-30px, -5vh, -60px));
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-logo {
        width: 120px;
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
        line-height: 1.4;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .action-buttons {
        gap: 15px;
        margin-top: 1.5rem;
        margin-bottom: 0;
    }
    
    .btn {
        padding: 16px 32px;
        font-size: 1rem;
        border-radius: 40px;
    }
    
    /* Hero waitlist form mobile styles */
    .hero-waitlist-form {
        max-width: 100%;
        margin: 1.5rem auto 0;
    }
    
    .hero-waitlist-input-group {
        flex-direction: row;
    }
    
    .hero-waitlist-input.email-input {
        flex: 1;
        border-radius: 12px 0 0 12px;
    }
    
    .hero-waitlist-btn {
        padding: 16px 28px;
        font-size: 0.95rem;
    }
}

/* Tablet specific adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 60px);
        margin-top: 60px;
        margin-bottom: clamp(40px, 10vh, 80px);
    }
    
    .hero-overlay {
        padding: clamp(25px, 5vh, 40px) 20px;
        min-height: 45vh;
    }
    
    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 1.8rem;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Improve form for tablets */
    .hero-waitlist-form {
        max-width: 90%;
    }
    
    .hero-waitlist-input-group {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-waitlist-input.email-input {
        border-radius: 12px 12px 0 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .hero-waitlist-btn {
        border-radius: 0 0 12px 12px;
        padding: 18px 32px;
    }
}

/* Large mobile phones */
@media (max-width: 640px) {
    .hero {
        min-height: calc(100vh - 50px);
        margin-top: 50px;
        margin-bottom: clamp(35px, 8vh, 60px);
    }
    
    .hero-overlay {
        padding: clamp(20px, 4vh, 30px) 18px;
        min-height: 40vh;
    }
    
    .hero h1 {
        font-size: clamp(1.9rem, 5.5vw, 2.2rem);
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: clamp(1rem, 3.5vw, 1.1rem);
        margin-bottom: 1.6rem;
        max-width: 92%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-waitlist-form {
        max-width: 92%;
    }
    
    .hero-waitlist-input-group {
        flex-direction: column;
    }
    
    .hero-waitlist-input.email-input {
        border-radius: 12px 12px 0 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .hero-waitlist-btn {
        border-radius: 0 0 12px 12px;
        padding: 17px 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: calc(100vh - 40px);
        margin-top: 40px;
        margin-bottom: clamp(30px, 6vh, 50px);
    }
    
    .hero-overlay {
        padding: clamp(15px, 3vh, 25px) 2vw;
        max-width: 95vw;
        min-height: 35vh;
        align-items: center;
    }
    
    .hero-background {
        width: 85%;
        transform: translateY(clamp(-20px, -3vh, -40px));
    }
    
    .hero-logo {
        width: 100px;
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .action-buttons {
        margin-top: 1.2rem;
        margin-bottom: 0;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    /* Hero waitlist form mobile styles for 480px */
    .hero-waitlist-form {
        margin: 1.2rem auto 0;
        gap: 0;
        max-width: 95%;
    }
    
    .hero-waitlist-input-group {
        flex-direction: column;
    }
    
    .hero-waitlist-input {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    
    .hero-waitlist-input.email-input {
        border-radius: 12px 12px 0 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .hero-waitlist-btn {
        padding: 16px 24px;
        font-size: 0.9rem;
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 360px) {
    .hero {
        min-height: calc(100vh - 30px);
        margin-top: 30px;
        margin-bottom: clamp(30px, 5vh, 60px);
    }
    
    .hero-overlay {
        padding: clamp(10px, 2vh, 20px) 15px;
        min-height: 30vh;
    }
    
    .hero-logo {
        width: 90px;
    }
    
    .hero h1 {
        font-size: clamp(1.6rem, 8vw, 1.8rem);
        line-height: 1.0;
    }
    
    .hero p {
        font-size: clamp(0.9rem, 4vw, 0.95rem);
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }
    
    .btn {
        max-width: 240px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Ultra-compact form for very small screens */
    .hero-waitlist-form {
        max-width: 100%;
    }
    
    .hero-waitlist-input {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    
    .hero-waitlist-btn {
        padding: 14px 20px;
        font-size: 0.85rem;
    }
}

 