/* =========================================================
   FIREGUARD AI
   Premium Intelligence Interface
========================================================= */

:root {

    --bg: #050505;
    --bg-soft: #0b0b0b;

    --text: #f4f4f0;
    --muted: #8d8d87;

    --line: rgba(255,255,255,0.09);

    --red: #ff3b22;
    --orange: #ff7a00;
    --yellow: #ffc400;

    --glass: rgba(255,255,255,0.035);

}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: var(--bg);

    color: var(--text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;

}


/* =========================================================
   BACKGROUND
========================================================= */

.background-grid {

    position: fixed;

    inset: 0;

    z-index: -10;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

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

}


.glow {

    position: fixed;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: 0.12;

    z-index: -9;

    pointer-events: none;

}


.glow-one {

    background: var(--red);

    top: -250px;

    right: -150px;

}


.glow-two {

    background: var(--orange);

    bottom: 10%;

    left: -300px;

}


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

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 76px;

    padding: 0 5vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid var(--line);

    background:
        rgba(5,5,5,0.72);

    backdrop-filter: blur(18px);

    z-index: 100;

}


.brand {

    display: flex;

    align-items: center;

    gap: 8px;

    color: white;

    text-decoration: none;

    font-weight: 800;

    letter-spacing: 2px;

}


.brand-icon {

    font-size: 20px;

}


.brand-name {

    font-size: 14px;

}


.brand-ai {

    color: var(--red);

    font-size: 12px;

}


.nav-links {

    display: flex;

    gap: 28px;

}


.nav-links a {

    color: #999;

    text-decoration: none;

    font-size: 10px;

    letter-spacing: 1.5px;

    transition: 0.3s;

}


.nav-links a:hover {

    color: white;

}


.status-button {

    border: 1px solid var(--line);

    background: var(--glass);

    color: #aaa;

    padding: 9px 13px;

    border-radius: 100px;

    font-size: 9px;

    letter-spacing: 1px;

}


.status-dot {

    display: inline-block;

    width: 6px;

    height: 6px;

    margin-right: 6px;

    border-radius: 50%;

    background: #41e36b;

    box-shadow: 0 0 12px #41e36b;

}


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

.hero {

    min-height: 100vh;

    padding:
        140px 7vw 80px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 30px;

}


.hero-content {

    max-width: 700px;

}


.eyebrow {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--orange);

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 30px;

}


.eyebrow-line {

    width: 30px;

    height: 1px;

    background: var(--orange);

}


.hero h1 {

    font-size: clamp(
        52px,
        7vw,
        110px
    );

    line-height: 0.9;

    letter-spacing: -5px;

    font-weight: 800;

}


.hero h1 span {

    display: block;

}


.hero h1 span:nth-child(2) {

    color: transparent;

    -webkit-text-stroke:
        1px rgba(255,255,255,0.65);

}


.hero h1 span:nth-child(3) {

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--orange)
        );

    -webkit-background-clip: text;

    color: transparent;

}


.hero-description {

    max-width: 560px;

    margin-top: 35px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

}


.hero-actions {

    display: flex;

    gap: 12px;

    margin-top: 35px;

}


.primary-button,
.secondary-button {

    text-decoration: none;

    padding: 15px 20px;

    font-size: 10px;

    letter-spacing: 1.5px;

    transition: 0.3s;

}


.primary-button {

    background: white;

    color: black;

}


.primary-button:hover {

    transform:
        translateY(-3px);

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

}


.secondary-button {

    border: 1px solid var(--line);

    color: white;

}


.secondary-button:hover {

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

    background: var(--glass);

}


.hero-meta {

    display: flex;

    gap: 45px;

    margin-top: 60px;

}


.hero-meta div {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.meta-value {

    font-size: 12px;

    font-weight: 700;

}


.meta-label {

    color: #666;

    font-size: 8px;

    letter-spacing: 2px;

}


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

.hero-visual {

    position: relative;

    height: 600px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.earth {

    width: min(420px, 75vw);

    aspect-ratio: 1;

    position: relative;

    border-radius: 50%;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 35% 30%,
            #373737,
            #111 55%,
            #030303 75%
        );

    box-shadow:

        0 0 60px
        rgba(255,69,30,0.12),

        inset -30px -20px 80px
        rgba(0,0,0,0.9);

    animation:
        earthFloat 7s ease-in-out infinite;

}


@keyframes earthFloat {

    0%,100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-12px);

    }

}


.earth-grid {

    position: absolute;

    inset: 0;

    opacity: 0.2;

    background:

        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 28px,
            rgba(255,255,255,0.08) 29px
        ),

        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 28px,
            rgba(255,255,255,0.08) 29px
        );

}


.earth-core {

    position: absolute;

    inset: 20%;

    border-radius: 50%;

    background:

        radial-gradient(
            circle,
            rgba(255,72,35,0.08),
            transparent 65%
        );

}


