/* =========================================================
   1. RESET & VARIABLES
========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color */
    --bg: #FBFCFE;
    --surface: #FFFFFF;
    --surface-muted: #F3F6FB;
    --border: #E4E9F2;
    --text: #101828;
    --text-muted: #5C6478;
    --text-faint: #8A93A6;

    --blue: #2E5FF2;
    --blue-dark: #1E3FC4;
    --purple: #7C4DFF;
    --cyan: #00C2D6;

    --safe: #12B76A;
    --safe-bg: #E7F9F1;
    --warn: #F5A524;
    --warn-bg: #FEF3E1;
    --danger: #E5484D;
    --danger-bg: #FDECEC;

    --grad-brand: linear-gradient(120deg, var(--blue) 0%, var(--purple) 60%, var(--cyan) 100%);
    --grad-soft: linear-gradient(160deg, rgba(46, 95, 242, 0.08), rgba(124, 77, 255, 0.06) 50%, rgba(0, 194, 214, 0.08));

    /* Type */
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Shape */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 8px 28px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 24px 60px rgba(30, 41, 92, 0.14);

    --nav-h: 76px;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* =========================================================
   2. GLOBAL STYLES
========================================================= */
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input,
textarea {
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
}

.section-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-head {
    max-width: 560px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 12px;
}

.section-head p {
    font-size: 1.05rem;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 24px;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.btn i {
    font-size: 0.9em;
}

.btn-primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(46, 95, 242, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(46, 95, 242, 0.36);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue-dark);
    background: #F3F6FF;
}

.btn-outline {
    background: var(--surface);
    color: var(--text-muted);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: #C7CFE0;
    color: var(--text);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1rem;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* =========================================================
   3. NAVBAR
========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(251, 252, 254, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(251, 252, 254, 0.92);
    box-shadow: 0 4px 20px rgba(16, 24, 40, 0.06);
    border-bottom-color: var(--border);
}

.nav-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--grad-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(46, 95, 242, 0.3);
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text);
}

.brand-ai {
    color: var(--blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 2px;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--grad-brand);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    padding: 12px 4px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--surface-muted);
}

.mobile-menu .btn {
    margin-top: 12px;
}

/* =========================================================
   4. HERO
========================================================= */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + 64px) 24px 40px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(46, 95, 242, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 95, 242, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, black 10%, transparent 70%);
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--safe);
    box-shadow: 0 0 0 0 rgba(18, 183, 106, 0.5);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(18, 183, 106, 0.45);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(18, 183, 106, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(18, 183, 106, 0);
    }
}

.hero-title {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    margin-bottom: 20px;
    max-width: 15ch;
}

.hero-sub {
    font-size: 1.1rem;
    max-width: 46ch;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-row li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trust-row i {
    color: var(--blue);
}

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.scan-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 0.95;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 32px;
    overflow: hidden;
}

.scan-card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--grad-soft);
    filter: blur(10px);
    top: -80px;
    right: -80px;
    border-radius: 50%;
}

.scan-ring {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1.5px dashed rgba(46, 95, 242, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spinSlow 18s linear infinite;
}

@keyframes spinSlow {
    to {
        transform: rotate(360deg);
    }
}

.shield-icon {
    font-size: 2.6rem;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: counterSpin 18s linear infinite;
}

@keyframes counterSpin {
    to {
        transform: rotate(-360deg);
    }
}

.scan-sweep {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(46, 95, 242, 0.35), transparent 35%);
    animation: sweepSpin 3s linear infinite;
}

@keyframes sweepSpin {
    to {
        transform: rotate(360deg);
    }
}

.scan-lines {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1;
}

.scan-line-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-faint);
    font-size: 0.95rem;
}

.line-track {
    flex: 1;
    height: 6px;
    background: var(--surface-muted);
    border-radius: 4px;
    overflow: hidden;
}

.line-fill {
    height: 100%;
    width: 70%;
    background: var(--grad-brand);
    border-radius: 4px;
    animation: fillPulse 3.2s ease-in-out infinite;
}

.line-fill-2 {
    width: 45%;
    animation-delay: 0.4s;
}

.line-fill-3 {
    width: 85%;
    animation-delay: 0.8s;
}

