/* =========================================
   1. VARIABLES Y RESET GLOBAL
   ========================================= */
:root {
    --bg-color: #050508;
    --bg-card: rgba(255, 255, 255, 0.02);
    --text-main: #f0f0f5;
    --text-muted: #8b8b9d;
    --accent: #6b4cff;
    --accent-hover: #8a2be2;
    --border-color: rgba(255, 255, 255, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: radial-gradient(circle at top, rgba(107, 76, 255, 0.1) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

html {
    scroll-behavior: smooth;
}

main {
    flex: 1;
}

/* =========================================
   2. COMPONENTES Y UTILIDADES
   ========================================= */
/* Botones */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(107, 76, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
    cursor: pointer !important;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 76, 255, 0.5);
}

.btn-blue {
    background: linear-gradient(135deg, #005ce6 0%, #00d2ff 100%) !important;
    border-color: rgba(0, 210, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 92, 230, 0.4) !important;
    margin-top: 2rem;
}

.btn-blue:hover {
    box-shadow: 0 8px 25px rgba(0, 92, 230, 0.6) !important;
}

.btn-primary {
    width: 100%;
    text-align: center;
    display: block;
}

.btn-outline {
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
    display: block;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Indicador Parpadeante */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #2ed573;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7);
    animation: pulse 2s infinite;
}

/* Animaciones Generales */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 213, 115, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 213, 115, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   3. NAVEGACIÓN Y FOOTER
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.brand-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.brand-container:hover .brand-text {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.2));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #2ed573;
}

footer {
    background: #020203;
    border-top: 1px solid var(--border-color);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   4. PÁGINA: INICIO (INDEX)
   ========================================= */
.hero {
    text-align: center;
    min-height: calc(100vh - 85px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #a3a3b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.terminal-section {
    max-width: 800px;
    margin: 4rem auto 5rem;
    padding: 0 5%;
    position: relative;
    z-index: 5;
}

.terminal-window {
    background: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.terminal-header {
    background: #1a1a24;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.term-buttons {
    display: flex;
    gap: 8px;
}

.term-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.term-btn.red {
    background: #ff5f56;
}

.term-btn.yellow {
    background: #ffbd2e;
}

.term-btn.green {
    background: #27c93f;
}

.term-tittle {
    flex-grow: 1;
    text-align: center;
    color: var(--text-muted);
    font-family: monospace;
    font-size: 0.85rem;
    margin-right: 44px;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    color: #2ed573;
    height: 280px;
    line-height: 1.5;
    overflow: hidden;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background: #2ed573;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.manifesto-section {
    background: #08080c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 30px 50px -20px rgba(0, 0, 0, 0.8);
    padding: 6rem 5% 3rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.highlight {
    color: var(--accent);
}

.manifesto-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-section {
    background: #08080c;
    padding: 2rem 5% 6rem;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
    font-size: 2.5rem;
    display: block !important;
    margin-bottom: 1.5rem !important; /* Separación forzada */
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ecosystem-teaser {
    background: #08080c;
    padding: 2rem 5% 6rem;
    text-align: center;
}

.teaser-content {
    max-width: 600px;
    margin: 0 auto;
}

.teaser-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.teaser-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* =========================================
   5. PÁGINA: PRODUCTOS
   ========================================= */
.viewport-section {
    min-height: calc(100vh - 85px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.products-hero h1 {
    font-size: 3rem;
    background: linear-gradient(to right, #fff, #a3a3b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 1.8rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.product-card.active-product {
    border-color: rgba(107, 76, 255, 0.3);
    background: linear-gradient(180deg, rgba(107, 76, 255, 0.05) 0%, transparent 100%);
}

.product-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto; /* Asegura que el botón se quede pegado abajo */
    padding: 0.8rem 1rem;
    white-space: nowrap !important;
}

.product-icon {
    font-size: 2.8rem;
    display: block !important;
    height: 70px;
    line-height: 70px; /* Centra los emojis verticalmente */
    margin-bottom: 1.5rem !important;
}

.product-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.product-status.dev {
    background: rgba(161, 161, 170, 0.1);
    color: #a1a1aa;
    border: 1px solid rgba(161, 161, 170, 0.3);
}

.product-details {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.product-panel {
    width: 100%;
    scroll-margin-top: 85px;
}

.panel-dark {
    background: #080805;
}

.panel-light {
    background: #0b0b12;
    box-shadow: inset 0 20px 50px -20px rgba(0, 0, 0, 0.5), inset 0 -20px 50px -20px rgba(0, 0, 0, 0.5);
    border-top: 1px dashed rgba(255, 255, 255, 0.02);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.02);
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
    min-height: calc(100vh - 85px);
}

.detail-row.reverse {
    flex-direction: row-reverse;
}

.detail-text {
    flex: 1;
}

.detail-text h2 {
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.detail-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: #d1d5db;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.detail-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-box {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(107, 76, 255, 0.1) 100%);
    border: 1px solid rgba(107, 76, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
    font-size: 8rem;
}

.detail-row.reverse .visual-box {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.custom-png-icon {
    height: 70px;
    width: auto;
    display: block !important;
    margin-bottom: 0 !important;
    filter: drop-shadow(0px 0px 8px rgba(107, 76, 255, 0.6));
    transition: transform 0.3s ease;
}

.product-card:hover .custom-png-icon {
    transform: scale(1.1);
}

.custom-png-large {
    height: 200px;
    width: auto;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0px 0px 15px rgba(107, 76, 255, 0.4));
    transition: transform 0.5s ease;
}

.visual-box:hover .custom-png-large {
    transform: scale(1.05);
}


/* =========================================
   6. PÁGINA: VPN (PRECIOS Y CONFIGURACIÓN)
   ========================================= */
.pricing-section {
    max-width: 1000px;
    margin: 4rem auto 2rem;
    padding: 0 5%;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.casual-card {
    border-top: 4px solid #a1a1aa;
}

.stealth-card {
    border-top: 4px solid var(--accent);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-casual {
    background: rgba(161, 161, 170, 0.1);
    color: #a1a1aa;
}

.badge-stealth {
    background: rgba(107, 76, 255, 0.2);
    color: #bca6ff;
}

.pricing-card-header h3 {
    font-size: 2rem;
    margin-top: 1rem;
    color: #fff;
}

.pricing-card-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    color: #d1d5db;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.pricing-features .warning-text {
    color: #8b8b9d;
    font-size: 0.9rem;
}

.pricing-features .success-text {
    color: #2ed573;
    font-weight: 600;
}

.setup-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.setup-container h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.setup-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    transition: 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: white;
    background: rgba(107, 76, 255, 0.15);
    border: 1px solid rgba(107, 76, 255, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
    display: block;
}

.instruction-step {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
}

.instruction-step h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}


/* =========================================
   7. PÁGINA: LEGAL Y COMPAÑÍA
   ========================================= */
.legal-hero {
    text-align: center;
    padding: 6rem 2rem 3rem;
}

.legal-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #a3a3b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5% 6rem;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.legal-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-sticky {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    padding-left: 1.5rem;
}

.sidebar-link {
    background: none;
    border: none;
    text-align: left;
    color: var(--text-muted);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    width: 100%;
}

.sidebar-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
}

.sidebar-link.active {
    color: #fff;
    font-weight: 600;
    border-left: 2px solid var(--accent);
    background: linear-gradient(90deg, rgba(107, 76, 255, 0.1) 0%, transparent 100%);
}

.legal-content {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 4rem;
}

.legal-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.legal-pane.active {
    display: block;
}

.legal-pane h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.legal-pane h3 {
    font-size: 1.3rem;
    color: #e4e4e7;
    margin: 2.5rem 0 1.2rem;
    font-weight: 600;
}

.legal-pane p {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.legal-pane ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.legal-pane ul li {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    position: relative;
    line-height: 1.7;
}

.legal-pane ul li::before {
    content: '→';
    position: absolute;
    left: -1.5rem;
    color: var(--accent);
    font-weight: bold;
}

.legal-pane strong {
    color: #ffffff;
    font-weight: 600;
}

.contact-box {
    background: rgba(107, 76, 255, 0.05);
    border: 1px solid rgba(107, 76, 255, 0.2);
    padding: 2rem;
    border-radius: 8px;
    color: #fff;
    line-height: 2;
    font-family: 'Courier New', Courier, monospace;
    margin-top: 1.5rem;
    word-break: break-all;
    overflow-wrap: break-word;
}

/* Tooltip Copiar */
.copy-field {
    cursor: pointer;
    color: #e4e4e7;
    border-bottom: 1px dashed rgba(107, 76, 255, 0.5);
    transition: all 0.3s ease;
    display: inline-block;
    padding-bottom: 2px;
}

.copy-field:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(107, 76, 255, 0.8);
    border-bottom: 1px solid var(--accent);
}

.copy-tooltip {
    position: fixed;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 76, 255, 0.5);
    color: #fff;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 5px 15px rgba(107, 76, 255, 0.4);
    pointer-events: none;
    z-index: 1000;
    animation: tooltipFloat 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes tooltipFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.9);
    }
    15% {
        opacity: 1;
        transform: translateY(-25px) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateY(-25px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-35px) scale(0.9);
    }
}

/* =========================================
   8. DISEÑO RESPONSIVO (MÓVILES)
   ========================================= */
@media (max-width: 900px) {
    /* Legal Mobile */
    .legal-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 5% 4rem;
    }

    .legal-sidebar {
        width: 100%;
    }

    .sidebar-sticky {
        position: relative;
        top: 0;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-left: 0;
        padding-bottom: 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .legal-content {
        padding: 2rem;
    }

    .contact-box {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Precios Mobile */
    .stealth-card {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    /* Nav Mobile */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
    }

    /* Productos Mobile */
    .detail-row, .detail-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 4rem 5%;
    }

    .detail-text ul {
        text-align: left;
    }

    .visual-box {
        width: 250px;
        height: 250px;
    }
}

/* =========================================
   9. BÓVEDA STEALTH (GENERADOR VPN)
   ========================================= */
.stealth-vault-section {
    max-width: 950px;
    margin: 4rem auto;
    padding: 0 5%;
}

.stealth-vault-container {
    background: #08080c;
    border: 1px solid rgba(107, 76, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(107, 76, 255, 0.1);
    overflow: hidden;
}

.vault-header {
    background: rgba(107, 76, 255, 0.1);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(107, 76, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vault-header h3 {
    color: #bca6ff;
    font-family: monospace;
    font-size: 1.1rem;
    margin: 0;
}

.vault-body {
    padding: 2.5rem 2rem;
    text-align: center;
}

.key-result-box {
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    animation: fadeIn 0.5s ease-out;
}

.key-display {
    font-family: 'Courier New', Courier, monospace;
    color: #2ed573; /* Verde hacker */
    background: rgba(46, 213, 115, 0.05);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid rgba(46, 213, 115, 0.2);
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-all;
}

/* =========================================
   10. PASARELA CRIPTO (STEALTH) - AMPLIADA
   ========================================= */
.crypto-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.crypto-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.crypto-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.crypto-btn.active {
    background: rgba(107, 76, 255, 0.2);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(107, 76, 255, 0.3);
    transform: translateY(-2px);
}

.crypto-details-box {
    background: #0b0b10;
    border: 1px dashed rgba(107, 76, 255, 0.4);
    border-radius: 16px;
    padding: 3rem; /* Relleno masivo interior */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem; /* Separación súper amplia entre QR y texto */
    text-align: left;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.qr-placeholder img {
    border-radius: 12px;
    border: 4px solid #fff;
    padding: 5px;
    background: #fff;
    width: 180px;
    height: 180px; /* QR un poco más grande */
    transition: opacity 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.crypto-info {
    flex: 1;
    min-width: 0; /* Previene que el texto desborde su contenedor */
}

.crypto-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.crypto-value {
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* Caja de dirección blindada horizontalmente */
.crypto-address-field {
    font-size: 1rem !important;
    font-family: 'Courier New', Courier, monospace !important;
    word-break: break-all !important;
    width: 100% !important;
    padding: 1.2rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e4e4e7 !important;
    line-height: 1.5 !important;
    display: block !important; /* Fuerza a romper la línea ocupando todo el ancho */
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .crypto-details-box {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .crypto-info {
        width: 100%;
    }

    .crypto-address-field {
        font-size: 0.85rem !important;
    }

    .crypto-value {
        font-size: 1.6rem;
    }
}

/* Botón Session - Fiat */

.session-btn {
    border-color: rgba(107, 76, 255, 0.5) !important;
    color: #bca6ff !important;
}

.session-btn:hover {
    background: rgba(107, 76, 255, 0.1) !important;
}

.session-btn.active {
    background: linear-gradient(135deg, rgba(107, 76, 255, 0.2) 0%, rgba(107, 76, 255, 0.4) 100%) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(107, 76, 255, 0.4) !important;
}

/* =========================================
   11. CLASES UTILITARIAS Y BÓVEDA STEALTH (NUEVO LOGIN)
   ========================================= */

/* Limpieza Estructural HTML */
.flex-center-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.full-width-margin-zero {
    width: 100%;
    margin: 0;
}

.vault-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.vault-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.footer-vault {
    border-top: none;
    padding-top: 1rem;
}

.qr-hidden {
    opacity: 0;
}

.qr-blur-state {
    opacity: 0.2;
    filter: grayscale(100%) blur(5px);
}

.address-blur-state {
    filter: blur(5px);
    pointer-events: none;
}

/* Temporizador y Botón Verificar */
.payment-timer-box {
    text-align: center;
    margin-top: 2rem;
}

.timer-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.crypto-timer-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffbd2e;
    text-shadow: 0 0 15px rgba(255, 189, 46, 0.4);
}

.btn-verify-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.btn-verify-custom {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    padding: 1rem;
    font-size: 1.05rem;
    white-space: normal;
}

/* Estados de Botones Inyectados por JS */
.btn-success-state {
    background: #2ed573 !important;
    border-color: #2ed573 !important;
}

.btn-error-state {
    background: #ff5f56 !important;
    border-color: #ff5f56 !important;
}

.btn-waiting-state {
    background: #ffbd2e !important;
    color: #000 !important;
    border-color: #ffbd2e !important;
}

/* Interfaz Dinámica de Espera (Inyectada por JS) */
.dynamic-verify-box {
    background: rgba(255, 189, 46, 0.05);
    border: 1px dashed #ffbd2e;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    animation: fadeIn 0.5s ease-out;
}

.dynamic-verify-title {
    color: #ffbd2e;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dynamic-verify-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.dynamic-verify-label {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}

.dynamic-verify-id {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    color: #ffbd2e;
    font-weight: bold;
    letter-spacing: 2px;
}

.dynamic-verify-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 189, 46, 0.2);
}

.dynamic-verify-footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.dynamic-verify-session {
    color: #bca6ff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

/* Caja de Resultados (UUID + Password) */
.hidden-result {
    display: none;
    text-align: left;
    margin-top: 1rem;
}

.key-result-header {
    text-align: center;
    margin-bottom: 1rem;
}

.success-badge {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.credentials-info {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.credentials-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.credential-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(107, 76, 255, 0.2);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.credential-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.credential-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.credential-value {
    font-family: 'Courier New', Courier, monospace;
    color: #2ed573;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    word-break: break-all;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(46, 213, 115, 0.05);
    border-radius: 6px;
    border: 1px solid transparent;
}

.credential-value.password-text {
    color: #ffbd2e;
    background: rgba(255, 189, 46, 0.05);
}

.back-btn-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.btn-back {
    display: inline-block;
    width: auto;
    font-size: 0.9rem;
    white-space: normal;
    max-width: 100%;
}

/* =========================================
   12. SECCIÓN DE DESCARGAS (NUEVA APP)
   ========================================= */
.download-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 1.2rem 0;
    padding: 0.8rem 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.os-req {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Courier New', Courier, monospace;
}

.loading-pulse {
    background: rgba(161, 161, 170, 0.1);
    color: #a1a1aa;
    animation: opacityPulse 1.5s infinite;
}

.btn-download-spacing {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

@keyframes opacityPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}