* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #08111f;
    color: #fff;
    line-height: 1.5;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background: #22c55e;
    color: #07111d;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
}

.hero {
    padding: 70px 0 50px;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, .14), transparent 30%),
        linear-gradient(180deg, #08111f 0%, #0f1b31 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 34px;
    align-items: center;
}

.eyebrow {
    color: #86efac;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

h1 {
    font-size: 46px;
    line-height: 1.12;
    margin-bottom: 16px;
}

.hero p {
    color: #cbd5e1;
    font-size: 18px;
    margin-bottom: 22px;
    max-width: 650px;
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.note {
    margin-top: 14px;
    color: #94a3b8;
    font-size: 13px;
}

.panel {
    background: rgba(12, 20, 35, .95);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    gap: 12px;
}

.panel-title {
    font-size: 20px;
    font-weight: 700;
}

.pill {
    background: rgba(34, 197, 94, .14);
    color: #86efac;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.score-wrap {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background:
        conic-gradient(#22c55e 0deg 210deg, #facc15 210deg 275deg, #ef4444 275deg 360deg);
    display: grid;
    place-items: center;
    margin: 0 auto;
}

.score-inner {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #08111f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.score-number {
    font-size: 26px;
    font-weight: 700;
}

.score-label {
    font-size: 11px;
    color: #94a3b8;
}

.meter-list {
    display: grid;
    gap: 14px;
}

.meter-item {
    background: rgba(255, 255, 255, .03);
    padding: 12px 14px;
    border-radius: 12px;
}

.meter-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    gap: 12px;
}

.bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #facc15, #ef4444);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

section {
    padding: 68px 0;
}

.section-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 12px;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
    color: #cbd5e1;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    padding: 22px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.card p {
    color: #cbd5e1;
    font-size: 15px;
}

.assessment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.box {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    padding: 24px;
}

.box h3 {
    font-size: 24px;
    margin-bottom: 18px;
}

.question {
    margin-bottom: 16px;
}

.question label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.choices {
    display: grid;
    gap: 8px;
}

.choice {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 11px 13px;
    color: #cbd5e1;
    cursor: pointer;
}

.choice.active {
    border-color: rgba(34, 197, 94, .8);
    background: rgba(34, 197, 94, .12);
    color: #fff;
}

.assess-btn {
    width: 100%;
    text-align: center;
    margin-top: 16px;
}

/* Results view */
#resultsView {
    animation: fadeSlideIn 0.45s ease forwards;
}

.results-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 8px;
}

.results-view-header h3 {
    font-size: 17px;
    margin: 2px 0 0;
}

.results-view-header .eyebrow {
    font-size: 11px;
    margin-bottom: 1px;
}

.results-view-header .pill {
    font-size: 11px;
    padding: 5px 10px;
    white-space: nowrap;
}

.inline-score-wrap {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.inline-score-wrap .score-circle {
    width: 88px;
    height: 88px;
}

.inline-score-wrap .score-inner {
    width: 64px;
    height: 64px;
}

.inline-score-wrap .score-number {
    font-size: 20px;
}

.inline-score-wrap .score-label {
    font-size: 9px;
}

.inline-score-wrap .meter-list {
    width: 100%;
    gap: 8px;
}

.inline-score-wrap .meter-item {
    padding: 8px 10px;
    border-radius: 8px;
}

.inline-score-wrap .meter-row {
    font-size: 12px;
    margin-bottom: 5px;
}

/* Risk result banner */
.risk-result {
    margin-top: 14px;
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .4);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    animation: fadeSlideIn 0.5s ease forwards;
}

.risk-result-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

.risk-result h3 {
    font-size: 15px;
    color: #fca5a5;
    margin-bottom: 6px;
}

.risk-result p {
    color: #cbd5e1;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.risk-result-cta {
    background: #ef4444;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 11px 16px;
    font-size: 14px;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.question.unanswered {
    border-radius: 10px;
    outline: 1px solid rgba(239, 68, 68, .7);
    background: rgba(239, 68, 68, .06);
    animation: shake 0.45s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #08111f;
    color: #fff;
    margin-bottom: 12px;
    font-size: 15px;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

/* .breach-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
}

.breach-status {
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 14px;
} */

.results {
    max-width: 900px;
    margin: 0 auto;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;
    padding: 30px;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 18px 0 22px;
}

.risk-item {
    background: rgba(255, 255, 255, .03);
    padding: 12px 14px;
    border-radius: 12px;
    color: #e5e7eb;
}

.fineprint {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 10px;
}

footer {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    padding: 26px 0 40px;
}

@media (max-width: 920px) {

    .hero-grid,
    .cards,
    .assessment-grid,
    .risk-grid,
    .score-wrap {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 36px;
    }

    .results-view-header {
        flex-wrap: wrap;
    }

    .inline-score-wrap {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .inline-score-wrap .meter-list {
        width: 100%;
    }
}