:root {
    --bg-main: #050814;
    --bg-section: #070a18;
    --bg-card: #0b0f22;
    --accent-orange: #ff8a3c;
    --accent-orange-soft: rgba(255,138,60,0.22);
    --accent-cyan: #3bc9ff;
    --accent-green: #3df5a0;
    --accent-blue: #4c7dff;
    --text-main: #f5f6ff;
    --text-muted: #a7aec8;
    --border-subtle: rgba(255,255,255,0.06);
    --radius-lg: 16px;
    --radius-xl: 22px;
    --shadow-soft: 0 18px 50px rgba(0,0,0,0.9);
    --transition-fast: 180ms ease-out;
    --transition-med: 260ms ease;
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #101632 0%, #050814 45%, #02030a 100%);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* LAYOUT GENERAL */
.container {
    width: min(1200px, 100% - 3rem);
    margin-inline: auto;
}

.section {
    padding: 6rem 0 5rem;
}

.dark-section {
    background: var(--bg-section);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}

.section-header h2 {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.8rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--accent-cyan);
    margin-bottom: 0.6rem;
}

.kicker::before {
    content: "";
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-orange), transparent);
}

/* NAVBAR */
.navbar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 40;
    background: rgba(5, 8, 20, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.hydra-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.7));
    transition: transform .25s ease, filter .25s ease;
}

.hydra-logo:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 0 18px rgba(255,255,255,0.9));
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.logo-title {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* NAV LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--text-muted);
    padding-bottom: 0.25rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width var(--transition-med);
}

.nav-links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding-inline: 1rem;
    padding-block: 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange) !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #ffffff;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 96px;
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0, rgba(255,138,60,0.32), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(67, 131, 255, 0.5), transparent 55%);
    mix-blend-mode: screen;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3.2rem;
    align-items: center;
    padding-block: 4.8rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(6, 8, 20, 0.85);
    margin-bottom: 1.1rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--accent-green), #0aff87);
    box-shadow: 0 0 12px rgba(61,245,160,0.8);
}

.hero-text h1 {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.hero-text h1 span {
    color: var(--accent-orange);
    text-shadow: 0 0 30px rgba(255,138,60,1);
}

.hero-text p {
    max-width: 580px;
    font-size: 0.98rem;
    color: var(--text-muted);
}

.hero-actions {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-med), color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-fast), border-color var(--transition-med);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), #ffd3a6);
    color: #1b1110;
    box-shadow: 0 0 26px rgba(255,138,60,0.9);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 32px rgba(255,138,60,1);
}

.btn-ghost {
    background: rgba(7, 9, 22, 0.9);
    border-color: rgba(255,255,255,0.12);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.03);
    border-color: var(--accent-orange);
}

.btn.full {
    width: 100%;
}

.hero-tags {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-tags span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(6, 9, 24, 0.92);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--accent-orange), #ffb98a);
}

/* HERO SIDE + TELÉFONO */
.hero-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.4rem;
}

/* Columna derecha antigua (ya no usada, pero no estorba) */
.scanner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.4rem;
}

@media (max-width: 960px) {
    .scanner-right {
        align-items: flex-start;
    }
}

/* HERO CARD */
.hero-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 1.8rem 1.7rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-soft);
    max-width: 380px;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -55%;
    background: radial-gradient(circle at 0 0, var(--accent-orange-soft), transparent 60%);
    opacity: 0.9;
    mix-blend-mode: soft-light;
}

.hero-card-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
}

.hero-card-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-card-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(5,8,20,0.9);
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--accent-green), #1cff92);
    box-shadow: 0 0 12px rgba(61,245,160,0.9);
}

.hero-card-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-metric {
    background: rgba(7,10,26,0.9);
    border-radius: 14px;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.8rem;
}

.metric-label {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.18rem;
}

.metric-value {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1.05rem;
}

.metric-orange {
    color: var(--accent-orange);
}

.hero-list {
    position: relative;
    list-style: none;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-left: 0;
    margin-top: 0.4rem;
}

.hero-list li + li {
    margin-top: 0.35rem;
}

/* GRID */
.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.8rem;
    align-items: flex-start;
}

