:root {
    --bg: #010412;
    --bg-surface: rgba(12, 18, 35, 0.45);
    --bg-elevated: rgba(12, 18, 35, 0.7);
    --green: #25D366;
    --green-dark: #128C7E;
    --teal: #0ea5a0;
    --blue: #3b82f6;
    --accent: #25D366;
    --text-1: #f8fafc;
    --text-2: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --font: 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Evita que el navbar tape el título al dar clic en enlaces */
}

body {
    background: var(--bg);
    color: var(--text-1);
    font-family: var(--font);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px
}

/* ==================== SPLASH ==================== */
.splash {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity .6s, visibility .6s
}

.splash.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.splash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: splash-scale .6s ease
}

@keyframes splash-scale {
    from {
        opacity: 0;
        transform: scale(.9)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.splash-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px
}

.splash-logo span {
    color: var(--green)
}

.splash-accent {
    color: var(--green);
    font-weight: 400;
    letter-spacing: 2px
}

/* ==================== PROGRESS BAR ==================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--green), var(--blue));
    z-index: 9999;
    box-shadow: 0 0 8px var(--green);
    transition: width .3s, opacity .4s
}

/* ==================== CURSOR ==================== */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--green), 0 0 28px rgba(37, 211, 102, .25);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity .3s
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9000;
    background: rgba(10, 20, 40, .92);
    border: 1px solid rgba(37, 211, 102, .35);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    backdrop-filter: blur(20px);
    transform: translateX(120%);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
    max-width: 360px
}

.toast.show {
    transform: translateX(0)
}

.toast-icon {
    width: 22px;
    height: 22px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    color: #000;
    flex-shrink: 0
}

.toast-msg {
    font-size: .875rem;
    font-family: var(--mono);
    color: #fff
}

/* ==================== COOKIE ==================== */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 8000;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(20px);
    max-width: 600px;
    width: 90%;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1)
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0)
}

.cookie-banner p {
    font-size: .8125rem;
    color: var(--text-2);
    line-height: 1.5
}

.cookie-link {
    color: var(--green);
    cursor: pointer
}

.cookie-btn {
    background: var(--text-1);
    color: var(--bg);
    border: none;
    border-radius: 6px;
    padding: .5rem 1.25rem;
    font-family: var(--font);
    font-size: .8125rem;
    font-weight: 500;
    cursor: none;
    white-space: nowrap;
    transition: opacity .2s
}

.cookie-btn:hover {
    opacity: .85
}

/* ==================== BACKGROUND MESH ==================== */
.mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    overflow: hidden;
    transition: transform .1s linear;
    will-change: transform;
}

.mesh-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: grid-move 30s linear infinite;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 60%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 60%);
    will-change: transform;
}

@keyframes grid-move {
    0% {
        transform: rotateX(60deg) translateY(0)
    }

    100% {
        transform: rotateX(60deg) translateY(80px)
    }
}

.mesh-scanner {
    position: absolute;
    top: -10vh;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    background: linear-gradient(to bottom, transparent 0%, rgba(37, 211, 102, .008) 48%, rgba(37, 211, 102, .05) 50%, transparent 52%);
    animation: scan 16s linear infinite;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%)
}

@keyframes scan {
    0% {
        transform: translateY(-30%);
        opacity: 0
    }

    15% {
        opacity: 1
    }

    85% {
        opacity: 1
    }

    100% {
        transform: translateY(130%);
        opacity: 0
    }
}

#data-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: .7
}

.ambient-glow {
    position: fixed;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
    opacity: .035
}

.green-glow {
    background: radial-gradient(circle, var(--green) 0%, transparent 70%);
    top: -10%;
    right: -10%
}

.teal-glow {
    background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
    bottom: -10%;
    left: -10%
}

