/* ============================================
   ESSKEETIT-GSM — STYLES.CSS
   Hoja de estilos principal completa
   Incluye: Estilos base + Tabs + Apps .esskeetit
   ============================================ */


/* ============================================
   1. VARIABLES CSS (Custom Properties)
   ============================================ */
   :root {
    /* Colores base */
    --bg-base: #0A0A0A;
    --bg-card: #111214;
    --bg-elevated: #1A1C1F;
    --bg-input: #141617;
    
    /* Rojo (ESSKEETIT) */
    --red-bright: #FF2020;
    --red-mid: #CC1A1A;
    --red-dark: #991414;
    
    /* Verde (GSM / Success) */
    --green-bright: #00FF9C;
    --green-mid: #00D084;
    --green-dark: #00A86B;
    
    /* Colores adicionales */
    --blue: #00C2FF;
    --purple: #A259FF;
    --orange: #FF8A00;
    
    /* Texto */
    --text-primary: #EDEDED;
    --text-secondary: #A0A0A0;
    --text-muted: #6B6F76;
    
    /* Bordes */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-green: rgba(0, 255, 156, 0.25);
    --border-red: rgba(255, 32, 32, 0.3);
    --border-purple: rgba(162, 89, 255, 0.25);
    
    /* Glows */
    --glow-red: 0 0 10px rgba(255, 32, 32, 0.4);
    --glow-red-strong: 0 0 20px rgba(255, 32, 32, 0.5), 0 0 40px rgba(255, 32, 32, 0.15);
    --glow-green: 0 0 10px rgba(0, 255, 156, 0.4);
    --glow-green-strong: 0 0 20px rgba(0, 255, 156, 0.5), 0 0 40px rgba(0, 255, 156, 0.15);
    --glow-purple: 0 0 12px rgba(162, 89, 255, 0.35);
    
    /* Radios y transiciones */
    --radius: 10px;
    --radius-lg: 14px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================
   2. RESET Y BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input, select {
    font-family: inherit;
}


/* ============================================
   3. FONDOS DECORATIVOS
   ============================================ */

/* Grid de fondo sutil */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 255, 156, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 156, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, black 20%, transparent 70%);
}

/* Glows ambientales */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    top: -250px;
    left: -150px;
    background: radial-gradient(circle, rgba(255, 32, 32, 0.05) 0%, transparent 70%);
    animation: drift 14s ease-in-out infinite;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 255, 156, 0.04) 0%, transparent 70%);
    animation: drift 18s ease-in-out infinite reverse;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -15px) scale(1.03); }
}


/* ============================================
   4. WRAPPER PRINCIPAL
   ============================================ */
.wrapper {
    position: relative;
    z-index: 1;
}


/* ============================================
   5. NAVBAR — Navegación fija
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 13px;
    color: white;
    box-shadow: var(--glow-red);
}

.nav-logo-text {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.nav-logo-esskeetit {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 15px;
    color: var(--red-bright);
    letter-spacing: 1.5px;
    text-shadow: 0 0 12px rgba(255, 32, 32, 0.4), 0 0 2px rgba(255, 32, 32, 0.8);
}

.nav-logo-gsm {
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    font-size: 13px;
    color: var(--green-bright);
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 255, 156, 0.4);
}

/* Links de navegación */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 7px;
    font-size: 12.5px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--green-bright);
    background: rgba(0, 255, 156, 0.05);
}

.nav-link.active {
    color: var(--green-bright);
    border-color: var(--border-green);
    background: rgba(0, 255, 156, 0.06);
}

/* Botón CTA del nav */
.nav-cta {
    padding: 8px 18px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, var(--red-bright), var(--red-mid));
    box-shadow: 0 0 12px rgba(255, 32, 32, 0.25);
    transition: all var(--transition);
    font-family: 'Inter', sans-serif;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav-cta:hover {
    box-shadow: var(--glow-red-strong);
    transform: translateY(-1px);
}

