/* =========================================================
   SCAMSHIELD AI — GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #08090b;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

button,
textarea {
    font-family: inherit;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6vw;

    z-index: 100;

    background: rgba(8, 9, 11, 0.55);
    backdrop-filter: blur(18px);
}

.logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    color: #9c9ca1;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s ease;
}

.navbar nav a:hover {
    color: #ffffff;
}

.nav-button {
    border: 1px solid #303238;
    background: transparent;
    color: white;

    padding: 11px 20px;

    border-radius: 30px;

    cursor: pointer;

    transition: 0.3s ease;
}

.nav-button:hover {
    background: #ffffff;
    color: #08090b;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 120px 8vw 80px;

    position: relative;
}

.hero-content {
    width: 55%;

    position: relative;
    z-index: 5;
}

.eyebrow {
    color: #7f8490;

    font-size: 11px;
    letter-spacing: 3px;

    margin-bottom: 30px;
}

.hero h1 {
    font-size: clamp(60px, 9vw, 145px);

    line-height: 0.85;

    letter-spacing: -6px;

    font-weight: 700;
}

.hero h1 span {
    color: #8da9ff;
}

.hero-description {
    max-width: 470px;

    margin-top: 40px;

    color: #9b9da4;

    font-size: 17px;

    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 35px;
}

.primary-button,
.secondary-button {
    padding: 15px 25px;

    border-radius: 30px;

    font-size: 13px;

    cursor: pointer;

    transition: 0.3s ease;
}

.primary-button {
    background: #f5f5f5;
    color: #08090b;

    border: none;
}

.primary-button:hover {
    transform: translateY(-3px);
}

.secondary-button {
    background: transparent;

    color: white;

    border: 1px solid #303238;
}

.secondary-button:hover {
    border-color: #777b86;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: absolute;

    right: 7vw;

    width: 42vw;
    height: 42vw;

    max-width: 600px;
    max-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.shield {
    width: 190px;
    height: 220px;

    background: linear-gradient(
        145deg,
        #20242c,
        #0d0f13
    );

    clip-path: polygon(
        50% 0%,
        90% 15%,
        90% 55%,
        75% 78%,
        50% 100%,
        25% 78%,
        10% 55%,
        10% 15%
    );

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    z-index: 5;

    box-shadow:
        0 0 80px rgba(110, 140, 255, 0.15);
}

.shield-core {
    width: 80px;
    height: 80px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #11141a;

    border: 1px solid #39445e;

    color: #9eb4ff;

    font-size: 25px;
    font-weight: 700;
}


/* =========================================================
   SCAN RINGS
========================================================= */

.scan-ring {
    position: absolute;

    border: 1px solid #242b3b;

    border-radius: 50%;
}

.ring-one {
    width: 300px;
    height: 300px;
}

.ring-two {
    width: 450px;
    height: 450px;
}

.ring-three {
    width: 600px;
    height: 600px;
}


/* =========================================================
   SIGNALS
========================================================= */

.signal {
    position: absolute;

    width: 5px;
    height: 5px;

    background: #8da9ff;

    border-radius: 50%;

    box-shadow:
        0 0 20px #8da9ff;
}

.signal-one {
    top: 20%;
    left: 20%;
}

.signal-two {
    right: 10%;
    top: 35%;
}

.signal-three {
    bottom: 15%;
    left: 35%;
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;

    bottom: 35px;
    left: 8vw;

    display: flex;
    align-items: center;

    gap: 15px;

    color: #676970;

    font-size: 9px;

    letter-spacing: 2px;
}

.scroll-line {
    width: 60px;
    height: 1px;

    background: #393b42;
}


/* =========================================================
   PROBLEM SECTION
========================================================= */

.problem-section {
    min-height: 180vh;

    padding: 180px 8vw;

    position: relative;

    background: #10131a;

    color: #f4f5f7;
}

.problem-intro {
    max-width: 850px;

    margin-bottom: 150px;
}

.section-label {
    font-size: 10px;

    letter-spacing: 3px;

    color: #737b8a;

    margin-bottom: 35px;
}

.problem-intro h2 {
    font-size: clamp(55px, 8vw, 125px);

    line-height: .88;

    letter-spacing: -5px;

    font-weight: 700;
}

.problem-intro h2 span {
    color: #8da9ff;
}

.problem-description {
    max-width: 480px;

    margin-top: 45px;

    font-size: 18px;

    line-height: 1.7;

    color: #9da2ad;
}


/* =========================================================
   MESSAGE STAGE
========================================================= */

.message-stage {
    position: relative;

    min-height: 650px;

    max-width: 1100px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;
}

.message-window {
    width: 420px;

    background: #ffffff;

    border: 1px solid #dededb;

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 40px 100px rgba(0, 0, 0, .30);

    position: relative;

    z-index: 5;
}

.message-header {
    padding: 20px;

    border-bottom: 1px solid #eeeeeb;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.contact {
    display: flex;

    align-items: center;

    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #e9e9e6;

    color: #555;
}

.contact strong {
    display: block;

    font-size: 13px;
}

.contact small {
    display: block;

    margin-top: 4px;

    color: #999;

    font-size: 10px;
}

.message-status {
    color: #ff6a5f;

    font-size: 12px;
}

.message-body {
    padding: 30px 25px 35px;
}

.message-text {
    font-size: 15px;

    line-height: 1.7;

    margin-bottom: 18px;

    color: #393a3f;
}

.fake-link {
    padding: 13px;

    background: #f0f2ff;

    border-radius: 10px;

    color: #5362d8;

    font-size: 12px;

    word-break: break-all;

    margin-bottom: 18px;
}


/* =========================================================
   HIGHLIGHTS
========================================================= */

.highlight-money,
.highlight-urgent,
.highlight-otp {
    padding: 3px 7px;

    border-radius: 5px;

    font-weight: 600;
}

.highlight-money {
    background: #fff0d8;

    color: #a76300;
}

.highlight-urgent {
    background: #ffe5e3;

    color: #b33831;
}

.highlight-otp {
    background: #eee9ff;

    color: #6647b7;
}


/* =========================================================
   SIGNAL CARDS
========================================================= */

.signal-card {
    position: absolute;

    width: 190px;

    padding: 18px;

    background: rgba(255, 255, 255, .06);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, .12);

    border-radius: 16px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .20);

    transition: transform .4s ease;
}

.signal-card:hover {
    transform: translateY(-8px);
}

.signal-card span {
    display: block;

    font-size: 9px;

    color: #737b8a;

    margin-bottom: 10px;
}

.signal-card strong {
    display: block;

    font-size: 13px;

    margin-bottom: 5px;

    color: #e8eaf0;
}

.signal-card small {
    color: #8b919c;

    font-size: 10px;
}

.signal-money {
    top: 8%;
    left: 3%;
}

.signal-urgency {
    top: 15%;
    right: 2%;
}

.signal-otp {
    bottom: 12%;
    left: 5%;
}

.signal-url {
    bottom: 8%;
    right: 4%;
}


/* =========================================================
   PROBLEM STATEMENT
========================================================= */

