/* ==========================================================================
   GymControl — Landing Page Futurista
   Sistema de diseño oscuro, neón/glassmorphism, alto contraste.
   Todo queda encapsulado bajo body.landing-futuristic para no afectar
   el resto de la aplicación.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

body.landing-futuristic {
    --lf-bg: #05060d;
    --lf-bg-2: #0a0e20;
    --lf-bg-3: #0d1230;

    --lf-indigo: #6366f1;
    --lf-violet: #a855f7;
    --lf-cyan: #22d3ee;
    --lf-pink: #ec4899;
    --lf-green: #34d399;
    --lf-amber: #fbbf24;

    --lf-text-heading: #f6f7ff;
    --lf-text-body: #cbd1ea;
    --lf-text-muted: #9aa3c9;

    --lf-border: rgba(148, 163, 255, 0.16);
    --lf-border-strong: rgba(168, 178, 255, 0.35);
    --lf-card-bg: rgba(16, 19, 41, 0.55);
    --lf-card-bg-solid: #10132a;

    --lf-gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 55%, #22d3ee 100%);
    --lf-gradient-text: linear-gradient(135deg, #a5b4fc 0%, #e2b8ff 45%, #67e8f9 100%);
    --lf-gradient-border: linear-gradient(135deg, rgba(99, 102, 241, 0.7), rgba(168, 85, 247, 0.5), rgba(34, 211, 238, 0.6));

    --lf-glow-indigo: 0 0 40px rgba(99, 102, 241, 0.35);
    --lf-glow-violet: 0 0 40px rgba(168, 85, 247, 0.3);
    --lf-glow-cyan: 0 0 40px rgba(34, 211, 238, 0.25);

    background: var(--lf-bg);
    color: var(--lf-text-body);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.landing-futuristic h1,
body.landing-futuristic h2,
body.landing-futuristic h3,
body.landing-futuristic h4,
body.landing-futuristic h5,
body.landing-futuristic h6 {
    font-family: 'Sora', 'Inter', sans-serif;
    color: var(--lf-text-heading);
    letter-spacing: -0.01em;
}

body.landing-futuristic p,
body.landing-futuristic li,
body.landing-futuristic span,
body.landing-futuristic .text-muted {
    color: var(--lf-text-body) !important;
}

body.landing-futuristic .lead {
    color: var(--lf-text-body) !important;
    font-weight: 400;
}

body.landing-futuristic small,
body.landing-futuristic .small,
body.landing-futuristic .text-secondary {
    color: var(--lf-text-muted) !important;
}

/* ---------- Fondo animado con grid + auroras ---------- */
.lf-bg-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: var(--lf-bg);
    overflow: hidden;
    pointer-events: none;
}

.lf-bg-layer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

.lf-aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: lf-float 18s ease-in-out infinite;
}

.lf-aurora--1 { width: 42vw; height: 42vw; top: -10%; left: -8%; background: var(--lf-indigo); animation-delay: 0s; }
.lf-aurora--2 { width: 38vw; height: 38vw; top: 15%; right: -10%; background: var(--lf-violet); animation-delay: -6s; }
.lf-aurora--3 { width: 34vw; height: 34vw; bottom: -12%; left: 20%; background: var(--lf-cyan); opacity: 0.35; animation-delay: -12s; }

@keyframes lf-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(3%, 4%) scale(1.08); }
}

