/* ==========================================
BRAIN LAB ESTUDIO — HERO VELOCÍMETRO GPS
Paleta Neumórfica (Estilo Private Camera)
========================================== */

.bl-speed-hero {
/* Variables Neumórficas de Private Camera */
--bl-bg: #1a1f29;
--bl-text: #ffffff;
--bl-muted: #94a3b8;
--bl-red: #e63946;
--bl-red-hover: #d62839;
--bl-card-bg: #1a1f29;
--bl-shadow-flat: 10px 10px 20px #12151c, -10px -10px 20px #222936;
--bl-shadow-inset: inset 4px 4px 8px #12151c, inset -4px -4px 8px #222936;
--bl-shadow-btn-red: 6px 6px 18px rgba(230, 57, 70, 0.4), -6px -6px 18px rgba(255, 255, 255, 0.04);
--bl-border: rgba(255, 255, 255, 0.05);

position: relative;
isolation: isolate;
overflow: hidden;

padding: 45px 24px 28px;
color: var(--bl-text);
background:
    radial-gradient(
        ellipse at 82% 45%,
        rgba(230, 57, 70, 0.12),
        transparent 44%
    ),
    var(--bl-bg);

font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, sans-serif;
border-radius: 24px;
transition: background-color 0.4s ease, color 0.4s ease;
}

/* ==========================================
   MODO CLARO NEUMÓRFICO (VELOCÍMETRO GPS)
   ========================================== */
.bl-speed-hero.light {
    --bl-bg: #e6eef8;
    --bl-text: #0f172a;
    --bl-muted: #475569;
    --bl-card-bg: #e6eef8;
    --bl-shadow-flat: 10px 10px 20px #c3cedd, -10px -10px 20px #ffffff;
    --bl-shadow-inset: inset 3px 3px 6px #c5d0e0, inset -3px -3px 6px #ffffff;
    --bl-shadow-btn-red: 6px 6px 16px rgba(230, 57, 70, 0.35), -6px -6px 16px #ffffff;
    --bl-border: rgba(255, 255, 255, 0.6);
}

.bl-speed-hero.light .bl-speed-eyebrow,
.bl-speed-hero.light .bl-speed-chip-top,
.bl-speed-hero.light .bl-speed-chip-bottom strong,
.bl-speed-hero.light .bl-speed-reading > strong,
.bl-speed-hero.light .bl-speed-stats-grid strong {
    color: var(--bl-text);
}