@keyframes fillPulse {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    font-size: 0.78rem;
    font-weight: 600;
    animation: floatChip 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes floatChip {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.chip-danger {
    top: 8%;
    left: -4%;
    color: var(--danger);
}

.chip-safe {
    bottom: 14%;
    right: -6%;
    color: var(--safe);
}

.chip-ai {
    bottom: -2%;
    left: 18%;
    color: var(--purple);
}

/* =========================================================
   5. DETECTION PANEL
========================================================= */
.detection-section {
    padding: 10px 24px 100px;
    position: relative;
}

.detection-panel {
    max-width: 780px;
    margin: -50px auto 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px clamp(20px, 4vw, 48px) 44px;
    position: relative;
    z-index: 2;
}

.detection-head {
    text-align: center;
    margin-bottom: 28px;
}

.detection-head h2 {
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    margin-bottom: 8px;
}

.detection-head p {
    font-size: 1rem;
}

.detect-tabs {
    display: flex;
    gap: 6px;
    background: var(--surface-muted);
    border-radius: 999px;
    padding: 5px;
    max-width: 340px;
    margin: 0 auto 28px;
}

.detect-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.detect-tab.active {
    background: var(--surface);
    color: var(--blue-dark);
    box-shadow: var(--shadow-sm);
}

.detect-panel-body {
    display: none;
}

.detect-panel-body.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

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

.field-group {
    margin-bottom: 6px;
}

.detect-textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    padding: 16px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-muted);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.detect-textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--surface);
}

.url-input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-faint);
}

.detect-input {
    width: 100%;
    padding: 16px 18px 16px 44px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-muted);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.detect-input:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--surface);
}

.field-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.82rem;
}

