:root {
    --primary-blue: #0A3D91; /* Dark blue for titles and buttons */
    --primary-blue-hover: #082F70;
    --hero-blue: #0548b5; /* Brighter blue for hero background */
    --hero-blue-dark: #021e54;
    --text-main: #333333;
    --text-muted: #6c757d;
    --bg-light: #f4f6f9;
    --white: #ffffff;
    --border-color: #dee2e6;
    --input-bg: #ffffff;
    
    --success-bg: #e6f4ea;
    --success-text: #1e8e3e;
    --danger-text: #d93025;
    
    --font-main: 'Prompt', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    padding: 4rem 1rem 6rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
    background-color: #03153b;
    background-image: 
        /* Right Side Concentric HUD Rings */
        radial-gradient(circle at 100% 50%, transparent 20%, rgba(75, 184, 250, 0.4) 20.2%, transparent 20.5%, transparent 28%, rgba(75, 184, 250, 0.2) 28.2%, transparent 28.5%, transparent 35%, rgba(75, 184, 250, 0.1) 35.2%, transparent 35.5%),
        repeating-radial-gradient(circle at 100% 50%, transparent 0, transparent 20px, rgba(75, 184, 250, 0.05) 21px, transparent 22px),
        /* Left Side Network Grid */
        linear-gradient(30deg, rgba(75, 184, 250, 0.05) 1px, transparent 1px),
        linear-gradient(-30deg, rgba(75, 184, 250, 0.05) 1px, transparent 1px),
        /* Base Glow */
        radial-gradient(ellipse at 50% 50%, #0b419c 0%, #03153b 100%);
    background-size: 100% 100%, 100% 100%, 60px 104px, 60px 104px, 100% 100%;
}

/* Abstract Cyber/Network Pattern simulation */
.hero-section::before,
.blue-bg-page::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255,255,255,0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.blue-bg-page {
    background: linear-gradient(135deg, var(--hero-blue-dark) 0%, var(--hero-blue) 100%);
    min-height: 100vh;
    position: relative;
}

/* FORM PAGE SPECIFIC (20% Blue, 40% Light Blue, 40% White) */
.form-bg-page {
    background: linear-gradient(135deg, #0ea5e9 0%, #7dd3fc 50%, #e0f2fe 100%);
    min-height: 100vh;
    position: relative;
    color: #1e293b; /* Very readable dark text */
}

.form-bg-page .card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #bae6fd;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.form-bg-page .card-title {
    color: #1e3a8a; /* Deep blue for 20% accent */
    font-size: 1.4rem;
    font-weight: 700;
}

.form-bg-page label {
    color: #1e3a8a;
    font-size: 1.05rem;
}

.form-bg-page .form-header {
    background: linear-gradient(120deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid #bae6fd;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    width: 100%;
}

.badge-pill {
    display: inline-block;
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.large-timer-container {
    margin-bottom: 2.5rem;
}

.timer-digits {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.timer-digits .colon {
    font-size: 5rem;
    margin: 0 0.5rem;
    opacity: 0.8;
}

.timer-labels {
    display: flex;
    justify-content: center;
    gap: 5.5rem;
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    letter-spacing: 1px;
}

.deadline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
}

/* ================= MAIN CONTENT ================= */
.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
    position: relative;
    top: -3rem; /* Overlap hero */
    z-index: 20;
}

.card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

/* ================= DEMO SETTINGS ================= */
.demo-card {
    border-top: 4px solid var(--primary-blue);
}

.demo-title {
    font-size: 1.1rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.5rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.demo-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f0f7ff;
    color: #0284c7;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ================= FORM HEADER & MINI TIMER ================= */
.form-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: linear-gradient(120deg, #ffffff 0%, #e8f9f5 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #d1fae5;
}

.section-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.mini-timer-card {
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
}

.mini-timer-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.mini-timer-digits {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    letter-spacing: 1px;
}

.mini-timer-labels {
    display: flex;
    justify-content: space-around;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ================= STATUS ALERT ================= */
.status-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.status-alert.active {
    background-color: var(--success-bg);
    color: var(--success-text);
    border: 1px solid #bbf7d0;
}

.status-alert.expired {
    background-color: #fef2f2;
    color: var(--danger-text);
    border: 1px solid #fecaca;
}

.status-alert i {
    font-size: 1.25rem;
}

/* ================= FORM ELEMENTS ================= */
.card-title {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

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

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

#email-group {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

label.required::after {
    content: " *";
    color: var(--danger-text);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

input[type="text"],
input[type="url"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--input-bg);
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.1);
}

.helper-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* File Upload Box */






.cloud-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.upload-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Buttons */
.btn-huge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: var(--white);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4), inset 0 2px 5px rgba(255,255,255,0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-huge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6), inset 0 2px 5px rgba(255,255,255,0.4);
    background: linear-gradient(135deg, #38bdf8, #1d4ed8);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 45px; /* match input height roughly */
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
}

.btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    color: #ffffff !important;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
}

.btn-secondary:hover {
    background-color: var(--primary-blue-hover);
    color: var(--white);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9, #1e3a8a);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 1.25rem;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #38bdf8, #1e40af);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(30, 58, 138, 0.4);
}

.btn-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 1rem;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    min-width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
    transition: all 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary-blue);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkmark:after {
    content: "";
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Submission Area */
.submission-area {
    padding: 1rem 0;
}

.warning-text {
    text-align: center;
    color: var(--danger-text);
    font-size: 0.9rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.hidden {
    display: none !important;
}

.success-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    background-color: var(--success-bg);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    color: var(--success-text);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-top: 2rem;
}

.success-alert i {
    font-size: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .timer-digits {
        font-size: 3.5rem;
    }
    .timer-digits .colon {
        font-size: 3rem;
    }
    .timer-labels {
        gap: 3rem;
    }
    .demo-grid {
        grid-template-columns: 1fr;
    }
    .form-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}

