/* ============================================
   SHYRO HOSTING - ESTILOS PREMIUM REFINADOS
   ============================================ */

/* ---------- VARIABLES MODO OSCURO (por defecto) ---------- */
:root,
[data-theme="dark"] {
    --color-primary: #00E5FF;
    --color-primary-dark: #00D4F0;
    
    --color-bg: #0A0A0A;
    --color-bg-surface: rgba(10, 10, 12, 0.92);
    --color-bg-card: rgba(255, 255, 255, 0.02);
    --color-bg-card-hover: rgba(255, 255, 255, 0.04);
    --color-bg-input: rgba(255, 255, 255, 0.04);
    --color-bg-dropdown: rgba(16, 16, 16, 0.98);
    --color-bg-topbar: rgba(10, 10, 12, 0.55);
    --color-bg-footer: rgba(255, 255, 255, 0.01);
    --color-bg-section: transparent;
    --color-bg-alt: transparent;
    
    --color-text: #E8E8E8;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: rgba(255, 255, 255, 0.55);
    --color-text-tertiary: rgba(255, 255, 255, 0.4);
    --color-text-muted: rgba(255, 255, 255, 0.35);
    --color-text-dim: rgba(255, 255, 255, 0.15);
    --color-text-inverse: #0A0A0A;
    
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-light: rgba(255, 255, 255, 0.04);
    --color-border-input: rgba(255, 255, 255, 0.06);
    --color-border-card: rgba(255, 255, 255, 0.04);
    
    --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-elegant: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 2px 16px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.04);
    
    --navbar-bg: rgba(10, 10, 12, 0.92);
    --navbar-border: rgba(255, 255, 255, 0.03);
    --navbar-text: rgba(255, 255, 255, 0.55);
    --navbar-text-hover: #FFFFFF;
    
    --hero-overlay: rgba(10, 10, 10, 0.7);
    --hero-text: rgba(255, 255, 255, 0.45);
    
    --dropdown-bg: rgba(16, 16, 16, 0.98);
    --dropdown-border: rgba(255, 255, 255, 0.06);
    
    --scrollbar-track: rgba(255, 255, 255, 0.02);
    --scrollbar-thumb: rgba(255, 255, 255, 0.08);
    --scrollbar-thumb-hover: rgba(255, 255, 255, 0.15);
    
    --selection-bg: rgba(0, 229, 255, 0.2);
    --selection-color: #FFFFFF;
    
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   MODO CLARO - REFINADO CON PROFUNDIDAD
   ============================================ */
[data-theme="light"] {
    --color-bg: #F6F8FB;
    --color-bg-surface: rgba(255, 255, 255, 0.92);
    --color-bg-card: #FFFFFF;
    --color-bg-card-hover: #F8FAFC;
    --color-bg-input: #F1F4F8;
    --color-bg-dropdown: #FFFFFF;
    --color-bg-topbar: rgba(255, 255, 255, 0.85);
    --color-bg-footer: #F0F2F5;
    --color-bg-section: #FAFBFC;
    --color-bg-alt: #FFFFFF;
    
    --color-text: #1A202C;
    --color-text-primary: #111827;
    --color-text-secondary: #4B5563;
    --color-text-tertiary: #6B7280;
    --color-text-muted: #9CA3AF;
    --color-text-dim: rgba(26, 32, 44, 0.12);
    --color-text-inverse: #FFFFFF;
    
    --color-border: #E5E7EB;
    --color-border-light: #EDF2F7;
    --color-border-input: #D1D5DB;
    --color-border-card: rgba(0, 0, 0, 0.04);
    
    --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.06);
    --shadow-elegant: 0 16px 48px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.03);
    --shadow-card-hover: 0 1px 4px rgba(0, 0, 0, 0.03), 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.06);
    
    --navbar-bg: rgba(255, 255, 255, 0.88);
    --navbar-border: rgba(0, 0, 0, 0.04);
    --navbar-text: rgba(26, 32, 44, 0.55);
    --navbar-text-hover: #111827;
    
    --hero-overlay: rgba(10, 10, 12, 0.55);
    --hero-text: rgba(255, 255, 255, 0.6);
    
    --dropdown-bg: #FFFFFF;
    --dropdown-border: rgba(0, 0, 0, 0.04);
    --scrollbar-track: rgba(0, 0, 0, 0.02);
    --scrollbar-thumb: rgba(0, 0, 0, 0.08);
    --scrollbar-thumb-hover: rgba(0, 0, 0, 0.15);
    --selection-bg: rgba(0, 229, 255, 0.15);
    --selection-color: #111827;
}

/* ============================================
   TRANSICIONES GLOBALES
   ============================================ */
