* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #09090b;
    color: #ffffff;
}

header {
    height: 70px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #25252b;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.badge {
    font-size: 11px;
    padding: 8px 12px;
    border: 1px solid #333;
    border-radius: 20px;
    color: #aaa;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 60px 25px;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    min-height: 450px;
}

.small-title {
    color: #ff7a18;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

h1 {
    font-size: 55px;
    line-height: 1.05;
    margin-bottom: 25px;
}

h1 span {
    color: #ff7a18;
}

.description {
    color: #aaa;
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
}

.input-card {
    background: #111114;
    border: 1px solid #29292f;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px #000;
}

label {
    display: block;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 8px;
    margin-top: 15px;
}

input,
textarea {
    width: 100%;
    background: #08080a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 14px;
    color: white;
    outline: none;
}

textarea {
    height: 130px;
    resize: none;
}

button {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #ff7a18;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    opacity: 0.85;
}

.results {
    display: none;
    margin-top: 50px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

h2 {
    font-size: 35px;
}

.score {
    text-align: right;
}

.score span {
    display: block;
    color: #888;
    font-size: 12px;
}

.score strong {
    color: #ff7a18;
    font-size: 30px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: #111114;
    border: 1px solid #29292f;
    padding: 20px;
    border-radius: 15px;
}

.stat-card span {
    font-size: 25px;
}

.stat-card strong {
    display: block;
    font-size: 28px;
    margin-top: 10px;
}

.stat-card p {
    color: #888;
    font-size: 13px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.panel {
    background: #111114;
    border: 1px solid #29292f;
    border-radius: 15px;
    padding: 25px;
}

.panel h3 {
    margin-bottom: 20px;
}

.item {
    border-bottom: 1px solid #25252b;
    padding: 15px 0;
}

.item p,
.scene p {
    color: #888;
    font-size: 13px;
    margin-top: 5px;
}

.scene {
    display: flex;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #25252b;
}

.scene > span {
    color: #ff7a18;
    font-weight: bold;
}

.task {
    color: #ddd;
    margin: 0;
    padding: 12px 0;
}

.task input {
    width: auto;
    margin-right: 10px;
}

.risk {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #18181c;
}

.risk strong {
    font-size: 11px;
}

.risk p {
    color: #aaa;
    font-size: 13px;
    margin-top: 5px;
}

.high strong {
    color: #ff5252;
}

.medium strong {
    color: #ffc107;
}

.low strong {
    color: #4caf50;
}

footer {
    text-align: center;
    padding: 40px;
    color: #666;
}

@media (max-width: 800px) {

    .hero {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 40px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}