.problem-statement {
    margin-top: 130px;

    text-align: center;
}

.problem-statement p {
    font-size: 12px;

    letter-spacing: 4px;

    color: #737b8a;
}

.problem-statement h3 {
    margin-top: 15px;

    font-size: clamp(45px, 7vw, 100px);

    line-height: .9;

    letter-spacing: -4px;
}

.problem-statement h3 span {
    color: #8da9ff;
}


/* =========================================================
   SCAMSHIELD ANALYZER
========================================================= */

.analyzer-section {
    position: relative;

    min-height: 100vh;

    padding: 170px 8vw 140px;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(90, 110, 180, .08),
            transparent 40%
        ),
        #08090b;

    border-top: 1px solid rgba(255,255,255,.06);
}


/* ---------------------------------------------------------
   ANALYZER HEADING
--------------------------------------------------------- */

.analyzer-heading {
    max-width: 1000px;

    margin: 0 auto 70px;
}

.analyzer-heading .section-label {
    color: #727887;
}

.analyzer-heading h2 {
    font-size: clamp(55px, 8vw, 120px);

    line-height: .88;

    letter-spacing: -5px;

    margin-bottom: 35px;
}

.analyzer-heading h2 span {
    color: #8da9ff;
}

.analyzer-heading > p:last-child {
    max-width: 600px;

    color: #8e939e;

    font-size: 17px;

    line-height: 1.7;
}


/* ---------------------------------------------------------
   MAIN ANALYZER CARD
--------------------------------------------------------- */

.analyzer-card {
    position: relative;

    max-width: 1000px;

    margin: auto;

    padding: 30px;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 40px 120px rgba(0,0,0,.45);

    backdrop-filter: blur(20px);
}


/* ---------------------------------------------------------
   ANALYZER TOP
--------------------------------------------------------- */

.analyzer-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.input-label {
    display: block;

    font-size: 10px;

    letter-spacing: 2px;

    color: #858b99;
}

.secure-status {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 50px;

    color: #9ca4b5;

    font-size: 9px;

    letter-spacing: 1.5px;

    background: rgba(255,255,255,.025);
}

.secure-status::first-letter {
    color: #8da9ff;
}


/* ---------------------------------------------------------
   INPUT
--------------------------------------------------------- */

#scamInput {
    display: block;

    width: 100%;

    min-height: 280px;

    resize: vertical;

    padding: 28px;

    border-radius: 20px;

    border: 1px solid #292d36;

    outline: none;

    background:
        linear-gradient(
            135deg,
            #0d0f13,
            #0a0c0f
        );

    color: #eef1f7;

    font-size: 16px;

    line-height: 1.7;

    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

#scamInput::placeholder {
    color: #555b66;
}

#scamInput:focus {
    border-color: #6578bd;

    box-shadow:
        0 0 0 4px rgba(110,130,210,.08),
        0 20px 60px rgba(0,0,0,.25);
}


/* ---------------------------------------------------------
   CHARACTER COUNTER
--------------------------------------------------------- */

.character-counter {
    position: absolute;

    right: 52px;

    top: 326px;

    color: #555b66;

    font-size: 10px;

    letter-spacing: 1px;

    pointer-events: none;
}


/* ---------------------------------------------------------
   ANALYZER BOTTOM
--------------------------------------------------------- */

.analyzer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 18px;
}

.privacy-note {
    color: #666d79;

    font-size: 10px;

    letter-spacing: .5px;
}

.analyze-button {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 15px 21px;

    border: 1px solid #e1e5ed;

    border-radius: 50px;

    background: #f4f5f7;

    color: #090a0c;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.analyze-button span {
    font-size: 17px;

    line-height: 0;
}

.analyze-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(255,255,255,.10);
}

.analyze-button:disabled {
    opacity: .65;

    cursor: wait;

    transform: none;
}


/* ---------------------------------------------------------
   EXAMPLE SCENARIOS
--------------------------------------------------------- */

.analyzer-examples {
    max-width: 1000px;

    margin: 25px auto 0;

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}

.analyzer-examples > span {
    margin-right: 10px;

    color: #555c68;

    font-size: 9px;

    letter-spacing: 2px;
}

.analyzer-examples button {
    padding: 9px 14px;

    border-radius: 50px;

    border: 1px solid #252932;

    background: #0d0f13;

    color: #8e949f;

    font-size: 10px;

    cursor: pointer;

    transition:
        border-color .25s ease,
        color .25s ease,
        transform .25s ease,
        background .25s ease;
}

.analyzer-examples button:hover {
    color: #ffffff;

    border-color: #58637c;

    background: #12151b;

    transform: translateY(-2px);
}


/* =========================================================
   ANALYSIS RESULT
========================================================= */

.analysis-result {
    max-width: 1000px;

    margin: 50px auto 0;

    padding: 30px;

    border: 1px solid rgba(255,255,255,.09);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

    animation: resultReveal .6s ease both;
}