/* Toggle móvil */
.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: all var(--transition);
    align-items: center;
    justify-content: center;
}

.mobile-toggle:hover {
    border-color: var(--border-red);
    color: var(--red-bright);
}

/* Menú móvil */
.mobile-menu {
    display: none;
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu .nav-link {
    padding: 12px 14px;
}


/* ============================================
   6. HERO — Sección principal
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-content {
    max-width: 820px;
}

/* Badge superior */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(255, 32, 32, 0.06);
    border: 1px solid var(--border-red);
    font-size: 11px;
    font-weight: 600;
    color: var(--red-bright);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    margin-bottom: 28px;
    text-shadow: 0 0 6px rgba(255, 32, 32, 0.3);
}

.hero-badge i {
    font-size: 6px;
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Título principal */
.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(30px, 5.5vw, 54px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-title .red {
    color: var(--red-bright);
    text-shadow: 0 0 30px rgba(255, 32, 32, 0.35), 0 0 3px rgba(255, 32, 32, 0.7);
}

.hero-title .green {
    color: var(--green-bright);
    text-shadow: 0 0 20px rgba(0, 255, 156, 0.3);
}

/* Párrafo descriptivo */
.hero p {
    font-size: clamp(14.5px, 1.8vw, 16.5px);
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.85;
}

/* Botones de acción */
.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.btn-red {
    background: linear-gradient(135deg, var(--red-bright), var(--red-mid));
    color: white;
    box-shadow: 0 0 18px rgba(255, 32, 32, 0.3);
}

.btn-red:hover {
    box-shadow: var(--glow-red-strong);
    transform: translateY(-2px);
}

.btn-green-outline {
    background: transparent;
    border-color: var(--border-green);
    color: var(--green-bright);
}

.btn-green-outline:hover {
    background: rgba(0, 255, 156, 0.08);
    box-shadow: var(--glow-green);
    transform: translateY(-2px);
}

/* Estadísticas */
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.hero-stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 26px;
    font-weight: 700;
}

.hero-stat-value .accent-red {
    color: var(--red-bright);
    text-shadow: 0 0 10px rgba(255, 32, 32, 0.3);
}

.hero-stat-value .accent-green {
    color: var(--green-bright);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}


/* ============================================
   7. SECCIONES — Estructura común
   ============================================ */
section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--red-bright);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 0 0 6px rgba(255, 32, 32, 0.3);
}

.section-label.green-label {
    color: var(--green-bright);
    text-shadow: 0 0 6px rgba(0, 255, 156, 0.3);
}

.section-label i {
    font-size: 7px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(21px, 3.5vw, 30px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.8;
}


/* ============================================
   8. QUE ES — Grid visual + features
   ============================================ */
.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    margin-top: 44px;
}

/* Visual de la tool simulada */
.what-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.what-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red-bright), var(--green-bright), transparent);
}

/* Simulación interfaz tool */
.tool-sim {
    background: #0D0E0F;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.tool-sim-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: rgba(255, 32, 32, 0.08);
    border-bottom: 1px solid rgba(255, 32, 32, 0.15);
}