/* ==================== REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1)
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.delay-1.reveal.visible {
    transition-delay: .1s
}

.delay-2.reveal.visible {
    transition-delay: .2s
}

.delay-3.reveal.visible {
    transition-delay: .3s
}

.delay-4.reveal.visible {
    transition-delay: .4s
}

.delay-5.reveal.visible {
    transition-delay: .5s
}

/* ==================== NAVBAR ==================== */
.navbar {
    width: 100%;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, backdrop-filter .3s
}

.navbar.scrolled {
    background: rgba(2, 6, 23, .85);
    border-color: var(--border);
    backdrop-filter: blur(16px)
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    display: flex;
    align-items: center;
    gap: .75rem
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .5px
}

.accent-dot {
    color: var(--green)
}

.accent-mkt {
    color: var(--green);
    font-weight: 400;
    font-size: .95em
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem
}

.nav-link {
    color: var(--text-2);
    text-decoration: none;
    font-size: .875rem;
    transition: color .2s
}

.nav-link:hover {
    color: var(--text-1)
}

.nav-cta {
    background: var(--green);
    color: #000;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 600;
    padding: .5rem 1.25rem;
    border-radius: 8px;
    transition: opacity .2s, transform .2s
}

.nav-cta:hover {
    opacity: .9;
    transform: translateY(-1px)
}

/* ==================== HERO ==================== */
.hero {
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
    min-height: 100vh
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 2.5rem
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%
}

.badge-text {
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--text-2);
    letter-spacing: .5px
}

.title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 1.5rem
}

.text-cycle {
    display: inline-block;
    color: var(--text-2)
}

.text-cycle::after {
    content: '|';
    color: var(--green);
    animation: blink 1s step-end infinite
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-2);
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 3rem
}

.subtitle strong {
    color: var(--text-1)
}

.metrics-row {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.metric {
    display: flex;
    flex-direction: column;
    gap: .25rem
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em
}

.metric-unit {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--green);
    margin-left: 2px
}

.metric-label {
    font-size: .8rem;
    color: var(--text-2);
    font-family: var(--mono);
    margin-top: .25rem
}

.metric-sep {
    width: 1px;
    height: 48px;
    background: var(--border);
    margin-top: 4px;
    flex-shrink: 0
}

.cta-wrapper {
    margin-bottom: 2rem
}

.terminal-form {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .5rem;
    max-width: 500px;
    backdrop-filter: blur(10px);
    transition: border-color .3s
}

.terminal-form:focus-within {
    border-color: rgba(37, 211, 102, .3)
}

/* ==================== UNIVERSAL BANNER ==================== */
.market-universal-banner {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(37, 211, 102, 0.03);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.mub-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.mub-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mub-text {
    font-size: 1.1rem;
    color: var(--text-2);
    line-height: 1.6;
}

.mub-text strong {
    color: var(--text-1);
    font-weight: 600;
}

@media (max-width: 768px) {
    .mub-content {
        flex-direction: column;
        text-align: center;
    }

    .market-universal-banner {
        padding: 1.5rem;
    }
}

.terminal-prefix {
    color: var(--text-2);
    font-family: var(--mono);
    padding: 0 1rem;
    font-size: .9rem
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-1);
    font-family: var(--font);
    font-size: .9375rem;
    outline: none;
    cursor: none
}

.terminal-input::placeholder {
    color: var(--text-2)
}

.terminal-btn {
    background: var(--green);
    color: #000;
    border: none;
    border-radius: 6px;
    padding: .6rem 1.25rem;
    font-family: var(--font);
    font-size: .875rem;
    font-weight: 600;
    cursor: none;
    transition: opacity .2s
}

.terminal-btn:hover {
    opacity: .85
}

.cta-note {
    font-size: .8rem;
    color: var(--text-2);
    font-family: var(--mono);
    margin-top: .75rem;
    padding-left: .25rem
}

