/* ========================================
   CSS Variables
   ======================================== */
:root {
    --brand-navy: #04466b;
    --brand-orange: #e88824;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #5a5a5a;
    --border-color: #e0e0e0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 3px rgba(4, 70, 107, 0.1);
    --shadow-md: 0 4px 12px rgba(4, 70, 107, 0.15);
    --shadow-lg: 0 10px 30px rgba(4, 70, 107, 0.2);
}

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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef2 100%);
    line-height: 1.6;
    min-height: 100vh;
}

/* ========================================
   Header
   ======================================== */
.header {
    background: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--brand-orange);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 50px;
    width: auto;
}

/* ========================================
   Deadline Banner
   ======================================== */
.deadline-banner {
    background: linear-gradient(135deg, var(--brand-navy), #055788);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(4, 70, 107, 0.2);
}

.deadline-label {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.deadline-date {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

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

.countdown-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.compliance-timeline {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.timeline-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.timeline-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.timeline-item-small {
    color: white;
}

.timeline-item-small strong {
    color: var(--brand-orange);
}

.timeline-separator {
    color: rgba(255, 255, 255, 0.4);
}

.timeline-note {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
    font-style: italic;
}

/* ========================================
   Container
   ======================================== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-header {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #055788 100%);
    padding: 3rem 3rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(232, 136, 36, 0.1) 100%);
    pointer-events: none;
}

.hero h1 {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.hero h1 .highlight {
    color: var(--brand-orange);
    display: block;
    font-size: 3.5rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content {
    padding: 3rem;
}

/* ========================================
   Stats Grid
   ======================================== */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(4, 70, 107, 0.03), rgba(232, 136, 36, 0.03));
    border-radius: 12px;
    border: 2px solid rgba(4, 70, 107, 0.1);
}

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

.stat-number {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-navy);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ========================================
   Value Props
   ======================================== */
.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.value-prop {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid rgba(4, 70, 107, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-prop:hover {
    border-color: var(--brand-orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(232, 136, 36, 0.15);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--brand-orange), #ff9d4a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(232, 136, 36, 0.25);
}

.value-text {
    flex: 1;
}

.value-text strong {
    display: block;
    color: var(--brand-navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.value-text span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   CTA Container
   ======================================== */
.cta-container {
    text-align: center;
    padding-top: 1rem;
}

.btn-hero {
    background: linear-gradient(135deg, var(--brand-orange), #ff9d4a);
    color: white;
    padding: 1.25rem 3.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Red Hat Display', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 20px rgba(232, 136, 36, 0.3);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(232, 136, 36, 0.4);
}

.btn-subtext {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-weight: 500;
}

/* ========================================
   Quiz Section
   ======================================== */
.quiz-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.section-number {
    width: 40px;
    height: 40px;
    background: var(--brand-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Red Hat Display', sans-serif;
}

.section-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.question {
    margin-bottom: 2rem;
}

.question-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: block;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option {
    position: relative;
}

.option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-label {
    display: block;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.option input[type="radio"]:checked + .option-label {
    background: rgba(4, 70, 107, 0.05);
    border-color: var(--brand-navy);
    box-shadow: var(--shadow-sm);
}

.option-label:hover {
    border-color: var(--brand-orange);
    transform: translateX(4px);
}

.progress-bar {
    background: var(--bg-secondary);
    height: 8px;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-orange));
    transition: width 0.5s ease;
    border-radius: 4px;
}

/* ========================================
   Buttons
   ======================================== */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Red Hat Display', sans-serif;
}

.btn-primary {
    background: var(--brand-navy);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #033554;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    color: var(--brand-navy);
    border: 2px solid var(--brand-navy);
}

.btn-secondary:hover {
    background: var(--brand-navy);
    color: white;
}

/* ========================================
   Results Section
   ======================================== */
.results-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.recommendation-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(4, 70, 107, 0.05), rgba(232, 136, 36, 0.05));
    border-radius: 16px;
    border: 3px solid var(--brand-navy);
    position: relative;
    overflow: hidden;
}

.recommendation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-orange), var(--brand-navy));
}

.recommendation-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--brand-orange), #ff9d4a);
    color: white;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(232, 136, 36, 0.3);
}

.recommendation-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.recommendation-subtitle {
    font-size: 1.35rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
}

.risk-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.risk-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.25));
    color: var(--success);
    border: 2px solid var(--success);
}

.risk-yellow {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.25));
    color: var(--warning);
    border: 2px solid var(--warning);
}

.risk-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.25));
    color: var(--danger);
    border: 2px solid var(--danger);
}

.timeline-estimate {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border: 3px dashed var(--brand-orange);
    border-radius: 12px;
    text-align: center;
}

.estimate-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.estimate-value {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.estimate-disclaimer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.blockers-section {
    margin: 2rem 0;
}

.blockers-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 1rem;
}

.blocker-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-left: 4px solid var(--brand-orange);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.blocker-icon {
    width: 24px;
    height: 24px;
    background: var(--brand-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.875rem;
}

/* ========================================
   Timeline
   ======================================== */
.timeline-section {
    margin: 3rem 0;
}

.timeline-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 1.5rem;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.timeline-item {
    background: linear-gradient(135deg, var(--brand-navy), #055788);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
}

.timeline-period {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--brand-orange);
}

.timeline-tasks {
    list-style: none;
}

.timeline-tasks li {
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.timeline-tasks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: 700;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--brand-navy), #055788);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.cta-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta {
    background: var(--brand-orange);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    background: #d67815;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(232, 136, 36, 0.3);
}

/* ========================================
   Utility Classes
   ======================================== */
.hidden {
    display: none;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .deadline-banner {
        width: 100%;
        align-items: center;
    }

    .compliance-timeline {
        font-size: 0.75rem;
    }

    .timeline-info {
        flex-direction: column;
        gap: 0.35rem;
    }

    .timeline-separator {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h1 .highlight {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-header {
        padding: 3rem 2rem 2.5rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .value-props {
        grid-template-columns: 1fr;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .btn-hero {
        padding: 1.1rem 2.5rem;
        font-size: 1.05rem;
        width: 100%;
    }

    .recommendation-title {
        font-size: 2rem;
    }

    .recommendation-subtitle {
        font-size: 1.1rem;
    }

    .risk-indicator {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }

    .estimate-value {
        font-size: 2.5rem;
    }

    .estimate-disclaimer {
        font-size: 0.75rem;
    }
}