.tool-sim-titlebar-name {
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tool-sim-titlebar-name .ts-red {
    color: var(--red-bright);
    text-shadow: 0 0 6px rgba(255, 32, 32, 0.5);
}

.tool-sim-titlebar-name .ts-green {
    color: var(--green-bright);
    text-shadow: 0 0 4px rgba(0, 255, 156, 0.4);
}

.tool-sim-dots {
    display: flex;
    gap: 5px;
}

.ts-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
.ts-dot.r { background: #FF5F57; }
.ts-dot.y { background: #FFBD2E; }
.ts-dot.g { background: #28C840; }

/* Nav interna de la sim */
.tool-sim-nav {
    display: flex;
    gap: 2px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: auto;
}

.tool-sim-nav-item {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.tool-sim-nav-item.active {
    color: var(--green-bright);
    background: rgba(0, 255, 156, 0.08);
}

/* Cuerpo sim */
.tool-sim-body {
    display: flex;
    min-height: 200px;
}

.tool-sim-sidebar {
    width: 140px;
    border-right: 1px solid var(--border-subtle);
    padding: 8px;
    flex-shrink: 0;
}

.tool-sim-sidebar-item {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-sim-sidebar-item.active {
    color: var(--green-bright);
    background: rgba(0, 255, 156, 0.06);
}

.tool-sim-sidebar-item i {
    font-size: 9px;
    width: 12px;
    text-align: center;
}

.tool-sim-main {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-sim-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tool-sim-btn {
    padding: 7px 14px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.tool-sim-btn.red-btn {
    background: rgba(255, 32, 32, 0.1);
    color: var(--red-bright);
    border: 1px solid rgba(255, 32, 32, 0.2);
}

.tool-sim-btn.green-btn {
    background: rgba(0, 255, 156, 0.08);
    color: var(--green-bright);
    border: 1px solid rgba(0, 255, 156, 0.15);
}

.tool-sim-status {
    font-size: 10px;
    color: var(--text-muted);
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 5px;
    border: 1px dashed var(--border-subtle);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
}

.tool-sim-status .status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    margin-right: 4px;
    animation: pulseBadge 1.5s ease-in-out infinite;
}

/* Features list */
.what-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.what-feature {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.008);
    transition: all var(--transition);
}

.what-feature:hover {
    border-color: var(--border-red);
    background: rgba(255, 32, 32, 0.015);
}

.what-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.wfi-red { background: rgba(255, 32, 32, 0.1); color: var(--red-bright); }
.wfi-green { background: rgba(0, 255, 156, 0.1); color: var(--green-bright); }
.wfi-blue { background: rgba(0, 194, 255, 0.1); color: var(--blue); }
.wfi-orange { background: rgba(255, 138, 0, 0.1); color: var(--orange); }

.what-feature h3 {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.what-feature p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.65;
}


/* ============================================
   9. COMO FUNCIONA — Steps grid
   ============================================ */
.how-bg {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 44px;
}

.step-card {
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-bright), var(--green-bright), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.step-card:hover {
    border-color: var(--border-red);
    transform: translateY(-4px);
}

.step-card:hover::after {
    opacity: 1;
}

.step-number {
    font-family: 'Orbitron', monospace;
    font-size: 30px;
    font-weight: 900;
    color: rgba(255, 32, 32, 0.1);
    line-height: 1;
    margin-bottom: 14px;
}

.step-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 32, 32, 0.08);
    color: var(--red-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 14px;
}

.step-card h3 {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ============================================
   10. HIDE ROOT — Ocultamiento
   ============================================ */
.hide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    margin-top: 44px;
}

.hide-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hide-feature {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
}

.hide-feature:hover {
    border-color: var(--border-green);
}

.hide-check {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    flex-shrink: 0;
    background: rgba(0, 255, 156, 0.1);
    color: var(--green-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 2px;
}

.hide-feature h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.hide-feature p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Visual comparativo */
.hide-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.hide-visual-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hide-visual-title i {
    color: var(--green-bright);
    font-size: 13px;
}

.hide-comparison {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.compare-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 7px;
    border: 1px solid var(--border-subtle);
    font-size: 12.5px;
}

.compare-row.detected {
    background: rgba(255, 32, 32, 0.03);
}

.compare-row.hidden {
    background: rgba(0, 255, 156, 0.03);
    border-color: rgba(0, 255, 156, 0.12);
}

.compare-app {
    flex: 1;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.compare-app i {
    font-size: 13px;
    width: 16px;
    text-align: center;
}

.compare-result {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px;
}

.compare-result.fail {
    color: var(--red-bright);
    background: rgba(255, 32, 32, 0.08);
}

.compare-result.pass {
    color: var(--green-bright);
    background: rgba(0, 255, 156, 0.08);
}

.compare-divider {
    text-align: center;
    padding: 8px 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--green-bright);
    font-family: 'JetBrains Mono', monospace;
}


/* ============================================
   11. DESCARGAS — Tool card + Tabs
   ============================================ */
.downloads-section {
    padding-bottom: 100px;
}

/* Card de descarga de la tool */
.tool-download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-red);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 0 25px rgba(255, 32, 32, 0.08);
    margin-bottom: 22px;
}

.tool-download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 32, 32, 0.03) 0%, transparent 50%);
    animation: rotateBg 25s linear infinite;
}

@keyframes rotateBg {
    to { transform: rotate(360deg); }
}

.tool-download-card > * {
    position: relative;
    z-index: 1;
}

.tool-dl-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 auto 18px;
    box-shadow: var(--glow-red-strong);
}