.grid-2.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.text-block {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cards-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* GENERIC CARD */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 32px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

.card h3 {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CARD VARIANTS */
.card-glow::after,
.card-outline::after {
    content: "";
    position: absolute;
    inset-inline: -40%;
    bottom: -60%;
    height: 120%;
    background: linear-gradient(120deg, var(--accent-orange-soft), transparent, rgba(59,201,255,0.18));
    opacity: 0;
    transition: opacity var(--transition-med);
}

.card-glow:hover::after,
.card-outline:hover::after {
    opacity: 1;
    mix-blend-mode: soft-light;
}

.card-outline {
    border: 1px solid rgba(76,125,255,0.45);
}

/* CARD ICONS */
.card-icon-wrap {
    position: relative;
    margin-bottom: 0.5rem;
}

.card-icon-wrap.small {
    margin-bottom: 0.7rem;
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 0%, rgba(255,255,255,0.25), rgba(10,14,40,1));
    position: relative;
}

.card-icon::before {
    content: "";
    width: 18px;
    height: 18px;
}

/* ICONS (formas simples) */
.icon-radar::before {
    border-radius: 50%;
    border: 2px solid var(--accent-green);
    box-shadow: 0 0 10px rgba(61,245,160,0.7);
}

.icon-mic::before {
    border-radius: 6px;
    border: 2px solid var(--accent-orange);
}

.icon-shield::before {
    border-radius: 50% 50% 45% 45%;
    border: 2px solid var(--accent-cyan);
}

.icon-lock::before {
    border-radius: 4px;
    border: 2px solid var(--accent-orange);
}

.icon-data::before {
    border-radius: 4px;
    border: 2px solid var(--accent-blue);
}

.icon-network::before {
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
}

.icon-chart::before {
    border-radius: 4px;
    border: 2px solid var(--accent-blue);
}

.icon-link::before {
    border-radius: 999px;
    border: 2px solid var(--accent-cyan);
}

.icon-pin::before {
    border-radius: 50% 50% 50% 0;
    border: 2px solid var(--accent-green);
}

.icon-route::before {
    border-radius: 999px;
    border: 2px dashed var(--accent-green);
}

.icon-mobile::before {
    border-radius: 4px;
    border: 2px solid var(--accent-blue);
}

.icon-alert::before {
    border-radius: 50%;
    border: 2px solid #ff4d5e;
}

.icon-report::before {
    border-radius: 4px;
    border: 2px solid var(--accent-orange);
}

.icon-audit::before {
    border-radius: 4px;
    border: 2px solid var(--accent-cyan);
}

.icon-fire::before {
    border-radius: 50%;
    border: 2px solid #ff4d5e;
}

.icon-strategy::before {
    border-radius: 50%;
    border: 2px solid var(--accent-orange);
}

.icon-framework::before {
    border-radius: 4px;
    border: 2px solid var(--accent-green);
}

/* ICON LIST */
.icon-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: radial-gradient(circle at 30% 0%, rgba(255,255,255,0.2), rgba(9,11,32,1));
    display: grid;
    place-items: center;
    position: relative;
}

.icon-circle::before {
    content: "";
    width: 16px;
    height: 16px;
}

.icon-circle.icon-radar::before {
    border-radius: 50%;
    border: 2px solid var(--accent-green);
}

.icon-circle.icon-mic::before {
    border-radius: 4px;
    border: 2px solid var(--accent-orange);
}

.icon-circle.icon-shield::before {
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
}

.icon-circle.icon-chart::before {
    border-radius: 4px;
    border: 2px solid var(--accent-blue);
}

.icon-circle.icon-link::before {
    border-radius: 999px;
    border: 2px solid var(--accent-cyan);
}

.icon-circle.icon-pin::before {
    border-radius: 50% 50% 50% 0;
    border: 2px solid var(--accent-green);
}

.icon-circle.icon-route::before {
    border-radius: 999px;
    border: 2px dashed var(--accent-green);
}

.icon-circle.icon-mobile::before {
    border-radius: 4px;
    border: 2px solid var(--accent-blue);
}

.icon-circle.icon-alert::before {
    border-radius: 50%;
    border: 2px solid #ff4d5e;
}