/* Feature pills */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 2rem 0 2.5rem
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .85rem;
    background: rgba(37, 211, 102, .07);
    border: 1px solid rgba(37, 211, 102, .2);
    border-radius: 100px;
    font-size: .8125rem;
    color: var(--text-2);
    transition: background .2s, color .2s, border-color .2s
}

.pill:hover {
    background: rgba(37, 211, 102, .14);
    color: var(--text-1);
    border-color: rgba(37, 211, 102, .4)
}

.pill svg {
    color: var(--green);
    flex-shrink: 0
}

.features {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3.5rem;
    margin-top: 2.5rem
}

.feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.feature-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    margin-top: 5px;
    flex-shrink: 0
}

/* How-tag */
.how-tag {
    display: block;
    margin-top: 1.25rem;
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--green);
    opacity: .7;
    letter-spacing: .3px
}

.feature-title {
    font-weight: 500;
    font-size: .9375rem
}

.feature-desc {
    font-size: .875rem;
    color: var(--text-2);
    line-height: 1.5
}

.techstack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    margin-bottom: 3rem
}

.techstack-label {
    font-size: .75rem;
    font-family: var(--mono);
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: .5px
}

.techstack-logos {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.tech-badge {
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--text-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, .02);
    transition: color .2s, border-color .2s
}

.tech-badge:hover {
    color: var(--text-1);
    border-color: rgba(255, 255, 255, .15)
}

/* ==================== INTEGRATIONS MARQUEE ==================== */
.integrations-section {
    padding: 2.5rem 0 3.5rem;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.integrations-label {
    text-align: center;
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--text-2);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.marquee-track {
    width: 100%;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    position: relative;
}

.marquee-track::before,
.marquee-track::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-track::before {
    left: 0;
    background: linear-gradient(to right, #020617 0%, transparent 100%);
}

.marquee-track::after {
    right: 0;
    background: linear-gradient(to left, #020617 0%, transparent 100%);
}

.marquee-content {
    display: inline-flex;
    animation: scroll-marquee 25s linear infinite;
    align-items: center;
}

.integration-logo {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--text-2);
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 2.5rem;
    opacity: 0.5;
    transition: opacity 0.3s, color 0.3s;
}

.integration-logo svg {
    color: var(--text-2);
    transition: color 0.3s;
}

.integration-logo:hover {
    opacity: 1;
    color: var(--text-1);
}

.integration-logo:hover svg {
    color: var(--green);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-2);
    text-decoration: none;
    font-size: .875rem;
    transition: color .2s;
    animation: scroll-bounce 2s ease-in-out infinite
}

.scroll-cue:hover {
    color: var(--text-1)
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(5px)
    }
}

/* ==================== SHARED SECTIONS ==================== */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem
}

.section-label {
    font-family: var(--mono);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--green);
    margin-bottom: 1rem;
    display: block
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 3rem
}

/* ==================== HOW IT WORKS ==================== */
.how-section {
    padding: 7rem 2rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border)
}

.how-grid {
    display: flex;
    align-items: flex-start;
    gap: 0
}

.how-card {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: background .3s, border-color .3s, transform .3s
}

.how-card:hover {
    background: var(--bg-elevated);
    border-color: rgba(37, 211, 102, .2);
    transform: translateY(-3px)
}

.how-step {
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--green);
    letter-spacing: 1px;
    margin-bottom: 1.25rem
}

.how-icon {
    color: var(--green);
    margin-bottom: 1.25rem
}

.how-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: .75rem
}

.how-desc {
    font-size: .875rem;
    color: var(--text-2);
    line-height: 1.6
}

.how-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 .5rem;
    margin-top: 3rem
}

.how-line {
    flex: 1;
    height: 1px;
    background: var(--border)
}

.how-arrow {
    font-size: 1.5rem;
    color: var(--green);
    opacity: .5;
    padding: 0 .25rem
}

/* ==================== SECTORS / MODULES ==================== */
.sectors-section {
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 10
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem
}

