/* ═══════════════════════════════════════════════
   LUBRINEX LANDING — Dark Premium Style
   Negro · Naranja · Oro · Teal
   ═══════════════════════════════════════════════ */

:root {
    --bg:     #0A0A0A;
    --card:   #111111;
    --border: #1E1E1E;
    --orange: #FF6B00;
    --gold:   #FFD700;
    --teal:   #00D4C8;
    --white:  #F0F0F0;
    --muted:  #666666;
    --fhead:  'Oswald', sans-serif;
    --fbody:  'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--bg); color: var(--white); font-family: var(--fbody); }

/* ── ANIMACIONES NEÓN ─────────────────────────── */
@keyframes neonPulse {
    0%,100% { box-shadow: 0 0 6px var(--orange), 0 0 14px rgba(255,107,0,.4); }
    50%      { box-shadow: 0 0 16px var(--orange), 0 0 40px rgba(255,107,0,.6), 0 0 80px rgba(255,107,0,.2); }
}
@keyframes tealPulse {
    0%,100% { box-shadow: 0 0 6px var(--teal), 0 0 14px rgba(0,212,200,.4); }
    50%      { box-shadow: 0 0 16px var(--teal), 0 0 40px rgba(0,212,200,.6); }
}
@keyframes titleGlow {
    0%,100% { text-shadow: 0 0 8px rgba(255,107,0,.6), 0 0 20px rgba(255,107,0,.3); }
    50%      { text-shadow: 0 0 20px rgba(255,107,0,.9), 0 0 50px rgba(255,107,0,.5), 0 0 100px rgba(255,215,0,.2); }
}
@keyframes scanline {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}
@keyframes floatX {
    0%,100% { transform: translateX(0); }
    50%      { transform: translateX(8px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes borderRotate {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes particleDrift {
    0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
    10%  { opacity: .5; }
    90%  { opacity: .2; }
    100% { transform: translateY(-10vh) translateX(40px); opacity: 0; }
}

/* ── PARTÍCULAS ───────────────────────────────── */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particles span {
    position: absolute; display: block; border-radius: 50%;
    background: radial-gradient(circle, var(--orange), transparent);
    animation: particleDrift linear infinite; opacity: 0;
}
.particles span:nth-child(1)  { width:4px; height:4px; left:10%; animation-duration:18s; animation-delay:0s; }
.particles span:nth-child(2)  { width:3px; height:3px; left:25%; animation-duration:22s; animation-delay:3s; background:radial-gradient(circle,var(--teal),transparent); }
.particles span:nth-child(3)  { width:5px; height:5px; left:40%; animation-duration:16s; animation-delay:1s; }
.particles span:nth-child(4)  { width:3px; height:3px; left:55%; animation-duration:25s; animation-delay:5s; background:radial-gradient(circle,var(--gold),transparent); }
.particles span:nth-child(5)  { width:4px; height:4px; left:70%; animation-duration:19s; animation-delay:2s; }
.particles span:nth-child(6)  { width:2px; height:2px; left:80%; animation-duration:21s; animation-delay:7s; background:radial-gradient(circle,var(--teal),transparent); }
.particles span:nth-child(7)  { width:5px; height:5px; left:15%; animation-duration:17s; animation-delay:4s; }
.particles span:nth-child(8)  { width:3px; height:3px; left:60%; animation-duration:23s; animation-delay:6s; background:radial-gradient(circle,var(--gold),transparent); }
.particles span:nth-child(9)  { width:4px; height:4px; left:85%; animation-duration:20s; animation-delay:1s; }
.particles span:nth-child(10) { width:2px; height:2px; left:45%; animation-duration:24s; animation-delay:8s; }

/* ── SCANLINE ─────────────────────────────────── */
.slide::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(transparent, rgba(255,107,0,.04), transparent);
    animation: scanline 7s linear infinite; pointer-events: none; z-index: 10;
}

/* ── HEADER ───────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 40px;
    background: linear-gradient(to bottom, rgba(10,10,10,.98), transparent);
    border-bottom: 1px solid rgba(255,107,0,.1);
}
.logo-img { height: 32px; width: auto; object-fit: contain; }
.slide-dots { display: flex; gap: 10px; align-items: center; }
.dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 2px solid var(--muted); background: transparent;
    cursor: pointer; transition: all .3s;
}
.dot.active { background: var(--orange); border-color: var(--orange); transform: scale(1.3); animation: neonPulse 2s ease-in-out infinite; }
.header-cta {
    font-family: var(--fhead); font-size: .85rem; letter-spacing: 2px; font-weight: 600;
    color: var(--orange); text-decoration: none; text-transform: uppercase;
    border: 1px solid var(--orange); padding: 8px 20px; border-radius: 4px; transition: all .3s;
}
.header-cta:hover { background: var(--orange); color: #000; }

/* ── CAROUSEL ─────────────────────────────────── */
.carousel-viewport { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; z-index: 1; }
.carousel-track { display: flex; width: 600vw; height: 100vh; transition: transform .7s cubic-bezier(.77,0,.18,1); }
.slide { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; flex-shrink: 0; }

/* ── PROGRESS BAR ─────────────────────────────── */
.progress-bar {
    position: fixed; bottom: 0; left: 0; height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--gold));
    z-index: 300; transition: width linear;
    box-shadow: 0 0 8px var(--orange);
}

/* ── ARROWS ───────────────────────────────────── */
.arrow {
    position: fixed; top: 50%; transform: translateY(-50%); z-index: 150;
    background: rgba(10,10,10,.8); border: 1px solid var(--orange); color: var(--orange);
    width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem;
    cursor: pointer; transition: all .3s; display: flex; align-items: center; justify-content: center;
}
.arrow:hover { background: var(--orange); color: #000; }
.arrow-prev { left: 20px; }
.arrow-next { right: 20px; }
.arrow.hidden { opacity: 0; pointer-events: none; }

/* ── HELPERS ──────────────────────────────────── */
.slide-eyebrow {
    font-family: var(--fhead); font-size: .8rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--teal); margin-bottom: 10px;
}
.slide-title {
    font-family: var(--fhead); font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    letter-spacing: 3px; text-transform: uppercase; text-align: center;
}
.slide-title span { color: var(--orange); }
.slide-desc { font-size: clamp(.85rem, 1.4vw, 1rem); color: var(--muted); text-align: center; max-width: 600px; line-height: 1.7; }

/* ══ SLIDE 1: HERO ════════════════════════════ */
.slide-hero {
    background: radial-gradient(ellipse at 50% 30%, #1a0800 0%, var(--bg) 65%);
    flex-direction: column; text-align: center; padding: 80px 40px 50px;
}
.hero-logo-wrap { margin-bottom: 14px; display: flex; justify-content: center; }
.hero-logo-img { height: 100px; width: auto; max-width: 220px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(255,107,0,.5)); animation: neonPulse 3s ease-in-out infinite; }

.hero-badge {
    display: inline-block; font-family: var(--fhead); font-size: .75rem; letter-spacing: 3px;
    color: var(--teal); border: 1px solid var(--teal); padding: 5px 16px; border-radius: 20px;
    margin-bottom: 20px; text-transform: uppercase;
}
.hero-title {
    font-family: var(--fhead); font-size: clamp(1.8rem, 5vw, 4.5rem);
    font-weight: 700; line-height: 1.1; text-transform: uppercase;
    margin-bottom: 16px; display: flex; flex-direction: column; gap: 2px;
}
.title-line { display: block; letter-spacing: 6px; }
.title-line.accent {
    background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 50%, var(--orange) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

.hero-tagline { font-size: clamp(.85rem, 1.4vw, 1rem); color: var(--muted); margin-bottom: 20px; line-height: 1.7; }
.hero-tagline strong { color: var(--white); }

.hero-video-placeholder {
    margin: 0 auto 24px; width: 220px; height: 60px;
    border: 1px dashed rgba(255,107,0,.4); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.play-btn { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 10px 16px; transition: all .3s; }
.play-btn:hover { opacity: .8; }
.play-btn span { font-family: var(--fhead); font-size: .82rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }

.btn-wa {
    display: flex; align-items: center; gap: 10px;
    background: #25D366; color: #000; font-family: var(--fhead); font-weight: 700;
    font-size: .95rem; letter-spacing: 2px; text-transform: uppercase;
    padding: 13px 28px; border-radius: 6px; text-decoration: none; transition: all .3s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.4); }

.btn-nexo {
    display: flex; align-items: center; gap: 10px; background: transparent; color: var(--orange);
    font-family: var(--fhead); font-weight: 700; font-size: .95rem; letter-spacing: 2px; text-transform: uppercase;
    padding: 13px 28px; border-radius: 6px; text-decoration: none; border: 2px solid var(--orange); transition: all .3s;
}
.btn-nexo:hover { background: var(--orange); color: #000; transform: translateY(-2px); }

.hero-hint { font-size: .8rem; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; animation: floatX 2s ease-in-out infinite; }

/* ══ SLIDE VIDEO ══════════════════════════════ */
.slide-video {
    background: radial-gradient(ellipse at 20% 60%, #1a0800 0%, var(--bg) 60%);
    flex-direction: column; padding: 80px 60px 50px; gap: 18px;
}
.slide-video-alt { background: radial-gradient(ellipse at 80% 40%, #001a18 0%, var(--bg) 60%); }
.video-slide-content { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 920px; }

.video-frame-wrap { position: relative; width: 100%; max-width: 840px; }
.video-frame-glow {
    position: absolute; inset: -3px; border-radius: 14px; z-index: 0;
    background: linear-gradient(135deg, var(--orange), var(--gold), var(--orange));
    background-size: 200% 200%; animation: borderRotate 4s ease infinite;
    filter: blur(8px); opacity: .65;
}
.video-frame-glow.teal { background: linear-gradient(135deg, var(--teal), #00ffef, var(--teal)); }

.video-responsive {
    position: relative; padding-bottom: 56.25%; height: 0;
    border-radius: 12px; overflow: hidden; z-index: 1;
    border: 1px solid rgba(255,107,0,.3);
}
.video-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ══ SLIDE TESTIMONIOS ════════════════════════ */
.slide-testimonios {
    background: radial-gradient(ellipse at 50% 20%, #100500 0%, var(--bg) 60%);
    flex-direction: column; padding: 80px 60px 50px; gap: 28px;
}
.testimonios-content { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; max-width: 1100px; }
.testimonios-grid { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }

.testimonio-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 28px;
    flex: 1; min-width: 260px; max-width: 320px; transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.testimonio-card::before {
    content: '"'; position: absolute; top: 4px; right: 14px;
    font-size: 5rem; color: rgba(255,107,0,.07); font-family: Georgia, serif; line-height: 1;
}
.testimonio-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(255,107,0,.15); border-color: rgba(255,107,0,.3); }

.testimonio-stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonio-text { font-size: .88rem; color: #ccc; line-height: 1.7; margin-bottom: 18px; }
.testimonio-text strong { color: var(--orange); }

.testimonio-autor { display: flex; align-items: center; gap: 12px; }
.autor-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--fhead); font-weight: 700; font-size: .9rem; color: #000; flex-shrink: 0;
}
.autor-nombre { font-family: var(--fhead); font-size: .95rem; letter-spacing: 1px; color: var(--white); }
.autor-negocio { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* ══ SLIDE DEMO ═══════════════════════════════ */
.slide-demo {
    background: radial-gradient(ellipse at 60% 50%, #0d0800 0%, var(--bg) 60%);
    flex-direction: column; padding: 80px 60px 50px; gap: 24px;
}
.demo-content { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; max-width: 820px; }
.demo-box {
    display: flex; gap: 36px; flex-wrap: wrap; justify-content: center;
    background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 32px; width: 100%;
    position: relative;
}
.demo-box::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--gold), var(--teal));
    border-radius: 12px 12px 0 0;
}
.demo-features { display: flex; flex-direction: column; gap: 12px; }
.demo-feature { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #ccc; }
.demo-check {
    width: 22px; height: 22px; background: rgba(0,212,200,.1); border: 1px solid var(--teal);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .75rem; color: var(--teal); flex-shrink: 0;
}
.demo-cta-wrap { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.demo-url {
    display: flex; align-items: center; gap: 10px;
    font-family: monospace; font-size: .9rem; color: var(--muted);
    background: rgba(255,255,255,.04); padding: 10px 16px; border-radius: 6px;
    border: 1px dashed var(--border);
}
.demo-note { font-size: .82rem; color: var(--muted); line-height: 1.5; max-width: 280px; }
.btn-demo {
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--orange), #ff9500); color: #000;
    font-family: var(--fhead); font-weight: 700; font-size: .95rem; letter-spacing: 2px; text-transform: uppercase;
    padding: 13px 22px; border-radius: 6px; text-decoration: none; transition: all .3s;
}
.btn-demo:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,0,.5); }

/* ══ SLIDE CAPTURA ════════════════════════════ */
.slide-captura {
    background: radial-gradient(ellipse at 50% 40%, #140800 0%, var(--bg) 65%);
    padding: 80px 40px 50px;
}
.capture-box {
    background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 36px;
    width: 100%; max-width: 500px; position: relative;
}
.capture-box::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--gold), var(--teal));
    border-radius: 12px 12px 0 0;
}
.capture-title { font-family: var(--fhead); font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: 3px; text-transform: uppercase; text-align: center; margin-bottom: 6px; }
.capture-subtitle { font-size: .87rem; color: var(--muted); text-align: center; margin-bottom: 14px; line-height: 1.5; }

.capture-benefits { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.capture-benefits span {
    font-size: .75rem; color: var(--teal); background: rgba(0,212,200,.07);
    border: 1px solid rgba(0,212,200,.2); padding: 4px 10px; border-radius: 20px;
}

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .72rem; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 5px; }
.form-group input,
.form-group select {
    width: 100%; background: #0D0D0D; border: 1px solid var(--border);
    color: var(--white); font-family: var(--fbody); font-size: .95rem;
    padding: 11px 14px; border-radius: 6px; outline: none; transition: border-color .3s;
    -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--orange); box-shadow: 0 0 8px rgba(255,107,0,.2); }
.form-group select option { background: #111; }

.btn-submit {
    width: 100%; background: linear-gradient(135deg, var(--orange), #ff9500); color: #000;
    font-family: var(--fhead); font-weight: 700; font-size: 1.05rem; letter-spacing: 3px; text-transform: uppercase;
    padding: 14px; border: none; border-radius: 6px; cursor: pointer; transition: all .3s; margin-top: 4px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,0,.5); }

.form-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: .78rem; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.btn-wa-form {
    width: 100%; background: transparent; border: 1px solid #25D366; color: #25D366;
    font-family: var(--fhead); font-weight: 700; font-size: .9rem; letter-spacing: 2px; text-transform: uppercase;
    padding: 12px; border-radius: 6px; cursor: pointer; transition: all .3s;
    text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-wa-form:hover { background: #25D366; color: #000; }

/* ══ FOOTER ══════════════════════════════════ */
.site-footer {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    padding: 10px 40px; display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(to top, rgba(10,10,10,.95), transparent);
    font-size: .75rem; color: var(--muted); letter-spacing: 1px;
}
.site-footer a { color: var(--orange); text-decoration: none; }
.footer-brand { color: var(--orange); }
.footer-nexo { color: var(--orange); text-decoration: none; font-size: .75rem; letter-spacing: 1px; }
.slide-counter { font-family: var(--fhead); font-size: .8rem; color: var(--muted); letter-spacing: 2px; }
.slide-counter span { color: var(--orange); }

/* ══ BOTÓN PAUSAR VIDEO ══════════════════════ */
.btn-pause-video {
    margin-top: 16px;
    background: rgba(255,107,0,.12);
    border: 2px solid var(--orange);
    color: var(--orange);
    font-family: var(--fhead); font-size: .9rem;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 12px 32px; border-radius: 6px;
    cursor: pointer; transition: all .3s;
    animation: neonPulse 2.5s ease-in-out infinite;
    display: block; width: fit-content; margin-left: auto; margin-right: auto;
}
.btn-pause-video:hover { background: rgba(255,107,0,.25); }
.btn-pause-video.active {
    background: var(--orange); color: #000;
    animation: none;
    border-color: var(--gold);
}

/* ══ RESPONSIVE ══════════════════════════════ */
@media (max-width: 900px) {
    .demo-box { flex-direction: column; padding: 22px 18px; }
    .demo-cta-wrap { align-items: center; width: 100%; }
    .demo-note { text-align: center; max-width: 100%; }
}
@media (max-width: 768px) {
    .site-header { padding: 10px 16px; }
    .header-cta { display: none; }
    .logo-img { height: 36px; }
    .arrow { width: 38px; height: 38px; font-size: 1.2rem; }
    .arrow-prev { left: 8px; }
    .arrow-next { right: 8px; }
    .slide-video, .slide-testimonios, .slide-demo, .slide-captura { padding: 70px 16px 50px; gap: 14px; }
    .testimonios-grid { flex-direction: column; align-items: center; }
    .testimonio-card { max-width: 100%; }
    .capture-box { padding: 24px 14px; }
    .site-footer { padding: 10px 16px; }
}
@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; align-items: center; }
    .btn-wa, .btn-nexo { width: 100%; max-width: 280px; justify-content: center; }
    .hero-logo-img { height: 70px; }
}
