/* Landing Page Specific Styles */

/* Ensure page scrolling works */
html, body {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.hero-grid .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-form {
    display: flex;
    align-items: flex-start;
}

.hero-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-height: 520px;
    overflow: hidden;
}

.hero-container.hero-grid {
    overflow: visible;
}

.hero-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.hero-form .hubspot-form-embed {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    height: 480px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

/* Reduce spacing after hero */
section.hero {
    padding-top: 7rem;
    padding-bottom: 2rem;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    max-height: none !important;
}

section.hero#home {
    overflow: visible !important;
}

.hero-container {
    min-height: auto !important;
    height: auto !important;
}

.hero-form-container {
    max-height: none !important;
}

.community-showcase {
    padding-top: 2rem;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.landing-nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.landing-nav .logo {
    height: 60px;
    width: auto;
}

/*Problems Section*/
.problems {
    padding-top: 4rem;
}

/* Footer */
.landing-footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.landing-footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.landing-footer .footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.landing-footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.landing-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Hide hero action buttons */
.hero-actions {
    display: none;
}

.hero-note {
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-form-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .landing-nav-container {
        height: 70px;
    }
    
    .landing-nav .logo {
        height: 50px;
    }
    
    .landing-footer {
        padding: 2rem 0 1.5rem;
    }
    
    .landing-footer .footer-logo {
        height: 40px;
    }
    
    .hero-form-container {
        padding: 1rem;
    }
    
    .hero-form-title {
        font-size: 1.25rem;
    }
}
