:root {
    --primary: #833ab4;
    --primary-light: #c13584;
    --accent: #5851db;
    --background: #0a0a0c;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-dim: #a0a0a0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

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

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

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, #1a1a2e 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, #16213e 0%, transparent 40%),
                linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--primary-light);
}

.mobile-nav .btn-primary {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    transition: opacity 0.3s;
}

.nav-logo {
    height: 65px; /* Altura ideal, sin márgenes blancos */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600; /* Se reduce el grosor para dar un aspecto más premium */
    font-size: 1.3rem; /* Tamaño más sutil */
    letter-spacing: 3px; /* Más espaciado entre letras es clave en diseño elegante */
    color: var(--text) !important;
}

.logo-text .highlight {
    color: var(--primary-light) !important;
    font-weight: 300;
}

.logo-brand:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-light);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-main {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--text);
    color: var(--background);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--glass-border);
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: var(--glass);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 span {
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h3.subtitle {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-content p.description {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Sections */
.details, .process-section, .why-us, .final-cta {
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    max-width: 1000px;
    box-shadow: var(--shadow);
    width: 100%;
}

.glass-card h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.grid-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.grid-item .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.grid-item h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-light);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.2;
    display: block;
    margin-bottom: -1rem;
}

/* Why Us List */
.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.check-list li {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(131, 58, 180, 0.1));
}

.final-cta h2 {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dim);
}

.final-cta .slogan {
    font-style: italic;
    color: var(--primary-light);
    margin-bottom: 2.5rem;
}

/* Demos Section V2 */
.demos-container {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.demos-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.demo-card-v2 {
    display: flex;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3.5rem;
    border-radius: 32px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s;
}

.demo-card-v2:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-light);
    opacity: 0.2;
    line-height: 1;
}

.card-body {
    flex: 1;
}

.card-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.card-body p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    max-width: 600px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.card-features li span {
    color: var(--primary-light);
}

.btn-primary-small {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: opacity 0.3s;
}

.btn-primary-small:hover {
    opacity: 0.9;
}



/* Footer */
.footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, #833ab4, #c13584);
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(193, 53, 132, 0.35);
    transition: opacity 0.3s, transform 0.3s;
}

.instagram-link:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* Medios de Pago */
.payment-methods {
    margin: 1.5rem 0;
}

.payment-title {
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   NEW SECTIONS STYLING
===================== */

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Tech Marquee */
.tech-marquee-container {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    margin: 2rem 0;
    white-space: nowrap;
}

.tech-marquee {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.tech-marquee span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dim);
    margin: 0 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Premium Success Cases */
.case-card {
    padding: 2.5rem;
    text-align: left;
    background: rgba(10, 10, 12, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    opacity: 0.5;
}

.case-tag-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    padding: 0.4rem 1rem;
    border-radius: 30px;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(193, 53, 132, 0.3);
}

.premium-split {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.premium-split > div {
    flex: 1;
}

.divider {
    flex: 0 0 auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--primary-light);
    font-size: 1.5rem;
}

.before-premium, .after-premium {
    padding: 1.5rem;
    border-radius: 12px;
}

.before-premium {
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.after-premium {
    background: rgba(193, 53, 132, 0.05);
    border: 1px solid rgba(193, 53, 132, 0.2);
    position: relative;
}

.after-premium::after {
    content: '';
    position: absolute;
    top: -10px; right: -10px; width: 50px; height: 50px;
    background: var(--primary-light);
    filter: blur(40px);
    z-index: -1;
    opacity: 0.3;
}

.dim-text {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dim-text::before {
    content: '\eb7a'; /* bx-x */
    font-family: 'boxicons';
    color: #ff4757;
}

.glow-text {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(193, 53, 132, 0.5);
}

.glow-text::before {
    content: '\eb81'; /* bx-check */
    font-family: 'boxicons';
    color: #2ed573;
}

/* FAQ Section */
.faq-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: background 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--primary-light);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* =====================
   RESPONSIVE - MOBILE
===================== */
@media (max-width: 768px) {

    /* Navbar */
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .navbar { padding: 0.9rem 5%; }
    .nav-logo { height: 48px; }
    .logo-text { font-size: 1rem; letter-spacing: 2px; }

    /* Hero */
    .hero { padding: 0 6%; height: auto; min-height: 100svh; padding-top: 90px; padding-bottom: 60px; }
    .hero-content h1 { font-size: clamp(2rem, 9vw, 3rem); margin-bottom: 1rem; }
    .hero-content h3.subtitle { font-size: 1rem; margin-bottom: 0.8rem; }
    .hero-content p.description { font-size: 0.95rem; margin-bottom: 2rem; }
    .cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .btn-main, .btn-secondary { width: 100%; text-align: center; padding: 0.9rem 1.5rem; }

    /* Sections general */
    .details, .process-section, .why-us, .final-cta {
        padding: 60px 5%;
    }

    /* Glass Card */
    .glass-card { padding: 1.8rem 1.5rem; border-radius: 18px; }
    .glass-card h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }

    /* Services Grid */
    .grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .grid-item { padding: 1.5rem; }

    /* Process Section */
    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .process-step { padding: 1.2rem; }
    .step-number { font-size: 2.2rem; }

    /* Why Us */
    .check-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .check-list li { font-size: 1rem; }

    /* Demos Section */
    .demos-container { padding: 60px 5%; }
    .section-header { margin-bottom: 2rem; }
    .section-header h2 { font-size: 1.9rem; }
    .demos-list { gap: 2rem; }
    .demo-card-v2 {
        flex-direction: column;
        padding: 1.8rem 1.5rem;
        border-radius: 20px;
        gap: 0.8rem;
    }
    .card-number { font-size: 2.8rem; margin-bottom: 0; }
    .card-body h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
    .card-body p { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .card-features {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    .card-features li { font-size: 0.9rem; }
    .btn-primary-small { width: 100%; text-align: center; padding: 0.9rem; }

    /* Final CTA */
    .final-cta h2 { font-size: 1.9rem; }
    .final-cta p { font-size: 1rem; }
    .final-cta .btn-main { width: auto; }

    /* Footer */
    .footer { padding: 2rem 5%; }
    .payment-icons { gap: 0.4rem; }
    .payment-badge { font-size: 0.78rem; padding: 0.3rem 0.7rem; }
    
    /* Responsive Cases & FAQ */
    .case-split { flex-direction: column; gap: 1rem; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}