.result-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 25px;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.result-label {
    display: block;

    color: #656c78;

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.result-header h3 {
    font-size: 25px;

    letter-spacing: -1px;
}

.risk-badge {
    padding: 10px 15px;

    border-radius: 50px;

    font-size: 9px;

    letter-spacing: 1.5px;

    border: 1px solid rgba(255,255,255,.10);

    background: rgba(255,255,255,.04);
}

.risk-badge.low {
    color: #9ee2bd;
}

.risk-badge.medium {
    color: #d8ca8a;
}

.risk-badge.high {
    color: #f0a38e;
}

.risk-badge.critical {
    color: #ff7777;
}


/* =========================================================
   DETECTED SIGNALS
========================================================= */

.signals-list {
    display: flex;

    flex-direction: column;

    gap: 0;
}

.detected-signal {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
}

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

.signal-number {
    flex-shrink: 0;

    color: #687082;

    font-size: 10px;

    letter-spacing: 1px;
}

.signal-content {
    flex: 1;
}

.signal-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.signal-title-row strong {
    display: block;
    line-height: 1.4;
}

signal-severity {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.signal-content p {
    margin: 0;
    line-height: 1.6;
}

/* =========================================================
   RECOMMENDED ACTION
========================================================= */

.recommended-action {
    margin-top: 25px;

    padding: 22px;

    border-radius: 16px;

    border: 1px solid rgba(141,169,255,.15);

    background: rgba(141,169,255,.035);
}

.recommended-action span {
    display: block;

    margin-bottom: 9px;

    color: #7888b0;

    font-size: 8px;

    letter-spacing: 2px;
}

.recommended-action strong {
    color: #d9deea;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   CLEAN RESULT
========================================================= */

.result-clean {
    display: flex;

    gap: 18px;

    padding: 30px 0;
}

.clean-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(140,220,180,.2);

    color: #9ee2bd;
}

.result-clean strong {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
}

.result-clean p {
    color: #777f8d;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   NOTICE
========================================================= */

.analyzer-notice {
    position: absolute;

    left: 30px;
    bottom: 80px;

    padding: 10px 14px;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 10px;

    background: #11141a;

    color: #c5cad4;

    font-size: 11px;

    animation: noticeIn .3s ease;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes resultReveal {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes noticeIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .navbar nav {
        display: none;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-visual {
        opacity: .25;

        width: 100vw;
        height: 100vw;

        right: -20vw;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .analyzer-section {
        padding-left: 6vw;
        padding-right: 6vw;
    }

}


@media (max-width: 700px) {

    .problem-section {
        padding: 120px 6vw;
    }

    .problem-intro h2 {
        letter-spacing: -3px;
    }

    .message-window {
        width: 100%;
        max-width: 390px;
    }

    .signal-card {
        display: none;
    }

    .message-stage {
        min-height: 600px;
    }

    .analyzer-section {
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .analyzer-heading h2 {
        letter-spacing: -3px;
    }

    .analyzer-card {
        padding: 18px;

        border-radius: 20px;
    }

    .analyzer-top {
        align-items: flex-start;

        flex-direction: column;
    }

    #scamInput {
        min-height: 240px;

        padding: 20px;
    }

    .character-counter {
        right: 35px;

        top: 330px;
    }

    .analyzer-bottom {
        align-items: stretch;

        flex-direction: column;
    }

    .analyze-button {
        justify-content: center;
    }

    .analyzer-examples {
        align-items: flex-start;

        flex-direction: column;
    }

    .analyzer-examples > span {
        margin-bottom: 5px;
    }

    .analysis-result {
        padding: 20px;

        border-radius: 20px;
    }

    .result-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .signal-title-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

}
/* =====================================================
   SCAMSHIELD — NAVIGATION UI FIX
===================================================== */

.navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);

    width: min(1180px, calc(100% - 40px));
    height: 64px;

    padding: 0 14px 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(12, 15, 22, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);

    z-index: 9999;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;

    white-space: nowrap;
}


/* NAVIGATION CONTAINER */

.navbar nav {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 5px;

    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 12px;
}


/* NAVIGATION LINKS */

.navbar nav a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 16px;

    color: #9298a8;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;

    border-radius: 9px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


/* HOVER */

.navbar nav a:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    transform: translateY(-1px);
}


/* ACTIVE / FOCUS */

.navbar nav a:focus-visible {
    outline: 2px solid #8da9ff;
    outline-offset: 3px;
}


/* CHECK NOW BUTTON */

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 20px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 12px;

    background: #ffffff;

    color: #08090b;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.nav-button:hover {
    transform: translateY(-2px);

    background: #e9edff;

    box-shadow:
        0 10px 30px rgba(141, 169, 255, 0.22);
}


/* MOBILE */

@media (max-width: 760px) {

    .navbar {
        width: calc(100% - 24px);
        top: 12px;
        height: 60px;

        padding: 0 10px 0 16px;
    }

    .navbar nav {
        display: none;
    }

    .logo {
        font-size: 12px;
    }

    .nav-button {
        min-height: 38px;
        padding: 0 14px;
        font-size: 11px;
    }
}
/* =========================================================
   SCAMSHIELD AI — ANALYZER UI
   FINAL UI OVERRIDE
========================================================= */

/* ANALYZER SECTION */

.analyzer-section {
    position: relative;
    min-height: 100vh;
    padding: 150px 6vw 120px;

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(100, 130, 255, 0.10),
            transparent 38%
        ),
        #08090b;

    border-top: 1px solid rgba(255,255,255,0.06);
}


/* =========================================================
   HEADING
========================================================= */

.analyzer-heading {
    max-width: 1100px;
    margin: 0 auto 60px;
}

.analyzer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 25px;

    color: #777f91;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
}

.kicker-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #8da9ff;

    box-shadow:
        0 0 15px rgba(141,169,255,0.8);
}

.analyzer-heading h2 {
    margin: 0 0 28px;

    font-size: clamp(55px, 8vw, 115px);
    line-height: 0.88;

    letter-spacing: -5px;
}

.analyzer-heading h2 span {
    color: #8da9ff;
}

.analyzer-heading > p {
    max-width: 600px;

    color: #8b919e;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   ANALYZER SHELL
========================================================= */

.analyzer-shell {
    position: relative;

    max-width: 1100px;
    margin: auto;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.065),
            rgba(255,255,255,0.018)
        );

    box-shadow:
        0 40px 120px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.04);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


/* =========================================================
   TOP BAR
========================================================= */

.analyzer-shell-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 70px;

    padding: 0 25px;

    border-bottom: 1px solid rgba(255,255,255,0.07);

    background: rgba(255,255,255,0.018);
}


/* =========================================================
   TABS
========================================================= */

.analysis-tabs {
    display: flex;

    gap: 5px;

    padding: 4px;

    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;

    background: rgba(0,0,0,0.18);
}

.analysis-tab {
    min-width: 95px;
    height: 36px;

    padding: 0 16px;

    border: none;
    border-radius: 8px;

    background: transparent;

    color: #737a88;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.analysis-tab:hover {
    color: #ffffff;
}

.analysis-tab.active {
    color: #08090b;

    background: #f4f5f7;

    box-shadow:
        0 5px 20px rgba(255,255,255,0.08);
}


/* =========================================================
   ENGINE STATUS
========================================================= */

.live-status {
    display: flex;

    align-items: center;
    gap: 9px;

    color: #858c9a;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.live-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #74d6a0;

    box-shadow:
        0 0 12px rgba(116,214,160,0.8);

    animation: enginePulse 2s ease-in-out infinite;
}


/* =========================================================
   INPUT ZONE
========================================================= */

.input-zone {
    padding: 28px;
}


/* INPUT HEADER */

.input-zone-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 16px;
}

.input-zone-top > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-number {
    color: #6c7382;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.input-title {
    color: #cdd2dc;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.input-counter {
    color: #555c69;

    font-size: 10px;
    letter-spacing: 1px;
}


/* =========================================================
   TEXTAREA
========================================================= */

#scamInput {
    display: block;

    width: 100%;
    min-height: 280px;

    resize: vertical;

    padding: 25px;

    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;

    outline: none;

    background:
        linear-gradient(
            145deg,
            rgba(4,6,10,0.95),
            rgba(12,15,21,0.95)
        );

    color: #edf0f6;

    font-size: 15px;
    line-height: 1.7;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.025);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

#scamInput::placeholder {
    color: #4e5562;
}

#scamInput:focus {
    border-color: rgba(141,169,255,0.55);

    box-shadow:
        0 0 0 4px rgba(141,169,255,0.06),
        0 20px 60px rgba(0,0,0,0.25);
}


/* =========================================================
   INPUT FOOTER
========================================================= */

.input-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 18px;
}

.privacy-note {
    display: flex;

    align-items: center;
    gap: 8px;

    color: #646b78;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
}

.lock-icon {
    color: #8da9ff;

    font-size: 12px;
}


/* =========================================================
   ANALYZE BUTTON
========================================================= */

.analyze-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    min-height: 48px;

    padding: 0 22px;

    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;

    background: #f5f6f8;

    color: #08090b;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.analyze-button strong {
    font-size: 17px;
}

