/* Lead App Page Styles */

/* Small button for header */
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

.lead-hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start; /* Respect padding-top even on short viewports */
    justify-content: center;
    padding: 120px 0 100px 0;
    margin-top: 0;
}

/* Ensure desktop has enough height to show all content */
@media (min-width: 769px) {
    .lead-hero {
        min-height: auto;
        padding: 140px 0 150px 0;
    }
}

.lead-hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lead-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.lead-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.lead-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    text-align: center;
}

/* Form Styles */
.lead-form-container {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
}

.lead-form {
    width: 100%;
}

.form-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
}

.form-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--white);
    transition: var(--transition);
    outline: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(74, 145, 242, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input.error {
    border-color: var(--primary-red);
}

.form-submit-btn {
    padding: 1rem 2rem;
    white-space: nowrap;
    min-width: 150px;
}

.form-message {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    min-height: 1.5rem;
    text-align: center;
}

.form-message.success {
    color: var(--primary-green);
}

.form-message.error {
    color: var(--primary-red);
}

.lead-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--gray-500);
    max-width: 500px;
    text-align: center;
}

.lead-note .text-muted {
    color: var(--gray-500);
}

/* Badge spacing */
.lead-hero .hero-badge {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .lead-hero {
        padding: 120px 0 40px 0;
        min-height: auto;
    }
    
    .lead-hero-content {
        gap: 1.5rem;
    }
    
    .lead-hero .hero-badge {
        margin-bottom: 0.5rem;
    }
    
    .lead-hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .lead-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .lead-form-container {
        margin: 1rem auto;
    }
    
    .form-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-input {
        min-width: 100%;
        width: 100%;
        padding: 0.875rem 1.25rem;
    }
    
    .form-submit-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    .form-message {
        margin-top: 0.25rem;
        margin-bottom: 0;
        font-size: 0.8rem;
        min-height: 1.2rem;
    }
    
    .lead-note {
        margin-top: 1rem;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .lead-hero-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .lead-hero {
        padding: 110px 0 30px 0;
    }
    
    .lead-hero-content {
        gap: 1.25rem;
    }
    
    .lead-hero .hero-badge {
        margin-bottom: 0.25rem;
    }
    
    .lead-hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.15;
    }
    
    .lead-hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .lead-form-container {
        margin: 0.75rem auto;
    }
    
    .form-group {
        gap: 0.5rem;
    }
    
    .form-input {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .form-submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .form-message {
        margin-top: 0.25rem;
        margin-bottom: 0;
        font-size: 0.75rem;
        min-height: 1rem;
    }
    
    .lead-note {
        margin-top: 0.75rem;
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0;
    }
}

/* Privacy checkbox styles */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.form-checkbox {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-blue);
}

.form-checkbox-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

.privacy-link {
    color: var(--primary-blue);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.privacy-link:hover {
    color: var(--primary-violet);
}

@media (max-width: 768px) {
    .form-checkbox-label {
        font-size: 0.8rem;
    }
}