.bl-speed-hero.light .bl-speed-copy h2 span {
    background: linear-gradient(100deg, #0f172a, #f87171 45%, var(--bl-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bl-speed-hero.light .bl-speed-device-frame {
    background: #edf2f7;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.bl-speed-hero.light .bl-speed-progress {
    background: #c5d0e0;
}

.bl-speed-hero.light .bl-speed-ring-inner {
    border-color: rgba(15, 23, 42, 0.06);
}

.bl-speed-hero.light .bl-speed-stats-title {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.bl-speed-hero.light .bl-speed-bottom-line {
    background: rgba(15, 23, 42, 0.08);
}

@media (prefers-color-scheme: light) {
    .bl-speed-hero:not(.dark) {
        --bl-bg: #e6eef8;
        --bl-text: #0f172a;
        --bl-muted: #475569;
        --bl-card-bg: #e6eef8;
        --bl-shadow-flat: 10px 10px 20px #c3cedd, -10px -10px 20px #ffffff;
        --bl-shadow-inset: inset 3px 3px 6px #c5d0e0, inset -3px -3px 6px #ffffff;
        --bl-shadow-btn-red: 6px 6px 16px rgba(230, 57, 70, 0.35), -6px -6px 16px #ffffff;
        --bl-border: rgba(255, 255, 255, 0.6);
    }

    .bl-speed-hero:not(.dark) .bl-speed-eyebrow,
    .bl-speed-hero:not(.dark) .bl-speed-chip-top,
    .bl-speed-hero:not(.dark) .bl-speed-chip-bottom strong,
    .bl-speed-hero:not(.dark) .bl-speed-reading > strong,
    .bl-speed-hero:not(.dark) .bl-speed-stats-grid strong {
        color: #0f172a;
    }

    .bl-speed-hero:not(.dark) .bl-speed-copy h2 span {
        background: linear-gradient(100deg, #0f172a, #f87171 45%, var(--bl-red));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .bl-speed-hero:not(.dark) .bl-speed-device-frame {
        background: #edf2f7;
        border: 1px solid rgba(15, 23, 42, 0.08);
    }

    .bl-speed-hero:not(.dark) .bl-speed-progress {
        background: #c5d0e0;
    }

    .bl-speed-hero:not(.dark) .bl-speed-ring-inner {
        border-color: rgba(15, 23, 42, 0.06);
    }

    .bl-speed-hero:not(.dark) .bl-speed-stats-title {
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    .bl-speed-hero:not(.dark) .bl-speed-bottom-line {
        background: rgba(15, 23, 42, 0.08);
    }
}

.bl-speed-hero *,
.bl-speed-hero *::before,
.bl-speed-hero *::after {
box-sizing: border-box;
}

.bl-speed-hero a {
text-decoration: none;
}

.bl-speed-glow {
position: absolute;
z-index: -1;

width: 380px;
height: 380px;
top: -50px;
right: -100px;

border-radius: 50%;
background: rgba(230, 57, 70, 0.1);
filter: blur(90px);
pointer-events: none;


}

.bl-speed-container {
width: 100%;
max-width: 1100px;
margin: 0 auto;

display: grid;
grid-template-columns: 1.1fr .9fr;
align-items: center;
gap: 35px;


}

/* TEXTO / COPYWRITING */

.bl-speed-copy {
position: relative;
z-index: 2;
min-width: 0;
}

.bl-speed-eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;

padding: 6px 12px;
border-radius: 100px;

color: #ffffff;
background: var(--bl-card-bg);
box-shadow: var(--bl-shadow-inset);

font-size: 9px;
font-weight: 700;
letter-spacing: 1.2px;


}

.bl-speed-eyebrow > span,
.bl-speed-live {
width: 6px;
height: 6px;
flex: 0 0 6px;

border-radius: 50%;
background: var(--bl-red);

box-shadow: 0 0 10px rgba(230, 57, 70, 0.8);


}

.bl-speed-brand {
margin: 16px 0 8px;

color: var(--bl-muted);
font-size: 9px;
font-weight: 700;
letter-spacing: 2px;


}

.bl-speed-copy h2 {
margin: 0;

color: var(--bl-text);
font-size: clamp(32px, 3.8vw, 48px);
font-weight: 800;
line-height: 1.12;
letter-spacing: -2px;


}

.bl-speed-copy h2 span {
color: var(--bl-red);
background: linear-gradient(
100deg,
#ffffff,
#f87171 45%,
var(--bl-red)
);

-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;


}

.bl-speed-description {
max-width: 480px;
margin: 14px 0 0;

color: var(--bl-muted);
font-size: 13px;
line-height: 1.7;


}

.bl-speed-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;

margin-top: 18px;


}

.bl-speed-tags span {
padding: 6px 10px;

border-radius: 10px;

color: var(--bl-text);
background: var(--bl-card-bg);
box-shadow: var(--bl-shadow-flat);

font-size: 9px;
font-weight: 700;


}

.bl-speed-actions {
display: flex;
flex-direction: row;
align-items: center;
gap: 16px;

margin-top: 22px;


}

.bl-speed-button {
min-height: 44px;
padding: 0 18px;

display: inline-flex;
align-items: center;
justify-content: center;
gap: 14px;

border: none;
border-radius: 12px;

color: #ffffff !important;
background-color: var(--bl-red);
box-shadow: var(--bl-shadow-btn-red);

font-size: 11px;
font-weight: 800;

transition: transform .25s ease, background-color .25s ease;


}

.bl-speed-button:hover {
transform: translateY(-2px);
background-color: var(--bl-red-hover);
}

.bl-speed-button span {
font-size: 14px;
}

.bl-speed-note {
color: var(--bl-muted);
font-size: 9px;
}

/* TELÉFONO SHOWCASE COMPACTO */

.bl-speed-showcase {
position: relative;
isolation: isolate;

min-width: 0;
min-height: 410px;

display: flex;
align-items: center;
justify-content: center;


}

.bl-speed-showcase::before {
content: "";

position: absolute;
z-index: -2;

width: 240px;
height: 300px;

border-radius: 50%;
background: rgba(230, 57, 70, 0.08);
filter: blur(60px);


}

.bl-speed-ring {
position: absolute;
z-index: -1;

border: 1px solid rgba(230, 57, 70, 0.15);
border-radius: 50%;

transform: rotate(-24deg);
pointer-events: none;


}

.bl-speed-ring-outer {
width: 290px;
height: 380px;
}

.bl-speed-ring-inner {
width: 240px;
height: 320px;

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


}

.bl-speed-device {
position: relative;
z-index: 1;

width: 220px;
padding: 6px;

border: 1px solid var(--bl-border);
border-radius: 32px;

background: var(--bl-card-bg);
box-shadow: var(--bl-shadow-flat);

transform: rotate(2deg);
transition: transform .4s ease;


}

.bl-speed-device:hover {
transform: rotate(0deg) translateY(-3px);
}

.bl-speed-device-frame {
position: relative;
overflow: hidden;

min-height: 370px;

border-radius: 26px;
background: #12151c;
border: 1px solid rgba(255, 255, 255, 0.03);


}

.bl-speed-status {
display: flex;
align-items: center;
justify-content: space-between;

padding: 10px 12px 4px;

color: var(--bl-muted);
font-size: 8px;
font-weight: 700;


}

.bl-speed-screen {
padding: 6px 10px 18px;
}

.bl-speed-appbar {
display: flex;
align-items: center;
justify-content: space-between;

color: var(--bl-muted);
font-size: 7px;
letter-spacing: 1px;


}

.bl-speed-menu {
color: var(--bl-red);
letter-spacing: 2px;
}

.bl-speed-reading {
padding: 14px 0 12px;

display: flex;
flex-direction: column;
align-items: center;


}

.bl-speed-label {
color: var(--bl-muted);
font-size: 8px;
letter-spacing: .5px;
}

.bl-speed-reading > strong {
margin-top: 2px;

color: #ffffff;
font-size: 56px;
font-weight: 400;
line-height: 1;
letter-spacing: -3px;


}

.bl-speed-unit {
margin-top: 1px;
color: var(--bl-red);
font-size: 16px;
font-weight: 700;
}

.bl-speed-wait {
display: flex;
align-items: center;
gap: 5px;

margin-top: 8px;

color: var(--bl-muted);
font-size: 7px;


}

.bl-speed-wait i {
width: 5px;
height: 5px;

border-radius: 50%;
background: #10b981;


}

.bl-speed-limit,
.bl-speed-stats {
padding: 9px 9px;

border-radius: 10px;
background: var(--bl-card-bg);
box-shadow: var(--bl-shadow-inset);


}

.bl-speed-limit {
text-align: center;
}

.bl-speed-limit > span {
color: var(--bl-muted);
font-size: 8px;
}

.bl-speed-limit > strong {
display: block;
margin: 3px 0 6px;

color: var(--bl-red);
font-size: 18px;
font-weight: 700;


}

.bl-speed-limit > strong small {
font-size: 8px;
font-weight: 400;
color: var(--bl-muted);
}

.bl-speed-progress {
height: 3px;
overflow: hidden;

border-radius: 10px;
background: #12151c;


}

.bl-speed-progress span {
display: block;
width: 4%;
height: 100%;

border-radius: inherit;
background: var(--bl-red);


}

.bl-speed-stats {
margin-top: 6px;
}

.bl-speed-stats-title {
display: flex;
align-items: center;
gap: 5px;

padding-bottom: 6px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);

color: var(--bl-red);
font-size: 8px;
font-weight: 700;


}

.bl-speed-stats-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px 4px;

padding-top: 6px;


}

