/* Lead Generation Hero Page Styles */

.lead-generation-hero {
    background: #121212 url('/assets/img/backgrounds/main-hero-3.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Second Hero Section - Side by Side Layout */
.second-lead-generation-hero {
    background: #121212 url('/assets/img/backgrounds/main-hero-3.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.second-lead-generation-hero .container {
    position: relative;
    z-index: 2;
}

.lead-generation-hero .container {
    position: relative;
    z-index: 2;
}

.lead-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.lead-hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lead-hero-title .text-primary {
    color: var(--color-white) !important;
    /* font-weight: 600 !important; */
}

.lead-hero-title .text-white {
    color: #ffffff !important;
}

.lead-hero-description {
    font-size: 1.25rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Second Hero - Left Side Styling */
.second-lead-generation-hero .lead-hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.second-lead-generation-hero .lead-hero-description {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: none;
}

/* Second Hero - Right Side Form Styling */
.second-lead-generation-hero .lead-capture-form {
    margin-top: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.second-lead-generation-hero .lead-capture-form:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.second-lead-generation-hero .lead-form-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.second-lead-generation-hero .lead-hero-description {
    margin-inline: 0 !important;
}

/* Align form to bottom on large screens and up */
@media (min-width: 992px) {
    .second-lead-generation-hero .row {
        align-items: flex-end !important;
    }
}

/* Hero Circles Styling - Profile Picture Style */
.second-lead-generation-hero .hero-circles {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    gap: -10px; /* Overlap the circles */
}

.second-lead-generation-hero .hero-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: -10px; /* Overlap effect */
    position: relative;
    z-index: 1;
    overflow: hidden;
    filter: grayscale(75%);
}

.second-lead-generation-hero .hero-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    z-index: 1;
}

.second-lead-generation-hero .hero-circle:first-child {
    margin-left: 0;
}

.second-lead-generation-hero .hero-circle-1 {
    background-image: url('/assets/img/backgrounds/abstract-red-1.png');
}

.second-lead-generation-hero .hero-circle-2 {
    background-image: url('/assets/img/backgrounds/abstract-purple-1.png');
}

.second-lead-generation-hero .hero-circle-3 {
    background-image: url('/assets/img/backgrounds/abstract-blue-1.png');
}

.second-lead-generation-hero .hero-circle-4 {
    background-image: url('/assets/img/backgrounds/abstract-yellow-1.png');
}

.second-lead-generation-hero .hero-circle-5 {
    background-image: url('/assets/img/backgrounds/abstract-orange-1.png');
}

.second-lead-generation-hero .lead-form-instruction {
    text-align: left;
    margin-bottom: 1.5rem;
}

.second-lead-generation-hero .lead-form-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.second-lead-generation-hero .lead-input {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid #404040 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

.second-lead-generation-hero .lead-input::placeholder {
    color: #a0a0a0 !important;
}

.second-lead-generation-hero .lead-input:focus {
    border: 1px solid #ffffff !important;
    box-shadow: none !important;
    background: rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
}

/* Fix autocomplete/suggestion styling for second hero */
.second-lead-generation-hero .lead-input:-webkit-autofill,
.second-lead-generation-hero .lead-input:-webkit-autofill:hover,
.second-lead-generation-hero .lead-input:-webkit-autofill:focus,
.second-lead-generation-hero .lead-input:-webkit-autofill:active {
    background-color: rgba(0, 0, 0, 0.2) !important;
    background-image: none !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.2) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    -webkit-background-clip: text !important;
    transition: background-color 5000s ease-in-out 0s;
    color: #ffffff !important;
}

.second-lead-generation-hero .lead-submit-btn {
    width: 100%;
    margin-left: 0;
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
}

.second-lead-generation-hero .lead-privacy-text {
    color: #a0a0a0;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.4;
}

/* Center confirmation messages in second hero form */
.second-lead-generation-hero .lead-capture-form .lead-form-message {
    text-align: center !important;
    margin: 1rem auto 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Background Blobs for Form */
.form-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.form-blob-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.5);
    top: -20px;
    left: -30px;
    animation-delay: 0s;
}

.form-blob-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    top: 50%;
    right: -20px;
    animation-delay: 2s;
}

.form-blob-3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.06);
    bottom: -30px;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.lead-capture-form {
    margin-top: 2rem;
}

.lead-form-instruction {
    color: #a0a0a0;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1rem;
}

