/* Custom Properties */
:root {
    --primary-color: #3b82f6;
    /* Beautiful Blue */
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary-color: #10b981;
    /* Vibrant Emerald */
    --accent-color: #0ea5e9;
    /* Sky blue */
    --bg-dark: #0f172a;
    /* Slate 900 */
    --bg-card: #1e293b;
    /* Slate 800 */
    --bg-lighter: #334155;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;

    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Colors & Spans */
span {
    color: var(--accent-color);
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.btn-large {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Typography Classes */
.mt-4 {
    margin-top: 1.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    color: var(--bg-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links:hover::after,
.nav-links.active::after {
    width: 100%;
}

.nav-links:hover,
.nav-links.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--bg-dark);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(40px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-indicators .stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.trust-indicators p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Floating Glass UI Mockup */
.glass-mockup {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: floating 6s ease-in-out infinite;
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background-color: #ef4444;
}

.dot.yellow {
    background-color: #eab308;
}

.dot.green {
    background-color: #22c55e;
}

.mockup-body {
    padding: 1.5rem;
    height: 400px;
    background: rgba(30, 41, 59, 0.5);
}

/* Skeleton animation for the mockup */
.dashboard-skeleton {
    display: flex;
    gap: 1rem;
    height: 100%;
}

.sk-sidebar {
    width: 25%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    height: 100%;
}

.sk-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sk-top {
    display: flex;
    gap: 1rem;
    height: 30%;
}

.sk-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.sk-bottom {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

@keyframes floating {
    0% {
        transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0px);
    }

    50% {
        transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-20px);
    }

    100% {
        transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0px);
    }
}

/* Client Ticker */
.clients-ticker {
    background: transparent;
    padding: 2rem 0 4rem;
    overflow: hidden;
}

.clients-ticker p {
    font-size: 1rem;
    font-weight: 500;
}

.ticker-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    width: fit-content;
    animation: scrollTicker 30s linear infinite;
    gap: 5rem;
    align-items: center;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item img {
    height: 95px;
    max-width: 220px;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.ticker-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2rem));
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(0, 0, 0, 0));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Interactive Glow for Cards */
.feature-card, .stat-card, .testimonial-card {
    position: relative;
}

.feature-card::after, .stat-card::after, .testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(59, 130, 246, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 3;
    border-radius: inherit;
}

.feature-card:hover::after, .stat-card:hover::after, .testimonial-card:hover::after {
    opacity: 1;
}

/* Stats Section */
.stats {
    padding: 2rem 0 4rem;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(67, 97, 238, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-number,
.stat-plus {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-number {
    /* Si hubo algún Webkit clip heredado, lo removemos */
    -webkit-text-fill-color: initial;
    opacity: 1;
}

.stat-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Benefits */
.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.benefits-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.benefits-list {
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.benefits-list i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.benefits-image {
    position: relative;
}

.image-wrapper {
    background: url('img/benefits.png') center/cover no-repeat, linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 1rem;
    border-radius: 24px;
    height: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    /* Dark overlay to make stats readable */
    border-radius: 24px;
    z-index: 0;
}

.floating-stats {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: floating 4s ease-in-out infinite alternate;
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-stats h4 {
    font-size: 1.5rem;
    margin: 0;
}

.floating-stats p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-color) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(67, 97, 238, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-light);
    display: inline-block;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-plus {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Screenshots Gallery */
.screenshots {
    background: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    aspect-ratio: 16 / 9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(67, 97, 238, 0.4);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
}

.testimonial-card .stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.client-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.client-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(67, 97, 238, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faq-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-header:hover {
    color: var(--primary-light);
}

.faq-header * {
    pointer-events: none;
    /* Forzar el clic en el botón principal, no en los componentes, evita bug de desaparición WebKit */
}

.faq-header span {
    color: #ffffff !important;
    -webkit-text-fill-color: initial !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    opacity: 1;
    position: relative;
    z-index: 1;
}

.faq-header i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-content {
    max-height: 800px;
}

.faq-content p {
    padding: 0 1.5rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.faq-item.active .faq-content p {
    padding: 1.5rem 1.5rem 1.5rem;
    opacity: 1;
}

/* CTA Section */
.cta-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    border-radius: 50%;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: #0b1120;
    padding-top: 4rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 350px;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Animations Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-right {
    transform: translateX(50px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right.active,
.fade-left.active {
    transform: translateX(0);
}

.staggered:nth-child(1) {
    transition-delay: 0.1s;
}

.staggered:nth-child(2) {
    transition-delay: 0.2s;
}

.staggered:nth-child(3) {
    transition-delay: 0.3s;
}

.staggered:nth-child(4) {
    transition-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 992px) {

    .hero-container,
    .benefits-container,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-actions,
    .trust-indicators {
        justify-content: center;
    }

    .benefits-content {
        order: -1;
    }

    .floating-stats {
        bottom: 10px;
        right: 10px;
    }
}

/* =========================================
   Características y Precios - Internal Page
========================================= */

.pricing-header {
    padding-top: 150px;
    padding-bottom: 2rem;
}

.pricing-title {
    font-size: 3.5rem;
    margin: 1rem 0;
}

.pricing-title span {
    color: var(--primary-color);
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.pricing-card-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.pricing-header-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.price {
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price .amount {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
}

.price .period {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.pricing-header-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-cta .w-100 {
    width: 100%;
    justify-content: center;
}

.detailed-features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 4rem;
}

.detailed-feature-card {
    flex: 1 1 350px;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.detailed-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-content-detail h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.feature-content-detail ul {
    list-style: none;
    padding: 0;
}

.feature-content-detail ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-content-detail ul li i {
    color: var(--secondary-color);
    margin-top: 4px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-content-detail ul li strong {
    color: #fff;
    font-weight: 600;
    flex-shrink: 0;
}

.feature-content-detail ul li span.desc {
    flex: 1;
    /* Permite que la descripción ocupe el resto del espacio */
}

.feature-content-detail ul li strong {
    color: #fff;
    font-weight: 600;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-ws 2s infinite;
}

/* Floating Purchase Button */
.cart-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-cart 2s infinite;
}

.cart-float:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: scale(1.05);
    color: #fff;
}

.cart-float i {
    font-size: 1.2rem;
}

.cart-float span {
    color: #fff;
    background: none;
    -webkit-text-fill-color: initial;
}

@keyframes pulse-cart {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(249, 115, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #fff;
}

@keyframes pulse-ws {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Animated Circles Background */
.hero-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    animation: moveCircles 10s linear infinite;
    bottom: -150px;
    backdrop-filter: blur(2px);
}

.c1 { width: 80px; height: 80px; left: 25%; animation-duration: 8s; }
.c2 { width: 150px; height: 150px; left: 10%; animation-duration: 12s; animation-delay: 1s; }
.c3 { width: 40px; height: 40px; left: 70%; animation-duration: 7s; animation-delay: 2s; }
.c4 { width: 120px; height: 120px; left: 80%; animation-duration: 10s; animation-delay: 0.5s; }
.c5 { width: 60px; height: 60px; left: 40%; animation-duration: 6s; animation-delay: 1.5s; }
.c6 { width: 200px; height: 200px; left: 55%; animation-duration: 15s; animation-delay: 2.5s; }

@keyframes moveCircles {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Video Lightbox Modal */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-color);
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Timeline Section */
.timeline {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.timeline-step:hover .step-icon {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Comparison Table */
.comparison-table-wrapper {
    background: var(--bg-card);
    border-radius: 24px;
    overflow-x: auto;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3rem;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
}

.comparison-table .highlight {
    background: rgba(59, 130, 246, 0.05);
    color: var(--primary-light);
    font-weight: 600;
}

.comparison-table i.success { color: #10b981; }
.comparison-table i.error { color: #ef4444; }

@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        gap: 3rem;
    }
    .timeline::before {
        display: none;
    }
    .comparison-table th, .comparison-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .pricing-title {
        font-size: 2.5rem;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .section {
        padding: 4rem 0;
    }

    .detailed-features-grid {
        gap: 1.5rem;
    }

    .detailed-feature-card {
        padding: 1.5rem;
    }

    .timeline-step {
        padding: 0 1rem;
    }
}