/* ===== Custom Properties ===== */
:root {
    --navy: #1a2332;
    --navy-light: #243044;
    --navy-dark: #111827;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --amber: #f59e0b;
    --amber-light: #fef3c7;
    --amber-dark: #d97706;
    --green: #22c55e;
    --green-light: #dcfce7;
    --green-dark: #16a34a;
    --red: #ef4444;
    --red-light: #fef2f2;
    --red-dark: #dc2626;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1), 0 12px 32px rgba(0,0,0,0.08);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--amber);
    font-size: 1.4rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.header-nav a:hover {
    color: var(--navy);
}

.nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    transition: background var(--transition) !important;
}

.nav-cta:hover {
    background: var(--navy-light) !important;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    line-height: 1.4;
}

.btn:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 2px;
}

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

.btn-primary:hover {
    background: var(--amber-dark);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--navy);
    background: var(--gray-100);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 80px 0 100px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--gray-300);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-sub strong {
    color: var(--amber);
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-trust span {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* ===== Info Section ===== */
.info-section {
    padding: 80px 0;
    background: var(--off-white);
}

.info-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

.info-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 48px 0 24px;
    text-align: center;
}

.info-text {
    max-width: 720px;
    margin: 0 auto;
}

.info-text p {
    margin-bottom: 16px;
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.75;
}

.info-text strong {
    color: var(--navy);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.req-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.req-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.req-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.req-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.req-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Checker Section ===== */
.checker-section {
    padding: 80px 0;
}

.checker-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

.checker-header {
    text-align: center;
    margin-bottom: 36px;
}

.checker-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.checker-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
}

/* Progress Bar */
.progress-wrapper {
    margin-bottom: 32px;
}

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 50px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 10%;
    background: linear-gradient(90deg, var(--amber), var(--amber-dark));
    border-radius: 50px;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 8px;
    font-weight: 500;
}

/* Questions */
.questions-container {
    position: relative;
    min-height: 280px;
}

.question-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.question-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.question-slide.exit-left {
    opacity: 0;
    transform: translateX(-40px);
}

.question-number {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 28px;
    color: var(--navy);
}

.answer-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.answer-btn {
    padding: 24px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    transition: all var(--transition);
    text-align: center;
}

.answer-btn:hover {
    border-color: var(--navy);
    background: var(--gray-100);
}

.answer-btn:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 2px;
}

.answer-btn.yes:hover {
    border-color: var(--green);
    background: var(--green-light);
    color: var(--green-dark);
}

.answer-btn.no:hover {
    border-color: var(--red);
    background: var(--red-light);
    color: var(--red-dark);
}

/* ===== Results ===== */
.results-container {
    animation: fadeInUp 0.6s ease;
}

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

.score-section {
    text-align: center;
    padding: 40px 0;
}

.score-circle {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
}

.score-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: var(--gray-200);
    stroke-width: 8;
}

.score-ring {
    fill: none;
    stroke: var(--green);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    transition: stroke-dashoffset 1.5s ease, stroke 0.5s ease;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.score-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 40%);
    font-size: 1rem;
    color: var(--gray-400);
    font-weight: 600;
}

.score-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}

.score-badge.green {
    background: var(--green-light);
    color: var(--green-dark);
}

.score-badge.amber {
    background: var(--amber-light);
    color: var(--amber-dark);
}

.score-badge.red {
    background: var(--red-light);
    color: var(--red-dark);
}

.score-summary {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Results Details */
.results-details {
    margin: 32px 0;
}

.results-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.result-item {
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border-left: 4px solid;
}

.result-item.fail {
    background: var(--red-light);
    border-color: var(--red);
}

.result-item.pass {
    background: var(--green-light);
    border-color: var(--green);
}

.result-item.pass {
    padding: 14px 20px;
}

.result-question {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.result-status {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.result-item.fail .result-status {
    color: var(--red);
}

.result-item.pass .result-status {
    color: var(--green-dark);
}

.result-tip {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-top: 8px;
}

.result-item.pass .result-tip {
    display: none;
}

/* Results Actions */
.results-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 32px 0;
    flex-wrap: wrap;
}

/* ===== Email Capture ===== */
.email-capture {
    margin-top: 48px;
}

.email-capture-inner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
}

.email-capture-inner h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.email-capture-inner p {
    color: var(--gray-300);
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.email-capture-inner strong {
    color: var(--amber);
}

.email-form {
    max-width: 440px;
    margin: 0 auto;
}

.email-input-group {
    display: flex;
    gap: 8px;
}

.email-input-group input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.email-input-group input::placeholder {
    color: var(--gray-400);
}

.email-input-group input:focus {
    outline: none;
    border-color: var(--amber);
}

.email-input-group .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.email-privacy {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 10px;
}

.email-success {
    animation: fadeInUp 0.4s ease;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.email-success p {
    color: var(--gray-300);
}

.email-success strong {
    color: var(--white);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--navy-dark);
    color: var(--gray-400);
    padding: 40px 0;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 16px;
}

.footer-credit {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .hero {
        padding: 60px 0 80px;
    }

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

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }

    .info-section {
        padding: 60px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .req-card {
        padding: 20px 16px;
    }

    .checker-section {
        padding: 60px 0;
    }

    .question-text {
        font-size: 1.1rem;
    }

    .answer-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .answer-btn {
        padding: 18px 16px;
    }

    .email-input-group {
        flex-direction: column;
    }

    .email-capture-inner {
        padding: 32px 20px;
    }

    .results-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .header-nav a:first-child {
        display: none;
    }
}

@media (max-width: 400px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}