/* =========================================================
   THERMAL POINTS
========================================================= */

.thermal {

    position: absolute;

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: var(--red);

    box-shadow:

        0 0 8px var(--red),
        0 0 30px var(--red);

}


.thermal span {

    position: absolute;

    inset: -12px;

    border: 1px solid var(--red);

    border-radius: 50%;

    animation:
        pulse 2s infinite;

}


@keyframes pulse {

    0% {

        transform: scale(0.5);

        opacity: 1;

    }

    100% {

        transform: scale(2.3);

        opacity: 0;

    }

}


.thermal-one {

    top: 31%;

    left: 57%;

}


.thermal-two {

    top: 51%;

    left: 39%;

    background: var(--orange);

}


.thermal-three {

    top: 63%;

    left: 65%;

    background: var(--yellow);

}


.thermal-four {

    top: 43%;

    left: 74%;

}


/* =========================================================
   ORBITS
========================================================= */

.orbit {

    position: absolute;

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

    border-radius: 50%;

}


.orbit-one {

    width: 520px;

    height: 230px;

    transform:
        rotate(-25deg);

    animation:
        orbitSpin 15s linear infinite;

}


.orbit-two {

    width: 560px;

    height: 300px;

    transform:
        rotate(40deg);

    animation:
        orbitSpin 20s linear infinite reverse;

}


.orbit-three {

    width: 460px;

    height: 400px;

    transform:
        rotate(75deg);

    animation:
        orbitSpin 25s linear infinite;

}


@keyframes orbitSpin {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


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

.scan-line {

    position: absolute;

    width: 420px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--red),
            transparent
        );

    animation:
        scan 4s ease-in-out infinite;

}


@keyframes scan {

    0%,100% {

        transform:
            translateY(-190px);

        opacity: 0;

    }

    50% {

        transform:
            translateY(190px);

        opacity: 1;

    }

}


/* =========================================================
   VISUAL LABELS
========================================================= */

.visual-label {

    position: absolute;

    padding: 9px 12px;

    background:
        rgba(5,5,5,0.7);

    border: 1px solid var(--line);

    backdrop-filter: blur(10px);

    color: #999;

    font-size: 8px;

    letter-spacing: 1px;

}


.label-one {

    top: 25%;

    right: 3%;

}


.label-two {

    bottom: 28%;

    left: 2%;

}


.label-three {

    bottom: 15%;

    right: 10%;

}


.label-dot {

    display: inline-block;

    width: 5px;

    height: 5px;

    border-radius: 50%;

    margin-right: 6px;

}


.red {

    background: var(--red);

}


.orange {

    background: var(--orange);

}


.yellow {

    background: var(--yellow);

}


/* =========================================================
   STATISTICS
========================================================= */

.stats-section {

    padding:
        30px 7vw 100px;

}


.stats-heading {

    display: flex;

    justify-content: space-between;

    color: #666;

    font-size: 9px;

    letter-spacing: 2px;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--line);

}


.pulse-text {

    color: #53d96b;

}


.stats-grid {

    display: grid;

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

}


.stat-card {

    padding: 35px 25px;

    border-right:
        1px solid var(--line);

}


.stat-number {

    display: block;

    font-size: 48px;

    font-weight: 700;

    letter-spacing: -2px;

}


.stat-label {

    display: block;

    margin-top: 8px;

    color: #666;

    font-size: 8px;

    letter-spacing: 2px;

}


.danger-card .stat-number {

    color: var(--red);

}


/* =========================================================
   SECTIONS
========================================================= */

.preview-section,
.events-section,
.analyst-section {

    padding:
        140px 7vw;

    border-top:
        1px solid var(--line);

}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;

    margin-bottom: 50px;

}


.section-kicker {

    display: block;

    color: var(--orange);

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 18px;

}


.section-heading h2,
.analyst-box h2 {

    font-size: clamp(
        40px,
        6vw,
        80px
    );

    line-height: 0.9;

    letter-spacing: -3px;

}


.section-heading h2 span,
.analyst-box h2 span {

    color: var(--red);

}


.section-heading p {

    max-width: 400px;

    color: #666;

    line-height: 1.7;

    font-size: 13px;

}


/* =========================================================
   MAP
========================================================= */

.map-preview {

    height: 580px;

    position: relative;

    overflow: hidden;

    border:
        1px solid var(--line);

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255,69,30,0.08),
            transparent 55%
        );

}


.map-grid {

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.04) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

}


.map-country {

    position: absolute;

    width: 300px;

    height: 380px;

    left: 50%;

    top: 50%;

    transform:
        translate(-50%, -50%)
        rotate(8deg);

    background:
        linear-gradient(
            135deg,
            #161616,
            #303030
        );

    clip-path:
        polygon(
            45% 0,
            65% 10%,
            70% 25%,
            90% 35%,
            80% 55%,
            72% 70%,
            60% 85%,
            50% 100%,
            42% 80%,
            35% 65%,
            28% 50%,
            15% 38%,
            25% 20%
        );

    opacity: 0.8;

}


