*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --grad-start: #0a0f2c;
    --grad-mid: #0d1b4b;
    --grad-end: #0a2a4a;
    --accent: #ffffffb5;
    --accent2: #7b5ea7;
    --gold: #f5c518;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-main: #e8eaf6;
    --text-muted: #8892b0;
    --card-bg: rgba(255, 255, 255, 0.97);
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-mid) 50%, var(--grad-end) 100%);
    background-attachment: fixed;
    color: var(--text-main);
    overflow-x: hidden;
}

/* Animated mesh background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(123, 94, 167, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 60% 20%, rgba(245, 197, 24, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.main-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* ── LEFT PANEL ── */
.left-panel {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 680px;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.left-panel::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(123, 94, 167, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Logo */
.logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.logo-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b5ea7 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.logo-name {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero image area */
.hero-visual {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.75rem;
    flex: 1;
    min-height: 220px;
    /* background: linear-gradient(160deg, #0d1b4b 0%, #0a2a4a 100%); */
}

.hero-visual svg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 15, 44, 0.9) 100%);
}

.hero-visual-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
}

.hero-visual-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.hero-visual-text p {
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Countdown */
.countdown-wrap {
    width: 75%;
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 14px;
    padding: 1rem 0.75rem;
    margin-bottom: 1.75rem;
}

.countdown-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    margin-bottom: 0.75rem;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.countdown-item {
    text-align: center;
}

.countdown-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: block;
    font-variant-numeric: tabular-nums;
}

.countdown-unit {
    font-size: 0.58rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.countdown-sep {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    align-self: center;
    text-align: center;
    opacity: 0.6;
    margin-top: -6px;
}

/* Social icons */
.social-row {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    margin-top: auto;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

/* Stats row */
.stats-row {
    display: flex;
    gap: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0.4rem;
    background: var(--glass);
    border-right: 1px solid var(--glass-border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1.1;
}

.stat-lbl {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ── RIGHT PANEL (FORM) ── */
.right-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-card {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 88vh;
}

.form-header {
    background: linear-gradient(135deg, #0a0f2c 0%, #0d1b4b 60%, #0a2a4a 100%);
    padding: 1.75rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.form-header::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.form-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.form-header h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.form-header p {
    font-size: 0.78rem;
    color: #8892b0;
    margin: 0;
}

.form-scrollable {
    overflow-y: auto;
    padding: 1.75rem 2rem 1rem;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #d0d0e8 transparent;
}

.form-scrollable::-webkit-scrollbar {
    width: 4px;
}

.form-scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.form-scrollable::-webkit-scrollbar-thumb {
    background: #c8c8dc;
    border-radius: 4px;
}

/* Section divider */
.form-section-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0c234b;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #ede9f6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-label i {
    font-size: 0.7rem;
}

/* Custom input styling */
.form-control,
.form-select {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.82rem !important;
    border-radius: 5px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 0.6rem 0.9rem !important;
    color: #1a1a2e !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #001c54 !important;
    box-shadow: 0 0 0 3px rgba(123, 94, 167, 0.12) !important;
    background: #fff !important;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #ef4444 !important;
}

.form-label {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #3d3d5c !important;
    margin-bottom: 0.3rem !important;
}

textarea.form-control {
    resize: none;
    min-height: 90px;
}

/* Required star */
.req {
    color: #ef4444;
    margin-left: 2px;
}

/* Submit button */
.btn-submit {
    background: linear-gradient(135deg, #42559b 0%, #001c54 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.78rem 2rem;
    letter-spacing: 0.3px;
    width: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    /* box-shadow: 0 8px 24px rgba(123, 94, 167, 0.35); */
}

.btn-submit:hover {
    transform: translateY(-1px);
    /* box-shadow: 0 12px 30px hsla(261, 89%, 22%, 0.45); */
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.2s;
}

.btn-submit:hover::before {
    background: rgba(255, 255, 255, 0.08);
}

.form-footer {
    padding: 1rem 2rem 1.5rem;
    flex-shrink: 0;
    border-top: 1px solid #f0f0f8;
}

.privacy-note {
    text-align: center;
    font-size: 0.67rem;
    color: #001c54;
    margin-top: 0.75rem;
}

.privacy-note i {
    color: #001c54;
    margin-right: 3px;
}

/* Floating particles */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-20vh) scale(1);
        opacity: 0;
    }
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .left-panel {
        min-height: auto;
        margin-bottom: 1.5rem;
    }

    .countdown-wrap {
        width: 100% !important;
    }

    .form-card {
        max-height: none;
    }

    .form-scrollable {
        overflow-y: visible;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .countdown-wrap {
        width: 70% !important;
    }
}

@media (max-width: 576px) {
    .form-header {
        padding: 1.25rem 1.25rem 1rem;
    }

    .form-scrollable {
        padding: 1.25rem;
    }

    .countdown-wrap {
        width: 100% !important;
    }

    .form-footer {
        padding: 0.75rem 1.25rem 1.25rem;
    }

    .form-header h2 {
        font-size: 1.2rem;
    }

    .countdown-num {
        font-size: 1.3rem;
    }
}

/* Validation feedback */
.invalid-feedback {
    font-size: 0.68rem !important;
    font-family: 'Poppins', sans-serif;
}

/* Floating help blocks */
.message,
.help-block {
    color: red;
    float: right;
    font-size: 14px;
    padding: 2px 0px 5px 0px;
}