:root {
    --bg-color: #000000;
    --text-color: #e0e0e0;
    --accent-color: #8A2BE2;
    /* PacePuff Purple */
    --accent-glow: rgba(138, 43, 226, 0.4);
    --secondary-bg: #111111;
    --text-muted: #888888;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

/* Header */
header {
    padding: 20px 40px;
    position: absolute;
    top: 0;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    /* Ensure text is white */
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    animation: zoomIn 0.7s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    min-height: auto;
    /* Quitamos el 100vh para que no fuerce espacio extra */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 0;
    /* Padding superior reducido */
    background: radial-gradient(circle at 50% 10%, #1a1a1a 0%, #000 70%);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero .highlight {
    background: linear-gradient(90deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    /* Espacio igual al del círculo rojo solicitado */
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
    opacity: 1;
    color: #ffffff;
    /* Asegura que el texto siga siendo blanco al hacer hover */
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #333;
    color: var(--text-muted);
}

/* Therapist CTA */
.therapist-cta-container {
    margin-top: -40px;
    margin-bottom: 80px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-therapist {
    padding: 20px 30px;
    background: rgba(138, 43, 226, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 800px;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-therapist::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.btn-therapist:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(138, 43, 226, 0.8);
    background: rgba(138, 43, 226, 0.1);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    color: #fff;
}

.btn-therapist:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .therapist-cta-container {
        margin-top: 0;
        padding: 0 20px;
    }
    .btn-therapist {
        font-size: 1rem;
        padding: 15px 20px;
    }
}

/* 3D Orbit Animation */
.orbit-scene {
    width: 600px;
    height: 600px;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    /* CRITICAL: Allows children (Rabbit & Ring) to interleave in 3D */
    margin: 0 auto 80px;
    /* Espacio igual al de la doble flecha solicitado */
}

.center-rabbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    /* Removed z-index: 10 to allow 3D occlusion */
    transform-style: preserve-3d;
    /* Floating animation for rabbit */
    animation: floatRabbit 3s ease-in-out infinite;
}

.center-rabbit img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px var(--accent-color));
}

.rabbit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(30px);
    z-index: -1;
}

.orbit-ring {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotateRing 25s linear infinite;
    /* Slower rotation for 6 items */
}

/* Pause rotation on hover so you can click */
.orbit-ring:hover {
    animation-play-state: paused;
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    text-decoration: none;
    /* Remove link underline */
    cursor: pointer;
    transition: transform 0.3s;
}

.orbit-item:hover .holo-screen {
    border-color: #fff;
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.6);
    background: rgba(40, 40, 40, 0.9);
}

/* Positioning 6 items (360 / 6 = 60deg steps) - Doubled Radius (translateZ) */
.item-1 {
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(440px);
}

.item-2 {
    transform: translate(-50%, -50%) rotateY(60deg) translateZ(440px);
}

.item-3 {
    transform: translate(-50%, -50%) rotateY(120deg) translateZ(440px);
}

.item-4 {
    transform: translate(-50%, -50%) rotateY(180deg) translateZ(440px);
}

.item-5 {
    transform: translate(-50%, -50%) rotateY(240deg) translateZ(440px);
}

.item-6 {
    transform: translate(-50%, -50%) rotateY(300deg) translateZ(440px);
}

/* Holographic Screens */
.holo-screen {
    width: 280px;
    /* Doubled from 140px */
    height: 180px;
    /* Doubled from 90px */
    /* "Curved" Glass Effect - EXAGGERATED */
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(60, 60, 60, 0.5) 45%,
            rgba(60, 60, 60, 0.5) 55%,
            rgba(0, 0, 0, 0.95) 100%);
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    /* Thick side borders to simulate the 'curve' depth */
    border-left: 4px solid rgba(138, 43, 226, 0.8);
    border-right: 4px solid rgba(138, 43, 226, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(2px);
    /* Strong inset shadow */
    box-shadow:
        inset 10px 0 20px rgba(0, 0, 0, 1),
        inset -10px 0 20px rgba(0, 0, 0, 1),
        0 0 15px rgba(138, 43, 226, 0.3);
    /* Placeholder background for empty screens */
    background: rgba(138, 43, 226, 0.05);
    backdrop-filter: blur(4px);
    display: block;
    overflow: hidden;
    /* Crop video to border radius */
    padding: 0;
    backface-visibility: visible;
    transition: all 0.3s;
    /* Perspective trick for content if desired, but gradient usually sells it better */
}