.analyze-button:hover {
    transform: translateY(-3px);

    background: #ffffff;

    box-shadow:
        0 15px 40px rgba(255,255,255,0.12);
}

.analyze-button:active {
    transform: translateY(0);
}

.analyze-button:disabled {
    opacity: 0.6;

    cursor: wait;

    transform: none;
}


/* =========================================================
   EXAMPLE ROW
========================================================= */

.example-row {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    padding: 0 28px 28px;
}

.example-label {
    margin-right: 8px;

    color: #555c68;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.example-chip {
    padding: 10px 14px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;

    background: rgba(255,255,255,0.025);

    color: #858c99;

    font-size: 10px;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.example-chip:hover {
    color: #ffffff;

    background: rgba(141,169,255,0.08);

    border-color: rgba(141,169,255,0.3);

    transform: translateY(-2px);
}


/* =========================================================
   FOOTNOTE
========================================================= */

.analyzer-footnote {
    max-width: 1100px;

    margin: 22px auto 0;

    display: flex;

    justify-content: space-between;

    padding: 0 5px;

    color: #4f5560;

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 2px;
}

.analyzer-footnote span:first-child {
    color: #737b8b;
}


/* =========================================================
   RESULT PANEL
========================================================= */

.analysis-result {
    max-width: 1100px;

    margin: 45px auto 0;

    padding: 30px;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.018)
        );

    box-shadow:
        0 30px 90px rgba(0,0,0,0.35);

    animation: resultReveal 0.6s ease both;
}


/* RESULT HEADER */

.result-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-bottom: 25px;

    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.result-label {
    display: block;

    margin-bottom: 9px;

    color: #687080;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}

.result-header h3 {
    color: #f0f2f7;

    font-size: 25px;
    letter-spacing: -1px;
}


/* =========================================================
   RISK BADGE
========================================================= */

.risk-badge {
    padding: 10px 15px;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50px;

    background: rgba(255,255,255,0.035);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.risk-badge.low {
    color: #9ee2bd;
}

.risk-badge.medium {
    color: #d9ca87;
}

.risk-badge.high {
    color: #f0a38e;
}

.risk-badge.critical {
    color: #ff7777;

    border-color: rgba(255,100,100,0.2);

    background: rgba(255,80,80,0.05);
}


/* =========================================================
   SIGNAL LIST
========================================================= */

.signals-list {
    display: flex;

    flex-direction: column;
}

.detected-signal {
    display: flex;

    gap: 20px;

    padding: 24px 0;

    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.signal-number {
    flex-shrink: 0;

    color: #687082;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.signal-content {
    flex: 1;
}

.signal-title-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 8px;
}

.signal-title-row strong {
    color: #e8ebf1;

    font-size: 14px;
}

.signal-severity {
    color: #8c94a5;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.signal-content p {
    max-width: 750px;

    color: #777f8d;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   RECOMMENDED ACTION
========================================================= */

.recommended-action {
    margin-top: 25px;

    padding: 22px;

    border: 1px solid rgba(141,169,255,0.16);
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(141,169,255,0.055),
            rgba(141,169,255,0.015)
        );
}

.recommended-action span {
    display: block;

    margin-bottom: 9px;

    color: #8294c6;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}

.recommended-action strong {
    color: #d9deea;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CLEAN RESULT
========================================================= */

.result-clean {
    display: flex;

    gap: 18px;

    padding: 30px 0 10px;
}

.clean-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(140,220,180,0.25);
    border-radius: 50%;

    color: #9ee2bd;

    background: rgba(140,220,180,0.04);

    font-size: 18px;
}

.result-clean strong {
    display: block;

    margin-bottom: 8px;

    color: #e5e9f0;

    font-size: 14px;
}

.result-clean p {
    color: #777f8d;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   NOTICE
========================================================= */

.analyzer-notice {
    position: absolute;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    padding: 12px 18px;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;

    background: #14171e;

    color: #d4d8e0;

    font-size: 11px;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.35);

    animation: noticeIn 0.3s ease;
}


/* =========================================================
   LOADING
========================================================= */

.loading-spinner {
    display: inline-block;

    animation: loadingSpin 0.8s linear infinite;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes enginePulse {

    0%, 100% {
        opacity: 0.45;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

}

@keyframes loadingSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .analyzer-section {
        padding: 120px 5vw 90px;
    }

    .analyzer-heading h2 {
        letter-spacing: -3px;
    }

    .analyzer-shell {
        border-radius: 20px;
    }

    .analyzer-shell-top {
        min-height: 65px;

        padding: 0 15px;
    }

    .analysis-tab {
        min-width: 75px;

        padding: 0 10px;
    }

    .live-status {
        font-size: 8px;
    }

    .input-zone {
        padding: 18px;
    }

    #scamInput {
        min-height: 240px;

        padding: 18px;

        font-size: 14px;
    }

    .input-footer {
        align-items: stretch;

        flex-direction: column;
    }

    .analyze-button {
        width: 100%;
    }

    .example-row {
        align-items: flex-start;

        padding: 0 18px 20px;
    }

    .example-label {
        width: 100%;

        margin-bottom: 3px;
    }

    .analyzer-footnote {
        flex-direction: column;

        gap: 8px;

        padding: 0 5px;
    }

    .analysis-result {
        padding: 20px;

        border-radius: 20px;
    }

    .result-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .signal-title-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }

    .detected-signal {
        gap: 12px;
    }

}
/* =========================================================
   SCAMSHIELD — HOW IT WORKS UI
========================================================= */

.how-it-works {
    position: relative;
    padding: 180px 8vw;
    background: #0b0d11;
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

/* Background glow */

.how-it-works::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(141,169,255,0.08),
        transparent 70%
    );
    pointer-events: none;
}

/* Heading */

.how-it-works .section-label {
    position: relative;
    z-index: 2;
}

.how-it-works > h2 {
    position: relative;
    z-index: 2;

    max-width: 900px;

    font-size: clamp(55px, 8vw, 115px);
    line-height: 0.9;
    letter-spacing: -5px;

    margin-bottom: 100px;
}

.how-it-works > h2 span {
    color: #8da9ff;
}


/* =========================================================
   STEP CONTAINER
========================================================= */

.steps {
    position: relative;
    z-index: 2;

    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* =========================================================
   STEP CARD
========================================================= */

.step {
    position: relative;

    min-height: 330px;

    padding: 30px;

    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.015)
        );

    backdrop-filter: blur(20px);

    overflow: hidden;

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease,
        box-shadow .35s ease;
}


/* Number */

.step > span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 14px;

    border: 1px solid rgba(141,169,255,0.25);

    background: rgba(141,169,255,0.06);

    color: #8da9ff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 70px;
}


/* Title */

.step h3 {
    font-size: 32px;

    letter-spacing: -1px;

    margin-bottom: 18px;

    color: #f5f5f7;
}


/* Description */

.step p {
    max-width: 280px;

    color: #777f8d;

    font-size: 14px;

    line-height: 1.7;
}


/* Hover */

