:root {
    --bg-base: #000000;
    --bg-surface: #09090b;
    --bg-card: #121214;
    --border-color: #27272a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-blue: #3b82f6;
    --accent-blue-glow: rgba(59, 130, 246, 0.15);
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { background-color: var(--bg-base); color: var(--text-primary); font-family: 'Inter', sans-serif; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* GLOWS */
.glow-orb { position: absolute; border-radius: 50%; filter: blur(120px); z-index: 0; pointer-events: none; }
.orb-1 { top: -10%; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; background: rgba(59, 130, 246, 0.15); }
.orb-2 { bottom: 20%; right: -10%; width: 500px; height: 500px; background: rgba(16, 185, 129, 0.08); }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; background: transparent; transition: background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease; z-index: 100; padding: 16px 0; border-bottom: 1px solid transparent; }
nav.scrolled { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px; z-index: 101;}
.logo img { height: 32px; width: auto; display: block; } 
.logo span { color: var(--accent-blue); margin-left: 4px; font-weight: 600;}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.nav-links a:hover { color: var(--text-primary); }
.btn-nav { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 8px; color: white !important; }
.btn-nav:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.mobile-toggle { display: none; background: none; border: none; color: white; cursor: pointer; z-index: 101; }

/* HERO */
.hero { position: relative; padding: 160px 0 60px; text-align: center; z-index: 10; display: flex; flex-direction: column; align-items: center;}
.badge { display: inline-block; padding: 6px 16px; border-radius: 100px; background: var(--accent-blue-glow); border: 1px solid rgba(59, 130, 246, 0.3); color: #60a5fa; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 24px; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 24px; }
.text-gradient { background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-blue { background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.15rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto 32px; line-height: 1.6; }

/* HERO FORM */
.hero-form { display: flex; max-width: 450px; width: 100%; margin: 0 auto 16px; background: rgba(255,255,255,0.03); padding: 4px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.15); transition: var(--transition); }
.hero-form:focus-within { border-color: var(--accent-blue); background: rgba(59, 130, 246, 0.05); }
.hero-form input { flex: 1; background: transparent; border: none; padding: 0 24px; color: white; font-size: 1rem; font-family: inherit; outline: none; border-radius: 100px; }
.hero-form input::placeholder { color: #52525b; }
.btn-primary { background: var(--accent-blue); color: white; padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 1rem; text-decoration: none; border: none; cursor: pointer; transition: var(--transition); white-space: nowrap; margin: 0; }
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25); }

/* MOCKUP VIDEO CONTAINER */
.mockup-container { width: 100%; max-width: 1000px; position: relative; border-radius: var(--radius-lg); padding: 8px; background: linear-gradient(180deg, rgba(59,130,246,0.15) 0%, rgba(0,0,0,0) 100%); margin-top: 20px; }
.mockup-badge { position: absolute; top: 24px; right: 24px; background: rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.1); color: var(--accent-blue); padding: 6px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; z-index: 2; letter-spacing: 1px;}
.mockup-badge::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--accent-blue); border-radius: 50%; margin-right: 8px; animation: pulse 2s infinite; }

.video-container { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: calc(var(--radius-lg) - 4px); width: 100%; position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8); }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); } }

/* STATS VISUALES */
.stats-wrapper { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.6); position: relative; overflow: hidden; margin-bottom: 80px; }
.stats-wrapper::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-green)); }
.stats-header { text-align: center; color: var(--text-secondary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 32px; font-weight: 600; }
.stats { display: flex; justify-content: space-around; gap: 40px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-value { font-size: 2.5rem; font-weight: 800; color: var(--text-primary); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; letter-spacing: -1px;}
.stat-value span { color: var(--text-secondary); font-size: 1.5rem; }
.stat-label { color: var(--text-secondary); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* SECTIONS */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; letter-spacing: -1px; margin-bottom: 16px; color: white; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* BENTO GRID Y CAN SLIM 3x3x1 */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 120px; }
.canslim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 120px; }

.bento-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 32px; transition: var(--transition); }
.bento-card:hover { border-color: rgba(255,255,255,0.15); background: var(--bg-card); transform: translateY(-3px); }
.bento-card.large { grid-column: span 2; }
.bento-card.wide { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; } 