.holo-screen video,
.holo-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Cambiado de cover a contain para no recortar el texto */
    opacity: 1;
    /* Aumentada opacidad para texto */
    padding: 10px;
    /* Un poco de aire para que no toque los bordes */
    mix-blend-mode: normal;
    /* Cambiado de screen a normal para que el texto se lea mejor sobre el fondo oscuro */
}

.holo-screen h3 {
    font-size: 0.8rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

/* Fake UI elements inside screens */
.fake-graph {
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin-top: 5px;
    border-radius: 2px;
}

.fake-toggle {
    width: 20px;
    height: 10px;
    background: #333;
    border-radius: 10px;
    position: relative;
}

.fake-toggle::after {
    content: '';
    position: absolute;
    right: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--accent-color);
}

.fake-shield {
    width: 16px;
    height: 18px;
    border: 2px solid var(--accent-color);
    border-radius: 0 0 16px 16px;
}

.fake-coin,
.fake-heart,
.fake-users {
    font-size: 1.2rem;
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-glow);
}

/* Animations */
@keyframes rotateRing {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@keyframes floatRabbit {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

/* Problem Section */
.problem {
    background-color: var(--secondary-bg);
    padding: 100px 0;
    text-align: center;
}

.problem-text {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 40px auto 0;
    color: #ccc;
    font-weight: 300;
}

.problem strong {
    color: #fff;
    font-weight: 600;
}

/* Features */
.features {
    padding: 120px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #0a0a0a;
    padding: 40px;
    border: 1px solid #222;
    border-radius: 12px;
    transition: border-color 0.3s;
}

.feature-card:hover {
    border-color: var(--accent-color);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Filter / Checklist */
.filtro {
    padding: 100px 0;
    background-color: #050505;
    text-align: center;
}

.checklist {
    list-style: none;
    margin-top: 40px;
    display: inline-block;
    text-align: left;
}

.checklist li {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-left: 30px;
    position: relative;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 80px 0;
    border-top: 1px solid #111;
    font-size: 0.9rem;
    color: #666;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-links a {
    display: block;
    margin-bottom: 8px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 80px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .phone-mockup {
        width: 240px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Beta badge */
.beta-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.trial-hint-lp {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Installation Guide */
.install-guide {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guide-item {
    background: #0a0a0a;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #222;
    transition: all 0.3s;
    text-align: center;
}

.guide-item:hover {
    border-color: var(--accent-color);
}

.guide-item .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Language Selector */
.lang-selector {
    margin-left: auto;
    background: transparent;
    color: #fff;
    border: 1px solid #333;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    outline: none;
}

.lang-selector option {
    background: #000;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Beta Offer Section */
.beta-offer {
    margin-top: 100px;
    padding: 8rem 0;
    background: radial-gradient(circle at 50% 50%, #111 0%, #000 100%);
}

.offer-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 0, 0, 0.8));
    padding: 4rem;
    border-radius: 32px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.offer-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offer-card p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* Feedback Section */
.feedback-request {
    padding: 8rem 0;
    text-align: center;
    background: #000;
}

.feedback-request h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.feedback-request p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.feedback-icon {
    font-size: 4rem;
    opacity: 0.5;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

/* Orbit Placeholder adjustment */
.content-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Do not set height/width 100% here as it overrides holo-screen defaults */
}

.content-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screen-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(138, 43, 226, 0.05) 0px,
            rgba(138, 43, 226, 0.05) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
}

/* Excel Explorer - Dashboard Style (Sin transparencias) */
.excel-showcase {
    padding: 100px 0;
    background: #000;
    border-top: 1px solid #111;
}

.excel-explorer {
    display: flex;
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.explorer-main {
    flex: 3;
    background: #ffffff;
    /* Fondo blanco para las gráficas de excel */
    border-radius: 12px;
    overflow: hidden;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #333;
}

.explorer-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.explorer-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.explorer-tab {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explorer-tab:hover {
    border-color: var(--accent-color);
    background: #1a1a1a;
}

.explorer-tab.active {
    background: rgba(138, 43, 226, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

.tab-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px var(--accent-glow));
}

.tab-text h4 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
}

.tab-text p {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.2;
}

/* Mobile Responsive Explorer */
@media (max-width: 992px) {
    .excel-explorer {
        flex-direction: column;
    }

    .explorer-main {
        height: 400px;
    }

    .explorer-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .explorer-tab {
        flex: 0 0 200px;
    }
}

/* App Screenshots Section */
.app-screenshots {
    padding: 0 0 40px 0;
    margin-top: 0;
    /* Eliminado margen negativo para dejar que el margin-bottom de la órbita mande */
    background: transparent;
    overflow: hidden;
    position: relative;
    z-index: 100;
    /* Aseguramos que esté por encima de posibles restos del hero */
}

.container--wide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.screenshots-header {
    text-align: center;
    margin-bottom: 20px;
    /* Reducido de 50px para pegar más las imágenes al título */
}

.screenshots-header h2 {
    font-size: 2.2rem;
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.screenshots-grid-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    /* Custom scrollbar for webkit */
}

.screenshots-grid-container::-webkit-scrollbar {
    height: 6px;
}

.screenshots-grid-container::-webkit-scrollbar-track {
    background: #111;
}

.screenshots-grid-container::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.screenshots-track {
    display: flex;
    gap: 30px;
    justify-content: center;
    min-width: max-content;
    padding: 20px;
}

.screenshot-container {
    width: 180px;
    /* Tamaño más compacto y uniforme */
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.screenshot-container:hover {
    transform: translateY(-10px) scale(1.05);
    /* Salto más suave */
}

.phone-frame {
    background: #111;
    border: 6px solid #222;
    border-radius: 20px;
    height: 380px;
    /* Altura fija para que todas sean IGUALES */
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
}

.phone-frame::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    z-index: 2;
}

.screenshot-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* Asegura que rellenen el marco uniforme sin deformarse */
    transition: opacity 0.3s;
}

.screenshot-container:hover img {
    opacity: 0.8;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 768px) {
    .screenshots-track {
        justify-content: flex-start;
    }
}

/* Manual / Documentation Styles */
.manual-body {
    background: radial-gradient(circle at 50% 10%, #111 0%, #000 100%);
    min-height: 100vh;
}

.manual-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.manual-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.manual-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.manual-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px 80px;
    /* Aumentar padding horizontal en pantallas grandes */
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.manual-header {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    position: relative;
    /* Evita que herede absolute del header global */
}

.manual-header h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.manual-header .subtitle-manual {
    margin: 0;
    text-align: left;
    font-size: 1.2rem;
    color: var(--text-muted);
}

#manual-intro {
    margin-bottom: 40px;
}

.manual-section {
    margin-bottom: 40px;
    scroll-margin-top: 120px;
}

.manual-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
}

.manual-section h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--accent-color);
}

.manual-section p {
    margin-bottom: 20px;
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

.manual-section ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.manual-section li {
    margin-bottom: 10px;
    color: #bbb;
    text-align: justify;
}

.manual-section strong {
    color: #fff;
}

/* Premium Alerts */
.alert {
    padding: 24px;
    border-radius: 16px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.alert-tip {
    background: rgba(0, 255, 128, 0.05);
}

.alert-tip::before {
    background: #00ff80;
}

.alert-note {
    background: rgba(138, 43, 226, 0.05);
}

.alert-note::before {
    background: var(--accent-color);
}

.alert-caution {
    background: rgba(255, 69, 0, 0.05);
}

.alert-caution::before {
    background: #ff4500;
}

.alert-warning {
    background: rgba(255, 215, 0, 0.05);
}

.alert-warning::before {
    background: #ffd700;
}

/* Responsive Manual */
@media (max-width: 992px) {
    .manual-content {
        padding: 30px;
    }

    .manual-header h1 {
        font-size: 2.2rem;
    }
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0px;
    /* Juntamos el botón al título inferior */
    transition: color 0.3s;
}

.btn-back:hover {
    color: #fff;
}

/* Visual Intelligence / Infographics Section */
.visual-intelligence {
    padding: 60px 0;
    background: radial-gradient(circle at 50% 100%, #111 0%, #000 70%);
    border-top: 1px solid #111;
}

.infographics-deck {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.infographics-deck::-webkit-scrollbar {
    display: none;
}

.infographic-card {
    flex: 0 0 220px;
    height: 320px;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.infographic-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(217, 70, 239, 0.2);
}

.infographic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.4s;
}

.infographic-card:hover img {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    font-family: var(--font-main);
}

@media (min-width: 1024px) {
    .infographics-deck {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
        gap: 25px;
    }

    .infographic-card {
        flex: 0 0 260px;
        height: 380px;
    }
}

/* PDF Download Button */
.pdf-container-wrapper {
    margin: 10px auto 40px;
    max-width: 650px;
    /* Reducido para encuadrar mejor el conejo */
    padding: 0;
    display: flex;
    justify-content: center;
}

.pdf-download-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centramos el texto para encajar en la nueva anchura */
    min-height: 180px;
    /* Más altura para ver más libro y cara */
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    text-decoration: none;
    /* El conejo entero entra ajustando el backround al 60% en lugar de cover */
    background: url('pdf_btn_bg.jpg') center center / 60% no-repeat;
    border: 2px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(138, 43, 226, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.pdf-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Oscurecimiento uniforme, porque el texto irá centrado encima de la imagen entera */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: -1;
    transition: opacity 0.4s ease, background 0.4s ease;
}

.pdf-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fca311;
    /* Color naranja/dorado para destacar muchísimo más */
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.pdf-icon-doc,
.pdf-icon-download {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.8));
    color: #fca311;
    /* Alineado con el nuevo color naranja del texto */
}

.pdf-icon-download {
    color: #fca311;
    /* Un color llamativo para el icono de descarga */
    filter: drop-shadow(0 0 10px rgba(252, 163, 17, 0.5));
}

.pdf-download-btn:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(138, 43, 226, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 40px rgba(138, 43, 226, 0.5);
}

.pdf-download-btn:hover .pdf-glow {
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.pdf-download-btn:hover .pdf-icon-download {
    animation: pdfBounce 0.8s infinite alternate ease-in-out;
}

@keyframes pdfBounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(5px);
    }
}

@media (max-width: 768px) {
    .pdf-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        font-size: 1.05rem;
    }

    .pdf-download-btn {
        justify-content: center;
        min-height: 120px;
        padding: 20px;
        background-position: center;
        /* En móvil lo centramos porque no cabrá todo de lado */
    }

    .pdf-glow {
        background: linear-gradient(135deg, rgba(80, 20, 140, 0.5) 0%, rgba(0, 0, 0, 0.85) 100%);
    }

    .pdf-download-btn:hover .pdf-glow {
        background: linear-gradient(135deg, rgba(138, 43, 226, 0.7) 0%, rgba(0, 0, 0, 0.6) 100%);
    }
}

/* Estilo para el botón de Google Play */
.btn-primary.google-play {
    background-color: #000000 !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary.google-play:hover {
    background-color: #111111 !important;
    transform: translateY(-3px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.btn-primary.google-play::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-10.3 18-28.5-1.2-40.8zM303.6 277.6l-232 231.4c2.6.9 5.5 1.3 8.6 1.3 15.3 0 28.5-7.8 38.1-18.5l245.4-141.2-60.1-73z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* GEO Entity styling */
.geo-entity {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.2);
    padding: 15px 20px;
    border-radius: 12px;
}

/* Comparativa GEO Table */
.comparativa-geo {
    padding: 100px 0;
    background: #050505;
}

.geo-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 40px;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
}

.geo-table th, .geo-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #222;
}

.geo-table th {
    background: #111;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.geo-table td {
    color: #bbb;
    font-size: 1rem;
}

.geo-table tr:last-child td {
    border-bottom: none;
}

.geo-table .highlight-col {
    background: rgba(138, 43, 226, 0.05);
    color: #fff;
    border-left: 1px solid rgba(138, 43, 226, 0.3);
    border-right: 1px solid rgba(138, 43, 226, 0.3);
}

.geo-table th.highlight-col {
    background: rgba(138, 43, 226, 0.15);
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
    border-top: 1px solid rgba(138, 43, 226, 0.3);
}

/* FAQ GEO */
.faq-geo {
    padding: 100px 0;
    background: #000;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    background: #0a0a0a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.1);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Helper text center */
.text-center {
    text-align: center;
}
.mb-4 {
    margin-bottom: 2rem;
}