.step:hover {
    transform: translateY(-10px);

    border-color: rgba(141,169,255,0.35);

    background:
        linear-gradient(
            145deg,
            rgba(141,169,255,0.08),
            rgba(255,255,255,0.02)
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,0.35);
}


/* Glow inside card */

.step::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -70px;
    bottom: -70px;

    border-radius: 50%;

    background: rgba(141,169,255,0.08);

    filter: blur(30px);

    transition: .4s ease;
}

.step:hover::after {
    transform: scale(1.5);
}


/* =========================================================
   CONNECTING LINE
========================================================= */

.steps::before {
    content: "";

    position: absolute;

    top: 54px;
    left: 16%;
    right: 16%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(141,169,255,0.35),
            transparent
        );

    z-index: -1;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .how-it-works {
        padding: 130px 6vw;
    }

    .how-it-works > h2 {
        letter-spacing: -3px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .steps::before {
        display: none;
    }

    .step {
        min-height: 260px;
    }

    .step > span {
        margin-bottom: 45px;
    }

}


@media (max-width: 500px) {

    .how-it-works {
        padding: 100px 6vw;
    }

    .how-it-works > h2 {
        font-size: 52px;
    }

    .step {
        padding: 25px;
        border-radius: 20px;
    }

}
/* =========================================================
   PROFESSIONAL ANALYSIS RESULT
========================================================= */

.result-summary {
    margin-top: 10px;
    max-width: 550px;

    color: #7f8795;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   RISK SCORE
========================================================= */

.risk-score-section {

    margin-top: 28px;

    padding: 22px;

    border-radius: 18px;

    background: rgba(255,255,255,.025);

    border: 1px solid rgba(255,255,255,.07);
}


.risk-score-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 14px;
}


.risk-score-top span {

    color: #6d7481;

    font-size: 9px;

    letter-spacing: 2px;
}


.risk-score-top strong {

    font-size: 18px;

    color: #e9edf5;
}


/* =========================================================
   RISK METER
========================================================= */

.risk-meter {

    width: 100%;

    height: 8px;

    overflow: hidden;

    border-radius: 20px;

    background: #1b1e25;
}


.risk-meter-fill {

    height: 100%;

    border-radius: 20px;

    transition: width 1s ease;

    background: #8da9ff;

}


.risk-meter-fill.medium {

    background: #d8ca8a;

}


.risk-meter-fill.high {

    background: #f0a38e;

}


.risk-meter-fill.critical {

    background: #ff7777;

}


.risk-scale {

    display: flex;

    justify-content: space-between;

    margin-top: 9px;

    color: #505661;

    font-size: 8px;

    letter-spacing: 1px;
}


/* =========================================================
   SIGNAL HEADING
========================================================= */

.signals-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 35px;

    padding-bottom: 15px;

    border-bottom: 1px solid rgba(255,255,255,.06);
}


.signals-heading span {

    color: #656c78;

    font-size: 9px;

    letter-spacing: 2px;
}


.signals-heading strong {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 28px;

    height: 28px;

    border-radius: 50%;

    background: rgba(141,169,255,.08);

    border: 1px solid rgba(141,169,255,.15);

    color: #9eb4ff;

    font-size: 11px;
}


/* =========================================================
   SIGNAL ICON
========================================================= */

.detected-signal {

    align-items: flex-start;

    transition:
        background .3s ease,
        padding-left .3s ease;
}


.detected-signal:hover {

    background: rgba(255,255,255,.025);

    padding-left: 10px;
}


.signal-icon {

    flex-shrink: 0;

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(255,119,119,.2);

    background: rgba(255,119,119,.06);

    color: #ff8b8b;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   SEVERITY
========================================================= */

.signal-severity.critical {

    color: #ff7777;
}


.signal-severity.high {

    color: #f0a38e;
}


.signal-severity.medium {

    color: #d8ca8a;
}


/* =========================================================
   RESULT FOOTER
========================================================= */

.result-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 28px;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,.06);

    color: #4f5662;

    font-size: 8px;

    letter-spacing: 2px;
}


/* =========================================================
   RESULT ANIMATION
========================================================= */

.result-visible {

    animation: professionalResult .6s ease both;
}


@keyframes professionalResult {

    from {

        opacity: 0;

        transform:
            translateY(30px)
            scale(.98);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .risk-score-section {

        padding: 18px;

    }


    .risk-scale {

        font-size: 7px;

    }


    .signal-icon {

        width: 26px;

        height: 26px;

    }


    .result-footer {

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

    }

}
/* =========================================================
   SCAMSHIELD — ANALYZER SHELL UI
========================================================= */

.analyzer-shell {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;

    padding: 0;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.015)
        );

    box-shadow:
        0 40px 120px rgba(0,0,0,.45);

    backdrop-filter: blur(20px);
    overflow: hidden;
}


/* =========================================================
   TOP BAR
========================================================= */

.analyzer-shell-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 24px;

    border-bottom: 1px solid rgba(255,255,255,.07);

    background: rgba(255,255,255,.018);
}


/* =========================================================
   MESSAGE / URL TABS
========================================================= */

.analysis-tabs {
    display: flex;
    gap: 5px;

    padding: 4px;

    border-radius: 10px;

    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.06);
}


.analysis-tab {
    border: none;

    padding: 9px 15px;

    border-radius: 7px;

    background: transparent;

    color: #686f7c;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition: .25s ease;
}


.analysis-tab:hover {
    color: #ffffff;
}


.analysis-tab.active {
    background: #ffffff;

    color: #08090b;

    box-shadow:
        0 5px 20px rgba(255,255,255,.08);
}


/* =========================================================
   ENGINE STATUS
========================================================= */

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #777f8d;

    font-size: 8px;

    letter-spacing: 1.5px;
}


.live-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #9ee2bd;

    box-shadow:
        0 0 12px rgba(158,226,189,.8);

    animation: enginePulse 2s ease-in-out infinite;
}


@keyframes enginePulse {

    0%,100% {
        opacity: .45;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}


/* =========================================================
   INPUT ZONE
========================================================= */

.input-zone {
    padding: 28px;
}


.input-zone-top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 15px;
}


.input-number {
    margin-right: 10px;

    color: #586171;

    font-size: 9px;

    letter-spacing: 1.5px;
}


.input-title {
    color: #d9dde6;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.input-counter {
    color: #555c68;

    font-size: 9px;

    letter-spacing: 1px;
}


/* =========================================================
   TEXTAREA
========================================================= */

.input-zone textarea {
    width: 100%;

    min-height: 250px;

    resize: vertical;

    padding: 25px;

    border-radius: 18px;

    border: 1px solid #292d36;

    outline: none;

    background:
        linear-gradient(
            135deg,
            #0d0f13,
            #0a0c0f
        );

    color: #eef1f7;

    font-size: 15px;

    line-height: 1.7;

    transition: .3s ease;
}


.input-zone textarea::placeholder {
    color: #555b66;
}


.input-zone textarea:focus {
    border-color: #6578bd;

    box-shadow:
        0 0 0 4px rgba(110,130,210,.08),
        0 20px 60px rgba(0,0,0,.25);
}