* {
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease, 
                box-shadow 0.4s ease,
                fill 0.3s ease,
                stroke 0.3s ease,
                transform 0.3s ease,
                opacity 0.3s ease;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- SELECCIÓN DE TEXTO ---------- */
::selection {
    background: var(--selection-bg);
    color: var(--selection-color);
}
::-moz-selection {
    background: var(--selection-bg);
    color: var(--selection-color);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}
button {
    font-family: inherit;
    cursor: pointer;
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   TIPOGRAFÍA - JERARQUÍA MEJORADA
   ============================================ */
.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    line-height: 1.2;
}
.section-title span {
    color: var(--color-primary);
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 16px auto 0;
    border-radius: 2px;
    opacity: 0.6;
}

.compatible-sub,
.crear-sub,
.faq-sub,
.documentation-sub,
.contact-sub {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ============================================
   BOTONES - REFINADOS
   ============================================ */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    letter-spacing: 0.01em;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
    border-radius: 8px;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.3);
}
.btn-primary:hover::after {
    opacity: 1;
}
.btn-primary:active {
    transform: translateY(0) scale(0.98);
}
.btn-primary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1.5px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-smooth);
    letter-spacing: 0.01em;
    text-decoration: none;
    position: relative;
}
.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.04);
}
.btn-outline:active {
    transform: translateY(0) scale(0.98);
}
.btn-outline:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
.btn-large {
    padding: 14px 36px;
    font-size: 1rem;
}

/* ============================================
   NAVBAR - REFINADO PREMIUM Y ESPACIOSO
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--navbar-border);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
    height: auto;
}

.navbar.scrolled {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--navbar-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

/* ----- Top Bar ----- */
.top-bar {
    border-bottom: 1px solid var(--navbar-border);
    padding: 6px 0;
    transition: all 0.3s ease;
    background: var(--color-bg-topbar);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
}

.top-bar.closed {
    display: none;
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 16px;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex: 1;
    flex-wrap: wrap;
}

.top-bar-discount {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
    line-height: 1;
}

.top-bar-text {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
}

.top-bar-divider {
    width: 1px;
    height: 18px;
    background: var(--color-border);
    flex-shrink: 0;
}

.top-bar-code-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 4px 4px 4px 14px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.top-bar-code-wrapper:hover {
    border-color: var(--color-border-input);
    background: var(--color-bg-input);
}

.top-bar-code {
    font-family: 'Inter', 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    letter-spacing: 0.04em;
    background: transparent;
    padding: 2px 0;
    border: none;
    outline: none;
}

.top-bar-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: var(--color-text-dim);
    transition: all 0.3s ease;
    padding: 0;
}

.top-bar-copy-btn:hover {
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.04);
}

.top-bar-copy-btn svg {
    stroke: currentColor;
}

.top-bar-copied {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--color-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: var(--color-bg-surface);
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    white-space: nowrap;
}

.top-bar-copied.show {
    opacity: 1;
}

.top-bar-close {
    background: none;
    border: none;
    color: var(--color-text-dim);
    cursor: pointer;
    padding: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border-radius: 4px;
}

.top-bar-close:hover {
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.top-bar-close svg {
    stroke: currentColor;
    display: block;
}

/* ----- Navbar Principal ----- */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 28px;
    gap: 32px;
}

/* ----- Logo - Más protagonismo ----- */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity var(--transition-smooth);
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

/* ----- Menú de navegación - Más espaciado ----- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

/* ----- Enlaces de navegación - Más grandes y con más padding ----- */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navbar-text);
    text-decoration: none;
    border-radius: 10px;
    transition: all var(--transition-smooth);
    position: relative;
    white-space: nowrap;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--navbar-text-hover);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .nav-link:hover {
    background: rgba(0, 0, 0, 0.03);
}

.nav-link.active {
    color: var(--navbar-text-hover);
    font-weight: 600;
}

/* Indicador de enlace activo - Más refinado */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--color-primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: all var(--transition-smooth);
    opacity: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
    opacity: 1;
}

.dropdown-arrow {
    transition: transform var(--transition-smooth);
    flex-shrink: 0;
    opacity: 0.5;
}

.nav-link-dropdown:hover .dropdown-arrow {
    opacity: 1;
}

.nav-link-dropdown[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* ----- Dropdown Menú - Más espaciado ----- */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.96);
    min-width: 240px;
    padding: 8px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 14px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="light"] .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all var(--transition-smooth);
}

.dropdown-link:hover {
    background: var(--color-bg-input);
    color: var(--color-text-primary);
}

[data-theme="light"] .dropdown-link:hover {
    background: rgba(0, 0, 0, 0.03);
}

.dropdown-link svg {
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity var(--transition-smooth);
}

.dropdown-link:hover svg {
    opacity: 1;
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-left: auto;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ----- Mega Menú - Más espaciado y premium ----- */
.mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.96);
    padding: 12px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 620px;
}

[data-theme="light"] .mega-menu {
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.mega-container {
    display: grid;
    grid-template-columns: 1fr 1fr 0.7fr;
    gap: 16px;
    padding: 16px;
}

.mega-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-dim);
    padding: 8px 14px 6px;
}

.mega-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all var(--transition-smooth);
}

.mega-link:hover {
    background: var(--color-bg-input);
    color: var(--color-text-primary);
}

[data-theme="light"] .mega-link:hover {
    background: rgba(0, 0, 0, 0.03);
}

.mega-link svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.4;
    transition: opacity var(--transition-smooth);
}

.mega-link:hover svg {
    opacity: 1;
}

.mega-link div {
    display: flex;
    flex-direction: column;
}

.mega-link span {
    font-weight: 500;
    color: var(--color-text-primary);
}

.mega-link small {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-top: 1px;
}

/* ----- Mega Menú - Card Destacada ----- */
.mega-featured {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 4px;
}