.bl-speed-stats-grid > div {
display: flex;
flex-direction: column;
gap: 2px;
}

.bl-speed-stats-grid > div:nth-child(even) {
text-align: right;
}

.bl-speed-stats-grid span {
color: var(--bl-muted);
font-size: 7.5px;
}

.bl-speed-stats-grid strong {
color: #ffffff;
font-size: 7.5px;
font-weight: 600;
}

.bl-speed-start {
margin-top: 8px;
padding: 8px 4px;

border-radius: 8px;

color: #ffffff;
background-color: var(--bl-red);
box-shadow: var(--bl-shadow-btn-red);

text-align: center;
font-size: 8px;
font-weight: 800;
letter-spacing: .3px;


}

.bl-speed-home {
position: absolute;
bottom: 5px;
left: 50%;

width: 50px;
height: 3px;

border-radius: 10px;
background: var(--bl-muted);
opacity: 0.4;

transform: translateX(-50%);


}

/* ETIQUETAS FLOTANTES COMPACTAS */

.bl-speed-chip {
position: absolute;
z-index: 2;

display: flex;
align-items: center;
gap: 8px;

padding: 8px 10px;

border-radius: 10px;

background: var(--bl-card-bg);
box-shadow: var(--bl-shadow-flat);
border: 1px solid var(--bl-border);


}