.link-btn {
    color: var(--blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.link-btn:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.char-counter {
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.field-error {
    color: var(--danger);
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 20px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.field-error:empty {
    margin-top: 0;
}

.detect-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

/* Loading state */
.scan-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 46px 20px 20px;
}

.scan-loading.active {
    display: flex;
}

.loader-ring {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 3px solid var(--surface-muted);
    border-top-color: var(--blue);
    border-right-color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue);
    animation: spinLoader 1.1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spinLoader {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.dots span {
    animation: dotBlink 1.4s infinite;
    opacity: 0;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBlink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.loader-progress {
    width: 100%;
    max-width: 320px;
    height: 6px;
    background: var(--surface-muted);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--grad-brand);
    border-radius: 4px;
    transition: width 0.25s linear;
}

.loader-substeps {
    font-size: 0.85rem;
    color: var(--text-faint);
}

/* Result card */
.result-card {
    display: none;
    position: relative;
    margin-top: 8px;
    padding-top: 8px;
    animation: fadeIn 0.4s ease;
}

.result-card.active {
    display: block;
}

.result-close {
    position: absolute;
    top: -4px;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.result-close:hover {
    background: var(--surface-muted);
    color: var(--text);
}

.result-top {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.result-meter {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    margin: 0 auto;
}

.meter-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.meter-track {
    fill: none;
    stroke: var(--surface-muted);
    stroke-width: 10;
}

.meter-fill {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 1s cubic-bezier(.4, 0, .2, 1), stroke 0.4s ease;
}

.meter-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.meter-icon {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.meter-score {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.meter-label {
    font-size: 0.72rem;
    color: var(--text-faint);
    text-transform: lowercase;
}

.result-info {
    flex: 1;
    min-width: 220px;
}

.result-badge {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.result-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.result-explanation {
    font-size: 0.98rem;
}

.result-indicators h4 {
    font-size: 0.95rem;
    margin-bottom: 14px;
    color: var(--text);
}

.indicator-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
}

.indicator-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.indicator-list li i {
    font-size: 0.95rem;
}

.indicator-list li.ind-flagged {
    background: var(--danger-bg);
    color: #9A1F24;
}

.indicator-list li.ind-flagged i {
    color: var(--danger);
}

.indicator-list li.ind-clear {
    color: var(--text-muted);
}

.indicator-list li.ind-clear i {
    color: var(--safe);
}

.result-actions {
    display: flex;
    justify-content: center;
}

/* Result state accents */
.state-safe .result-badge {
    background: var(--safe-bg);
    color: #0A6E44;
}

.state-safe .meter-fill {
    stroke: var(--safe);
}

.state-safe .meter-icon {
    color: var(--safe);
}

.state-suspicious .result-badge {
    background: var(--warn-bg);
    color: #8A5A0C;
}

.state-suspicious .meter-fill {
    stroke: var(--warn);
}

.state-suspicious .meter-icon {
    color: var(--warn);
}

.state-danger .result-badge {
    background: var(--danger-bg);
    color: #9A1F24;
}

.state-danger .meter-fill {
    stroke: var(--danger);
}

.state-danger .meter-icon {
    color: var(--danger);
}

/* =========================================================
   6. HOW IT WORKS
========================================================= */
.how-section {
    padding: 100px 24px;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: start;
}

.step-card {
    text-align: center;
    padding: 0 12px;
    position: relative;
}

.step-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-faint);
    margin-bottom: 14px;
}

.step-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--blue);
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
}

.step-connector {
    height: 1.5px;
    background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
    align-self: 31px;
    margin-top: 31px;
}

/* =========================================================
   7. FEATURES
========================================================= */
.features-section {
    padding: 100px 24px;
    background: var(--surface-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #D6DEEF;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 18px;
}

.icon-blue {
    background: linear-gradient(135deg, var(--blue), #5C86FF);
}

.icon-purple {
    background: linear-gradient(135deg, var(--purple), #A385FF);
}

.icon-cyan {
    background: linear-gradient(135deg, var(--cyan), #4FE0EF);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.92rem;
}

/* =========================================================
   8. STATISTICS
========================================================= */
.stats-section {
    padding: 80px 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    padding: 44px 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, #10193A, #1A2456 55%, #241C56);
    color: #fff;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-num,
.stat-num-static {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
    background: linear-gradient(120deg, #8FB2FF, #C9B4FF 60%, #8CF3FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.stats-note {
    text-align: center;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-faint);
}

/* =========================================================
   9. AWARENESS
========================================================= */
.awareness-section {
    padding: 100px 24px;
}

.awareness-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.awareness-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 16px;
}

.awareness-copy p {
    margin-bottom: 26px;
    font-size: 1.02rem;
}

.warning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.warning-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    font-weight: 500;
    font-size: 0.94rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.warning-item:hover {
    border-color: var(--warn);
    transform: translateX(2px);
}

.warning-item i {
    color: var(--warn);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* =========================================================
   10. ABOUT
========================================================= */
.about-section {
    padding: 100px 24px;
    background: var(--surface-muted);
}

.about-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-shield {
    font-size: 3.6rem;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 1;
}

.about-rings {
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    border: 1.5px dashed rgba(124, 77, 255, 0.3);
    animation: spinSlow 24s linear infinite;
}

.about-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 18px;
}

.about-copy p {
    margin-bottom: 14px;
    font-size: 1rem;
}

/* =========================================================
   11. FOOTER
========================================================= */
.footer {
    padding: 70px 24px 30px;
    background: #0E1530;
    color: #B9C1D9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin: 14px 0 18px;
    color: #8791AD;
    font-size: 0.92rem;
    max-width: 30ch;
}

.footer .brand-name {
    color: #fff;
}

.footer .brand-ai {
    color: #8CF3FF;
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-row a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-row a:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: #8791AD;
    font-size: 0.9rem;
    margin-bottom: 11px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
}

.footer-bottom p:first-child {
    font-weight: 600;
    color: #fff;
}

.footer-copy {
    color: #6E7797;
}

/* =========================================================
   12. BACK TO TOP + TOASTS
========================================================= */
.back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

.toast-container {
    position: fixed;
    top: 96px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1200;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    font-size: 0.88rem;
    font-weight: 500;
    max-width: 300px;
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

.toast.hide {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

.toast-success i {
    color: var(--safe);
}

.toast-warn i {
    color: var(--warn);
}

.toast-error i {
    color: var(--danger);
}

/* =========================================================
   13. SCROLL REVEAL
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   14. RESPONSIVE DESIGN
========================================================= */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-title,
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas,
    .trust-row {
        justify-content: center;
    }

    .about-inner,
    .awareness-inner {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
    }

    .steps-row {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .step-connector {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 32px;
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .detection-panel {
        margin-top: -30px;
        padding: 30px 18px 34px;
    }

    .result-top {
        flex-direction: column;
        text-align: center;
    }

    .result-info {
        text-align: center;
    }

    .warning-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        padding: 32px 18px;
    }

    .detect-tabs {
        max-width: 100%;
    }

    .detect-actions {
        flex-direction: column-reverse;
    }

    .detect-actions .btn {
        width: 100%;
    }
}