/* ============================================ */
/* QUANTUM QUEST - ESTILOS WEB3 NEON */
/* ============================================ */

:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-pink: #ff00ff;
    --neon-green: #00ff88;
    --dark-bg: #050510;
    --card-bg: rgba(20, 20, 40, 0.6);
    --text-main: #ffffff;
    --text-secondary: #a0a0c0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* ============================================ */
/* FONDO WEB3 - LÍNEAS Y FIGURAS GEOMÉTRICAS */
/* ============================================ */

.web3-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    background: linear-gradient(135deg, #0a0a0f 0%, #0f0f1e 50%, #1a1a2e 100%);
    overflow: hidden;
}

/* Grid con perspectiva */
.grid-overlay {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 25s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

/* Líneas geométricas animadas */
.geometric-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.geo-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.3), transparent);
    animation: lineMove 10s ease-in-out infinite;
}

.geo-line::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    box-shadow: 0 0 10px var(--neon-blue);
}

.line-1 {
    width: 300px;
    top: 20%;
    left: -300px;
    animation-delay: 0s;
    transform: rotate(15deg);
}

.line-2 {
    width: 400px;
    top: 40%;
    right: -400px;
    animation-delay: 2s;
    transform: rotate(-25deg);
}

.line-3 {
    width: 250px;
    top: 60%;
    left: -250px;
    animation-delay: 4s;
    transform: rotate(35deg);
}

.line-4 {
    width: 350px;
    top: 80%;
    right: -350px;
    animation-delay: 3s;
    transform: rotate(-15deg);
}

.line-5 {
    width: 200px;
    top: 30%;
    left: 50%;
    animation-delay: 5s;
    transform: rotate(45deg);
}

@keyframes lineMove {
    0% { transform: translateX(0) rotate(var(--rotation, 0deg)); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100vw) rotate(var(--rotation, 0deg)); opacity: 0; }
}

/* Figuras geométricas flotantes */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: shapeFloat 20s ease-in-out infinite;
}

.hexagon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexagonRotate 15s linear infinite;
}

.hexagon:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
}

.hexagon:nth-child(4) {
    bottom: 20%;
    right: 15%;
    width: 120px;
    height: 120px;
    animation-delay: -5s;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 90px solid rgba(188, 19, 254, 0.3);
    animation: triangleRotate 12s ease-in-out infinite;
}

.triangle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: -3s;
}

.triangle:nth-child(5) {
    top: 20%;
    right: 25%;
    border-bottom-color: rgba(0, 243, 255, 0.3);
    animation-delay: -7s;
}

.square {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 243, 255, 0.2));
    border: 2px solid var(--neon-blue);
    transform: rotate(45deg);
    animation: squarePulse 8s ease-in-out infinite;
}

.square:nth-child(3) {
    top: 40%;
    right: 30%;
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(5deg); }
    66% { transform: translateY(30px) rotate(-5deg); }
}

@keyframes hexagonRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes triangleRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

@keyframes squarePulse {
    0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.15; }
    50% { transform: rotate(45deg) scale(1.2); opacity: 0.3; }
}

/* Red de nodos y conexiones */
.network-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--neon-blue);
    animation: nodePulse 4s ease-in-out infinite;
}

.node-1 { top: 20%; left: 10%; animation-delay: 0s; }
.node-2 { top: 50%; left: 40%; animation-delay: 1s; }
.node-3 { top: 30%; left: 70%; animation-delay: 2s; }
.node-4 { top: 70%; left: 20%; animation-delay: 1.5s; }
.node-5 { top: 50%; left: 80%; animation-delay: 0.5s; }
.node-6 { top: 80%; left: 50%; animation-delay: 2.5s; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 1; }
}

.connections {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-line {
    stroke: rgba(0, 243, 255, 0.2);
    stroke-width: 1;
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.2; stroke-width: 1; }
    50% { opacity: 0.5; stroke-width: 2; }
}

/* Efecto de brillo radial en el centro */
.web3-background::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.05) 0%, transparent 70%);
    animation: radialPulse 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes radialPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================ */