.bl-speed-chip-top {
top: 30px;
right: 0px;

color: #ffffff;
font-size: 8px;
letter-spacing: 0.8px;
font-weight: 700;


}

.bl-speed-chip-bottom {
bottom: 25px;
left: 0px;
}

.bl-speed-chip-icon {
width: 26px;
height: 26px;

display: grid;
place-items: center;

border-radius: 7px;
background: var(--bl-card-bg);
box-shadow: var(--bl-shadow-inset);
color: var(--bl-red);

font-size: 14px;
font-weight: bold;


}

.bl-speed-chip-bottom strong,
.bl-speed-chip-bottom small {
display: block;
}

.bl-speed-chip-bottom strong {
color: #ffffff;
font-size: 9px;
}

.bl-speed-chip-bottom small {
margin-top: 2px;
color: var(--bl-muted);
font-size: 7.5px;
}

/* PIE DEL HERO */

.bl-speed-bottom {
width: 100%;
max-width: 1100px;
margin: 20px auto 0;

display: flex;
align-items: center;
gap: 12px;

color: var(--bl-muted);
font-size: 7.5px;
letter-spacing: 1.2px;


}

.bl-speed-bottom-line {
flex: 1;
height: 1px;
background: rgba(255, 255, 255, 0.05);
}

/* TABLETS Y MÓVILES */

@media (max-width: 868px) {
.bl-speed-hero {
padding: 35px 20px 20px;
}

.bl-speed-container {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
}

.bl-speed-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bl-speed-description {
    margin-left: auto;
    margin-right: auto;
}

.bl-speed-tags {
    justify-content: center;
}

.bl-speed-actions {
    justify-content: center;
}

.bl-speed-showcase {
    min-height: 380px;
}


}

@media (max-width: 480px) {
.bl-speed-actions {
flex-direction: column;
width: 100%;
}

.bl-speed-button {
    width: 100%;
    max-width: 280px;
}

.bl-speed-chip-top {
    top: 10px;
    right: 0;
}

.bl-speed-chip-bottom {
    bottom: 10px;
    left: 0;
}


}