/* Scan landing page */
.scan-hero {
    padding: 90px 0 50px;
}

.scan-hero .lab {
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #555;
    display: block;
    margin-bottom: 20px;
}

.scan-hero h1 {
    font-size: 100px;
    line-height: .95;
    letter-spacing: -.05em;
    font-weight: 800;
    margin: 0 0 30px;
    max-width: 900px;
}

.scan-hero h1 i {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    letter-spacing: -.02em;
}

.scan-hero .intro {
    font-size: 19px;
    line-height: 1.55;
    color: #444;
    max-width: 660px;
    margin: 0;
}

/* Scan content layout */
.scan-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 50px 0 100px;
}

.scan-form-wrap .box {
    padding: 40px;
}

.scan-form-wrap .form label {
    margin-bottom: 20px;
}

.scan-form-wrap .form .btn {
    margin-top: 16px;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.45;
    color: #555;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 3px 0 0 0;
    flex-shrink: 0;
}

.checkbox-label span {
    flex: 1;
}

.cf-turnstile {
    margin: 16px 0;
}

.form-error-banner {
    background: #fff1f1;
    border: 1px solid #e8c8c8;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #8b3535;
}

.turnstile-error {
    margin-top: 8px;
}

/* Info sections */
.scan-info {
    padding-top: 10px;
}

.info-section {
    margin-bottom: 40px;
}

.info-section h3 {
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #555;
    margin: 0 0 20px;
    font-weight: 600;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.check-list.positive li::before {
    background: #FFD400;
}

.check-list.negative li::before {
    background: transparent;
    border: 1.5px solid #999;
}

/* Progress page */
.progress-hero {
    padding-bottom: 40px;
}

.progress-content {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 120px;
}

.progress-card {
    padding: 0 !important;
    overflow: hidden;
}

.progress-bar {
    height: 6px;
    background: #e8e8e5;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: #FFD400;
    transition: width 0.5s ease;
}

.progress-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.progress-steps li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    border-bottom: 1px solid #eee;
}

.progress-steps li:last-child {
    border-bottom: none;
}

.step-name {
    font-size: 16px;
    font-weight: 500;
    color: #111;
}

.step-status {
    font-size: 14px;
    color: #888;
}

.step-status[data-status="done"] {
    color: #555;
}

.step-status[data-status="current"] {
    color: #111;
    font-weight: 600;
}

/* Results page */
.results-hero {
    padding-bottom: 30px;
}

.results-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
}

.badge.ok {
    background: #2EBD6B;
    color: #fff;
}

.badge.attention {
    background: #dc2626;
    color: #fff;
}

.badge.risk {
    background: rgba(234, 212, 40, 0.2);
    color: #92400e;
    border: 1px solid rgba(234, 212, 40, 0.6);
}

/* Legacy: keep .review and .info mapped to risk for any old references */
.badge.review,
.badge.info {
    background: rgba(234, 212, 40, 0.2);
    color: #92400e;
    border: 1px solid rgba(234, 212, 40, 0.6);
}

.results-content {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* All OK message box */
.results-all-ok {
    margin-bottom: 30px;
}

.all-ok-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #2EBD6B;
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.all-ok-icon {
    width: 44px;
    height: 44px;
    background: #2EBD6B;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.all-ok-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #166534;
    margin: 0 0 8px;
}

.all-ok-content p {
    font-size: 15px;
    line-height: 1.55;
    color: #15803d;
    margin: 0;
}

/* Result cards - new design */
.result-card {
    background: #fff;
    border: 1px solid #e8e8e5;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
}

.result-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 32px;
}

.result-card-content {
    flex: 1;
    min-width: 0;
}

.result-area-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.result-headline {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: #181816;
    margin: 0;
}

.result-card-header .badge {
    flex-shrink: 0;
    margin-top: 2px;
}

.result-card-explainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 24px 32px;
    border-top: 1px solid #e8e8e5;
    background: #fafaf8;
}

.explainer-col p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.explainer-label {
    font-weight: 700;
    color: #181816;
    background: linear-gradient(transparent 60%, #EAD428 60% 90%, transparent 90%);
    padding: 0 2px;
    margin-right: 2px;
}

/* Dark CTA section */
.results-cta-dark {
    margin-bottom: 80px;
}

.cta-dark-box {
    background: #1a1a18;
    border-radius: 24px;
    padding: 48px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.cta-dark-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.cta-dark-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #a0a0a0;
    margin: 0;
}

.cta-dark-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cta-dark-form input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
}

.cta-dark-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.cta-dark-form input:focus {
    outline: none;
    border-color: #EAD428;
}

.cta-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: #EAD428;
    color: #181816;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}

.cta-submit-btn:hover {
    background: #d4bf24;
}

.cta-submit-btn .arr {
    font-style: normal;
    font-size: 18px;
}

.cta-success {
    color: #2EBD6B;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    text-align: center;
    padding: 16px;
}

.cta-error {
    color: #ef4444;
    font-size: 14px;
    margin: 8px 0 0;
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 700px) {
    .scan-hero h1 {
        font-size: 44px;
    }
    
    .scan-hero .intro {
        font-size: 17px;
    }
    
    .scan-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 0 60px;
    }
    
    .scan-form-wrap .box {
        padding: 28px;
    }
    
    .progress-content {
        padding-bottom: 60px;
    }
    
    .progress-steps li {
        padding: 16px 20px;
    }
    
    .result-card-header {
        flex-direction: column;
        gap: 12px;
        padding: 20px 24px;
    }
    
    .result-card-header .badge {
        order: -1;
    }
    
    .result-headline {
        font-size: 18px;
    }
    
    .result-card-explainer {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 24px;
    }
    
    .all-ok-box {
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }
    
    .all-ok-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .cta-dark-box {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }
    
    .cta-dark-text h3 {
        font-size: 22px;
    }
    
    .cta-form-row {
        grid-template-columns: 1fr;
    }
    
    .results-legend {
        flex-wrap: wrap;
    }
}

/* Active nav link */
nav .sc.active {
    color: #111;
    font-weight: 600;
}

/* Privacy note styling for scan forms */
.scan-form-wrap .privacy-note,
.cta-dark-form .privacy-note {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: #888;
}
.scan-form-wrap .privacy-note a,
.cta-dark-form .privacy-note a {
    color: #666;
    text-decoration: underline;
}
.scan-form-wrap .privacy-note a:hover,
.cta-dark-form .privacy-note a:hover {
    color: #111;
}