.sector-badge {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    backdrop-filter: blur(10px);
    transition: border-color .3s, transform .3s, background .3s
}

.sector-badge:hover {
    border-color: rgba(37, 211, 102, .25);
    transform: translateY(-3px);
    background: var(--bg-elevated)
}

.sector-icon {
    font-size: 1.75rem
}

.sector-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 211, 102, .08);
    border: 1px solid rgba(37, 211, 102, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s
}

.sector-badge:hover .sector-icon-wrap {
    background: rgba(37, 211, 102, .16)
}

.sector-name {
    font-weight: 600;
    font-size: 1rem;
    margin-top: .25rem
}

.sector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .5rem
}

.sector-tags span {
    font-family: var(--mono);
    font-size: .68rem;
    color: var(--green);
    opacity: .65;
    background: rgba(37, 211, 102, .06);
    border: 1px solid rgba(37, 211, 102, .12);
    border-radius: 4px;
    padding: 1px 6px
}

.sector-desc code {
    font-family: var(--mono);
    font-size: .8em;
    color: var(--green);
    opacity: .8
}

.sector-desc {
    font-size: .8375rem;
    color: var(--text-2);
    line-height: 1.5
}

/* ==================== CONFIGURATION SECTION ==================== */
.config-section {
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 10
}

.config-intro {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 760px;
    line-height: 1.7;
    margin-bottom: 3.5rem;
    margin-top: -.25rem
}

/* --- 3 Pillars --- */
.config-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem
}

.config-pillar {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, transform .3s
}

.config-pillar:hover {
    border-color: rgba(37, 211, 102, .25);
    transform: translateY(-3px)
}

.config-pillar-featured {
    border-color: rgba(37, 211, 102, .3);
    background: rgba(37, 211, 102, .03)
}

.config-pillar-featured:hover {
    border-color: rgba(37, 211, 102, .5)
}

.config-pillar-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 211, 102, .1) 0%, transparent 70%);
    pointer-events: none
}

.config-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 211, 102, .08);
    border: 1px solid rgba(37, 211, 102, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem
}

.config-pillar-title {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -.015em;
    margin-bottom: .75rem
}

.config-pillar-desc {
    font-size: .875rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 1.25rem
}

.config-pillar-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--green);
    border: 1px solid rgba(37, 211, 102, .2);
    border-radius: 4px;
    padding: 2px 8px;
    letter-spacing: .3px
}

/* --- Modules Grid --- */
.config-modules-wrap {
    background: rgba(255, 255, 255, .018);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.25rem;
    margin-bottom: 2.5rem
}

.config-modules-label {
    font-family: var(--mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-2);
    margin-bottom: 1.5rem;
    display: block
}

.config-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.config-module {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    transition: background .2s, border-color .2s
}

.config-module:hover {
    background: rgba(37, 211, 102, .05);
    border-color: rgba(37, 211, 102, .2)
}

.config-module-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    margin-top: .45rem;
    box-shadow: 0 0 6px rgba(37, 211, 102, .5)
}

.config-module-name {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: .3rem;
    letter-spacing: -.01em
}

.config-module-desc {
    display: block;
    font-size: .78rem;
    color: var(--text-2);
    line-height: 1.5
}

/* --- CTA Block --- */
.config-cta-block {
    margin-top: .5rem
}

.config-cta-inner {
    background: var(--bg-surface);
    border: 1px solid rgba(37, 211, 102, .2);
    border-radius: 20px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px)
}

.config-cta-glow {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 211, 102, .06) 0%, transparent 70%);
    pointer-events: none
}

.config-cta-eyebrow {
    display: block;
    font-family: var(--mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--green);
    margin-bottom: 1rem
}

.config-cta-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
    margin-bottom: 1rem
}

.config-cta-desc {
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.7
}

.config-steps {
    display: flex;
    flex-direction: column;
    gap: 1.1rem
}

.config-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem
}