.mega-featured-card {
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.08);
    border-radius: 10px;
    padding: 16px 18px;
    position: relative;
    transition: all var(--transition-smooth);
}

[data-theme="light"] .mega-featured-card {
    background: rgba(0, 229, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.06);
    box-shadow: 0 2px 12px rgba(0, 229, 255, 0.02);
}

.mega-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.mega-featured-card .badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(0, 229, 255, 0.12);
    color: var(--color-primary);
    margin-bottom: 6px;
}

[data-theme="light"] .mega-featured-card .badge {
    background: rgba(0, 229, 255, 0.08);
}

.mega-featured-card strong {
    display: block;
    font-size: 1rem;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.mega-featured-card p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin: 0 0 6px;
}

.mega-featured-card .price-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* ----- Acciones del Navbar - Más grandes ----- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-panel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navbar-text);
    background: transparent;
    border: 1.5px solid var(--navbar-border);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-smooth);
    letter-spacing: 0.01em;
    white-space: nowrap;
    height: 42px;
}

.btn-panel:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.06);
}

.btn-panel:active {
    transform: translateY(0) scale(0.97);
}

.btn-billing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-inverse);
    background: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-smooth);
    letter-spacing: 0.01em;
    white-space: nowrap;
    height: 42px;
    position: relative;
    overflow: hidden;
}

.btn-billing::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
    border-radius: 10px;
}

.btn-billing:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.25);
    color: var(--color-text-inverse);
}

.btn-billing:hover::after {
    opacity: 1;
}

.btn-billing:active {
    transform: translateY(0) scale(0.97);
}

/* ----- Theme Toggle - Más grande ----- */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-smooth);
    padding: 0;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--color-bg-input);
    color: var(--color-primary);
    border-color: rgba(0, 229, 255, 0.08);
    transform: rotate(8deg);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.03);
}

.theme-icon {
    display: none;
    width: 20px;
    height: 20px;
}

[data-theme="dark"] .theme-icon.sun,
:root .theme-icon.sun {
    display: block;
}

[data-theme="dark"] .theme-icon.moon,
:root .theme-icon.moon {
    display: none;
}

[data-theme="light"] .theme-icon.moon {
    display: block;
}

[data-theme="light"] .theme-icon.sun {
    display: none;
}

/* ----- Menú Hamburguesa - Más grande para móvil ----- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 6px;
    z-index: 1001;
    transition: all var(--transition-smooth);
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-smooth);
    transform-origin: center;
}

.menu-toggle:hover span {
    background: var(--color-primary);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    width: 30px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    width: 30px;
}

/* ----- Acciones Móvil - Más grandes y cómodas ----- */
.nav-actions-mobile {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.nav-actions-mobile .btn-panel,
.nav-actions-mobile .btn-billing {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    font-size: 1.05rem;
    justify-content: center;
    height: auto;
    border-radius: 12px;
}

/* ============================================
   HERO - ADAPTADO PARA MODO CLARO
   ============================================ */
.hero {
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-overlay);
    z-index: 1;
}
[data-theme="light"] .hero-overlay {
    background: rgba(10, 10, 12, 0.5);
}
[data-theme="light"] .hero-background img {
    opacity: 0.92;
    filter: brightness(0.95) saturate(1.05);
}
[data-theme="light"] .hero-glow-1 {
    opacity: 0.04;
    background: var(--color-primary);
}
[data-theme="light"] .hero-glow-2 {
    opacity: 0.03;
    background: #0088FF;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.3;
    z-index: 1;
}
.hero-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
    opacity: 0.08;
}
.hero-glow-2 {
    width: 300px;
    height: 300px;
    background: #0088FF;
    bottom: -50px;
    left: -50px;
    opacity: 0.06;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    color: var(--color-text-primary);
}
[data-theme="light"] .hero-content h1 {
    color: #FFFFFF;
}
.hero-content h1 span {
    color: var(--color-primary);
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--hero-text);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
}
[data-theme="light"] .hero-sub {
    color: rgba(255, 255, 255, 0.7);
}
.trust-badge {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}
[data-theme="light"] .trust-badge {
    color: rgba(255, 255, 255, 0.6);
}
.trust-badge i {
    color: var(--color-primary);
    margin-right: 6px;
}
.trust-badge span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 229, 255, 0.06));
}
[data-theme="light"] .hero-image svg {
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
}

/* ============================================
   SECCIONES - FONDOS ALTERNADOS
   ============================================ */
[data-theme="light"] .compatible { background: var(--color-bg-alt); }
[data-theme="light"] .crear { background: var(--color-bg-section); }
[data-theme="light"] .why-shyro { background: var(--color-bg-alt); }
[data-theme="light"] .plans { background: var(--color-bg-section); }
[data-theme="light"] .bot-plans { background: var(--color-bg-alt); }
[data-theme="light"] .features-extra { background: var(--color-bg-section); }
[data-theme="light"] .faq { background: var(--color-bg-alt); }
[data-theme="light"] .documentation { background: var(--color-bg-section); }
[data-theme="light"] .legal-notice { background: var(--color-bg-alt); }
[data-theme="light"] .contact { background: var(--color-bg-section); }
[data-theme="light"] .history { background: var(--color-bg-alt); }
[data-theme="light"] .stats-bar { background: var(--color-bg-alt); }

