/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    color: #1e293b;
    line-height: 1.6;
    position: relative;
    background: #080810;
}

/* Background Image */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(8, 8, 16, 0.65) 0%, rgba(185, 28, 48, 0.10) 50%, rgba(8, 8, 16, 0.60) 100%);
    pointer-events: none;
}

/* Main Container */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px 40px;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Info Section — centered card */
.info-section {
    width: 100%;
    padding: 48px 44px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.07) inset;
}

/* Brand Highlight */
.brand-highlight {
    color: #E0304A;
    position: relative;
}

.main-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-align: center;
}

.description {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 28px;
    line-height: 1.75;
    text-align: center;
}

/* Promo Banner */
.promo-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(224, 48, 74, 0.08);
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(224, 48, 74, 0.22);
    backdrop-filter: blur(8px);
}

.promo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224, 48, 74, 0.12);
    border-radius: 12px;
    flex-shrink: 0;
}

.promo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.promo-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.promo-text span {
    font-size: 13px;
    color: #E0304A;
    font-weight: 700;
}

.promo-deposit {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-top: 1px;
}

/* Form Image */
.form-image {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.form-image img {
    width: 100%;
    height: auto;
    display: block;
}

.license-hint {
    text-align: center;
    font-size: 13.5px;
    color: #ffffff;
    margin-bottom: 24px;
    padding: 13px 18px;
    background: linear-gradient(135deg, rgba(224, 48, 74, 0.18) 0%, rgba(185, 28, 48, 0.22) 100%);
    border: 1px solid rgba(224, 48, 74, 0.25);
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.85);
}

/* Form Styles */
.leadform {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.25s ease;
    font-family: inherit;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(224, 48, 74, 0.6);
    background: rgba(224, 48, 74, 0.05);
    box-shadow: 0 0 0 3px rgba(224, 48, 74, 0.1);
}

.form-group input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #E0304A 0%, #b91c2f 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 6px;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, transparent 55%);
    pointer-events: none;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ea3d58 0%, #c71e33 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(224, 48, 74, 0.38);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(224, 48, 74, 0.25);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Footer */
.form-footer {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Notice */
.notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(224, 48, 74, 0.06);
    border-radius: 14px;
    margin-top: 22px;
    border: 1px solid rgba(224, 48, 74, 0.15);
}

.notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.notice p {
    font-size: 13px;
    color: rgba(224, 48, 74, 0.8);
    line-height: 1.5;
}

.notice strong {
    color: #E0304A;
}

/* Footer */
.footer {
    text-align: center;
    padding: 28px 20px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    position: relative;
    z-index: 1;
}

/* Loader */
.loader {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hide {
    display: none;
}

/* intl-tel-input compatibility */
.iti {
    width: 100%;
}

/* intl-tel-input dark theme overrides */
.iti__country-list {
    background: #13131e;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background: rgba(224, 48, 74, 0.12);
}

.iti__divider {
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

.iti__dial-code {
    color: rgba(255, 255, 255, 0.55);
}

.iti__selected-flag {
    background: transparent !important;
}

.iti__selected-dial-code {
    color: rgba(255, 255, 255, 0.75);
}

.iti__arrow {
    border-top-color: rgba(255, 255, 255, 0.55);
}

.iti__arrow--up {
    border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 16px 14px 32px;
    }

    .info-section {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .main-title {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}