.config-step-num {
    font-family: var(--mono);
    font-size: .75rem;
    font-weight: 700;
    color: var(--green);
    background: rgba(37, 211, 102, .08);
    border: 1px solid rgba(37, 211, 102, .2);
    border-radius: 6px;
    padding: .3rem .55rem;
    flex-shrink: 0;
    margin-top: .1rem
}

.config-step-title {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .2rem
}

.config-step-info {
    display: block;
    font-size: .8125rem;
    color: var(--text-2)
}

/* Shared button (still needed for config CTA) */
.pricing-btn {
    display: block;
    text-align: center;
    padding: .75rem 1.5rem;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
    cursor: none
}

.pricing-btn:hover {
    opacity: .88;
    transform: translateY(-1px)
}

.pricing-btn-primary {
    background: var(--green);
    color: #000
}

.pricing-btn-outline {
    background: transparent;
    color: var(--text-1);
    border: 1px solid var(--border)
}

.pricing-btn-outline:hover {
    border-color: rgba(255, 255, 255, .2)
}

/* ==================== ROADMAP ==================== */
.roadmap-section {
    padding: 7rem 2rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border)
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0
}

.tl-item {
    display: flex;
    gap: 2rem;
    position: relative;
    padding-left: 1.5rem
}

.tl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg);
    flex-shrink: 0;
    margin-top: .35rem;
    position: absolute;
    left: 0;
    transition: border-color .3s
}

.tl-item.done .tl-dot {
    border-color: var(--green);
    background: var(--green)
}

.tl-item.active .tl-dot {
    border-color: var(--green);
    box-shadow: 0 0 12px rgba(37, 211, 102, .5)
}

.tl-connector {
    width: 2px;
    height: 3rem;
    background: var(--border);
    margin-left: 6px
}

.tl-item.done+.tl-connector {
    background: var(--green-dark)
}

.tl-content {
    padding-bottom: 2.5rem
}

.tl-phase {
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--green);
    display: block;
    margin-bottom: .5rem
}

.tl-item:not(.done):not(.active) .tl-phase {
    color: var(--text-2)
}

.tl-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: .5rem
}

.tl-desc {
    font-size: .875rem;
    color: var(--text-2);
    line-height: 1.6
}

/* ==================== ROI CALCULATOR ==================== */
.roi-section {
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.roi-card {
    background: rgba(2, 6, 23, .4);
    border: 1px solid rgba(37, 211, 102, .2);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.roi-controls {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.roi-controls label {
    font-size: 1.1rem;
    color: var(--text-2);
    margin-bottom: 2rem;
    display: block;
}

.roi-highlight {
    color: var(--green);
    font-weight: 600;
    font-size: 1.3rem;
    display: block;
    margin-top: 0.5rem;
}

.roi-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--green);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(37, 211, 102, .6);
    transition: transform 0.2s;
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.roi-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--green);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(37, 211, 102, .6);
    border: none;
}

.roi-slider-marks {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: var(--text-2);
    font-size: .8rem;
    font-family: var(--mono);
}

