/* Modern CSS Reset & Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0284c7; /* Light Navy / Blue */
    --primary-hover: #0369a1;
    --bg-dark: #0f172a; /* Deep Navy */
    --text-main: #1e293b;
    --text-muted: #475569;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --error: #ef4444;
    --success: #10b981;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background: linear-gradient(135deg, #3D85C6 0%, #1F4E78 50%, #B0D235 100%); /* Mix of Turquoise, Dark Blue, and Lime Green */
    background-attachment: fixed;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* MANDATORY UTILITY CLASS */
.hidden {
    display: none !important;
}

/* Layout */
.page-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    position: relative;
}

.content-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 650px;
    margin: auto 0;
}

/* Card Styling */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    margin-bottom: 2rem;
}

.card-header {
    padding: 3rem 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
}

.brand-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 2rem;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 3rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.detail-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.detail-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.detail-text span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.section-banner {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.event-features {
    padding: 2rem 3rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}
.event-features h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.event-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}
.event-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.check-icon {
    color: var(--success);
    flex-shrink: 0;
}
.community-msg {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.tagline {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}


.countdown-container {
    background: #fffbeb;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.countdown-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #92400e;
}

.countdown-timer {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #b45309;
}

.card-body {
    padding: 3rem;
    background: var(--bg-card);
}

.text-center {
    text-align: center;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ecfdf5;
    color: var(--success);
    margin-bottom: 1.5rem;
}

/* Form Styles */
.form-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    transition: all 0.2s ease;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

/* Button */
.btn-primary {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

/* Alert/Error Messages */
.error-msg {
    background: #fef2f2;
    color: var(--error);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #fecaca;
}

/* Powered By Slot Container styles to ensure it spans appropriately */
#wbx-powered-by-slot {
    margin-top: 1.5rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
    .page-wrapper {
        padding: 1rem;
    }
    
    .card-header {
        padding: 2rem 1.5rem;
    }
    
    .title {
        font-size: 1.85rem;
    }
    
    .event-details {
        padding: 1.5rem;
        flex-direction: column;
    }

    .event-features {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 2rem 1.5rem;
    }
}