.compatible,
.crear,
.why-shyro,
.history,
.plans,
.bot-plans,
.features-extra,
.faq,
.documentation,
.legal-notice,
.contact {
    padding: 90px 0;
}
.stats-bar {
    padding: 24px 0;
}

/* ============================================
   CARDS - ESTILO UNIFICADO
   ============================================ */
.compatible-card,
.crear-card,
.feature-card,
.docs-card,
.notice-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 14px;
    padding: 24px 20px;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-card);
}
[data-theme="light"] .compatible-card,
[data-theme="light"] .crear-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .docs-card,
[data-theme="light"] .notice-card {
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.03);
}
.compatible-card:hover,
.crear-card:hover,
.feature-card:hover,
.docs-card:hover,
.notice-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.12);
    box-shadow: var(--shadow-card-hover);
    background: var(--color-bg-card-hover);
}
[data-theme="light"] .compatible-card:hover,
[data-theme="light"] .crear-card:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .docs-card:hover,
[data-theme="light"] .notice-card:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03), 0 8px 32px rgba(0, 0, 0, 0.06);
}
.compatible-card svg,
.crear-card svg,
.feature-card svg,
.docs-card svg {
    margin-bottom: 12px;
    opacity: 0.8;
}
.compatible-card h3,
.crear-card h3,
.feature-card h3,
.docs-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}
.compatible-card p,
.crear-card p,
.feature-card p,
.docs-card p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 28px 24px;
    border-radius: 14px;
}
.feature-card svg {
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.compatible-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.crear-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ============================================
   INFRAESTRUCTURA
   ============================================ */
.infrastructure {
    padding: 120px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}
.infrastructure .container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 80px;
}
.infra-map-column {
    display: flex;
    justify-content: center;
    align-items: center;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100%;
}
.infra-map-column svg,
.infra-map-column img,
.vector-world-map {
    width: 100% !important;
    height: auto !important;
    max-width: 950px;
    display: block;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
[data-theme="dark"] .infra-map-column svg path {
    fill: #262626 !important;
    stroke: #333333 !important;
    stroke-width: 0.8px !important;
}
[data-theme="light"] .infra-map-column svg path {
    fill: #E5E7EB !important;
    stroke: #D1D5DB !important;
    stroke-width: 0.8px !important;
}
.infra-map-column svg circle[fill*="#00E5FF"],
.infra-map-column svg circle[stroke*="#00E5FF"] {
    fill: var(--color-primary) !important;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4)) !important;
}
.infra-map-column svg .connect-line {
    stroke: var(--color-primary) !important;
    opacity: 0.4 !important;
    stroke-width: 1.2px !important;
}
.infra-map-column svg text {
    font-family: 'Inter', system-ui, sans-serif !important;
    fill: var(--color-primary) !important;
    opacity: 0.9 !important;
}
.infra-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.infra-text-column .section-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--color-text-primary);
    text-align: left;
}
.infra-text-column .section-title::after {
    margin: 16px 0 0;
}
.infra-text-column .section-title span {
    color: var(--color-primary);
}
.infra-location {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 20px;
    opacity: 0.85;
}
.infra-description {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
}
.infra-description strong {
    color: var(--color-text-primary);
    font-weight: 600;
}
.infra-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 32px;
}
.infra-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.infra-feature-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}
.infra-feature-item svg path,
.infra-feature-item svg circle {
    stroke: var(--color-primary) !important;
}
.infra-feature-item span {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
}
[data-theme="light"] .stats-bar {
    border-color: var(--color-border);
    background: var(--color-bg-alt);
}
.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}
.stat-item svg {
    flex-shrink: 0;
}

/* ============================================
   PLAN CARDS
   ============================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.plans-featured {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
    margin: 0 auto;
}
.plan-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}
[data-theme="light"] .plan-card {
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.03);
}
.plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.15);
    box-shadow: var(--shadow-card-hover);
}
[data-theme="light"] .plan-card:hover {
    border-color: rgba(0, 229, 255, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03), 0 8px 32px rgba(0, 0, 0, 0.06);
}
.plan-card.recommended {
    border-color: rgba(0, 229, 255, 0.2);
    background: rgba(0, 229, 255, 0.03);
}
[data-theme="light"] .plan-card.recommended {
    border-color: rgba(0, 229, 255, 0.12);
    background: rgba(0, 229, 255, 0.02);
}
.plan-card.popular {
    border-color: rgba(0, 229, 255, 0.15);
    background: rgba(0, 229, 255, 0.025);
}
[data-theme="light"] .plan-card.popular {
    border-color: rgba(0, 229, 255, 0.08);
    background: rgba(0, 229, 255, 0.015);
}
.plan-card.powerful {
    border-color: rgba(255, 215, 0, 0.08);
}
.plan-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}
.plan-card .price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}
.plan-card ul {
    flex: 1;
    margin-bottom: 20px;
}
.plan-card ul li {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    padding: 4px 0 4px 20px;
    position: relative;
}
.plan-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.35;
}
.plan-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--color-primary);
    margin-bottom: 16px;
    align-self: flex-start;
}
[data-theme="light"] .plan-tag {
    background: rgba(0, 229, 255, 0.06);
}
.plan-card .btn-primary,
.plan-card .btn-outline {
    width: 100%;
    text-align: center;
}
.plans-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
}
.faq-stat {
    text-align: center;
}
.faq-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}
.faq-stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.faq-list {
    max-width: 800px;
    margin: 0 auto 48px;
}
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}
.faq-question:hover {
    color: var(--color-primary);
}
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--color-text-dim);
    transition: all var(--transition-smooth);
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: var(--color-primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}
.faq-answer p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-cta {
    text-align: center;
    margin-top: 16px;
}
.faq-cta-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* ============================================
   DOCUMENTACIÓN
   ============================================ */