.roi-results {
    flex: 1;
    min-width: 300px;
    background: rgba(0, 0, 0, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.roi-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.roi-result-label {
    color: var(--text-2);
    font-size: .95rem;
}

.roi-result-value {
    font-family: var(--mono);
    font-size: 1.2rem;
    font-weight: 600;
}

.roi-result-value.bad {
    color: #f87171;
}

.roi-result-value.good {
    color: var(--text-1);
}

.roi-result-value.highlight {
    color: var(--green);
    font-size: 1.75rem;
}

.roi-result-divider {
    height: 1px;
    background: var(--border);
    margin: 2rem 0;
}

.roi-total {
    margin-bottom: 0;
}

/* ==================== COMPARISON TABLE ==================== */
.comparison-section {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
}

.compare-table-wrap {
    background: rgba(2, 6, 23, .4);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow-x: auto;
    margin-top: 3.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.compare-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    text-align: left;
}

.compare-table th,
.compare-table td {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
    font-size: .95rem;
}

.compare-table th {
    font-weight: 600;
    color: var(--text-1);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.compare-table td strong {
    color: var(--text-1);
    font-weight: 500;
}

.highlight-col {
    background: rgba(37, 211, 102, .04);
    color: var(--green) !important;
    font-weight: 500;
    position: relative;
    border-left: 1px solid rgba(37, 211, 102, .15);
    border-right: 1px solid rgba(37, 211, 102, .15);
}

.compare-table th.highlight-col {
    background: rgba(37, 211, 102, .08);
    color: var(--green);
    border-top: 3px solid var(--green);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

/* ==================== SECURITY SECTION ==================== */
.security-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.security-badge {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
    backdrop-filter: blur(10px);
}

.security-badge:hover {
    transform: translateY(-8px);
    background: rgba(37, 211, 102, 0.04);
    border-color: rgba(37, 211, 102, 0.2);
}

.security-badge svg {
    margin-bottom: 2rem;
}

.security-badge h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 1rem;
}

.security-badge p {
    font-size: .85rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ==================== FAQ ==================== */
.faq-section {
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 10
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px
}

.faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-1);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    padding: 1.5rem 0;
    cursor: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color .2s
}

.faq-question:hover {
    color: var(--green)
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--text-2);
    flex-shrink: 0;
    transition: transform .3s, color .2s;
    font-weight: 300
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--green)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.16, 1, .3, 1)
}

.faq-item.open .faq-answer {
    max-height: 300px
}

.faq-answer p {
    font-size: .9375rem;
    color: var(--text-2);
    line-height: 1.7;
    padding-bottom: 1.5rem
}

.faq-answer strong {
    color: var(--text-1)
}

/* ==================== FINAL CTA ==================== */
.cta-section {
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 10
}

.cta-card {
    background: var(--bg-surface);
    border: 1px solid rgba(37, 211, 102, .2);
    border-radius: 24px;
    padding: 4rem;
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-card-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 211, 102, .08) 0%, transparent 70%);
    pointer-events: none
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1.25rem
}

.cta-card-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.025em;
    margin-bottom: 1rem;
    line-height: 1.15
}

.cta-card-desc {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.6
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap
}

.cta-big-btn {
    padding: .875rem 2rem;
    font-size: 1rem
}

/* ==================== FOOTER ==================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 10
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem
}

.footer-brand {
    max-width: 280px
}

.footer-tagline {
    font-size: .875rem;
    color: var(--text-2);
    margin-top: .75rem;
    line-height: 1.5
}

.footer-links-grid {
    display: flex;
    gap: 3rem
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.footer-col-title {
    font-size: .75rem;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-2);
    margin-bottom: .25rem
}

.footer-col a {
    font-size: .875rem;
    color: var(--text-2);
    text-decoration: none;
    transition: color .2s
}

.footer-col a:hover {
    color: var(--text-1)
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border)
}

.system-status {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--text-2)
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
    animation: status-pulse 2s ease-in-out infinite
}

@keyframes status-pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

.footer-bottom p {
    font-size: .8125rem;
    color: var(--text-2)
}

/* ==================== MARKETS SECTION v2 ==================== */
.markets-section {
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 10
}

.markets-subtitle {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 680px;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    margin-top: -.5rem
}

/* --- Tabs v2 --- */
.markets-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.25rem
}

.mkt-tab {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-2);
    font-family: var(--font);
    font-size: .8125rem;
    font-weight: 500;
    padding: .5rem 1rem;
    cursor: none;
    transition: background .2s, color .2s, border-color .2s, transform .15s
}

.mkt-tab svg {
    transition: stroke .2s
}

.mkt-tab:hover {
    background: rgba(255, 255, 255, .04);
    color: var(--text-1);
    border-color: rgba(255, 255, 255, .14);
    transform: translateY(-2px)
}