.map-point {

    position: absolute;

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--red);

    box-shadow:
        0 0 20px var(--red);

    animation:
        pulse 2s infinite;

}


.point-a {

    top: 35%;

    left: 52%;

}


.point-b {

    top: 52%;

    left: 42%;

}


.point-c {

    top: 60%;

    left: 62%;

    background: var(--orange);

}


.point-d {

    top: 43%;

    left: 70%;

}


.point-e {

    top: 70%;

    left: 48%;

    background: var(--yellow);

}


.map-overlay {

    position: absolute;

    left: 25px;

    right: 25px;

    bottom: 20px;

    display: flex;

    justify-content: space-between;

    font-size: 8px;

    color: #777;

    letter-spacing: 1.5px;

}


/* =========================================================
   EVENT CARD
========================================================= */

.event-demo-card {

    max-width: 1000px;

    margin: auto;

    padding: 55px;

    border:
        1px solid rgba(255,59,34,0.25);

    background:
        linear-gradient(
            135deg,
            rgba(255,59,34,0.07),
            rgba(255,255,255,0.02)
        );

}


.event-status {

    color: var(--red);

    font-size: 9px;

    letter-spacing: 2px;

}


.large-status-dot {

    display: inline-block;

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--red);

    box-shadow:
        0 0 15px var(--red);

    margin-right: 8px;

}


.event-title {

    margin-top: 30px;

    font-size: clamp(
        38px,
        6vw,
        75px
    );

    line-height: 0.9;

    letter-spacing: -3px;

}


.event-title span {

    display: block;

    color: var(--red);

}


.event-data {

    display: grid;

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

    margin-top: 55px;

    border-top:
        1px solid var(--line);

}


.event-data div {

    padding: 25px 0;

    border-right:
        1px solid var(--line);

}


.event-data span {

    display: block;

    color: #666;

    font-size: 8px;

    letter-spacing: 2px;

    margin-bottom: 10px;

}


.event-data strong {

    font-size: 28px;

}


.event-reasoning {

    margin-top: 20px;

    padding-top: 25px;

    border-top:
        1px solid var(--line);

}


.reasoning-title {

    color: var(--orange);

    font-size: 8px;

    letter-spacing: 2px;

}


.event-reasoning p {

    max-width: 700px;

    margin-top: 12px;

    color: #888;

    line-height: 1.7;

    font-size: 13px;

}


/* =========================================================
   ANALYST
========================================================= */

.analyst-section {

    min-height: 80vh;

    display: flex;

    align-items: center;

}


.analyst-box {

    width: 100%;

    max-width: 1000px;

    margin: auto;

}


.analyst-box > p {

    color: #666;

    margin-top: 25px;

}


.query-box {

    margin-top: 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

    padding: 20px 0;

    color: #777;

    font-size: 18px;

}


.query-box button {

    width: 45px;

    height: 45px;

    border: none;

    background: white;

    color: black;

    cursor: pointer;

    font-size: 18px;

}


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

footer {

    padding:
        40px 7vw;

    border-top:
        1px solid var(--line);

    display: flex;

    justify-content: space-between;

    color: #555;

    font-size: 8px;

    letter-spacing: 2px;

}


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

@media (max-width: 1000px) {

    .nav-links {

        display: none;

    }


    .hero {

        grid-template-columns: 1fr;

        padding-top: 130px;

    }


    .hero-visual {

        height: 500px;

    }


    .stats-grid {

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

    }


    .stat-card:nth-child(2) {

        border-right: none;

    }

}


@media (max-width: 600px) {

    .navbar {

        padding:
            0 20px;

    }


    .status-button {

        display: none;

    }


    .hero {

        padding:
            120px 25px 60px;

    }


    .hero h1 {

        letter-spacing: -3px;

    }


    .hero-meta {

        gap: 20px;

        flex-wrap: wrap;

    }


    .hero-visual {

        height: 400px;

    }


    .orbit-one {

        width: 350px;

    }


    .orbit-two {

        width: 370px;

    }


    .orbit-three {

        width: 320px;

    }


    .stats-section,
    .preview-section,
    .events-section,
    .analyst-section {

        padding-left: 25px;

        padding-right: 25px;

    }


    .stats-grid {

        grid-template-columns: 1fr;

    }


    .stat-card {

        border-right: none;

        border-bottom:
            1px solid var(--line);

    }


    .section-heading {

        display: block;

    }


    .section-heading p {

        margin-top: 25px;

    }


    .event-demo-card {

        padding: 30px;

    }


    .event-data {

        grid-template-columns: 1fr;

    }


    .event-data div {

        border-right: none;

        border-bottom:
            1px solid var(--line);

    }


    footer {

        flex-direction: column;

        gap: 15px;

    }

}