.documentation {
    background: rgba(255, 255, 255, 0.01);
}
.docs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 48px;
}
.docs-card {
    padding: 28px 24px;
    border-radius: 14px;
    text-decoration: none;
    display: block;
}
.docs-card svg {
    margin-bottom: 12px;
    opacity: 0.8;
}
.docs-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}
.docs-card p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}
.docs-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: color 0.2s ease;
}
.docs-card:hover .docs-link {
    color: var(--color-primary-dark);
}
.docs-support {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}
[data-theme="light"] .docs-support {
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.03);
}
.docs-support p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.docs-support-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   LEGAL NOTICE
   ============================================ */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.notice-card {
    padding: 28px 24px;
    border-radius: 14px;
}
.notice-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.notice-card p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}
.notice-card p a {
    color: var(--color-primary);
    transition: color 0.2s ease;
}
.notice-card p a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}
.notice-cta {
    text-align: center;
}

/* ============================================
   CONTACTO - FORMULARIO PREMIUM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 4px;
}
.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}
.contact-item p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}
.contact-item a {
    color: var(--color-text-secondary);
    display: block;
    transition: color 0.2s ease;
}
.contact-item a:hover {
    color: var(--color-primary);
}
.contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
}
[data-theme="light"] .contact-form-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.03);
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-bg-input);
    border: 1.5px solid var(--color-border-input);
    border-radius: 10px;
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-smooth);
}
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
    border: 1.5px solid #E5E7EB;
    background: #F9FAFB;
}
[data-theme="light"] .contact-form input:hover,
[data-theme="light"] .contact-form textarea:hover {
    border-color: #D1D5DB;
    background: #FFFFFF;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-text-muted);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-bg-input);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.06);
}
[data-theme="light"] .contact-form input:focus,
[data-theme="light"] .contact-form textarea:focus {
    border-color: var(--color-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.06);
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}
.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 16px;
}
.form-note i {
    margin-right: 6px;
}

/* ============================================
   FEATURES EXTRA
   ============================================ */
.features-extra .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.features-extra .feature-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: 12px;
}
.features-extra .feature-card h3 {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0;
}
.features-extra .feature-card svg {
    margin-bottom: 8px;
}

/* ============================================
   FOOTER - REFINADO PREMIUM
   ============================================ */
.footer {
    padding: 72px 0 24px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-footer);
}
[data-theme="light"] .footer {
    border-top: 1px solid #E5E7EB;
    background: #F8FAFC;
}
[data-theme="dark"] .footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-logo {
    display: block;
    width: 140px;
    height: auto;
}
.footer-description {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 280px;
}
[data-theme="light"] .footer-description {
    color: #6B7280;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border-light);
    color: var(--color-text-muted);
    font-size: 1rem;
    transition: all var(--transition-smooth);
    text-decoration: none;
}
.footer-social a:hover {
    background: rgba(0, 229, 255, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.06);
}
[data-theme="light"] .footer-social a {
    background: #F3F4F6;
    border-color: #E5E7EB;
    color: #9CA3AF;
}
[data-theme="light"] .footer-social a:hover {
    background: rgba(0, 229, 255, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.06);
}
.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-dim);
    margin-bottom: 18px;
}
[data-theme="light"] .footer-col h4 {
    color: #6B7280;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-col ul li {
    margin: 0;
}
.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: all var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    position: relative;
}
[data-theme="light"] .footer-col ul li a {
    color: #6B7280;
}
.footer-col ul li a:hover {
    color: var(--color-primary);
    transform: translateX(2px);
}
[data-theme="light"] .footer-col ul li a:hover {
    color: var(--color-primary);
}
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}
[data-theme="light"] .footer-bottom {
    border-top: 1px solid #E5E7EB;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copyright {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-copyright p {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}
[data-theme="light"] .footer-copyright p {
    color: #9CA3AF;
}
.footer-separator {
    color: var(--color-border);
}
[data-theme="light"] .footer-separator {
    color: #D1D5DB;
}
.footer-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-badges img {
    height: 30px;
    width: auto;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all var(--transition-smooth);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.back-to-top:hover {
    background: rgba(0, 229, 255, 0.15);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.15);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner-mini {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    max-width: 520px;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: var(--shadow-premium);
    transform: translateY(30px) scale(0.96);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}
.cookie-banner-mini.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.cookie-banner-mini-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cookie-banner-mini-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.cookie-banner-mini-header > div {
    flex: 1;
}
.cookie-banner-mini-header h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 2px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.cookie-banner-mini-header p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.4;
}
.cookie-mini-close {
    background: none;
    border: none;
    color: var(--color-text-dim);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition-smooth);
    flex-shrink: 0;
    margin-top: -2px;
}
.cookie-mini-close:hover {
    color: var(--color-text-secondary);
}
.cookie-mini-close svg {
    display: block;
}
.cookie-banner-mini-text p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0 0 4px 0;
}
.cookie-mini-link {
    font-size: 0.8rem;
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-smooth);
    display: inline-block;
    font-weight: 400;
}
.cookie-mini-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}
.cookie-mini-settings {
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}
.cookie-mini-settings.open {
    max-height: 500px;
    padding: 4px 0;
    opacity: 1;
}
.cookie-mini-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border-light);
    gap: 16px;
}
.cookie-mini-setting:last-child {
    border-bottom: none;
}
.cookie-mini-setting-info {
    flex: 1;
    min-width: 0;
}
.cookie-mini-setting-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-primary);
}
.cookie-mini-setting-desc {
    display: block;
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: 1px;
}
.cookie-mini-setting-status {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-bg-input);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
    white-space: nowrap;
}
.cookie-mini-setting-status.always-active {
    color: var(--color-text-muted);
}
.cookie-mini-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.cookie-mini-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-mini-slider {
    position: absolute;
    inset: 0;
    background: var(--color-border-input);
    border-radius: 12px;
    transition: all var(--transition-smooth);
}
.cookie-mini-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--color-text-inverse);
    border-radius: 50%;
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.cookie-mini-toggle input:checked + .cookie-mini-slider {
    background: var(--color-primary);
}
.cookie-mini-toggle input:checked + .cookie-mini-slider::before {
    transform: translateX(20px);
    background: var(--color-text-inverse);
}
.cookie-mini-toggle input:disabled + .cookie-mini-slider {
    opacity: 0.3;
    cursor: not-allowed;
}
.cookie-banner-mini-actions,
.cookie-banner-mini-actions-settings {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.cookie-mini-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
}
.cookie-mini-btn svg {
    flex-shrink: 0;
}
.cookie-mini-btn-primary {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}
.cookie-mini-btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.2);
}
.cookie-mini-btn-secondary {
    background: var(--color-bg-input);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}