.tool-dl-name {
    font-family: 'Orbitron', monospace;
    margin-bottom: 10px;
}

.tool-dl-name .dl-red {
    font-weight: 900;
    font-size: 16px;
    color: var(--red-bright);
    text-shadow: 0 0 10px rgba(255, 32, 32, 0.4);
}

.tool-dl-name .dl-green {
    font-weight: 500;
    font-size: 13px;
    color: var(--green-bright);
    text-shadow: 0 0 6px rgba(0, 255, 156, 0.3);
}

.tool-dl-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}

.tool-dl-version {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--red-bright);
    background: rgba(255, 32, 32, 0.06);
    padding: 4px 11px;
    border-radius: 5px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 32, 32, 0.12);
}

.tool-dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 13px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--red-bright), var(--red-mid));
    color: white;
    font-size: 13.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 14px rgba(255, 32, 32, 0.25);
}

.tool-dl-btn:hover {
    box-shadow: var(--glow-red-strong);
    transform: translateY(-2px);
}


/* ============================================
   12. SISTEMA DE TABS (ROOTS | APPS)
   ============================================ */

/* Contenedor principal de tabs */
.tabs-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Cabecera de tabs */
.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.3);
}

/* Botón individual de tab */
.tab-btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    background: transparent;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.tab-btn:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

/* Tab activo */
.tab-btn.active {
    color: var(--green-bright);
    background: rgba(0, 255, 156, 0.04);
}

/* Línea inferior del tab activo */
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green-bright);
    box-shadow: 0 0 10px rgba(0, 255, 156, 0.4);
}

/* Contador dentro del tab */
.tab-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 4px;
}

.tab-btn.active .tab-count {
    background: rgba(0, 255, 156, 0.1);
    color: var(--green-bright);
}

/* Panel de contenido de cada tab */
.tab-panel {
    display: none;
    padding: 20px;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ============================================
   13. DATA PANELS (Roots & Apps compartidos)
   ============================================ */

/* Panel de datos genérico */
.data-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Header del panel */
.panel-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-header-top h3 {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-header-top h3 i {
    font-size: 13px;
}

.ph-green { color: var(--green-bright); }
.ph-blue { color: var(--blue); }
.ph-purple { color: var(--purple); }
.ph-orange { color: var(--orange); }

/* Contador de items */
.item-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--text-muted);
    background: var(--bg-elevated);
    padding: 3px 9px;
    border-radius: 5px;
}

/* Fila de controles (search + selects) */
.controls-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Caja de búsqueda */
.search-box {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 7px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    outline: none;
    transition: all var(--transition);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    border-color: var(--border-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 156, 0.05);
}

.search-box i {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 11px;
    pointer-events: none;
}

/* Selects de filtro */
.filter-select {
    padding: 8px 30px 8px 10px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 7px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 9 9'%3E%3Cpath d='M4.5 7L0 2h9z' fill='%236B6F76'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
    transition: all var(--transition);
}

.filter-select:focus {
    border-color: var(--border-green);
}

.filter-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}