/* ---------- Navbar ---------- */
body.landing-futuristic .navbar {
    background: rgba(6, 8, 18, 0.55) !important;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--lf-border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.landing-futuristic .navbar.bg-dark-solid {
    background: rgba(6, 8, 18, 0.92) !important;
    border-bottom-color: var(--lf-border-strong);
}

body.landing-futuristic .navbar-brand {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    background: var(--lf-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.landing-futuristic .navbar-brand i {
    color: var(--lf-cyan);
    -webkit-text-fill-color: var(--lf-cyan);
}

body.landing-futuristic .nav-link {
    color: var(--lf-text-body) !important;
    font-weight: 500;
    position: relative;
}

body.landing-futuristic .nav-link:hover {
    color: #ffffff !important;
}

body.landing-futuristic .nav-link::after {
    content: '';
    position: absolute;
    left: 0.5rem; right: 0.5rem; bottom: 0.15rem;
    height: 2px;
    background: var(--lf-gradient-primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

body.landing-futuristic .nav-link:hover::after { transform: scaleX(1); }

/* ---------- Botones ---------- */
body.landing-futuristic .btn-gradient {
    background: var(--lf-gradient-primary);
    border: none;
    color: #ffffff;
    font-weight: 600;
    box-shadow: var(--lf-glow-indigo);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.landing-futuristic .btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 55px rgba(168, 85, 247, 0.5);
    color: #ffffff;
}

body.landing-futuristic .btn-outline-light,
body.landing-futuristic .btn-outline-info,
body.landing-futuristic .btn-outline-success {
    border: 1.5px solid var(--lf-border-strong);
    color: var(--lf-text-heading) !important;
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    transition: all 0.25s ease;
}

body.landing-futuristic .btn-outline-light:hover,
body.landing-futuristic .btn-outline-info:hover,
body.landing-futuristic .btn-outline-success:hover {
    border-color: var(--lf-cyan);
    background: rgba(34, 211, 238, 0.1);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.lf-hero {
    position: relative;
    padding: 9.5rem 0 5rem;
}

.lf-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid var(--lf-border-strong);
    color: #d9defc;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.lf-badge-pill .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--lf-cyan);
    box-shadow: 0 0 8px var(--lf-cyan);
    animation: lf-pulse 1.6s infinite;
}

@keyframes lf-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.lf-hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--lf-text-heading);
}

.lf-hero h1 .lf-text-gradient {
    background: var(--lf-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lf-hero-visual {
    position: relative;
}

.lf-hero-frame {
    position: relative;
    border-radius: 28px;
    padding: 10px;
    background: var(--lf-gradient-border);
    box-shadow: var(--lf-glow-indigo), var(--lf-glow-violet);
}

.lf-hero-frame img {
    display: block;
    width: 100%;
    border-radius: 22px;
    box-shadow: inset 0 0 60px rgba(0,0,0,0.4);
}

.lf-float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    border-radius: 14px;
    background: rgba(13, 16, 38, 0.85);
    border: 1px solid var(--lf-border-strong);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lf-text-heading);
    animation: lf-bob 5s ease-in-out infinite;
}

.lf-float-chip i { font-size: 1.1rem; }
.lf-float-chip--1 { top: -6%; left: -8%; animation-delay: 0s; }
.lf-float-chip--2 { bottom: -6%; right: -6%; animation-delay: -2.4s; }

@keyframes lf-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- Stats bar ---------- */
.lf-stats-bar {
    position: relative;
    border-top: 1px solid var(--lf-border);
    border-bottom: 1px solid var(--lf-border);
    background: rgba(255, 255, 255, 0.02);
}

.lf-stat {
    text-align: center;
    padding: 2rem 1rem;
}

.lf-stat .num {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    background: var(--lf-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.lf-stat .lbl {
    color: var(--lf-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---------- Section heading ---------- */
.lf-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lf-cyan);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lf-border-strong), transparent);
    margin: 0 auto;
    max-width: 1100px;
}

/* ---------- Feature cards ---------- */
.feature-card {
    position: relative;
    background: var(--lf-card-bg);
    border: 1px solid var(--lf-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--lf-gradient-primary);
    opacity: 0.85;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--lf-border-strong);
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.18);
}

.feature-card .feature-icon-badge {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid var(--lf-border-strong);
    margin: 0 auto 1.1rem;
    font-size: 1.6rem;
}

.feature-card.new-badge {
    border-color: rgba(34, 211, 238, 0.45);
}

.lf-new-tag {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    background: var(--lf-gradient-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.03em;
}

/* ---------- AI Showcase ---------- */
.lf-ai-showcase {
    position: relative;
    padding: 5rem 0;
}

.lf-ai-panel {
    background: var(--lf-card-bg);
    border: 1px solid var(--lf-border);
    border-radius: 28px;
    padding: 3rem;
    backdrop-filter: blur(14px);
}

.lf-ai-image-frame {
    position: relative;
    border-radius: 24px;
    padding: 8px;
    background: var(--lf-gradient-border);
    box-shadow: var(--lf-glow-cyan);
    max-width: 320px;
    margin: 0 auto;
}

.lf-ai-image-frame img {
    display: block;
    width: 100%;
    border-radius: 18px;
}

.lf-ai-bullet {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.lf-ai-bullet .ico {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.35);
    color: var(--lf-cyan);
}

/* ---------- Benefits ---------- */
.benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lf-gradient-primary);
    box-shadow: var(--lf-glow-indigo);
    margin: 0 auto 0.75rem;
}

body.landing-futuristic #beneficios .card {
    background: var(--lf-card-bg);
    border: 1px solid var(--lf-border);
    border-radius: 22px;
    backdrop-filter: blur(12px);
    transition: border-color 0.25s ease;
}

body.landing-futuristic #beneficios .card:hover {
    border-color: var(--lf-border-strong);
}

/* ---------- Pricing ---------- */
.pricing-card {
    position: relative;
    background: var(--lf-card-bg);
    border: 1px solid var(--lf-border);
    border-radius: 24px;
    backdrop-filter: blur(14px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--lf-border-strong);
}

.pricing-card.featured {
    border: 1px solid rgba(168, 85, 247, 0.55);
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.22);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), var(--lf-card-bg) 40%);
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.015);
}

/* ---------- CTA ---------- */
.lf-cta-panel {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(168, 85, 247, 0.12), rgba(34, 211, 238, 0.14));
    border: 1px solid var(--lf-border-strong);
    border-radius: 32px;
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
}

/* ---------- Footer ---------- */
body.landing-futuristic footer {
    background: var(--lf-bg-2) !important;
    border-top: 1px solid var(--lf-border);
}

body.landing-futuristic footer a {
    color: var(--lf-cyan) !important;
}

/* ---------- Scroll reveal ---------- */
.lf-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lf-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .lf-hero { padding: 7.5rem 0 3rem; }
    .lf-hero-visual { margin-top: 3rem; max-width: 420px; margin-left: auto; margin-right: auto; }
    .lf-float-chip { font-size: 0.75rem; padding: 0.5rem 0.8rem; }
}

@media (max-width: 767px) {
    .lf-hero { padding: 6.5rem 0 2.5rem; }
    .lf-stat { padding: 1.25rem 0.5rem; }
    .lf-stat .num { font-size: 1.6rem; }
    .lf-ai-panel { padding: 1.75rem; border-radius: 20px; }
    .lf-float-chip--1, .lf-float-chip--2 { position: static; display: inline-flex; margin: 0.4rem; animation: none; }
    .lf-hero-frame { margin-bottom: 1rem; }
}