.mkt-tab.active {
    background: rgba(37, 211, 102, .09);
    border-color: rgba(37, 211, 102, .4);
    color: var(--green)
}

/* --- Panels --- */
.markets-panels {
    position: relative
}

.market-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
    animation: panel-in .4s cubic-bezier(.16, 1, .3, 1)
}

.market-panel.active {
    display: grid
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* --- Scenario box (el problema real) --- */
.market-scenario-box {
    background: rgba(255, 255, 255, .024);
    border: 1px solid rgba(255, 255, 255, .07);
    border-left: 3px solid rgba(37, 211, 102, .5);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem
}

.scenario-label {
    display: block;
    font-family: var(--mono);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--green);
    margin-bottom: .5rem
}

.scenario-text {
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.65;
    margin: 0
}

/* --- Métricas de impacto --- */
.market-stats {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap
}

.mkt-stat {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    flex: 1;
    min-width: 110px;
    background: rgba(37, 211, 102, .05);
    border: 1px solid rgba(37, 211, 102, .12);
    border-radius: 10px;
    padding: .85rem 1rem
}

.mkt-stat-val {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    letter-spacing: -.03em
}

.mkt-stat-label {
    font-size: .75rem;
    color: var(--text-2);
    line-height: 1.4
}

/* --- Cases v2 con check icons --- */
.market-cases-v2 {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .9rem
}

.market-cases-v2 li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.55
}

.market-cases-v2 strong {
    color: var(--text-1)
}

.case-icon-v2 {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(37, 211, 102, .1);
    border: 1px solid rgba(37, 211, 102, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: .15rem
}

/* ==================== CHAT MOCKUP V2 ==================== */
.chat-mockup-v2 {
    background: rgba(6, 14, 28, .8);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(24px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .04)
}

.cmv2-bar {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .875rem 1.25rem;
    background: rgba(255, 255, 255, .025);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.cmv2-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px currentColor
}

.cmv2-name {
    font-size: .8125rem;
    font-weight: 600;
    flex: 1
}

.cmv2-time {
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--text-2)
}

.cmv2-msgs {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .7rem
}

.cmv2-bubble {
    position: relative;
    padding: .65rem .9rem;
    border-radius: 14px;
    font-size: .8125rem;
    line-height: 1.55;
    max-width: 92%;
    word-break: break-word
}

.cmv2-bubble.out {
    background: rgba(37, 211, 102, .11);
    border: 1px solid rgba(37, 211, 102, .18);
    align-self: flex-start;
    border-bottom-left-radius: 3px
}

.cmv2-bubble.in {
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .08);
    align-self: flex-end;
    color: var(--text-2);
    border-bottom-right-radius: 3px
}

.cmv2-ts {
    display: inline-block;
    font-size: .65rem;
    color: rgba(255, 255, 255, .3);
    margin-left: .5rem;
    font-family: var(--mono);
    vertical-align: middle
}

.cmv2-btns {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .6rem
}

.cmv2-btn {
    background: rgba(37, 211, 102, .07);
    border: 1px solid rgba(37, 211, 102, .3);
    border-radius: 7px;
    padding: .28rem .7rem;
    font-size: .75rem;
    color: var(--green);
    cursor: default;
    white-space: nowrap
}

.cmv2-note {
    font-family: var(--mono);
    font-size: .68rem;
    color: rgba(255, 255, 255, .3);
    text-align: center;
    padding: .65rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .05);
    line-height: 1.4
}

/* ==================== RESPONSIVE ==================== */
.markets-section {
    padding: 7rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 10
}

.markets-subtitle {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 620px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    margin-top: -.5rem
}

/* Tabs */
.markets-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem
}