/* =========================================================
   INPUT FOOTER
========================================================= */

.input-footer {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: 18px;
}


/* =========================================================
   EXAMPLES
========================================================= */

.example-row {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    padding: 18px 28px 22px;

    border-top: 1px solid rgba(255,255,255,.06);

    background: rgba(255,255,255,.012);
}


.example-label {
    margin-right: 8px;

    color: #555c68;

    font-size: 8px;

    letter-spacing: 2px;
}


.example-chip {
    padding: 9px 14px;

    border-radius: 50px;

    border: 1px solid #252932;

    background: #0d0f13;

    color: #8e949f;

    font-size: 9px;

    cursor: pointer;

    transition: .25s ease;
}


.example-chip:hover {
    color: #ffffff;

    border-color: #58637c;

    background: #12151b;

    transform: translateY(-2px);
}


.example-chip:active {
    transform: scale(.97);
}


/* =========================================================
   FOOTNOTE
========================================================= */

.analyzer-footnote {
    max-width: 1000px;

    margin: 18px auto 0;

    display: flex;

    justify-content: space-between;

    color: #4f5662;

    font-size: 8px;

    letter-spacing: 2px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .analyzer-shell {
        border-radius: 20px;
    }

    .analyzer-shell-top {
        padding: 15px 18px;
    }

    .input-zone {
        padding: 18px;
    }

    .input-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .analyze-button {
        justify-content: center;
    }

    .example-row {
        padding: 16px 18px 20px;
    }

    .example-label {
        width: 100%;
        margin-bottom: 2px;
    }

    .analyzer-footnote {
        padding: 0 5px;

        flex-direction: column;

        gap: 8px;
    }
}
/* =========================================================
   HOW IT WORKS — PREMIUM UI
========================================================= */

.how-it-works {
    position: relative;

    padding: 170px 8vw;

    background: #0b0d12;

    border-top: 1px solid rgba(255,255,255,.06);
}


/* HEADER */

.how-it-works > .section-label {
    text-align: center;

    margin-bottom: 28px;

    color: #737b8a;
}


.how-it-works > h2 {
    max-width: 900px;

    margin: 0 auto;

    text-align: center;

    font-size: clamp(50px, 7vw, 105px);

    line-height: .9;

    letter-spacing: -5px;
}


.how-it-works > h2 span {
    color: #8da9ff;
}


/* =========================================================
   STEPS CONTAINER
========================================================= */

.steps {

    max-width: 1100px;

    margin: 90px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


/* =========================================================
   STEP CARD
========================================================= */

.step {

    position: relative;

    min-height: 300px;

    padding: 30px;

    border-radius: 22px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.015)
        );

    overflow: hidden;

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease;
}


.step::before {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    right: -90px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(141,169,255,.14),
            transparent 70%
        );

    transition: .4s ease;
}


.step:hover {

    transform: translateY(-10px);

    border-color:
        rgba(141,169,255,.28);

    background:
        linear-gradient(
            145deg,
            rgba(141,169,255,.08),
            rgba(255,255,255,.018)
        );
}


.step:hover::before {

    transform: scale(1.5);
}


/* =========================================================
   NUMBER
========================================================= */

.step > span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 70px;

    border-radius: 13px;

    border: 1px solid rgba(141,169,255,.20);

    background:
        rgba(141,169,255,.06);

    color: #9eb4ff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================================
   TITLE
========================================================= */

.step h3 {

    margin-bottom: 14px;

    color: #f1f3f7;

    font-size: 25px;

    letter-spacing: -1px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.step p {

    max-width: 280px;

    color: #777f8d;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   STEP CONNECTOR
========================================================= */

.step:not(:last-child)::after {

    content: "→";

    position: absolute;

    right: -17px;

    top: 50%;

    transform: translateY(-50%);

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #0b0d12;

    border: 1px solid rgba(255,255,255,.10);

    color: #8da9ff;

    font-size: 13px;

    z-index: 5;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .how-it-works {

        padding:
            120px 6vw;
    }


    .how-it-works > h2 {

        letter-spacing: -3px;
    }


    .steps {

        grid-template-columns: 1fr;

        margin-top: 60px;
    }


    .step {

        min-height: 240px;
    }


    .step > span {

        margin-bottom: 45px;
    }


    .step:not(:last-child)::after {

        content: "↓";

        right: 50%;

        top: auto;

        bottom: -17px;

        transform:
            translateX(50%);
    }

}
/* =========================================================
   ABOUT SCAMSHIELD — PREMIUM UI
========================================================= */

.about-section {
    position: relative;

    min-height: 75vh;

    padding: 160px 8vw;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(141,169,255,.09),
            transparent 35%
        ),
        #08090b;

    border-top: 1px solid rgba(255,255,255,.06);

    overflow: hidden;
}


/* BACKGROUND GRID */

.about-section::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black,
            transparent
        );

    pointer-events: none;
}


/* CONTENT */

.about-section > * {
    position: relative;

    z-index: 2;
}


.about-section .section-label {
    color: #737b8a;

    margin-bottom: 30px;
}


.about-section h2 {
    max-width: 950px;

    font-size:
        clamp(50px, 8vw, 115px);

    line-height: .88;

    letter-spacing: -5px;
}


.about-section h2 span {
    color: #8da9ff;
}