.cookie-mini-btn-secondary:hover {
    background: var(--color-bg-card-hover);
    color: var(--color-text-primary);
}
.cookie-banner-mini-actions-settings {
    display: none;
}

/* ============================================
   ANIMACIONES
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TABLA COMPARATIVA DE PLANES
   ============================================ */

.table-responsive {
    overflow-x: auto;
    margin: 32px auto 0;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    box-shadow: var(--shadow-soft);
    -webkit-overflow-scrolling: touch;
}

[data-theme="light"] .table-responsive {
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 20px rgba(0, 0, 0, 0.04);
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 560px;
}

.table-responsive thead {
    background: var(--color-bg-input);
}

[data-theme="light"] .table-responsive thead {
    background: #F3F4F6;
}

.table-responsive th {
    text-align: left;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--color-border-light);
}

[data-theme="light"] .table-responsive th {
    color: #6B7280;
    border-bottom-color: #E5E7EB;
}

.table-responsive td {
    padding: 14px 20px;
    border-top: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    font-weight: 400;
    transition: color 0.2s ease;
}

[data-theme="light"] .table-responsive td {
    border-top-color: #F3F4F6;
    color: #4B5563;
}

.table-responsive tbody tr {
    transition: background-color var(--transition-smooth);
}

.table-responsive tbody tr:hover {
    background: var(--color-bg-input);
}

[data-theme="light"] .table-responsive tbody tr:hover {
    background: #F9FAFB;
}

.table-responsive td:first-child {
    font-weight: 600;
    color: var(--color-text-primary);
}

[data-theme="light"] .table-responsive td:first-child {
    color: #111827;
}