.lead-form-container {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #404040;
    border-radius: 25px;
    padding: 0.25rem;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.lead-form-container:focus-within {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}


.lead-input {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 1rem !important;
    flex: 1;
    outline: none !important;
    transition: all 0.3s ease;
}

.lead-input::placeholder {
    color: #a0a0a0 !important;
}

.lead-input:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Fix autocomplete/suggestion styling */
.lead-input:-webkit-autofill,
.lead-input:-webkit-autofill:hover,
.lead-input:-webkit-autofill:focus,
.lead-input:-webkit-autofill:active {
    background: transparent !important;
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

.lead-submit-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 0.5rem 1.25rem !important;
    text-transform: none !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    min-width: 140px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0.25rem;
}

.lead-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.lead-submit-btn:hover::before {
    left: 100%;
}

.lead-submit-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lead-generation-page .lead-submit-btn:hover iconify-icon {
    transform: translateX(3px) !important;
    transition: transform 0.3s ease !important;
}

.lead-generation-page .lead-submit-btn iconify-icon {
    transition: transform 0.3s ease !important;
    display: inline-block;
}

.lead-submit-btn:active {
    transform: translateY(0) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lead-hero-title {
        font-size: 2.5rem;
    }
    
    .lead-hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .lead-form-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .lead-input {
        min-width: auto;
        width: 100%;
    }
    
    .lead-submit-btn {
        width: 100%;
        margin-left: 0;
    }
    
    /* Second Hero - Mobile Responsive */
    .second-lead-generation-hero .lead-hero-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .second-lead-generation-hero .lead-hero-description {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .second-lead-generation-hero .lead-form-title {
        font-size: 1.3rem;
    }
    
    .second-lead-generation-hero .lead-form-instruction {
        text-align: center;
    }
    
    /* Adjust blob sizes for mobile */
    .form-blob-1 {
        width: 80px;
        height: 80px;
        top: -15px;
        left: -20px;
    }
    
    .form-blob-2 {
        width: 60px;
        height: 60px;
        right: -15px;
    }
    
    .form-blob-3 {
        width: 70px;
        height: 70px;
        bottom: -20px;
    }
}

@media (max-width: 576px) {
    .lead-hero-title {
        font-size: 2rem;
    }
    
    .lead-hero-description {
        font-size: 1rem;
    }
    
    .lead-input {
        min-width: fit-content !important;
    }
}

/* Form validation styles */
.was-validated .lead-input:invalid {
    border-color: #dc3545 !important;
}

.was-validated .lead-input:valid {
    border-color: #198754 !important;
}

/* Loading animation for form submission */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.lead-submit-btn:disabled {
    opacity: 0.7;
}

/* Security: Error and Success Messages */
.lead-form-error,
.lead-form-success {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.lead-form-error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.lead-form-success {
    background-color: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.3);
    color: #198754;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Security: Form validation states - only show when form is validated */
/* .was-validated .lead-input:invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1) !important;
}

.was-validated .lead-input:valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.1) !important;
} */

/* Default input state - no validation colors */
.lead-input {
    border-color: #404040 !important;
    box-shadow: none !important;
}

/* Security: Disabled form state */
.lead-form-container:has(input:disabled) {
    opacity: 0.6;
    pointer-events: none;
}

/* Security: Rate limiting indicator */
.lead-form-container.rate-limited {
    border-color: #ffc107 !important;
    background-color: rgba(255, 193, 7, 0.1) !important;
}

/* Security: Spam attempt indicator */
.lead-form-container.spam-blocked {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
}

/* Email Marketing Consent Checkbox Styles */
.lead-form-checkbox {
    margin-top: 1rem;
}

.lead-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    gap: 0.75rem;
}

.lead-checkbox-label input[type="checkbox"] {
    display: none;
}

.lead-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: transparent;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.lead-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #28a745;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lead-checkbox-label input[type="checkbox"]:checked + .lead-checkbox-custom {
    background: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
}

.lead-checkbox-label input[type="checkbox"]:checked + .lead-checkbox-custom::after {
    opacity: 1;
}

.lead-checkbox-text {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.4;
}

.lead-checkbox-text a {
    color: #ffffff !important;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.lead-checkbox-text a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Disabled submit button styles */
.lead-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lead-submit-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: none;
    cursor: not-allowed;
}

/* Remove all hover effects when button is disabled */
.lead-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

/* Error Message Styles */
.lead-error-message {
    margin-top: 1rem;
    animation: slideDown 0.3s ease-out;
}

.lead-error-message .alert {
    border: none;
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.lead-error-message .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

/* Input Error Message Styles */
.lead-input-error {
    animation: slideDown 0.3s ease-out;
    margin-top: 0.5rem;
    color: #dc3545;
    font-size: 0.8rem;
    text-align: left;
}

/* Success Message Styles */
.lead-success-message {
    animation: slideDown 0.3s ease-out;
}

.lead-success-message .alert {
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 0;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    text-align: center;
}

/* Input Validation Styles */
.second-lead-generation-hero .lead-input.is-valid {
    border-color: #404040 !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

.second-lead-generation-hero .lead-input.is-valid:-webkit-autofill,
.second-lead-generation-hero .lead-input.is-valid:-webkit-autofill:hover,
.second-lead-generation-hero .lead-input.is-valid:-webkit-autofill:focus,
.second-lead-generation-hero .lead-input.is-valid:-webkit-autofill:active {
    background-color: rgba(0, 0, 0, 0.2) !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.2) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    border: 1px solid #404040 !important;
}

.second-lead-generation-hero .lead-input.is-invalid {
    border-color: #dc3545 !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

.second-lead-generation-hero .lead-input.is-invalid:-webkit-autofill,
.second-lead-generation-hero .lead-input.is-invalid:-webkit-autofill:hover,
.second-lead-generation-hero .lead-input.is-invalid:-webkit-autofill:focus,
.second-lead-generation-hero .lead-input.is-invalid:-webkit-autofill:active {
    background-color: rgba(0, 0, 0, 0.2) !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.2) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    border: 1px solid #dc3545 !important;
}

.second-lead-generation-hero .lead-input.is-valid:focus {
    border-color: #ffffff !important;
    box-shadow: none !important;
}

.second-lead-generation-hero .lead-input.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Lead Hero Logo Styles */
.lead-hero-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.lead-logo-img {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}


/* Responsive logo sizing */
@media (max-width: 768px) {
    .lead-logo-img {
        height: 80px;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .lead-logo-img {
        height: 60px;
        max-width: 150px;
    }
}

/* Binary Elements Benefits Section */
.binary-benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.binary-benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.binary-benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.binary-benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}
