/* ------------------------------
   GLOBAL STYLES
------------------------------ */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0f1f;
    color: #e6f1ff;
}

/* Centering + spacing */
h1, h2, h3, h4, p {
    margin: 0;
    padding: 0;
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, #0a0f1f 0%, #0d1228 100%);
}

.logo {
    width: 350px;
     filter: drop-shadow(0 0 12px #0077ff);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #5ab0ff;
    text-shadow: 0 0 12px #0077ff;
}

.subtitle {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #b8c7e0;
}

/* ------------------------------
   SCAN FORM
------------------------------ */
.scan-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scan-form textarea {
    width: 90%;
    max-width: 600px;
    height: 140px;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #1e3a8a;
    background-color: #0f162f;
    color: #e6f1ff;
    font-size: 1rem;
    resize: none;
    outline: none;
    box-shadow: 0 0 12px rgba(0, 119, 255, 0.3);
}

.scan-btn {
    margin-top: 20px;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
    background: #0077ff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 15px #0077ff;
    transition: 0.2s ease-in-out;
}

.scan-btn:hover {
    background: #0a84ff;
    box-shadow: 0 0 25px #0a84ff;
}

/* ------------------------------
   FEATURES SECTION
------------------------------ */
.features {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.feature {
    background-color: #0f162f;
    border: 1px solid #1e3a8a;
    border-radius: 10px;
    padding: 20px;
    width: 280px;
    text-align: center;
    box-shadow: 0 0 12px rgba(0, 119, 255, 0.2);
}

.feature h3 {
    color: #5ab0ff;
    margin-bottom: 10px;
}

/* ------------------------------
   HOW IT WORKS
------------------------------ */
.how-it-works {
    padding: 60px 20px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2rem;
    color: #5ab0ff;
    margin-bottom: 30px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.step {
    background-color: #0f162f;
    border: 1px solid #1e3a8a;
    border-radius: 10px;
    padding: 20px;
    width: 260px;
    box-shadow: 0 0 12px rgba(0, 119, 255, 0.2);
}

.step h4 {
    color: #5ab0ff;
    margin-bottom: 10px;
}

/* ------------------------------
   FOOTER
------------------------------ */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #0a0f1f;
    color: #6c7a96;
    font-size: 0.9rem;
    border-top: 1px solid #1e3a8a;
}
/* ------------------------------
   RESULTS PAGE
------------------------------ */

.results-container {
    max-width: 700px;
    margin: 60px auto;
    padding: 30px;
    background-color: #0f162f;
    border: 1px solid #1e3a8a;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 119, 255, 0.2);
    text-align: center;
}

.results-title {
    font-size: 2rem;
    color: #5ab0ff;
    margin-bottom: 25px;
}

.score-box {
    margin-bottom: 30px;
}

.score {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.risk-level {
    font-size: 1.4rem;
    font-weight: bold;
}

/* Risk colors */
.safe {
    color: #4ade80; /* green */
}

.suspicious {
    color: #facc15; /* yellow */
}

.dangerous {
    color: #f87171; /* red */
}

.analysis-box {
    background-color: #0a0f1f;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #1e3a8a;
    margin-bottom: 30px;
    text-align: left;
}

.back-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0077ff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 15px #0077ff;
    transition: 0.2s;
}

.back-btn:hover {
    background-color: #0a84ff;
    box-shadow: 0 0 25px #0a84ff;
}
.what-to-do {
    background: #1a1f2b;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    border-left: 4px solid #ff4d4d;
}

.what-to-do h2 {
    margin-bottom: 10px;
    color: #ff4d4d;
}

.what-to-do ul {
    list-style: none;
    padding-left: 0;
}

.what-to-do li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.analysis-list {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
    white-space: normal;
}

.analysis-list li {
    display: list-item;
    margin-bottom: 8px;
    line-height: 1.4;
    white-space: normal;
}

/* RISK LEVEL COLORS */
.risk-level {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: inline-block;
}

/* GREEN = LOW */
.risk-level.low {
    background-color: #1e7e34;
    color: white;
}

/* YELLOW = MEDIUM */
.risk-level.medium {
    background-color: #e6b800;
    color: black;
}

/* RED = HIGH */
.risk-level.high {
    background-color: #c82333;
    color: white;
}

/* (anything after this is fine) */