.table-responsive td:last-child {
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================
   TABLA - RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .table-responsive table {
        font-size: 0.8rem;
        min-width: 480px;
    }
    
    .table-responsive th,
    .table-responsive td {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .table-responsive table {
        font-size: 0.75rem;
        min-width: 420px;
    }
    
    .table-responsive th,
    .table-responsive td {
        padding: 10px 12px;
    }
}

/* ============================================
   RESPONSIVE - NAVBAR Y RESTO DEL SITIO
   ============================================ */

@media (max-width: 1400px) {
    .infrastructure .container { gap: 80px; }
}

@media (max-width: 1199px) {
    .infrastructure { padding: 100px 0; }
    .infrastructure .container { gap: 50px; grid-template-columns: 1.2fr 1fr; }
    .infra-text-column .section-title { font-size: 32px; }
    .infra-features-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 1024px) {
    .mega-menu { min-width: 480px; }
    .mega-container { grid-template-columns: 1fr 1fr; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-image svg { max-width: 380px; }
    .compatible-grid { grid-template-columns: repeat(2, 1fr); }
    .crear-grid { grid-template-columns: repeat(2, 1fr); }
    .docs-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .features-extra .features-grid { grid-template-columns: repeat(3, 1fr); }
    .plans-featured { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
    .notice-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; max-width: 600px; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
    .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
    .infrastructure { padding: 80px 0; }
    .infrastructure .container { display: flex; flex-direction: column; gap: 55px; text-align: center; }
    .infra-map-column { order: 1; width: 100%; }
    .infra-text-column { order: 2; max-width: 650px; margin: 0 auto; }
    .infra-map-column svg, .infra-map-column img, .vector-world-map { width: 90% !important; margin: 0 auto; }
    .infra-features-grid { grid-template-columns: repeat(2, 1fr); max-width: 550px; margin: 0 auto; text-align: left; }
    .infra-text-column .section-title { text-align: center; }
    .infra-text-column .section-title::after { margin: 16px auto 0; }
}

@media (max-width: 768px) {
    /* === NAVBAR MÓVIL - CORREGIDO === */
    .navbar {
        padding: 0;
    }

    .nav-container {
        padding: 12px 20px;
        gap: 16px;
    }

    .logo-img {
        height: 38px;
    }

    .menu-toggle {
        display: flex;
        padding: 10px 8px;
    }
    
    .menu-toggle span {
        width: 30px;
        height: 3px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navbar-bg);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 2px;
        padding: 88px 24px 24px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        margin: 0;
        z-index: 1000;
        overflow-y: auto;
        flex: none;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu > li {
        width: 100%;
        flex-shrink: 0;
    }

    .nav-link {
        padding: 14px 18px;
        font-size: 1.05rem;
        width: 100%;
        border-radius: 10px;
        white-space: normal;
        justify-content: space-between;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu,
    .mega-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: none;
        border: none;
        background: var(--color-bg-input);
        border-radius: 10px;
        padding: 0;
        margin: 2px 0 6px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        min-width: auto !important;
        width: 100%;
    }

    .dropdown-menu.active,
    .mega-menu.active {
        max-height: 600px;
        padding: 6px 0 10px;
        overflow-y: auto;
    }

    .mega-container {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 4px 12px;
    }

    .mega-featured {
        padding: 6px 0;
    }

    .dropdown-link,
    .mega-link {
        padding: 12px 16px;
        font-size: 0.9rem;
        gap: 12px;
    }

    .mega-title {
        padding: 6px 14px;
        font-size: 0.7rem;
    }

    .nav-actions {
        display: none;
    }

    .nav-menu.active .nav-actions-mobile {
        display: flex;
    }

    .nav-actions-mobile {
        display: none;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--color-border);
        flex-shrink: 0;
    }

    .nav-actions-mobile .btn-panel,
    .nav-actions-mobile .btn-billing {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
        justify-content: center;
        height: auto;
        border-radius: 10px;
    }

    /* --- Top Bar en móvil --- */
    .top-bar-container {
        padding: 0 16px;
        gap: 10px;
    }

    .top-bar-content {
        gap: 10px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: 4px 0;
    }

    .top-bar-content::-webkit-scrollbar {
        display: none;
    }

    .top-bar-discount {
        font-size: 1rem;
    }

    .top-bar-text {
        font-size: 0.78rem;
    }

    .top-bar-divider {
        height: 20px;
    }

    .top-bar-code {
        font-size: 0.7rem;
    }

    .top-bar-code-wrapper {
        padding: 3px 3px 3px 10px;
    }

    .top-bar-copy-btn {
        width: 24px;
        height: 24px;
    }

    .top-bar-copy-btn svg {
        width: 11px;
        height: 11px;
    }

    .top-bar-close {
        padding: 4px;
        margin-left: -2px;
    }

    .top-bar-close svg {
        width: 14px;
        height: 14px;
    }

    .top-bar-copied {
        font-size: 0.55rem;
        padding: 2px 8px;
        right: 28px;
    }

    /* --- Resto del responsive --- */
    .hero {
        padding: 140px 0 60px;
        min-height: auto;
    }

    .trust-badge {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-image svg {
        max-width: 320px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .compatible-grid {
        grid-template-columns: 1fr 1fr;
    }

    .crear-grid {
        grid-template-columns: 1fr 1fr;
    }

    .docs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .stats-container {
        justify-content: center;
        gap: 12px 20px;
    }

    .stat-item {
        font-size: 0.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-extra .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-featured {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .faq-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .faq-stat-number {
        font-size: 1.5rem;
    }

    .docs-support-buttons {
        flex-direction: column;
        align-items: center;
    }

    .docs-support-buttons .btn-primary,
    .docs-support-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-copyright {
        justify-content: center;
    }
    .footer-description {
        max-width: 100%;
    }

    .cookie-banner-mini {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        padding: 22px 24px;
    }

    .cookie-banner-mini-header h4 {
        font-size: 0.95rem;
    }

    .cookie-banner-mini-text p {
        font-size: 0.8rem;
    }

    .cookie-banner-mini-actions {
        flex-wrap: wrap;
    }

    .cookie-mini-btn {
        flex: 1;
        justify-content: center;
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .cookie-mini-btn-settings {
        flex: 0 0 auto;
    }

    .cookie-mini-setting {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 10px;
    }

    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 8px;
        margin-top: 8px;
    }
    .hero-image svg {
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: 340px;
        filter: drop-shadow(0 16px 48px rgba(0, 229, 255, 0.06));
        transform: none;
        margin: 0 auto;
        display: block;
    }
    .hero-image svg rect, .hero-image svg text, .hero-image svg circle { vector-effect: non-scaling-stroke; }
    .hero-image svg text { font-size: 9px !important; }
    .hero-image svg text[font-size="12"] { font-size: 10px !important; }
    .hero-image svg text[font-size="13"] { font-size: 11px !important; }
    .hero-image svg text[font-size="10"] { font-size: 8px !important; }
    .hero-image svg text[font-size="9"] { font-size: 7px !important; }
    .hero-image svg text[font-size="8"] { font-size: 7px !important; }
    .hero-image svg text[x="55"] { x: 10% !important; }
    .hero-image svg text[x="65"] { x: 12% !important; }
    .hero-image svg text[x="70"] { x: 14% !important; }
    .hero-image svg text[x="200"] { x: 38% !important; }
    .hero-image svg text[x="335"] { x: 62% !important; }
    .hero-image svg circle[cx="55"], .hero-image svg circle[cx="160"], .hero-image svg circle[cx="265"] { cx: 10% !important; }
    .hero-image svg circle[cx="55"][cy="215"] { cx: 10% !important; }
    .hero-image svg circle[cx="205"][cy="215"] { cx: 38% !important; }
    .hero-image svg circle[cx="325"][cy="215"] { cx: 62% !important; }
    .hero-image svg rect[x="55"][y="250"] { x: 5% !important; width: 90% !important; }
    .hero-image svg text[x="70"][y="268"] { x: 8% !important; }
    .hero-image svg text[x="70"][y="283"] { x: 8% !important; }
    .hero-image svg text[x="70"][y="298"] { x: 8% !important; }
    .hero-image svg text[x="70"][y="313"] { x: 8% !important; }
}

@media (max-width: 576px) {
    .infrastructure { padding: 60px 0; }
    .infrastructure .container { gap: 40px; }
    .infra-map-column svg, .infra-map-column img, .vector-world-map { width: 100% !important; }
    .infra-text-column .section-title { font-size: 26px; }
    .infra-description { font-size: 15px; margin-bottom: 30px; }
    .infra-features-grid { grid-template-columns: 1fr; width: 100%; max-width: 290px; }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 16px;
        gap: 12px;
    }

    .logo-img {
        height: 34px;
    }

    .menu-toggle {
        padding: 12px 6px;
    }

    .menu-toggle span {
        width: 28px;
        height: 3px;
        gap: 6px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 14px 16px;
    }

    .nav-menu {
        padding: 78px 16px 20px;
    }

    .dropdown-link,
    .mega-link {
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    .container {
        padding: 0 16px;
    }

    .dropdown-menu.active,
    .mega-menu.active {
        max-height: 500px;
    }

    .top-bar {
        padding: 4px 0;
    }

    .top-bar-container {
        padding: 0 12px;
        gap: 6px;
    }

    .top-bar-content {
        gap: 8px;
        padding: 2px 0;
    }

    .top-bar-discount {
        font-size: 0.85rem;
    }

    .top-bar-text {
        font-size: 0.65rem;
    }

    .top-bar-divider {
        height: 14px;
    }

    .top-bar-code {
        font-size: 0.6rem;
        letter-spacing: 0.02em;
    }

    .top-bar-code-wrapper {
        padding: 2px 2px 2px 8px;
    }

    .top-bar-copy-btn {
        width: 20px;
        height: 20px;
    }

    .top-bar-copy-btn svg {
        width: 9px;
        height: 9px;
    }

    .top-bar-close {
        padding: 2px;
    }

    .top-bar-close svg {
        width: 12px;
        height: 12px;
    }

    .top-bar-copied {
        font-size: 0.5rem;
        padding: 1px 6px;
        right: 24px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-image svg {
        max-height: 280px;
        max-width: 280px;
    }
    .hero-image svg text { font-size: 7px !important; }
    .hero-image svg text[font-size="12"] { font-size: 8px !important; }
    .hero-image svg text[font-size="13"] { font-size: 9px !important; }
    .hero-image svg text[font-size="10"] { font-size: 6px !important; }
    .hero-image svg text[font-size="9"] { font-size: 6px !important; }
    .hero-image svg text[font-size="8"] { font-size: 5px !important; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }

    .compatible-grid {
        grid-template-columns: 1fr;
    }

    .crear-grid {
        grid-template-columns: 1fr;
    }

    .faq-stats {
        flex-direction: column;
        gap: 12px;
    }

    .faq-question {
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-description {
        text-align: center;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 4px;
    }

    .footer-separator {
        display: none;
    }

    .features-extra .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cookie-banner-mini {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 18px 18px;
        border-radius: 12px;
    }

    .cookie-banner-mini-header {
        gap: 12px;
    }

    .cookie-banner-mini-header h4 {
        font-size: 0.85rem;
    }

    .cookie-banner-mini-header p {
        font-size: 0.7rem;
    }

    .cookie-banner-mini-text p {
        font-size: 0.75rem;
    }

    .cookie-mini-btn {
        font-size: 0.7rem;
        padding: 6px 12px;
        flex: 1;
    }

    .cookie-mini-btn-settings {
        flex: 0 0 auto;
        padding: 6px 10px;
    }

    .cookie-mini-setting {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 8px 10px;
    }

    .cookie-mini-setting-name {
        font-size: 0.8rem;
    }

    .cookie-mini-setting-desc {
        font-size: 0.7rem;
    }
}

@media (max-width: 380px) {
    .hero-image svg { max-height: 240px; }
    .hero-image svg text { font-size: 6px !important; }
}