/* BACKGROUND ANIMADO (EN TODA LA PÁGINA) */
/* ============================================ */

.web3-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    overflow: hidden;
}

/* Grid animado */
.grid-overlay {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* Partículas flotantes */
.web3-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 243, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(188, 19, 254, 0.05) 0%, transparent 50%);
    animation: floatParticles 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatParticles {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(30px, -30px) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.6; }
}

/* Partículas individuales */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--neon-blue);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s infinite;
    box-shadow: 0 0 10px var(--neon-blue);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; }

@keyframes particleFloat {
    0% { top: 100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: -10%; opacity: 0; }
}

/* Líneas de conexión sutiles */
.connection-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.15), transparent);
    opacity: 0.2;
    animation: linePulse 8s infinite;
}

.connection-line:nth-child(1) { width: 200px; height: 1px; top: 20%; left: 10%; animation-delay: 0s; }
.connection-line:nth-child(2) { width: 150px; height: 1px; top: 40%; left: 60%; animation-delay: 2s; transform: rotate(45deg); }
.connection-line:nth-child(3) { width: 180px; height: 1px; top: 60%; left: 30%; animation-delay: 4s; transform: rotate(-30deg); }

@keyframes linePulse {
    0%, 100% { opacity: 0.1; transform: scaleX(0.5); }
    50% { opacity: 0.3; transform: scaleX(1); }
}

/* ============================================ */
/* TIPOGRAFÍA Y ELEMENTOS COMUNES */
/* ============================================ */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================ */
/* NAVEGACIÓN */
/* ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--neon-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-login {
    border: 1px solid var(--neon-purple);
    padding: 8px 20px;
    border-radius: 5px;
    color: var(--neon-purple) !important;
}

.btn-login:hover {
    background: var(--neon-purple);
    color: #fff !important;
    box-shadow: 0 0 15px var(--neon-purple);
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(188, 19, 254, 0.4));
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(188, 19, 254, 0.4)); }
    50% { filter: drop-shadow(0 0 40px rgba(0, 243, 255, 0.6)); }
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    text-transform: uppercase;
    font-family: var(--font-heading);
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: #fff;
    border: none;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.btn-secondary:hover {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

/* Hero Layout 3 columnas */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-side-logo {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out forwards;
}

.hero-side-logo.right {
    transform: translateX(50px);
    animation: slideInRight 1s ease-out forwards;
}