.bento-icon { font-size: 2rem; margin-bottom: 24px; background: rgba(255,255,255,0.03); width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05);}
.bento-icon.text-icon { font-size: 1.4rem; font-weight: 800; letter-spacing: 1px; }
.bento-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; color: white;}
.bento-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* TRANSPARENCY SECTION */
.bg-surface-section { background: var(--bg-surface); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 100px 0; margin-bottom: 100px; }
.transparency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card { background: var(--bg-base); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; }
.t-card.outline { background: transparent; border: 1px dashed #3f3f46; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 32px;}
.t-header { display: flex; justify-content: space-between; align-items: center; font-family: monospace; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); color: white; font-size: 0.9rem;}
.t-badge { padding: 4px 8px; border-radius: 4px; font-weight: 700; }
.t-header.green .t-badge { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.t-header.red .t-badge { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); }
.t-header.neutral .t-badge { background: rgba(255, 255, 255, 0.1); color: #e4e4e7; }
.t-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.t-card.outline h3 { color: white; margin-bottom: 12px; font-size: 1.1rem;}
.link-arrow { color: var(--accent-blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; margin-top: 16px; display: inline-block; transition: var(--transition);}
.link-arrow:hover { color: #60a5fa; transform: translateX(5px); }

/* FOUNDER SECTION */
.founder-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 56px; margin-bottom: 120px; align-items: center; }
.badge-small { display: inline-block; padding: 4px 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;}
.founder-text h2 { font-size: 2.2rem; margin-bottom: 24px; color: var(--text-primary); letter-spacing: -1px; line-height: 1.2;}
.founder-text p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; margin-bottom: 20px; }
.founder-signature { margin-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.founder-signature strong { display: block; color: white; font-weight: 600; }
.founder-signature .sub { color: #52525b; font-size: 0.85rem; }

.founder-visual { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-md); padding: 32px; position: relative; }
.founder-visual::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-green)); border-radius: var(--radius-md) var(--radius-md) 0 0;}
.founder-visual h3 { color: white; font-size: 1.1rem; margin-bottom: 8px; }
.founder-visual p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }
.code-snippet { font-family: 'Courier New', Courier, monospace; color: var(--accent-green); font-size: 0.85rem; line-height: 1.6; background: #000; padding: 20px; border-radius: 8px; border: 1px solid rgba(16, 185, 129, 0.15); overflow-x: auto;}

/* FAQ ACORDEÓN */
.faq-grid { display: grid; grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; margin-bottom: 100px; border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-q { width: 100%; background: none; border: none; color: white; font-size: 1.1rem; font-weight: 600; text-align: left; padding: 24px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-q:hover { color: var(--accent-blue); }
.faq-q span { font-weight: 300; font-size: 1.5rem; color: var(--accent-blue); transition: transform 0.3s ease; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; padding-bottom: 24px; }

/* ENLACES LEGALES */
.privacy-link { font-size: 0.8rem; color: #71717a; text-align: center; }
.privacy-link a { color: var(--accent-blue); text-decoration: none; }
.privacy-link a:hover { text-decoration: underline; }

/* WAITLIST BOTTOM & FOMO BAR */
.waitlist-section { margin-bottom: 100px; display: flex; justify-content: center; }
.waitlist-box { background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(59,130,246,0.05) 100%); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; max-width: 700px; width: 100%; }
.waitlist-box h2 { font-size: 2.2rem; font-weight: 800; color: white; margin-bottom: 16px; letter-spacing: -1px;}
.waitlist-box > p { color: var(--text-secondary); margin-bottom: 40px; font-size: 1.05rem; }

/* SCARCITY BAR GENÉRICA */
.scarcity-wrapper { margin-bottom: 32px; text-align: left; }
.scarcity-text { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 10px; font-weight: 600; }
.scarcity-text span { color: white; }
.scarcity-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.scarcity-fill { width: 92%; height: 100%; background: linear-gradient(90deg, var(--accent-blue), var(--accent-green)); border-radius: 10px; box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }

.waitlist-form-large { text-align: left; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; color: white; font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; }
.form-group input, .form-group select { width: 100%; background: var(--bg-card); border: 1px solid var(--border-color); color: white; padding: 14px 16px; border-radius: 8px; font-family: inherit; font-size: 1rem; outline: none; transition: var(--transition); }
.form-group input:focus, .form-group select:focus { border-color: var(--accent-blue); background: var(--bg-base); }
.checkbox-group { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 32px; }
.checkbox-group input { margin-top: 4px; accent-color: var(--accent-blue); }
.checkbox-group label { color: #a1a1aa; font-size: 0.85rem; line-height: 1.5; cursor: pointer; }
.full-width { width: 100%; padding: 16px; font-size: 1.1rem; border-radius: 100px; }
.spam-notice { margin-top: 20px; font-size: 0.8rem; color: #52525b; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border-color); padding: 60px 0 40px; }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: white; font-weight: 800; font-size: 1.1rem; opacity: 0.5; margin-bottom: 24px; transition: var(--transition);}
.footer-logo img { height: 24px; filter: grayscale(100%); }
.footer-logo:hover { opacity: 1; }
.footer-disclaimer { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 24px; border-radius: var(--radius-md); font-size: 0.75rem; color: #71717a; line-height: 1.6; max-width: 900px; text-align: justify; margin-bottom: 24px; }
.footer-disclaimer strong { color: #a1a1aa; }
.copyright { font-size: 0.8rem; color: #52525b; }
.footer-links a:hover { color: var(--accent-blue) !important; }

/* MODALES LEGALES */
.modal-wrapper { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: var(--transition); }
.modal-wrapper:target { opacity: 1; pointer-events: auto; }
.modal-overlay { position: absolute; inset: 0; cursor: default; }
.modal-content { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px; max-width: 600px; width: 90%; position: relative; transform: translateY(20px); transition: var(--transition); z-index: 1001; text-align: left; }
.modal-wrapper:target .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 24px; right: 24px; color: var(--text-secondary); text-decoration: none; font-size: 2rem; line-height: 1; transition: var(--transition); }
.modal-close:hover { color: white; transform: scale(1.1); }
.modal-content h2 { margin-bottom: 20px; color: white; font-size: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; }
.modal-content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* =======================================================
   LIVE CHART CSS (70% WIDTH, HUD INFERIOR DERECHA)
   ======================================================= */
.live-chart { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; position: relative; max-width: 960px; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.lc-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px 0; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 12px;}
.lc-pair { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px; color: white;}
.lc-tf { font-family: monospace; font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 1px; margin-top: 4px; }
.lc-right { display: flex; gap: 10px; align-items: center; }
.lc-live-dot { width: 6px; height: 6px; background: var(--accent-blue); border-radius: 50%; box-shadow: 0 0 6px var(--accent-blue); animation: livePulse 1.5s infinite; }
.lc-live { font-family: monospace; font-size: 10px; color: rgba(255,255,255,0.5); letter-spacing: 1px; display: flex; align-items: center; gap: 6px; font-weight: 600;}
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* HUD FLOTANTE (Monitor Quant) - ESQUINA INFERIOR DERECHA (SOBRE EL ESPACIO VACÍO) */
.clarity-hud-overlay { 
    position: absolute; 
    bottom: 12px; 
    right: 12px; 
    background: #131722; 
    border: 1px solid #2a2e39; 
    border-radius: 6px; 
    padding: 0; 
    z-index: 30; 
    font-family: 'Inter', sans-serif; 
    font-size: 11px; 
    pointer-events: none; 
    width: 250px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.6); 
}
.clarity-hud-header { display: flex; justify-content: space-between; align-items: center; background: #1e222d; padding: 10px 14px; font-weight: 600; color: #d1d4dc; border-radius: 6px 6px 0 0; border-bottom: 1px solid #2a2e39; }
.clarity-hud-header .badge-active { background: #089981; color: white; padding: 2px 6px; border-radius: 4px; font-size: 10px; letter-spacing: 0.5px;}
.clarity-hud-row { display: flex; justify-content: space-between; padding: 8px 14px; color: #b2b5be; border-bottom: 1px solid #2a2e39; align-items: center;}
.clarity-hud-row:last-child { border-bottom: none; }
.clarity-hud-row span.val { font-family: monospace; font-weight: 700; }

.lc-canvas { position: relative; padding: 16px 24px 12px; height: 500px; background: var(--bg-card); }
.lc-grid { position: absolute; inset: 16px 24px 12px; }
.lc-grid-line { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.04); }
.lc-price-label { position: absolute; right: -4px; font-family: monospace; font-size: 10px; color: rgba(255,255,255,0.2); transform: translateY(-50%); }

/* VELAS, VOLUMEN Y OVERLAYS: Terminan al 30% del borde derecho (70% de ancho) */
.lc-candles { position: absolute; inset: 16px 30% 80px 24px; display: flex; align-items: flex-end; gap: 3px; z-index: 10; }
.candle-wrap { flex: 1; position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; opacity: 0; transform: scaleY(0); transform-origin: bottom; transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.candle-wrap.visible { opacity: 1; transform: scaleY(1); }
.candle-inner { position: absolute; bottom: 0; width: 100%; display: flex; flex-direction: column; align-items: center; }
.candle-wick { width: 1px; }
.candle-body { width: 80%; min-width: 3px; max-width: 10px; border-radius: 1px; }
.candle-wick-top { order: 1; } .candle-body { order: 2; } .candle-wick-bottom { order: 3; }

.candle-green .candle-body, .candle-green .candle-wick { background: #089981; }
.candle-red .candle-body, .candle-red .candle-wick { background: #f23645; }

/* Volumen inferior */
.lc-volume { position: absolute; left: 24px; right: 30%; bottom: 12px; height: 60px; display: flex; align-items: flex-end; gap: 3px; z-index: 5; opacity: 0.6; }
.vol-bar { flex: 1; border-radius: 2px 2px 0 0; opacity: 0; transform: scaleY(0); transform-origin: bottom; transition: opacity 0.25s ease, transform 0.25s; }
.vol-bar.visible { opacity: 1; transform: scaleY(1); }
.vol-green { background: #089981; }
.vol-red { background: #f23645; }

/* Overlays (Líneas, Diamantes, TP, SL Gris Escalonado) */
.lc-overlays { position: absolute; inset: 16px 30% 80px 24px; pointer-events: none; z-index: 8; }

.level-line-blue { position: absolute; height: 0; z-index: 7; border-top: 1px solid #2962ff; opacity: 0; transition: opacity 0.5s ease; }

.entry-diamond { position: absolute; width: 10px; height: 10px; background: #2962ff; transform: translateX(-50%) rotate(45deg) scale(0); transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 20; box-shadow: 0 0 6px rgba(41, 98, 255, 0.5); }
.entry-diamond.visible { transform: translateX(-50%) rotate(45deg) scale(1); }

.entry-label { position: absolute; z-index: 12; font-family: monospace; font-size: 9px; color: #b2b5be; transform: translateX(-50%) scale(0); transition: 0.3s; }
.entry-label.visible { transform: translateX(-50%) scale(1); }

.tp-flag { position: absolute; z-index: 15; font-family: monospace; font-size: 10px; font-weight: 700; background: #089981; color: white; padding: 4px 6px; border-radius: 2px; text-align: center; transform: translateX(-50%) scale(0); transition: 0.3s; line-height: 1.2; }
.tp-flag.visible { transform: translateX(-50%) scale(1); }
.tp-flag::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border-width: 5px; border-style: solid; border-color: #089981 transparent transparent transparent; }

/* LÍNEAS DEL TRAILING SL ESCALONADO (Gris claro) */
.trailing-sl-h { position: absolute; height: 0; z-index: 7; opacity: 0; border-top: 1px solid rgba(255,255,255,0.25); transition: opacity 0.2s; }
.trailing-sl-h.visible { opacity: 1; }
.trailing-sl-v { position: absolute; width: 0; z-index: 7; opacity: 0; border-left: 1px solid rgba(255,255,255,0.25); transition: opacity 0.2s; }
.trailing-sl-v.visible { opacity: 1; }

.lc-bottom { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.lc-replay { display: flex; align-items: center; gap: 6px; background: none; border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); font-family: monospace; font-size: 11px; padding: 8px 16px; border-radius: 6px; cursor: pointer; transition: all 0.2s; text-transform: uppercase; }
.lc-replay:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.lc-replay svg { width: 14px; height: 14px; }
.lc-zero-repaint { display: flex; align-items: center; gap: 6px; background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); color: #60a5fa; font-family: monospace; font-size: 10px; font-weight: 700; letter-spacing: 1px; padding: 6px 14px; border-radius: 4px; text-transform: uppercase; }

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .canslim-grid { grid-template-columns: 1fr 1fr; }
    .bento-card.wide { grid-column: 1 / -1; }
    .bento-grid, .transparency-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: span 1; }
    .founder-card { grid-template-columns: 1fr; padding: 40px 24px; }
    .stats { gap: 40px; flex-direction: column; margin-top: 0;}
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-links { position: fixed; top: 65px; left: 0; right: 0; background: var(--bg-surface); flex-direction: column; padding: 32px 24px; gap: 24px; border-bottom: 1px solid var(--border-color); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); opacity: 0; transition: all 0.4s ease-in-out; }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); opacity: 1; }
    .nav-links a { font-size: 1.1rem; width: 100%; text-align: center; }
    .btn-nav { width: 100%; text-align: center; padding: 14px; }

    .hero { padding-top: 120px; }
    .hero-form { flex-direction: column; background: transparent; border: none; padding: 0; gap: 12px;}
    .hero-form input { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); padding: 14px 20px; border-radius: 10px; }
    .hero-form .btn-primary { border-radius: 10px; width: 100%; }
    
    .waitlist-box { padding: 40px 24px; border-radius: 0; border-left: none; border-right: none; }
    .canslim-grid { grid-template-columns: 1fr; }
    .bento-card.wide { grid-column: span 1; }

    /* En móvil, las velas ocupan todo el ancho y el HUD va abajo estático */
    .lc-candles, .lc-overlays { inset: 16px 50px 80px 24px; }
    .lc-volume { right: 50px; }
    
    .clarity-hud-overlay { position: static; margin: 16px 24px 0; background: transparent; border: none; padding: 0; box-shadow: none; width: auto;}
    .clarity-hud-header { display: none; }
    .faq-item.open .faq-a { max-height: 400px; }
    .lc-canvas { height: 300px; }
}
/* =======================================================
   ⚡ PARCHE DEFINITIVO PARA MÓVIL (CORRECCIÓN DE LOS 3 ERRORES)
   ======================================================= */
@media (max-width: 768px) {
    /* --- GENERAL --- */
    .container { padding: 0 16px; }
    .hero { padding-top: 100px; }
    .hero h1 { font-size: 2.2rem; }
    
    /* --- 1. ARREGLO DEL VÍDEO Y SOLAPAMIENTO DE ESTADÍSTICAS --- */
    .mockup-container {
        padding: 12px !important;
        margin-bottom: 20px !important;
    }
    .mockup-badge {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        display: block !important;
        margin-bottom: 12px !important;
        text-align: center;
    }
    /* Quitamos el margen negativo que hace que las estadísticas se monten encima del vídeo */
    main > section:nth-child(2) {
        margin-top: 20px !important; 
    }

    /* --- 2. ARREGLO DEL GRÁFICO VS HUD (SEPARACIÓN FÍSICA) --- */
    .live-chart { margin: 0 -16px; border-radius: 0; border-left: none; border-right: none; }
    
    /* Hacemos el lienzo más alto (600px) para que quepan gráfico y HUD sin pisarse */
    .lc-canvas { height: 620px !important; }
    
    /* Confinamos las velas, cuadrícula y marcas a los 300px superiores */
    .lc-grid, .lc-candles, .lc-overlays { 
        bottom: auto !important; 
        height: 300px !important; 
        inset: 16px 16px auto 16px !important;
    }
    /* El volumen lo anclamos justo en la base de esos 300px */
    .lc-volume { 
        bottom: auto !important; 
        top: 256px !important; /* 300 - 60 (alto) + 16 (margen) */
        left: 16px !important;
        right: 16px !important;
    }
    /* El HUD lo empujamos debajo del gráfico (en el espacio extra que creamos) */
    .clarity-hud-overlay { 
        position: absolute !important;
        top: 340px !important; 
        bottom: auto !important;
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        margin: 0 !important;
    }
    .clarity-hud-header { display: flex !important; }
    
    /* Ajuste de los botones inferiores para que no se aplasten */
    .lc-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .lc-replay { width: 100%; justify-content: center; }

    /* --- 3. ARREGLO DEL CÓDIGO DEL FUNDADOR (EVITAR SCROLL HORIZONTAL) --- */
    .code-snippet {
        font-size: 0.75rem !important;
        white-space: pre-wrap !important; /* Obliga al texto a saltar de línea */
        word-break: break-word !important; /* Corta palabras largas si es necesario */
        padding: 16px !important;
    }

    /* --- 4. AJUSTES FINALES BENTO GRID Y FOOTER --- */
    .bento-card, .t-card { padding: 24px 20px; }
    .canslim-grid { grid-template-columns: 1fr; }
    .bento-card.wide { grid-column: span 1; }
    .waitlist-box { padding: 40px 20px; border-radius: 0; border-left: none; border-right: none;}
    .footer-links { flex-direction: column; gap: 12px !important; }
}