:root {
    --navy: #0a0f1c;
    --navy-2: #162238;
    --blue: #005EA9;
    --cyan: #01A8F6;
    --pink: #FB3869;
    --green: #77FF00;
    --orange: #FF7B17;
    --white: #ffffff;
    --muted: #8a99b3;
    --line: rgba(1, 168, 246, .18);
    --card: rgba(255, 255, 255, .03);
    --card-hov: rgba(1, 168, 246, .06);
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Oxygen', system-ui, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.display {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -.02em;
    font-weight: 600
}

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

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

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

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(10, 15, 28, .65);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    backdrop-filter: blur(14px);
    background: rgb(255, 255, 255);
}

.nav-links {
    display: flex;
    gap: 34px;
    font-size: 14px;
    color: var(--muted)
}

.nav-links a:hover {
    color: var(--cyan)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: 'Space Grotesk';
    font-weight: 600;
    font-size: 14px;
    transition: all .25s ease;
    cursor: pointer;
    border: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #fff;
    box-shadow: 0 8px 28px -8px rgba(1, 168, 246, .6);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px -10px rgba(1, 168, 246, .85)
}

.btn-ghost {
    border: 1px solid var(--line);
    color: #fff;
    background: transparent
}

.btn-ghost:hover {
    border-color: var(--cyan);
    background: rgba(1, 168, 246, .08)
}

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

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 160px 0 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(1200px 600px at 70% 10%, rgba(1, 168, 246, .18), transparent 60%),
        radial-gradient(900px 500px at 10% 80%, rgba(0, 94, 169, .22), transparent 60%),
        url('/spectra/landing-hero.jpg') center/cover no-repeat;
    opacity: .55;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 28, .4) 0%, var(--navy) 92%);
}

.grid-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
    opacity: .5;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
    margin: 0 auto
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(1, 168, 246, .08);
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 700;
    margin-bottom: 28px;
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green)
}

h1.title {
    font-size: clamp(40px, 6.4vw, 80px);
    line-height: 1.02;
    font-weight: 700;
    margin-bottom: 24px;
}

h1.title .grad {
    background: linear-gradient(120deg, var(--cyan) 0%, #7fd5ff 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede {
    font-size: clamp(16px, 1.6vw, 20px);
    color: #b8c4dc;
    max-width: 680px;
    margin: 0 auto 40px
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(22, 34, 56, .5), rgba(10, 15, 28, .2));
    backdrop-filter: blur(8px);
}

.stat-num {
    font-family: 'Space Grotesk';
    font-size: 28px;
    font-weight: 700;
    color: var(--cyan)
}

.stat-lbl {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-top: 4px
}

@media(max-width:680px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr)
    }
}

/* ===== SECTIONS ===== */
section {
    padding: 110px 0;
    position: relative
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 14px;
}

h2.section-title {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    max-width: 780px;
    margin-bottom: 18px;
}

.section-sub {
    color: var(--muted);
    font-size: 17px;
    max-width: 680px;
    margin-bottom: 60px
}

/* ===== PILLARS ===== */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

@media(max-width:980px) {
    .pillars {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:520px) {
    .pillars {
        grid-template-columns: 1fr
    }
}

.pillar {
    padding: 28px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--card);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 168, 246, .5);
    background: var(--card-hov)
}

.pillar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.pillar:hover::before {
    opacity: 1
}

.pillar-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(1, 168, 246, .2), rgba(0, 94, 169, .1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--cyan);
}

.pillar h3 {
    font-size: 18px;
    margin-bottom: 8px
}

.pillar p {
    font-size: 14px;
    color: var(--muted)
}

/* ===== FEATURES ===== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

@media(max-width:920px) {
    .features {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:560px) {
    .features {
        grid-template-columns: 1fr
    }
}

.feat {
    padding: 32px 28px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(22, 34, 56, .6), rgba(10, 15, 28, .3));
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}

.feat:hover {
    border-width: 2px;
    border-color: rgb(1, 168, 246);
    transform: translateY(-3px)
}

.feat-num {
    font-family: 'Space Grotesk';
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .2em;
    margin-bottom: 14px;
}

.feat h3 {
    font-size: 20px;
    margin-bottom: 10px
}

.feat p {
    color: var(--white);
    font-size: 14.5px
}

.feat ul {
    list-style: none;
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--white);
    font-style: italic;
}

.feat ul li {
    padding: 4px 0 4px 18px;
    position: relative
}

.feat ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 1.5px;
    background: var(--cyan)
}

/* ===== SHOWCASE ===== */
.showcase {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
    margin-top: 600px;
    backdrop-filter: blur(14px);
    background: rgba(10, 15, 28, .65);
}

@media(max-width:920px) {
    .showcase {
        grid-template-columns: 1fr
    }
}

.showcase-img {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px -20px rgba(1, 168, 246, .25);
    background: #0a0f1c;
}

.showcase-img img {
    width: 100%;
    display: block
}

.check-list {
    list-style: none;
    margin-top: 24px
}