/* DOT */
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffe4c7, var(--accent-orange));
    margin-top: 0.25rem;
}

/* SECTION PILLS */
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-main);
    background: rgba(5,8,20,0.92);
}

.section-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-orange), #ffb98a);
}

.section-pill-blue {
    border-color: rgba(76,125,255,0.6);
}

.section-pill-green::before {
    background: radial-gradient(circle, var(--accent-green), #7fffca);
}

.section-pill-orange::before {
    background: radial-gradient(circle, var(--accent-orange), #ffc18a);
}

/* ========= ANIMACIÓN ANÁLISIS DE DATOS ========= */

.data-lab-card {
    overflow: visible;
}

.data-lab {
    position: relative;
    border-radius: 14px;
    padding: 0.9rem 1rem 1.1rem;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(76,125,255,0.55);
    background:
        radial-gradient(circle at 0 0, rgba(76,125,255,0.35), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(61,245,160,0.2), transparent 60%);
    background-color: #050814;
    box-shadow:
        0 0 18px rgba(0,0,0,0.85),
        0 0 26px rgba(59,201,255,0.25);
    overflow: hidden;
}

.data-lab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
}

.data-badge {
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255,211,127,0.85);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.66rem;
    color: #ffe8b8;
    background: rgba(35,24,5,0.85);
    box-shadow: 0 0 14px rgba(255,211,127,0.5);
    animation: dataBadgePulse 3s ease-in-out infinite;
}

.data-target {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9fdcff;
    opacity: 0.9;
}

.data-lab-body {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
}

/* carpetas laterales */
.data-folders {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 82px;
}

.data-folder {
    position: relative;
    height: 26px;
    border-radius: 7px;
    padding: 0.15rem 0.45rem 0.15rem 0.7rem;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    color: #e5f7ff;
    background: linear-gradient(135deg, rgba(59,201,255,0.4), rgba(7, 12, 32, 1));
    border: 1px solid rgba(59,201,255,0.9);
    box-shadow: 0 0 12px rgba(59,201,255,0.6);
    overflow: hidden;
}

.data-folder::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 2px;
    width: 22px;
    height: 8px;
    border-radius: 6px 6px 2px 2px;
    background: rgba(59,201,255,0.9);
    opacity: 0.9;
}

.data-folder-1 {
    animation: dataFolderFloat 4s ease-in-out infinite;
}

.data-folder-2 {
    background: linear-gradient(135deg, rgba(255,138,60,0.5), rgba(15, 8, 4, 1));
    border-color: rgba(255,138,60,0.9);
    box-shadow: 0 0 12px rgba(255,138,60,0.6);
    animation: dataFolderFloat 4s ease-in-out infinite 0.4s;
}

.data-folder-3 {
    background: linear-gradient(135deg, rgba(61,245,160,0.45), rgba(4, 16, 10, 1));
    border-color: rgba(61,245,160,0.9);
    box-shadow: 0 0 12px rgba(61,245,160,0.6);
    animation: dataFolderFloat 4s ease-in-out infinite 0.8s;
}

/* lista desplazándose */
.data-stream-wrapper {
    flex: 1;
    overflow: hidden;
    max-height: 88px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.16), transparent 55%);
    background-color: rgba(5, 8, 24, 0.96);
    padding: 0.35rem 0.55rem;
}

.data-stream {
    list-style: none;
    font-size: 0.68rem;
    color: #c4d8ff;
    line-height: 1.5;
    animation: dataScroll 9s linear infinite;
}

.data-stream li {
    display: flex;
    justify-content: space-between;
    gap: 0.4rem;
    white-space: nowrap;
}

.data-stream li span:first-child {
    color: #7fe4ff;
}

.data-stream li span:last-child {
    color: #ffe4c2;
}

/* barra de escaneo inferior */
.data-scan-bar {
    position: absolute;
    left: -40%;
    right: -40%;
    bottom: -2px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3df5a0, #3bc9ff, transparent);
    box-shadow:
        0 0 12px rgba(61,245,160,0.9),
        0 0 18px rgba(59,201,255,0.8);
    opacity: 0.9;
    animation: dataScanLine 4.4s linear infinite;
}