.mkt-tab {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-2);
    font-family: var(--font);
    font-size: .8125rem;
    font-weight: 500;
    padding: .45rem 1rem;
    cursor: none;
    transition: background .2s, color .2s, border-color .2s, transform .15s
}

.mkt-tab:hover {
    background: rgba(255, 255, 255, .04);
    color: var(--text-1);
    border-color: rgba(255, 255, 255, .14);
    transform: translateY(-1px)
}

.mkt-tab.active {
    background: rgba(37, 211, 102, .1);
    border-color: rgba(37, 211, 102, .4);
    color: var(--green)
}

/* Panels */
.markets-panels {
    position: relative
}

.market-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    animation: panel-in .4s cubic-bezier(.16, 1, .3, 1)
}

.market-panel.active {
    display: grid
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.market-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--green);
    border: 1px solid rgba(37, 211, 102, .2);
    border-radius: 4px;
    padding: 3px 10px;
    margin-bottom: 1.25rem
}

.market-panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 1rem
}

.market-panel-desc {
    font-size: .9375rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 1.75rem
}

.market-cases {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.market-cases li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.5
}

.market-cases strong {
    color: var(--text-1)
}

.case-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    margin-top: .35rem
}

/* Chat Mockup */
.chat-mockup {
    background: rgba(10, 20, 40, .7);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4)
}

.chat-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1.25rem;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid var(--border)
}

.chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0
}

.chat-name {
    font-size: .875rem;
    font-weight: 600
}

.chat-online {
    font-size: .72rem;
    color: var(--green);
    font-family: var(--mono)
}

.chat-messages {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.chat-msg {
    padding: .65rem .9rem;
    border-radius: 12px;
    font-size: .8125rem;
    line-height: 1.5;
    max-width: 90%;
    animation: msg-in .35s ease
}

@keyframes msg-in {
    from {
        opacity: 0;
        transform: translateY(5px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.chat-msg.sent {
    background: rgba(37, 211, 102, .12);
    border: 1px solid rgba(37, 211, 102, .15);
    align-self: flex-start;
    border-bottom-left-radius: 3px
}

.chat-msg.received {
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    align-self: flex-end;
    border-bottom-right-radius: 3px;
    color: var(--text-2)
}

.chat-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .6rem
}

.chat-btn {
    background: rgba(37, 211, 102, .08);
    border: 1px solid rgba(37, 211, 102, .25);
    border-radius: 6px;
    padding: .3rem .7rem;
    font-size: .75rem;
    color: var(--green);
    cursor: default;
    white-space: nowrap
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .nav-links {
        display: none
    }

    .metrics-row {
        flex-wrap: wrap;
        gap: 1.5rem
    }

    .features {
        flex-direction: column;
        gap: 1.5rem
    }

    .feature-divider {
        display: none
    }

    .how-grid {
        flex-direction: column
    }

    .how-connector {
        display: none
    }

    .sectors-grid {
        grid-template-columns: 1fr
    }

    .config-pillars {
        grid-template-columns: 1fr
    }

    .config-modules-grid {
        grid-template-columns: 1fr 1fr
    }

    .config-cta-inner {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .footer-top {
        flex-direction: column
    }

    .footer-links-grid {
        flex-wrap: wrap;
        gap: 2rem
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center
    }

    .cta-card {
        padding: 2.5rem 1.5rem
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1.25rem
    }

    .how-section,
    .sectors-section,
    .config-section,
    .roadmap-section,
    .faq-section,
    .cta-section {
        padding: 5rem 1.25rem
    }

    .config-modules-grid {
        grid-template-columns: 1fr
    }

    .config-cta-inner {
        padding: 2rem 1.5rem
    }

    .section-container {
        padding: 0 1.25rem
    }
}

/* ==================== A11Y ==================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==================== SCROLL TO TOP BTN ==================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(10, 20, 40, .9);
    border: 1px solid rgba(37, 211, 102, .3);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    cursor: pointer !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, border-color 0.2s;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.8);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}