/* ============================================
   14. LISTAS DE ITEMS (Roots & Apps)
   ============================================ */

/* Scrollable list container */
.items-list {
    max-height: 480px;
    overflow-y: auto;
}

.items-list::-webkit-scrollbar {
    width: 4px;
}

.items-list::-webkit-scrollbar-track {
    background: transparent;
}

.items-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
}

/* Fila individual de item */
.item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition);
}

.item-row:last-child {
    border-bottom: none;
}

.item-row:hover {
    background: rgba(0, 255, 156, 0.015);
}

/* Icono del item */
.item-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.icon-root {
    background: rgba(0, 255, 156, 0.07);
    color: var(--green-bright);
}

.icon-app {
    background: rgba(162, 89, 255, 0.1);
    color: var(--purple);
}

/* Info del item */
.item-info {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Highlights en el nombre */
.item-name .hl-root {
    color: var(--red-bright);
}

.item-name .hl-esskeetit {
    color: var(--green-bright);
}

.item-name .hl-app {
    color: var(--purple);
}

/* Meta tags row */
.item-meta {
    display: flex;
    gap: 6px;
    margin-top: 4px;
    flex-wrap: wrap;
}

/* Tags genéricos */
.tag {
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
}

/* Tag: Android */
.tag-android {
    color: var(--green-bright);
    background: rgba(0, 255, 156, 0.07);
}

/* Tag: Magisk */
.tag-magisk {
    color: var(--blue);
    background: rgba(0, 194, 255, 0.07);
}

/* Tag: País (para apps) */
.tag-country {
    color: var(--orange);
    background: rgba(255, 138, 0, 0.08);
}

/* Tag: Tipo de app (bancaria, billetera...) */
.tag-type {
    color: var(--purple);
    background: rgba(162, 89, 255, 0.08);
}

/* Tag: Fecha */
.tag-date {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
}

/* Botón de descarga de item */
.item-dl-btn {
    padding: 7px 14px;
    border-radius: 6px;
    background: rgba(255, 32, 32, 0.06);
    border: 1px solid rgba(255, 32, 32, 0.15);
    color: var(--red-bright);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.item-dl-btn:hover {
    background: rgba(255, 32, 32, 0.12);
    box-shadow: 0 0 10px rgba(255, 32, 32, 0.15);
    transform: translateX(2px);
}

/* Botón de descarga especial para APPS (color morado) */
.item-dl-btn.apps-dl {
    background: rgba(162, 89, 255, 0.08);
    border-color: rgba(162, 89, 255, 0.2);
    color: var(--purple);
}

.item-dl-btn.apps-dl:hover {
    background: rgba(162, 89, 255, 0.15);
    box-shadow: 0 0 10px rgba(162, 89, 255, 0.2);
    transform: translateX(2px);
}

/* Estado vacío / sin resultados */
.no-results {
    padding: 36px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12.5px;
}

.no-results i {
    font-size: 26px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.3;
}


/* ============================================
   15. RESELLERS — Revendedores oficiales
   ============================================ */
.resellers-section {
    padding-bottom: 80px;
}

.resellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.reseller-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.reseller-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green-bright);
    box-shadow: 0 0 8px rgba(0, 255, 156, 0.3);
    opacity: 0;
    transition: opacity var(--transition);
}

.reseller-card:hover {
    border-color: var(--border-green);
    transform: translateY(-3px);
}

.reseller-card:hover::after {
    opacity: 1;
}

.reseller-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    color: var(--green-bright);
    letter-spacing: 1px;
    background: rgba(0, 255, 156, 0.08);
    border: 1px solid rgba(0, 255, 156, 0.15);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.reseller-badge i {
    font-size: 8px;
}

.reseller-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--green-dark), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 16px;
    color: white;
    margin: 0 auto 12px;
    box-shadow: 0 0 15px rgba(0, 255, 156, 0.15);
}

