/* ============================================
   LUXORA CAPITAL MARKETS - Estilos Principales
   ============================================ */

/* Reset y Variables */
:root {
    --primary-color: #FFD700;
    --secondary-color: #FFA500;
    --bg-darker: #050816;
    --bg-dark: #0a0e27;
    --bg-card: #11152c;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --text-muted: #6b7280;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --gradient-gold: linear-gradient(135deg, #FFD700, #FFA500);
    --shadow-gold: 0 10px 30px rgba(255, 215, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at top, #1a1f3a 0%, var(--bg-darker) 50%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER & NAVBAR
   ============================================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:not(.btn-primary):not(.btn-login):hover {
    color: var(--primary-color);
}

.btn-login {
    padding: 10px 22px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light) !important;
    transition: all 0.3s;
}

.btn-login:hover {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-darker) !important;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    padding: 12px 26px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-full {
    width: 100%;
    text-align: center;
    padding: 16px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease;
}

.highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 48px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CARDS GENERALES (Features, Markets)
   ============================================ */
.vision-grid,
.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card,
.market-card {
    background: var(--card-bg);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover,
.market-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon,
.market-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3,
.market-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 700;
}

.feature-card p,
.market-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   PLANES DE INVERSIÓN
   ============================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.plans-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.plan-card {
    background: var(--card-bg);
    padding: 48px 36px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.plan-card:hover {
    transform: translateY(-8px);
}

.plan-card.premium {
    border: 2px solid var(--primary-color);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.1);
}

.plan-badge {
    position: absolute;
    top: -14px;
    right: 30px;
    background: var(--gradient-gold);
    color: var(--bg-darker);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.plan-header h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.plan-rate {
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.plan-rate span {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 500;
    -webkit-text-fill-color: var(--text-gray);
}

.plan-total {
    color: var(--text-gray);
    margin-top: 12px;
    font-size: 14px;
}

.plan-features {
    list-style: none;
    margin-bottom: 36px;
}

.plan-features li {
    padding: 14px 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

/* ============================================
   POLICY CARDS
   ============================================ */
.policy-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    margin: 40px 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

.policy-card.gold {
    border: 2px solid var(--primary-color);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.policy-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary-color);
    font-weight: 700;
}

.policy-card p {
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}

.policy-card strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   TABLA DE GANANCIAS
   ============================================ */
.table-section {
    margin: 80px 0;
}

.table-section h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 32px;
    font-weight: 700;
}

.lock-selector { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }

.lock-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.lock-btn.active, .lock-btn:hover {
    background: var(--gradient-gold);
    color: var(--bg-darker);
    border-color: transparent;
}

.table-container {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
}

#profits-table {
    width: 100%;
    border-collapse: collapse;
}

#profits-table th {
    background: rgba(255, 215, 0, 0.08);
    color: var(--primary-color);
    padding: 20px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

#profits-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 15px;
    transition: all 0.3s;
}

#profits-table tr:hover td {
    background: rgba(255, 215, 0, 0.03);
    color: var(--text-light);
}

#profits-table strong {
    color: var(--text-light);
    font-weight: 600;
}

.total-cell { color: var(--primary-color) !important; font-weight: 700; }

/* ============================================
   COMISIONES
   ============================================ */
.commission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.commission-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.commission-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.comm-value {
    display: block;
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.comm-label {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   REGLAS
   ============================================ */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.rule-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s;
}

.rule-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.rule-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
}

.rule-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}
/* ===== TÉRMINOS ===== */
.terms-wrapper { padding: 140px 20px 80px; }

.terms-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px 45px;
    backdrop-filter: blur(10px);
}

.terms-box h1 { font-size: 36px; margin-bottom: 10px; }
.terms-box .updated { color: var(--text-muted); font-size: 13px; margin-bottom: 35px; }
.terms-box h2 { color: var(--primary-color); font-size: 20px; margin: 30px 0 12px; }
.terms-box p, .terms-box li { color: var(--text-gray); font-size: 15px; line-height: 1.8; }
.terms-box ul { padding-left: 22px; margin: 10px 0; }
.terms-box strong { color: var(--text-light); }

/* Alert info (modo dev) */
.alert-info {
    background: rgba(54, 162, 235, 0.12);
    border: 1px solid rgba(54, 162, 235, 0.4);
    color: #6ab7ff;
    word-break: break-all;
}
/* ============================================
   HERO DINÁMICO (estilo Nexora)
   ============================================ */
.hero { overflow: hidden; }
.hero-buttons { margin-bottom: 30px; }

#waves-canvas {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 220px;
    pointer-events: none;
    opacity: .85;
}

/* Pills de beneficios */
.hero-pills {
    display: flex; flex-wrap: wrap;
    gap: 12px; justify-content: center;
    margin: 0 0 70px;
    animation: fadeInUp 1s ease .5s backwards;
}

.hero-pills span {
    background: rgba(17, 21, 44, .7);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    backdrop-filter: blur(8px);
    transition: all .3s;
}

.hero-pills span:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Tickers flotantes */
.ticker-float {
    position: absolute;
    z-index: 2;
    display: flex; gap: 8px; align-items: center;
    background: rgba(17, 21, 44, .85);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    animation: floatY 7s ease-in-out infinite;
}

.ticker-float .t-symbol { color: var(--text-gray); }
.ticker-float .t-price  { color: var(--text-light); }
.t-change.up   { color: #2ed375; }
.t-change.down { color: #ff6b7a; }

.tf-1 { top: 20%; left: 6%;  animation-delay: 0s; }
.tf-2 { top: 30%; right: 7%; animation-delay: 1.2s; }
.tf-3 { bottom: 34%; left: 10%; animation-delay: 2.1s; }
.tf-4 { top: 16%; right: 22%; animation-delay: 3s; }

@media (max-width: 1100px) { .ticker-float { display: none; } }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity .8s ease var(--rd, 0s), transform .8s ease var(--rd, 0s);
}

.reveal.visible { opacity: 1; transform: none; }

/* Perspectiva para efecto 3D */
.vision-grid, .markets-grid, .plans-grid, .commission-grid, .rules-grid {
    perspective: 1200px;
}
/* ===== TICKERS REUBICADOS (sin chocar con el título) ===== */
.tf-1 { top: 22%; left: 5%; }
.tf-2 { top: 34%; right: 5%; }
.tf-3 { bottom: 30%; left: 8%; }
.tf-4 { top: 12%; right: 5%; }