.about-section > p {
    max-width: 600px;

    margin-top: 45px;

    color: #858b98;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   ABOUT INFO CARDS
========================================================= */

.about-section::after {
    content: "AI  •  SAFETY  •  AWARENESS";

    position: absolute;

    right: 8vw;
    bottom: 70px;

    padding: 12px 18px;

    border-radius: 50px;

    border: 1px solid rgba(255,255,255,.08);

    background: rgba(255,255,255,.025);

    color: #555c68;

    font-size: 8px;

    letter-spacing: 2px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    position: relative;

    padding: 70px 8vw 35px;

    background: #06070a;

    border-top: 1px solid rgba(255,255,255,.07);
}


.footer-main {
    max-width: 1200px;

    margin: auto;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 50px;
}


.footer-brand {
    max-width: 350px;
}


.footer-brand h3 {
    color: #ffffff;

    font-size: 16px;

    letter-spacing: 2px;

    margin-bottom: 18px;
}


.footer-brand p {
    color: #656c78;

    font-size: 12px;

    line-height: 1.7;
}


.footer-links {
    display: flex;

    gap: 70px;
}


.footer-column h4 {
    margin-bottom: 18px;

    color: #777f8d;

    font-size: 8px;

    letter-spacing: 2px;
}


.footer-column a {
    display: block;

    margin-bottom: 11px;

    color: #a0a5ae;

    text-decoration: none;

    font-size: 11px;

    transition: .25s ease;
}


.footer-column a:hover {
    color: #ffffff;

    transform: translateX(3px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    max-width: 1200px;

    margin: 60px auto 0;

    padding-top: 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top: 1px solid rgba(255,255,255,.06);

    color: #4e5561;

    font-size: 8px;

    letter-spacing: 1.5px;
}


.footer-status {
    display: flex;

    align-items: center;

    gap: 8px;
}


.footer-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #9ee2bd;

    box-shadow:
        0 0 10px rgba(158,226,189,.7);
}


/* =========================================================
   FOOTER MOBILE
========================================================= */

@media (max-width: 700px) {

    .about-section {
        min-height: 70vh;

        padding:
            120px 6vw;
    }


    .about-section h2 {
        letter-spacing: -3px;
    }


    .about-section > p {
        font-size: 15px;
    }


    .about-section::after {
        display: none;
    }


    .footer-main {
        flex-direction: column;
    }


    .footer-links {
        width: 100%;

        justify-content: space-between;

        gap: 25px;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        margin-top: 40px;
    }

}
/* =========================================================
   SCAMSHIELD — FINAL VISUAL POLISH
========================================================= */

/* Smooth section transitions */

section {
    position: relative;
}


/* =========================================================
   BUTTON POLISH
========================================================= */

.primary-button,
.secondary-button,
.nav-button,
.analyze-button {
    position: relative;
    overflow: hidden;
}

.primary-button::after,
.nav-button::after,
.analyze-button::after {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transform: skewX(-20deg);

    transition: left .6s ease;
}

.primary-button:hover::after,
.nav-button:hover::after,
.analyze-button:hover::after {
    left: 140%;
}


/* =========================================================
   MESSAGE WINDOW POLISH
========================================================= */

.message-window {
    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.message-window:hover {
    transform: translateY(-8px);

    box-shadow:
        0 50px 110px rgba(0,0,0,.40);
}


/* =========================================================
   HERO SHIELD GLOW
========================================================= */

.shield {
    box-shadow:
        0 0 50px rgba(110,140,255,.10),
        0 0 120px rgba(110,140,255,.08);
}


/* =========================================================
   SIGNAL CARD GLOW
========================================================= */

.signal-card:hover {
    box-shadow:
        0 20px 55px rgba(0,0,0,.35),
        0 0 30px rgba(141,169,255,.05);
}


/* =========================================================
   ANALYZER GLOW
========================================================= */

.analyzer-shell {
    transition:
        border-color .4s ease,
        box-shadow .4s ease;
}

.analyzer-shell:focus-within {
    border-color:
        rgba(141,169,255,.22);

    box-shadow:
        0 40px 120px rgba(0,0,0,.45),
        0 0 80px rgba(141,169,255,.04);
}


/* =========================================================
   RESULT HOVER
========================================================= */

.detected-signal {
    transition:
        padding-left .3s ease,
        background .3s ease;
}

.detected-signal:hover {
    padding-left: 8px;

    background:
        rgba(255,255,255,.015);
}


/* =========================================================
   STEP CARD NUMBER GLOW
========================================================= */

.step:hover > span {
    border-color:
        rgba(141,169,255,.45);

    box-shadow:
        0 0 25px rgba(141,169,255,.08);
}


/* =========================================================
   PAGE SELECTION
========================================================= */

::selection {
    background: rgba(141,169,255,.25);

    color: #ffffff;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #08090b;
}

::-webkit-scrollbar-thumb {
    background: #292e39;

    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #41495a;
}


/* =========================================================
   MOBILE POLISH
========================================================= */

@media (max-width: 700px) {

    .hero {
        min-height: 100svh;
    }

    .hero h1 {
        font-size: clamp(55px, 16vw, 90px);

        letter-spacing: -4px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .problem-intro h2 {
        font-size: clamp(48px, 14vw, 80px);
    }

    .problem-statement h3 {
        font-size: clamp(42px, 13vw, 75px);
    }

    .analyzer-heading h2 {
        font-size: clamp(48px, 14vw, 85px);
    }

    .message-window:hover {
        transform: none;
    }

}
/* =====================================================
   SCAMSHIELD AI — ANALYSIS RESULT
===================================================== */

.analysis-result {
    margin-top: 40px;
    padding: 32px;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.analysis-result.result-visible {
    opacity: 1;
    transform: translateY(0);
}


/* RESULT HEADER */

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-label {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.55;
}

.result-header h3 {
    margin: 0 0 8px;
    font-size: 28px;
    letter-spacing: -0.5px;
}

.result-summary {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}


/* RISK BADGE */

.risk-badge {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.risk-badge.low {
    background: rgba(70, 200, 120, 0.12);
}

.risk-badge.medium {
    background: rgba(230, 180, 50, 0.12);
}

.risk-badge.high {
    background: rgba(240, 120, 50, 0.12);
}

.risk-badge.critical {
    background: rgba(230, 60, 70, 0.15);
}


/* AI SUMMARY */

.ai-summary {
    margin-top: 25px;
    padding: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.025);
}

.ai-summary > span {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
    opacity: 0.5;
}

.ai-summary p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.6;
}


/* RISK SCORE */

.risk-score-section {
    margin-top: 25px;
}

.risk-score-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.risk-score-top span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    opacity: 0.5;
}

.risk-score-top strong {
    font-size: 24px;
}


.risk-meter {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.risk-meter-fill {
    height: 100%;
    border-radius: 999px;
    background: #ffffff;
    transition: width 1s ease;
}


.risk-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 9px;
    letter-spacing: 1px;
    opacity: 0.35;
}


/* SIGNAL HEADING */

.signals-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 12px;
}

.signals-heading span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    opacity: 0.5;
}

.signals-heading strong {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
}


/* SIGNAL LIST */

.signals-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* DETECTED SIGNAL */

.detected-signal {
    display: grid;
    grid-template-columns: 34px 30px 1fr;
    align-items: start;
    gap: 12px;

    padding: 18px;

    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;

    transition: all 0.25s ease;
}

.detected-signal:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}


.signal-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    font-size: 14px;
    font-weight: 900;
}


.signal-number {
    padding-top: 6px;
    font-size: 10px;
    font-weight: 800;
    opacity: 0.35;
}


.signal-content {
    min-width: 0;
}


.signal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.signal-title-row strong {
    font-size: 14px;
}


.signal-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.5;
}


/* SEVERITY */

.signal-severity {
    padding: 4px 8px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.signal-severity.low {
    opacity: 0.55;
}

.signal-severity.medium {
    opacity: 0.75;
}

.signal-severity.high {
    opacity: 0.9;
}

.signal-severity.critical {
    font-weight: 900;
}


/* CLEAN RESULT */

.result-clean {
    display: flex;
    gap: 15px;
    align-items: flex-start;

    margin-top: 25px;
    padding: 20px;

    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.clean-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    font-weight: 900;
}

.result-clean strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.result-clean p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}


/* RECOMMENDED ACTION */

.recommended-action {
    margin-top: 25px;
    padding: 22px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
}

.recommended-action span {
    display: block;
    margin-bottom: 8px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    opacity: 0.5;
}

.recommended-action strong {
    display: block;
    font-size: 14px;
    line-height: 1.6;
}


/* RESULT FOOTER */

.result-footer {
    display: flex;
    justify-content: space-between;

    margin-top: 25px;
    padding-top: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;

    opacity: 0.35;
}