.reseller-name {
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.reseller-country {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.reseller-country i {
    font-size: 9px;
    color: var(--red-bright);
}

.reseller-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.reseller-btn {
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    flex: 1;
    max-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.wa-btn {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.2);
    color: #25D366;
}

.wa-btn:hover {
    background: rgba(37, 211, 102, 0.18);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
    transform: translateY(-1px);
}

.web-btn {
    background: rgba(0, 194, 255, 0.08);
    border: 1px solid rgba(0, 194, 255, 0.15);
    color: var(--blue);
}

.web-btn:hover {
    background: rgba(0, 194, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.2);
    transform: translateY(-1px);
}


/* ============================================
   16. TUTORIALES — Videos YouTube
   ============================================ */
.tutorials-section {
    padding-bottom: 40px;
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.video-card:hover {
    border-color: var(--red-bright);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 32, 32, 0.08);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--bg-elevated);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 16px 18px;
}

.video-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    color: var(--red-bright);
    background: rgba(255, 32, 32, 0.08);
    border: 1px solid rgba(255, 32, 32, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
}

.video-tag.tag-hide {
    color: var(--green-bright);
    background: rgba(0, 255, 156, 0.08);
    border-color: rgba(0, 255, 156, 0.15);
}

.video-tag.tag-adv {
    color: var(--blue);
    background: rgba(0, 194, 255, 0.08);
    border-color: rgba(0, 194, 255, 0.15);
}

.video-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.tutorials-cta {
    margin-top: 32px;
    text-align: center;
}

.yt-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid rgba(255, 0, 0, 0.25);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition);
}

.yt-channel-btn:hover {
    border-color: #FF0000;
    background: rgba(255, 0, 0, 0.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
}

.yt-channel-btn > i:first-child {
    font-size: 24px;
    color: #FF0000;
}

.yt-channel-name {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--red-bright);
    text-shadow: 0 0 8px rgba(255, 32, 32, 0.3);
}

.yt-channel-label {
    font-size: 12px;
    color: var(--text-muted);
}

.yt-channel-arrow {
    color: var(--text-muted);
    font-size: 12px;
    transition: all var(--transition);
}

.yt-channel-btn:hover .yt-channel-arrow {
    color: #FF0000;
    transform: translateX(4px);
}


/* ============================================
   17. FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 28px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-text .ft-red {
    color: var(--red-bright);
    font-weight: 700;
}

.footer-text .ft-green {
    color: var(--green-bright);
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 18px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 12px;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--green-bright);
}


/* ============================================
   18. TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-red);
    border-radius: var(--radius);
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 18px rgba(255, 32, 32, 0.1), 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: toastSlide 0.4s ease forwards;
    max-width: 320px;
}

.toast.out {
    animation: toastOut 0.3s ease forwards;
}

.toast i {
    color: var(--red-bright);
    font-size: 15px;
    flex-shrink: 0;
}

.toast-msg {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

@keyframes toastSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
    to { opacity: 0; transform: translateY(20px); }
}


/* ============================================
   19. SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   20. RESPONSIVE / MEDIA QUERIES
   ============================================ */

/* Tablets grandes */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tutorials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets / móviles grandes */
@media (max-width: 768px) {
    /* Navbar móvil */
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Grids a 1 columna */
    .what-grid,
    .hide-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .controls-row {
        flex-direction: column;
    }

    .item-row {
        flex-wrap: wrap;
    }

    .item-dl-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .tool-sim-sidebar {
        display: none;
    }

    /* Tabs apilados en móvil */
    .tabs-header {
        flex-direction: wrap;
    }

    .tab-btn {
        flex: 1 1 50%;
    }

    /* Resellers */
    .reseller-cta {
        flex-direction: column;
        text-align: center;
    }

    .resellers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Móviles pequeños */
@media (max-width: 600px) {
    .tutorials-grid {
        grid-template-columns: 1fr;
    }

    .resellers-grid {
        grid-template-columns: 1fr;
    }
}

/* Reducir motion para accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}