/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background: #f7f8fc;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    color: #1a202c;
}

a {
    color: #2b5ea7;
}

a:hover {
    color: #1a3d6e;
}

strong {
    color: #1a202c;
}

/* ===========================
   ACCESSIBILITY
   =========================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0a2540;
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 100;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.bg-white {
    background: white;
}

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

/* ===========================
   HERO
   =========================== */
.hero {
    background:
        linear-gradient(rgba(10, 37, 64, 0.6), rgba(10, 37, 64, 0.7)),
        url('hero-bg.jpg') center/cover no-repeat;
    /* Fallback if hero-bg.jpg hasn't been added yet */
    background-color: #0a2540;
    color: white;
    text-align: center;
    padding: 100px 24px 110px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(43, 94, 167, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 194, 107, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.hero h1,
.hero h2,
.hero h3 {
    color: white;
}

.hero strong {
    color: white;
}

.hero a:not(.btn) {
    color: #d4a44a;
}

.hero a:not(.btn):hover {
    color: #e8be6e;
}

.hero-title {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 800;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    max-width: 780px;
    margin: 28px auto 0;
    opacity: 0.92;
    line-height: 1.8;
}

.hero-cta {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-block;
    padding: 15px 34px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #d4a44a;
    color: #0a2540;
}

.btn-primary:hover {
    background: #c4933a;
    color: #0a2540;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.btn-full {
    width: 100%;
    font-size: 1.2rem;
    padding: 16px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===========================
   SECTION TITLES & INTROS
   =========================== */
.section-title {
    text-align: center;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    margin-bottom: 20px;
}

.section-title-lg {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.section-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: #4a5568;
}

/* ===========================
   STAT CARDS (Problem section)
   =========================== */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-top: 4px solid #c53030;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #c53030;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.4;
}

.source-note {
    text-align: center;
    font-size: 0.85rem;
    color: #718096;
    max-width: 800px;
    margin: 0 auto;
}

.source-note a {
    color: #718096;
    text-decoration: underline;
}

/* ===========================
   CARDS
   =========================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #0a2540;
}

.card p {
    color: #4a5568;
    font-size: 0.97rem;
}

/* Card lists */
.card-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.card-list li {
    padding: 4px 0 4px 20px;
    position: relative;
    color: #4a5568;
    font-size: 0.95rem;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: #2b5ea7;
    border-radius: 50%;
}

/* Numbered cards */
.numbered-card {
    position: relative;
    padding-top: 36px;
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #2b5ea7;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* Proof cards */
.proof-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.proof-card a {
    font-size: 0.9rem;
}

/* ===========================
   TIMELINE
   =========================== */
.timeline {
    max-width: 820px;
    margin: 0 auto;
}

.timeline-phase {
    background: white;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #2b5ea7;
}

.timeline-phase.phase-highlight {
    border-left-color: #2f855a;
    background: #f0fff4;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.phase-label {
    background: #2b5ea7;
    color: white;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-highlight .phase-label {
    background: #2f855a;
}

.phase-years {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.timeline-phase h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #0a2540;
}

.timeline-phase p {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.timeline-phase ul,
.timeline-phase ol {
    padding-left: 22px;
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.timeline-phase li {
    margin-bottom: 5px;
}

.mini-table-wrapper {
    margin: 16px 0;
}

.mini-table {
    min-width: auto;
    width: auto;
    max-width: 400px;
    font-size: 0.93rem;
    box-shadow: none;
}

.mini-table td {
    padding: 8px 16px;
    border-bottom: 1px solid #c6f6d5;
}

.mini-table .highlight-row td {
    background: #c6f6d5;
    border-bottom-color: #9ae6b4;
    font-weight: 600;
}

/* ===========================
   TWO-COLUMN LAYOUT
   =========================== */
.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.col-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #2b5ea7;
}

.col-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #0a2540;
}

.col-card p {
    color: #4a5568;
    font-size: 0.97rem;
}

/* ===========================
   TABLE
   =========================== */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: white;
}

th, td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

th {
    background: #0a2540;
    color: white;
    font-weight: 600;
}

th small {
    font-weight: 400;
    opacity: 0.8;
}

tbody tr:hover {
    background: #f7fafc;
}

.highlight-row {
    background: #f0f5ff;
}

.highlight-row:hover {
    background: #e6edfa;
}

.highlight-row td {
    border-bottom-color: #c3d8f0;
}

/* ===========================
   ASSUMPTIONS BOX
   =========================== */
.assumptions-box {
    background: #fffdf5;
    border: 1px solid #e8dcc8;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 28px;
    font-size: 0.88rem;
    color: #6b5e4b;
    line-height: 1.7;
}

.assumptions-box a {
    color: #6b5e4b;
    text-decoration: underline;
}

/* ===========================
   CALLOUT BOX
   =========================== */
.callout {
    background: #f7f8fc;
    border-left: 4px solid #718096;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin-top: 30px;
    font-size: 0.95rem;
    color: #4a5568;
}

.callout a {
    color: #4a5568;
}

/* ===========================
   FAQ / TOUGH QUESTIONS
   =========================== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    color: #1a202c;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item summary::before {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: #edf2f7;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2b5ea7;
    transition: transform 0.2s;
}

.faq-item[open] summary::before {
    content: '\2212';
    background: #2b5ea7;
    color: white;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 24px 24px;
    color: #4a5568;
    font-size: 0.97rem;
}

.faq-answer p,
.faq-answer ol,
.faq-answer ul {
    margin-bottom: 12px;
}

.faq-answer ol,
.faq-answer ul {
    padding-left: 24px;
}

.faq-answer li {
    margin-bottom: 6px;
}

/* ===========================
   SIGNUP FORM
   =========================== */
.signup-form {
    max-width: 480px;
    margin: 36px auto;
}

.form-group {
    margin-bottom: 14px;
}

.signup-form input[type="email"] {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.signup-form input[type="email"]:focus {
    outline: none;
    border-color: #2b5ea7;
    box-shadow: 0 0 0 3px rgba(43, 94, 167, 0.15);
}

.form-help {
    display: block;
    margin-top: 6px;
    color: #a0aec0;
    font-size: 0.83rem;
}

.form-status {
    margin-top: 12px;
    font-weight: 600;
    min-height: 24px;
}

.form-status.success {
    color: #2f855a;
}

.form-status.error {
    color: #c53030;
}

/* ===========================
   JOIN SECTION
   =========================== */
.join-subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto;
    color: #4a5568;
}

.social-links {
    margin-top: 24px;
    font-size: 0.95rem;
}

.social-links a {
    text-decoration: none;
    font-weight: 600;
}

.social-links a:hover {
    text-decoration: underline;
}

.divider {
    margin: 0 12px;
    color: #cbd5e0;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: #0a2540;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 40px 24px;
    font-size: 0.93rem;
}

footer p {
    margin: 6px 0;
}

footer strong {
    color: white;
}

.disclaimer {
    max-width: 700px;
    margin: 16px auto 12px;
    font-size: 0.83rem;
    opacity: 0.65;
    line-height: 1.6;
}

.footer-links {
    margin-top: 16px;
}

.footer-links a {
    color: #d4a44a;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links .divider {
    color: rgba(255, 255, 255, 0.3);
}

/* ===========================
   STICKY NAV
   =========================== */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 37, 64, 0.97);
    backdrop-filter: blur(8px);
    z-index: 50;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.sticky-nav.visible {
    transform: translateY(0);
}

.sticky-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 24px;
    height: 48px;
}

.sticky-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.sticky-nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.sticky-nav-cta {
    background: #d4a44a;
    color: #0a2540;
    font-weight: 600;
    margin-left: 8px;
}

.sticky-nav-cta:hover {
    background: #c4933a;
    color: #0a2540;
}

/* ===========================
   FEEDBACK FORM
   =========================== */
.feedback-form {
    max-width: 580px;
    margin: 36px auto;
}

.feedback-form select {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
    cursor: pointer;
    appearance: auto;
}

.feedback-form select:focus {
    outline: none;
    border-color: #2b5ea7;
    box-shadow: 0 0 0 3px rgba(43, 94, 167, 0.15);
}

.feedback-form textarea {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
    resize: vertical;
}

.feedback-form textarea:focus {
    outline: none;
    border-color: #2b5ea7;
    box-shadow: 0 0 0 3px rgba(43, 94, 167, 0.15);
}

.feedback-form input[type="email"] {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.feedback-form input[type="email"]:focus {
    outline: none;
    border-color: #2b5ea7;
    box-shadow: 0 0 0 3px rgba(43, 94, 167, 0.15);
}

/* ===========================
   "YOU ARE HERE" BADGE
   =========================== */
.phase-label-active {
    background: #c53030;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(197, 48, 48, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(197, 48, 48, 0); }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .hero {
        padding: 70px 20px 80px;
    }

    .section {
        padding: 56px 0;
    }

    .card-grid,
    .two-col {
        grid-template-columns: 1fr;
    }

    .card-grid-4 {
        grid-template-columns: 1fr 1fr;
    }

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

    .sticky-nav-inner {
        gap: 2px;
    }

    .sticky-nav-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .card-grid-4,
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .faq-item summary {
        font-size: 0.97rem;
        padding: 16px 18px;
    }
}