/* NOTICE */

.analyzer-notice {
    margin-top: 15px;
    padding: 15px 18px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.04);

    font-size: 13px;
}


/* MOBILE */

@media (max-width: 650px) {

    .analysis-result {
        padding: 20px;
    }

    .result-header {
        flex-direction: column;
    }

    .result-header h3 {
        font-size: 22px;
    }

    .detected-signal {
        grid-template-columns: 30px 25px 1fr;
        gap: 8px;
        padding: 14px;
    }

    .signal-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .result-footer {
        flex-direction: column;
        gap: 6px;
    }
}
/* =====================================================
   SCAMSHIELD ANALYSIS RESULT
===================================================== */

.analysis-result {
    margin-top: 40px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    background: rgba(255,255,255,0.035);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(20px);
}

.analysis-result.result-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}


/* RESULT HEADER */

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.result-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 10px;
}

.result-header h3 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.5px;
}

.result-summary {
    margin-top: 10px;
    opacity: 0.65;
    line-height: 1.6;
}


/* RISK BADGE */

.risk-badge {
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.risk-badge.low {
    border-color: #4ade80;
    color: #4ade80;
}

.risk-badge.medium {
    border-color: #facc15;
    color: #facc15;
}

.risk-badge.high {
    border-color: #fb923c;
    color: #fb923c;
}

.risk-badge.critical {
    border-color: #ef4444;
    color: #ef4444;
}


/* AI SUMMARY */

.ai-summary {
    margin-top: 25px;
    padding: 22px;
    border-left: 3px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.025);
}

.ai-summary span,
.recommended-action > span,
.signals-heading > span {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    opacity: 0.55;
    margin-bottom: 9px;
}

.ai-summary p {
    margin: 0;
    line-height: 1.7;
}


/* RISK SCORE */

.risk-score-section {
    margin-top: 30px;
}

.risk-score-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.risk-score-top span {
    font-size: 11px;
    letter-spacing: 2px;
    opacity: 0.55;
}

.risk-score-top strong {
    font-size: 24px;
}

.risk-meter {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
}

.risk-meter-fill {
    height: 100%;
    border-radius: 20px;
    transition: width 1s ease;
}

.risk-meter-fill.low {
    background: #4ade80;
}

.risk-meter-fill.medium {
    background: #facc15;
}

.risk-meter-fill.high {
    background: #fb923c;
}

.risk-meter-fill.critical {
    background: #ef4444;
}

.risk-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 9px;
    letter-spacing: 1px;
    opacity: 0.4;
}


/* SIGNALS */

.signals-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    margin-bottom: 15px;
}

.signals-heading strong {
    font-size: 20px;
}

.signals-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detected-signal {
    display: grid;
    grid-template-columns: 38px 35px 1fr;
    gap: 12px;
    align-items: start;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    background: rgba(255,255,255,0.025);
}

.signal-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    font-weight: 700;
}

.signal-number {
    opacity: 0.35;
    font-size: 12px;
    padding-top: 7px;
}

.signal-content {
    min-width: 0;
}

.signal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.signal-title-row strong {
    font-size: 15px;
}

.signal-content p {
    margin: 7px 0 0;
    opacity: 0.6;
    line-height: 1.55;
    font-size: 14px;
}


/* SEVERITY */

.signal-severity {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.signal-severity.low {
    color: #4ade80;
    border: 1px solid #4ade80;
}

.signal-severity.medium {
    color: #facc15;
    border: 1px solid #facc15;
}

.signal-severity.high {
    color: #fb923c;
    border: 1px solid #fb923c;
}

.signal-severity.critical {
    color: #ef4444;
    border: 1px solid #ef4444;
}


/* RECOMMENDED ACTION */

.recommended-action {
    margin-top: 30px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
}

.recommended-action strong {
    display: block;
    line-height: 1.6;
}


/* CLEAN RESULT */

.result-clean {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 30px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
}

.clean-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(74,222,128,0.15);
    color: #4ade80;
    font-weight: bold;
}

.result-clean p {
    margin-top: 7px;
    opacity: 0.6;
    line-height: 1.5;
}


/* RESULT FOOTER */

.result-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 9px;
    letter-spacing: 1.5px;
    opacity: 0.4;
}


/* MOBILE */

@media (max-width: 700px) {

    .analysis-result {
        padding: 20px;
    }

    .result-header {
        flex-direction: column;
    }

    .result-header h3 {
        font-size: 23px;
    }

    .detected-signal {
        grid-template-columns: 32px 1fr;
    }

    .signal-number {
        display: none;
    }

    .signal-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .result-footer {
        flex-direction: column;
        gap: 8px;
    }

}
/* =====================================================
   RECENT ANALYSIS HISTORY
===================================================== */

.history-section {
    width: min(1100px, 90%);
    margin: 120px auto;
    padding-bottom: 100px;
}


.history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 35px;
}


.history-header h2 {
    margin: 10px 0 0;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 0.95;
    letter-spacing: -2px;
}


.history-header h2 span {
    opacity: 0.45;
}


.clear-history-button {
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    color: inherit;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 1.5px;
    transition: 0.25s ease;
}


.clear-history-button:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
}


/* HISTORY LIST */

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* HISTORY CARD */

.history-item {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    gap: 20px;
    align-items: center;

    padding: 22px 24px;

    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.025);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.history-item:hover {
    transform: translateX(5px);
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.05);
}


/* NUMBER */

.history-number {
    font-size: 13px;
    opacity: 0.45;
    font-weight: 600;
}


/* MAIN CONTENT */

.history-main {
    min-width: 0;
}


.history-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}


.history-mode {
    font-size: 10px;
    letter-spacing: 1.5px;
    opacity: 0.55;
}


.history-risk {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 8px;
    border: 1px solid currentColor;
}


.history-risk.low {
    opacity: 0.65;
}


.history-risk.medium {
    opacity: 0.8;
}


.history-risk.high {
    font-weight: 800;
}


.history-risk.critical {
    font-weight: 900;
}


/* TEXT */

.history-text {
    font-size: 14px;
    line-height: 1.5;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    opacity: 0.85;
}


/* SCORE + TIME */

.history-meta {
    display: flex;
    align-items: center;
    gap: 20px;

    text-align: right;
    white-space: nowrap;
}


.history-score {
    font-size: 13px;
    font-weight: 700;
}


.history-time {
    font-size: 11px;
    opacity: 0.45;
}


/* EMPTY */

.history-empty {
    padding: 70px 20px;
    text-align: center;

    border: 1px dashed rgba(255,255,255,0.12);
}


.history-empty-icon {
    font-size: 30px;
    opacity: 0.35;
    margin-bottom: 15px;
}


.history-empty strong {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
}


.history-empty p {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.45;
}


/* MOBILE */

@media (max-width: 700px) {

    .history-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .history-item {
        grid-template-columns: 35px 1fr;
        gap: 12px;
    }


    .history-meta {
        grid-column: 2;
        justify-content: flex-start;
        text-align: left;
    }


    .history-text {
        white-space: normal;
    }

}