/* Hero Section Styles */

/* Main Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    margin-top: 70px;
}

.hero-content {
    max-width: 1800px;
    z-index: 2;
    position: relative;
}

/* Hero Logos Section */
.hero-logos-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.hero-logos-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--fg);
}

.hero-logos-section .section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--muted);
}

.hero-logos-section .logos-grid-container {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    margin: 0 auto;
}

/* Logo image styles for SVG */
.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 6rem;
    letter-spacing: -0.02em;
    position: relative;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: all 0.3s ease;
    /* SVG styling */
    fill: currentColor;
    margin-right: 1rem;
}

.logo-image:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 10px rgba(4, 217, 255, 0.3));
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.tagline {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
}

.hero h1 {
    font-size: clamp(5.5rem, 10vw, 8.5rem);
    font-weight: 700;
    line-height: 1.02;
    margin-bottom: 6rem;
    background: linear-gradient(135deg, var(--fg) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 1600px;
    letter-spacing: -0.03em;
    text-shadow: 0 0 40px rgba(4, 217, 255, 0.1);
}

.hero p {
    font-size: 1.5rem;
    color: var(--muted);
    max-width: 900px;
    margin-bottom: 7rem;
    line-height: 1.5;
}

.cta-group {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Hero section - left align email input group */
.hero .waitlist-form {
    text-align: left !important;
    margin: 0 !important;
    max-width: none !important;
}

.hero .email-input-group {
    justify-content: flex-start !important;
    text-align: left !important;
}

/* Also ensure hero content and cta-group are left-aligned */
.hero .hero-content {
    text-align: left !important;
}

.hero .cta-group {
    text-align: left !important;
    align-items: flex-start !important;
}

/* Client Login Button in Hero */
.client-login-button-container {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3; /* Ensure it's above other hero content */
}

.client-login-button {
    display: inline-block;
    background-color: var(--accent); /* Using defined accent color */
    color: var(--bg); /* Assuming dark background for text contrast */
    padding: 0.8rem 1.5rem; /* Adjusted padding for a button look */
    font-size: 1rem; /* A reasonable font size */
    font-weight: 600; /* Make it stand out */
    text-decoration: none;
    border-radius: 6px; /* Slightly rounded corners */
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif; /* Match body font */
}

.client-login-button:hover {
    background-color: #0BC5EA; /* Lighter shade for hover, similar to other buttons */
    color: var(--bg);
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 12px rgba(4, 217, 255, 0.4); /* Glow effect */
}

/* Team Hero Section */
.team-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem 0;
    margin-top: 70px;
}

.team-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-hero h1 {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--fg) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.team-hero-subtitle {
    font-size: 1.4rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Partner Hero Section */
.partner-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    margin-top: 70px;
}

.partner-branding {
    margin-bottom: 2rem;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.partner-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.governr-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.plus-sign {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.partner-name {
    font-size: 1.5rem;
    color: var(--fg);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Responsive adjustments for hero logos section */
@media (max-width: 768px) {
    .hero-logos-section {
        margin-top: 4rem;
        padding: 2rem 0;
    }
    
    .hero-logos-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-logos-section .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-logos-section .logo-filters {
        margin-bottom: 2rem;
    }
    
    .hero-logos-section .logos-grid-container {
        padding: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-logos-section {
        margin-top: 3rem;
        padding: 1.5rem 0;
    }
    
    .hero-logos-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-logos-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-logos-section .logos-grid-container {
        padding: 1rem;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .logo-image {
        height: 50px;
        max-width: 250px;
    }
    
    .logo::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .container,
    .hero-container {
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
    }

    .logo-image {
        height: 45px;
        max-width: 200px;
    }
    
    .logo::after {
        width: 45px;
    }

    .tagline {
        font-size: 0.8rem;
        white-space: normal;
        padding: 0 0.5rem;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

    /* Stack CTA input above button */
    .email-input-group {
        flex-direction: column;
    }
    
    .email-input,
    .name-input {
        min-width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-button.main-cta {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

/* Mobile view for client login button - screens smaller than 915px */
@media (max-width: 915px) {
    .client-login-button-container {
        display: none; /* Hide client login button on mobile */
    }
    
    .client-login-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        background-color: var(--accent);
        color: var(--bg);
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        display: inline-block;
    }
    
    .client-login-button:hover {
        background-color: #0BC5EA;
        color: var(--bg);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(4, 217, 255, 0.4);
    }
    
    .logo {
        margin-bottom: 2rem;
    }
}

/* Responsive adjustments for team section */
@media (max-width: 768px) {
    .team-hero {
        min-height: 50vh;
        padding: 6rem 0 3rem 0;
    }
}

@media (max-width: 480px) {
    .team-hero {
        min-height: 40vh;
        padding: 5rem 0 2rem 0;
    }
}

/* Partner Hero Responsive */
@media (max-width: 768px) {
    .partner-logos {
        gap: 1rem;
    }
    
    .partner-logo,
    .governr-logo {
        height: 50px;
    }
    
    .plus-sign {
        font-size: 1.5rem;
    }
    
    .partner-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .partner-logos {
        gap: 0.5rem;
    }
    
    .partner-logo,
    .governr-logo {
        height: 40px;
    }
    
    .plus-sign {
        font-size: 1.2rem;
    }
    
    .partner-name {
        font-size: 1.1rem;
    }
}