.check-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: #cdd6e8
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(1, 168, 246, .15);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ===== SCANNERS MARQUEE ===== */
.scanners {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 40px 0;
    background: rgba(22, 34, 56, .3);
    overflow: hidden;
}

.marquee {
    display: flex;
    gap: 48px;
    animation: scroll 28s linear infinite;
    width: max-content
}

.scanner-tag {
    font-family: 'Space Grotesk';
    font-weight: 600;
    font-size: 18px;
    color: var(--muted);
    padding: 10px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
    background: rgba(10, 15, 28, .4);
}

.scanner-tag span {
    color: var(--cyan)
}

@keyframes scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ===== CTA ===== */
.cta-section {
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card {
    margin: 0 auto;
    padding: 70px 40px;
    text-align: left;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(800px 400px at 50% 0%, rgba(1, 168, 246, .25), transparent 70%),
        linear-gradient(180deg, #14213d, #0a0f1c);
    border: 1px solid rgba(1, 168, 246, .3);
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 70%);
    opacity: .6;
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(28px, 4vw, 46px);
    margin-bottom: 16px;
    position: relative
}

.cta-card p {
    color: #b8c4dc;
    font-size: 17px;
    margin-bottom: 34px;
    position: relative
}

.cta-card .hero-ctas {
    position: relative
}

/* ===== FOOTER ===== */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--line)
}

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px
}

.foot small {
    color: var(--muted);
    font-size: 13px
}

.foot-links {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--muted)
}

.foot-links a:hover {
    color: var(--cyan)
}

/* reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all .8s ease
}

.reveal.in {
    opacity: 1;
    transform: none
}

/* ===== PENTEST CONTINUO ===== */
.pentest-section {
    padding: 100px 0;
    background: transparent;
    overflow: hidden;
}

.pentest-header {
    text-align: center;
    margin-bottom: 80px;
}

.pentest-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.85rem;
}

.pentest-title {
    font-size: 2.5rem;
    margin-top: 1rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.pentest-subtitle {
    max-width: 800px;
    margin: 1.5rem auto;
    font-size: 1.1rem;
    color: var(--muted);
}

.pentest-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pentest-tag {
    background: rgba(1, 168, 246, .08);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    color: var(--cyan);
}

.flow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-line {
    position: absolute;
    left: 50%;
    top: 40px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(1, 168, 246, .12) 20%, rgba(1, 168, 246, .12) 80%, transparent);
    transform: translateX(-50%);
}

.flow-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 100px;
    gap: 4rem;
    flex-wrap: wrap;
}

.flow-item.reverse {
    flex-direction: row-reverse;
}

.flow-content {
    flex: 1;
    min-width: 280px;
}

.flow-content.right {
    text-align: right;
}

.flow-content.left {
    text-align: left;
}

.flow-title {
    color: var(--cyan);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.flow-description {
    line-height: 1.6;
    color: var(--muted);
}

.flow-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.flow-list li {
    margin-bottom: 0.5rem;
}

.flow-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}

.flow-circle.highlighted {
    background: var(--cyan);
    box-shadow: 0 0 30px rgba(1, 168, 246, .3);
}

.flow-circle.light {
    background: var(--navy-2);
    border: 2px solid var(--line);
    box-shadow: 0 0 20px rgba(1, 168, 246, .15);
}

.flow-circle svg {
    stroke: var(--white);
    width: 24px;
    height: 24px;
}

.pentest-cta {
    margin-top: 40px;
    padding: 3rem;
    background: linear-gradient(135deg, var(--navy-2), rgba(22, 34, 56, .5));
    border: 1px solid var(--line);
    border-radius: 40px;
    text-align: center;
}

.pentest-cta-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(1, 168, 246, .1);
    border-radius: 99px;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

/* ===== DASHBOARD BG ===== */
#dashboard {
    position: relative;
    overflow: hidden;
}

.pentest-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.pentest-cta p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--muted);
}

@media(max-width: 768px) {
    .pentest-title {
        font-size: 1.8rem;
    }

    .pentest-subtitle {
        font-size: 0.95rem;
    }

    .flow-item {
        gap: 2rem;
    }

    .flow-content {
        min-width: 100%;
    }

    .flow-content.right,
    .flow-content.left {
        text-align: center;
    }
}

#dashboard {
    background-image:
        url('./dashboard-spectra.png'),
        radial-gradient(
            circle at center,
            rgba(1, 168, 246, 0.25) 0%,
            rgba(1, 168, 246, 0.15) 30%,
            rgba(1, 168, 246, 0.05) 55%,
            transparent 80%
        )
    ;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

#dashboard::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(1, 168, 246, 0.2),
        transparent 70%
    );
    pointer-events: none;
}

.showcase-dash {
    position: relative;
    z-index: 1;
    padding: 28px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    background: rgba(10, 15, 28, .75);
    margin-bottom: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: white;
    font-size: 15px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
    font-size: 16px;
}

@media(max-width: 1024px) {
    .showcase {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .showcase-img {
        order: -1;
    }
}