/* CRITICAL FIX: Prevent form cropping */
.home-banner {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
}

/* Add big white shadow to hero title */
.banner-content .home-h1._1 {
    text-shadow:
        0 0 30px #ffffff,
        0 0 50px #ffffff,
        0 0 70px #ffffff,
        0 0 90px rgba(255, 255, 255, 0.8),
        0 0 110px rgba(255, 255, 255, 0.6),
        0 0 130px rgba(255, 255, 255, 0.4) !important;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.9)) !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Ensure banner content doesn't interfere */
.banner-content {
    position: relative !important;
}

/* Make sure pricing badge stays behind title */
.pricing-badge {
    z-index: 1 !important;
}

.home-banner .banner-content {
    padding-bottom: 50px !important;
}

.newslatter-wraper {
    padding-bottom: 100px !important;
    margin-bottom: 80px !important;
}

/* Form container with pricing badge */
.form-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.pricing-badge {
    position: relative;
    text-align: center;
    background: white;
    color: #5BBFB4;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid #5BBFB4;
    margin: 0 auto 30px auto;
    display: inline-block;
    width: fit-content;
    white-space: nowrap;
}

/* Simple form styles */
.adbox-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.adbox-form input[type="email"],
.adbox-form input[type="url"],
.adbox-form input[type="text"] {
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #5BBFB4;
    border-radius: 8px;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 16px;
}

.adbox-form input[type="email"]:focus,
.adbox-form input[type="url"]:focus,
.adbox-form input[type="text"]:focus {
    outline: none;
    border-color: #4AA9A0;
    box-shadow: 0 0 0 3px rgba(91, 191, 180, 0.1);
}

/* Industry section */
.industry-section {
    margin: 16px 0;
}

.industry-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #F8F9FA;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.checkbox-item:hover {
    background: #EFF6F5;
    border-color: #5BBFB4;
    transform: translateY(-1px);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5BBFB4;
}

.checkbox-item:has(input:checked) {
    background: linear-gradient(135deg, #5BBFB4 0%, #4AA9A0 100%);
    border-color: #5BBFB4;
    color: white;
}

.checkbox-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Other industry input */
#other-industry {
    margin-top: 10px;
    animation: slideDown 0.3s ease;
}

/* Real-time validation states - TEXT COLOR ONLY */
.input-valid {
    color: #059669 !important;
}

.input-invalid {
    color: #dc2626 !important;
}

/* Input error state - for submission validation */
.input-error {
    border-color: #EF4444 !important;
    background: #FEF2F2 !important;
}

.input-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Checkbox group error state */
.checkbox-error .checkbox-item {
    border-color: #EF4444;
    background: #FEF2F2;
}

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

/* Submit button */
.adbox-form button {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #5BBFB4 0%, #4AA9A0 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.adbox-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 191, 180, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .home-banner {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .newslatter-wraper {
        padding-bottom: 80px !important;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .checkbox-item {
        padding: 8px 12px;
    }

    .checkbox-item span {
        font-size: 13px;
    }
}

/* Success Message */
#success-message {
    padding: 60px 40px;
    text-align: center;
    animation: successFadeIn 0.5s ease;
}

.success-message-content {
    max-width: 400px;
    margin: 0 auto;
}

.success-message-content svg {
    margin: 0 auto 24px;
    animation: successPulse 0.6s ease;
}

.success-message-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #065F46;
    margin: 0 0 12px 0;
}

.success-message-content p {
    font-size: 16px;
    color: #047857;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.success-message-content .spam-notice {
    font-size: 15px;
    color: #92400E;
    font-weight: 600;
    margin-top: 12px;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