/* ANIMACIONES DATA LAB */

@keyframes dataBadgePulse {
    0% { box-shadow: 0 0 10px rgba(255,211,127,0.4); opacity: 0.9; }
    50% { box-shadow: 0 0 18px rgba(255,211,127,0.9); opacity: 1; }
    100% { box-shadow: 0 0 10px rgba(255,211,127,0.4); opacity: 0.9; }
}

@keyframes dataFolderFloat {
    0% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(-3px); opacity: 1; }
    100% { transform: translateY(0); opacity: 0.9; }
}

@keyframes dataScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes dataScanLine {
    0% { transform: translateX(-30%); opacity: 0.6; }
    40% { opacity: 1; }
    100% { transform: translateX(30%); opacity: 0.2; }
}

/* GEO MAP CARD */
.card-map {
    position: relative;
    overflow: hidden;
}

/* ========= GEO VISUAL HYDRA (MAPA + SCANER) ========= */

.geo-visual {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.geo-map {
    position: relative;
    height: 190px;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 10%, rgba(76,125,255,0.45), transparent 55%),
        radial-gradient(circle at 80% 85%, rgba(61,245,160,0.4), transparent 60%);
    background-color: #050814;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow:
        0 0 22px rgba(0,0,0,0.9),
        0 0 28px rgba(59,201,255,0.35);
}

/* capa tipo mapa / mundo */
.geo-map-layer {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 50% 40%, rgba(255,255,255,0.12), transparent 60%),
        linear-gradient(rgba(0,255,128,0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,180,0.14) 1px, transparent 1px);
    background-size:
        100% 100%,
        16px 16px,
        16px 16px;
    opacity: 0.8;
    mix-blend-mode: screen;
}

/* lupa que recorre el mapa */
.geo-lens {
    position: absolute;
    width: 90px;
    height: 90px;
    left: 8%;
    top: 18%;
    transform-origin: center;
    animation: geoLensPath 7s ease-in-out infinite;
}

.geo-lens-ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid rgba(59,201,255,0.95);
    box-shadow:
        0 0 18px rgba(59,201,255,0.9),
        0 0 26px rgba(59,201,255,0.6);
    background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.7), transparent 65%);
}

.geo-lens-handle {
    position: absolute;
    width: 46px;
    height: 8px;
    background: linear-gradient(90deg, rgba(59,201,255,0.9), rgba(0,255,160,0.7));
    border-radius: 999px;
    bottom: -6px;
    right: 6px;
    transform: rotate(32deg);
    box-shadow: 0 0 10px rgba(0,255,200,0.7);
}

/* pin de ubicación */
.geo-pin {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    background: #ff3c5a;
    transform: rotate(-45deg);
    box-shadow: 0 0 18px rgba(255,60,90,0.95);
    left: 64%;
    top: 56%;
    animation: geoPinPulse 2.1s ease-in-out infinite;
}

.geo-pin::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff5ea;
    top: 5px;
    left: 5px;
}

/* teléfono más realista */
.geo-phone {
    position: absolute;
    top: 8%;
    left: 12%;
    width: 54px;
    height: 104px;
    transform: rotate(-10deg);
}

.geo-phone-shell {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.25);
    background: radial-gradient(circle at 20% 0%, rgba(255,255,255,0.18), rgba(5,8,20,1));
    box-shadow:
        0 0 16px rgba(0,0,0,0.9),
        0 0 22px rgba(255,255,255,0.25);
    overflow: hidden;
}

.geo-phone-notch {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 6px;
    border-radius: 999px;
    background: rgba(5,8,20,0.96);
}

.geo-phone-screen {
    position: absolute;
    inset: 14px 8px 10px 8px;
    border-radius: 12px;
    border: 1px solid rgba(76,125,255,0.7);
    background:
        radial-gradient(circle at 50% 0, rgba(76,125,255,0.5), transparent 60%),
        radial-gradient(circle at 0 100%, rgba(61,245,160,0.45), transparent 60%);
    background-color: #02040d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 6px;
}

.geo-phone-line {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 0.6rem;
    color: #e9f8ff;
    letter-spacing: 0.08em;
}