.hero-center {
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

@keyframes slideInLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ============================================ */
/* SECCIONES GENERALES */
/* ============================================ */

section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ============================================ */
/* SERVICIOS */
/* ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-blue);
    box-shadow: 0 20px 60px rgba(0, 243, 255, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--neon-blue);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--neon-purple);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-green);
    display: block;
    margin-bottom: 20px;
}

.btn-contact {
    display: inline-block;
    width: 100%;
    padding: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: var(--neon-blue);
    color: #000;
}

/* ============================================ */
/* VIP SECTION */
/* ============================================ */

.vip-section {
    background: linear-gradient(180deg, transparent, rgba(188, 19, 254, 0.05));
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.vip-card {
    background: var(--card-bg);
    border: 1px solid rgba(188, 19, 254, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vip-card.featured {
    border-color: var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
    transform: scale(1.05);
    z-index: 2;
}

.vip-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(188, 19, 254, 0.3);
}

.vip-card.featured:hover {
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.vip-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-purple);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vip-card.featured .vip-badge {
    background: var(--neon-green);
    color: #000;
}

.vip-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin: 20px 0;
    font-family: var(--font-heading);
}

.vip-price span {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.vip-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.vip-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vip-features li i {
    color: var(--neon-green);
    width: 20px;
}

.btn-vip {
    display: block;
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid var(--neon-purple);
    color: var(--neon-purple);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 5px;
    font-family: var(--font-heading);
}

.vip-card.featured .btn-vip {
    border-color: var(--neon-green);
    color: var(--neon-green);
    background: rgba(0, 255, 136, 0.1);
}

.btn-vip:hover {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: 0 0 20px var(--neon-purple);
}

.vip-card.featured .btn-vip:hover {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 20px var(--neon-green);
}

/* ============================================ */
/* REFERIDOS */
/* ============================================ */

.referral-section {
    text-align: center;
}

.referral-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stat-box {
    background: var(--card-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    min-width: 200px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 243, 255, 0.2);
    border-color: var(--neon-purple);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.referral-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: var(--neon-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.referral-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(188, 19, 254, 0.1));
    border-radius: 20px;
    border: 2px solid var(--neon-blue);
}

.referral-cta h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.referral-cta p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */

footer {
    padding: 50px 0;
    background: #020205;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--neon-blue);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--neon-blue);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================ */
/* MODAL */
/* ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #1a1a2e;
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    position: relative;
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--neon-pink);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--neon-blue);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    border: none;
    border-radius: 5px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.4);
    transform: scale(1.02);
}

.modal-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.modal-switch a {
    color: var(--neon-blue);
    text-decoration: none;
    cursor: pointer;
}

/* ============================================ */
/* SCROLL REVEAL ANIMATIONS */
/* ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.6s; }

.vip-grid .vip-card:nth-child(1) { transition-delay: 0.1s; }
.vip-grid .vip-card:nth-child(2) { transition-delay: 0.2s; }
.vip-grid .vip-card:nth-child(3) { transition-delay: 0.3s; }

.referral-stats .stat-box:nth-child(1) { transition-delay: 0.1s; }
.referral-stats .stat-box:nth-child(2) { transition-delay: 0.2s; }
.referral-stats .stat-box:nth-child(3) { transition-delay: 0.3s; }

.referral-benefits .benefit-card:nth-child(1) { transition-delay: 0.1s; }
.referral-benefits .benefit-card:nth-child(2) { transition-delay: 0.2s; }
.referral-benefits .benefit-card:nth-child(3) { transition-delay: 0.3s; }
.referral-benefits .benefit-card:nth-child(4) { transition-delay: 0.4s; }

/* Botones con efecto ripple */
.btn-primary, .btn-secondary, .btn-vip, .btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-secondary::before, .btn-vip::before, .btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before, .btn-secondary:hover::before, .btn-vip:hover::before, .btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */

@media (max-width: 968px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-side-logo {
        transform: none !important;
        animation: fadeIn 1s ease-out forwards;
    }
    
    .hero-side-logo.left div,
    .hero-side-logo.right div {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .nav-links { display: none; }
    .vip-card.featured { transform: scale(1); }
    .cta-buttons { flex-direction: column; }
    .particle { width: 2px; height: 2px; }
    .logo-text { font-size: 1.2rem; }
}

/* ============================================ */
/* TRADING BOTS SECTION - CORREGIDO */
/* ============================================ */

.trading-bots-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(0, 243, 255, 0.03), transparent);
    position: relative;
}

.bots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ✅ DOS COLUMNAS IGUALES */
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.bot-card {
    background: var(--card-bg);
    border: 2px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    /* ✅ IGUALAR ALTURAS */
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.bot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.bot-card:hover::before {
    transform: scaleX(1);
}

.bot-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 20px 60px rgba(0, 243, 255, 0.3);
}

.bot-1 {
    border-color: rgba(0, 243, 255, 0.3);
}

.bot-2 {
    border-color: rgba(188, 19, 254, 0.3);
}

.bot-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(188, 19, 254, 0.2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--neon-blue);
}

.bot-card h3 {
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bot-card > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 40px;
}

.bot-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    flex-grow: 1;
}

.bot-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.bot-features li:last-child {
    border-bottom: none;
}

.bot-features li i {
    color: var(--neon-green);
    font-size: 0.9rem;
    min-width: 16px;
}

.btn-bot {
    display: block;
    width: 100%;
    padding: 14px 25px;
    background: linear-gradient(45deg, #0088cc, #005580);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    margin-top: auto;
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.3);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-bot:hover {
    background: linear-gradient(45deg, #0099ee, #006699);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.5);
}

/* ✅ RESPONSIVE */
@media (max-width: 768px) {
    .bots-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bot-card {
        min-height: auto;
    }
}