.geo-phone-sub {
    font-size: 0.52rem;
    color: #76ffc9;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* ondas / señales */
.geo-signal {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(59,201,255,0.8);
    opacity: 0;
    animation: geoSignalPing 3.2s ease-out infinite;
}

.geo-signal-1 {
    width: 80px;
    height: 80px;
    top: -6px;
    left: -10px;
}

.geo-signal-2 {
    width: 112px;
    height: 112px;
    top: -20px;
    left: -24px;
    animation-delay: 0.9s;
}

/* barra de estado abajo del mapa */
.geo-status {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.geo-status-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    position: relative;
    height: 1em;
    display: inline-block;
    overflow: hidden;
}

.geo-status-phase {
    position: absolute;
    inset: 0;
    opacity: 0;
    display: inline-flex;
    align-items: center;
}

.geo-phase-scan {
    color: #ffd37f;
    animation: geoPhaseScan 6s infinite;
}

.geo-phase-locked {
    color: #4dffb1;
    animation: geoPhaseLocked 6s infinite;
}

.geo-status-number {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 0.86rem;
    color: #ffddbd;
}

/* ANIMACIONES GEO */

@keyframes geoLensPath {
    0% {
        transform: translate(5%, 5%) scale(0.9);
    }
    30% {
        transform: translate(52%, 8%) scale(1);
    }
    60% {
        transform: translate(48%, 40%) scale(1.05);
    }
    100% {
        transform: translate(5%, 5%) scale(0.9);
    }
}

@keyframes geoPinPulse {
    0% {
        transform: rotate(-45deg) scale(0.9);
        box-shadow: 0 0 10px rgba(255,60,90,0.6);
    }
    50% {
        transform: rotate(-45deg) scale(1.1);
        box-shadow: 0 0 22px rgba(255,60,90,1);
    }
    100% {
        transform: rotate(-45deg) scale(0.9);
        box-shadow: 0 0 10px rgba(255,60,90,0.6);
    }
}

@keyframes geoSignalPing {
    0% {
        transform: scale(0.4);
        opacity: 0.9;
    }
    60% {
        transform: scale(1);
        opacity: 0.15;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Cambio de estado: escaneando -> ubicación confirmada */
@keyframes geoPhaseScan {
    0%   { opacity: 1; }
    55%  { opacity: 1; }
    70%  { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes geoPhaseLocked {
    0%   { opacity: 0; }
    55%  { opacity: 0; }
    70%  { opacity: 1; }
    100% { opacity: 1; }
}

/* SCANNER SECTION */
.scanner-section {
    background: radial-gradient(circle at top, rgba(255,138,60,0.32), #050814 45%, #02030b 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.3rem;
}

.pill {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: linear-gradient(135deg, rgba(255,138,60,0.4), rgba(5,8,20,0.95));
    color: #ffedd9;
}

/* SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 1.7rem 1.6rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 32px rgba(0,0,0,0.85);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CONTACTO */
.contact-section {
    background: radial-gradient(circle at top, #151a33 0%, #050814 50%, #02030a 100%);
}

.contact-form {
    background: rgba(7, 10, 26, 0.96);
    border-radius: 22px;
    padding: 1.9rem 1.7rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 50px rgba(0,0,0,0.82);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: rgba(3,6,20,0.95);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.7rem 0.95rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-group textarea {
    border-radius: 16px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 1px rgba(255,138,60,0.55);
    background: rgba(2,5,18,0.98);
}

.form-note {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    background: rgba(7, 10, 26, 0.96);
    border-radius: 18px;
    padding: 1.3rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem 0 1.8rem;
    background: #050814;
}

.footer-inner {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========= TELÉFONO CSS3 ESCÁNER HYDRA ========= */

.hero-device-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.phone-frame {
    position: relative;
    width: 210px;
    height: 420px;
    border-radius: 32px;
    padding: 8px;
    background: radial-gradient(circle at 0 0, rgba(255,138,60,0.6), transparent 55%);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow:
        0 0 30px rgba(255,138,60,0.6),
        0 20px 40px rgba(0,0,0,0.9);
    overflow: hidden;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    background:
        radial-gradient(circle at 10% 0, rgba(76,125,255,0.35), transparent 60%),
        radial-gradient(circle at 90% 100%, rgba(61,245,160,0.35), transparent 60%);
    background-color: #02040d;
    border: 1px solid rgba(255,255,255,0.12);
    overflow: hidden;
}

/* Notch superior */
.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 16px;
    border-radius: 999px;
    background: rgba(5,8,20,0.95);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 3;
}

/* Grid de escaneo */
.scan-grid {
    position: absolute;
    inset: 18px 14px 40px 14px;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.55;
}

/* Línea de escaneo */
.scan-line {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 30px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #3df5a0, #3bc9ff, transparent);
    box-shadow:
        0 0 12px rgba(61,245,160,0.9),
        0 0 18px rgba(59,201,255,0.8);
    animation: scanVertical 3.4s linear infinite;
}

/* Puntitos de amenazas */
.threat-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff4d5e;
    box-shadow:
        0 0 10px rgba(255,77,94,0.9),
        0 0 18px rgba(255,77,94,0.6);
    animation: pulseThreat 1.8s ease-in-out infinite;
}

.threat-dot-1 {
    top: 90px;
    left: 50px;
    animation-delay: 0s;
}

.threat-dot-2 {
    top: 160px;
    right: 40px;
    animation-delay: 0.4s;
}

.threat-dot-3 {
    top: 230px;
    left: 80px;
    animation-delay: 0.8s;
}

/* Texto de estado de escaneo */
.scan-text {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 24px;
    font-size: 0.76rem;
    color: var(--text-main);
    text-align: left;
    z-index: 3;
}

.scan-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Animaciones teléfono */
@keyframes scanVertical {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(210px);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

@keyframes pulseThreat {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.25);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* ====== REDISEÑO PROFESIONAL ESCÁNER HYDRA ====== */

.scanner-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

/* IZQUIERDA */
.scanner-info {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.scanner-header-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: rgba(255,255,255,0.06);
    padding: .45rem .9rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.badge-icon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid var(--accent-orange);
    box-shadow: 0 0 10px rgba(255,138,60,.6);
}

/* SUBTÍTULO */
.scanner-subtitle {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.3rem;
    color: var(--text-main);
    opacity: .95;
}

/* DESCRIPCIÓN */
.scanner-desc {
    color: var(--text-muted);
    font-size: .95rem;
    max-width: 520px;
}

/* LISTA DE FEATURES */
.scanner-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: .5rem;
}

.scanner-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 12px rgba(255,138,60,.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ICONOS ESPECÍFICOS (emojis como placeholder; se pueden cambiar por SVG) */
.icon-scan::before {
    content: "🔍";
    font-size: 18px;
}
.icon-analyze::before {
    content: "🧪";
    font-size: 18px;
}
.icon-detect::before {
    content: "⚠️";
    font-size: 18px;
}
.icon-privacy::before {
    content: "🔒";
    font-size: 18px;
}

/* TAGS */
.scanner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: .8rem;
}

.scanner-tags span {
    padding: .4rem .9rem;
    border-radius: 999px;
    background: rgba(255,138,60,0.25);
    border: 1px solid var(--accent-orange);
    font-size: .72rem;
    text-transform: uppercase;
    color: #ffd9b5;
}

/* DERECHA */
.scanner-device-column {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.scanner-device-panel {
    background: rgba(255,255,255,0.05);
    padding: 1.4rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.scanner-panel-title {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    opacity: .75;
    margin-bottom: .6rem;
}

.scanner-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.6rem;
    }

    .hero-side {
        align-items: flex-start;
    }

    .grid-2,
    .grid-2.reverse {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .scanner-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 86px;
        right: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 0.9rem 1.1rem;
        background: rgba(5, 8, 20, 0.98);
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 16px 36px rgba(0,0,0,0.9);
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .hero {
        padding-top: 92px;
    }

    .section {
        padding: 4.6rem 0 3.7rem;
    }

    .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .phone-frame {
        width: 190px;
        height: 380px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.3rem;
    }

    .hero-card {
        padding: 1.5rem 1.4rem;
    }
}
