* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-blue: #0a1929;
    --medium-blue: #1a2332;
    --bright-blue: #2196F3;
    --light-blue: #64B5F6;
    --gold: #D4AF37;
    --gold-light: #F4E4B8;
    --gold-dark: #B8941F;
    --black: #000000;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--black);
    color: #ffffff;
    line-height: 1.6;
}

/* Prevenir scroll cuando el menú móvil está abierto */
body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER
   =================================== */
header {
    background: rgba(10, 25, 41, 0.75);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
}

.logo img {
    height: 60px;
    width: auto;
}

.brand-name {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff, var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.brand-subtitle {
    font-size: 14px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
}

/* Botón hamburguesa para móvil */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--gold);
}

.main-nav a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--bright-blue), #1976D2);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-main {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(10, 25, 41, 0.7) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #ffffff, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-description {
    font-size: 22px;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-blue);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    padding: 15px 40px;
    border: 2px solid var(--gold);
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* ===================================
   TEXT REVEAL EFFECT
   =================================== */
.text-reveal {
    overflow: hidden;
    display: inline-block;
}

.text-reveal-wrapper {
    display: block;
    overflow: hidden;
    padding-bottom: 0.1em;
}

.text-reveal-line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal-line.revealed {
    transform: translateY(0);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .text-reveal-line {
        transform: none;
        opacity: 1;
        transition: none;
    }
}

/* ===================================
   SHOWCASE SECTION
   =================================== */
.showcase-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-blue) 100%);
    overflow: hidden;
}

.showcase-section .container {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--light-blue), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #B3C5D7;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-download-showcase {
    background: linear-gradient(135deg, var(--bright-blue), #1976D2);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-download-showcase:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(33, 150, 243, 0.6);
}

/* ===================================
   CAROUSEL
   =================================== */
.showcase-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    padding: 0 20px;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.slide-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.slide-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.slide-image:hover img {
    transform: scale(1.05);
}

.slide-info {
    text-align: left;
}

.slide-info h3 {
    font-size: 36px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--light-blue), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-info p {
    font-size: 18px;
    color: #B3C5D7;
    line-height: 1.8;
    margin-bottom: 25px;
}

.slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.feature-tag {
    background: rgba(33, 150, 243, 0.15);
    border: 1px solid var(--bright-blue);
    color: var(--light-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.slide-cta {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 30px;
    border: 2px solid var(--gold);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.slide-cta:hover {
    background: var(--gold);
    color: var(--dark-blue);
    transform: translateX(5px);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: var(--gold);
    color: var(--dark-blue);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(212, 175, 55, 0.6);
}

/* ===================================
   ANIMATED CARDS SECTION
   =================================== */
.animated-cards-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--black) 50%, var(--dark-blue) 100%);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.animated-card {
    text-align: left;
    transition: transform 0.3s ease;
}

.animated-card:hover {
    transform: translateY(-10px);
}

.card-box {
    position: relative;
    height: 300px;
    background: rgba(33, 150, 243, 0.08);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(33, 150, 243, 0.2);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.card-box.premium-box {
    background: rgba(212, 175, 55, 0.08);
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.premium-badge-float {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-blue);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 10;
}

.animated-object {
    font-size: 120px;
    animation: objectFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(33, 150, 243, 0.4));
}

.animated-object.gold-obj {
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.5));
}

.obj-1 { animation-delay: 0s; }
.obj-2 { animation-delay: 0.5s; }
.obj-3 { animation-delay: 1s; }

@keyframes objectFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-20px) rotate(-5deg) scale(1.05);
    }
    50% {
        transform: translateY(-10px) rotate(5deg) scale(1.02);
    }
    75% {
        transform: translateY(-15px) rotate(-3deg) scale(1.04);
    }
}

.card-text {
    padding: 0 20px;
}

.card-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--light-blue), var(--bright-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-card .card-text h3 {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-text > p {
    font-size: 16px;
    color: #B3C5D7;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.card-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-text ul li {
    padding: 8px 0 8px 30px;
    color: #e0e0e0;
    font-size: 15px;
    position: relative;
    line-height: 1.5;
}

.card-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--bright-blue);
    font-weight: bold;
    font-size: 18px;
}

.premium-card .card-text ul li::before {
    color: var(--gold);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--bright-blue);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-left-color: var(--gold);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.feature-icon.gold {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h4 {
    color: var(--light-blue);
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-item p {
    color: #B3C5D7;
    font-size: 14px;
}

/* ===================================
   PHONE DEMO SECTION
   =================================== */
.phone-demo-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--black) 50%, var(--dark-blue) 100%);
    overflow-x: hidden;
}

.phone-demo-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-content {
    flex: 1;
    min-width: 300px;
    color: white;
}

.demo-content h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--light-blue), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #B3C5D7;
    margin-bottom: 40px;
}

/* ===================================
   QR CODES SECTION - CORREGIDO PARA MÓVIL
   =================================== */
.qr-codes-container {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.qr-code-item {
    text-align: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.qr-code-item:hover {
    transform: translateY(-8px) scale(1.05);
}

.qr-code-box {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.qr-code-box:hover {
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
    border-color: var(--gold);
}

.qr-code-box img,
.qr-code-box canvas,
.qr-code-box #qr-play,
.qr-code-box #qr-ios {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.qr-label {
    font-size: 16px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.phone-container {
    position: relative;
    perspective: 1000px;
}

.phone {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    transform-style: preserve-3d;
    animation: phoneFloat 3s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotateY(-5deg);
    }
    50% {
        transform: translateY(-20px) rotateY(-5deg);
    }
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--black) 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #ffffff;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
}

.cta-section h2 {
    font-size: 52px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 20px;
    color: #B3C5D7;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid transparent;
}

.download-btn.google-play {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: var(--gold-light);
    color: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.download-btn.google-play:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

.download-btn.app-store {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: var(--gold-light);
    color: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.download-btn.app-store:hover {
   background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: rgba(10, 25, 41, 0.95);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid #2196F3;
}

footer p {
    color: #B3C5D7;
}

/* ===================================
   TEXT REVEAL FIXES
   =================================== */
.section-title.text-reveal {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

.section-title.text-reveal .text-reveal-wrapper {
    display: block;
    width: 100%;
    text-align: center;
}

.section-title.text-reveal .text-reveal-line {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    display: inline-block;
    background: linear-gradient(135deg, var(--light-blue), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle.text-reveal {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle.text-reveal .text-reveal-wrapper {
    display: block;
    width: 100%;
    text-align: center;
}

.section-subtitle.text-reveal .text-reveal-line {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    display: inline-block;
}

/* WIPE REVEAL — TÍTULOS */
.section-title.text-reveal .text-reveal-line {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
    transform: translateX(-12px);
    transition:
        clip-path 0.9s cubic-bezier(0.16,1,0.3,1),
        transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

.section-title.text-reveal .text-reveal-line.revealed {
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
}

/* SLIDE LEFT — SUBTÍTULOS */
.section-subtitle.text-reveal .text-reveal-line {
    transform: translateX(-60px);
    opacity: 0;
    transition:
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.9s ease-out;
}

.section-subtitle.text-reveal .text-reveal-line.revealed {
    transform: translateX(0);
    opacity: 1;
}

/* HERO TITLE */
.hero-title.text-reveal {
    text-align: center;
}

.hero-title.text-reveal .text-reveal-wrapper {
    display: block;
    width: 100%;
    text-align: center;
}

.hero-title.text-reveal .text-reveal-line {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-14px);
    transition:
        clip-path 1s cubic-bezier(0.16,1,0.3,1),
        transform 1s cubic-bezier(0.16,1,0.3,1);
}

.hero-title.text-reveal .text-reveal-line.revealed {
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
}

/* HERO DESCRIPTION */
.hero-description.text-reveal {
    text-align: center;
}

.hero-description.text-reveal .text-reveal-wrapper {
    display: block;
    width: 100%;
    text-align: center;
}

.hero-description.text-reveal .text-reveal-line {
    display: inline-block;
    transform: translateX(-50px);
    opacity: 0;
    transition:
        transform 1.2s cubic-bezier(0.22,1,0.36,1),
        opacity 1s ease-out;
}

.hero-description.text-reveal .text-reveal-line.revealed {
    transform: translateX(0);
    opacity: 1;
}

/* PHONE DEMO TITLE */
.phone-demo-section h2.text-reveal {
    text-align: left;
}

.phone-demo-section h2.text-reveal .text-reveal-wrapper {
    display: block;
}

.phone-demo-section h2.text-reveal .text-reveal-line {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-12px);
    transition:
        clip-path 0.9s cubic-bezier(0.16,1,0.3,1),
        transform 0.9s cubic-bezier(0.16,1,0.3,1);
    background: linear-gradient(135deg, #ffffff, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.phone-demo-section h2.text-reveal .text-reveal-line.revealed {
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
}

/* PHONE DEMO DESCRIPTION */
.phone-demo-section p.text-reveal {
    text-align: left;
}

.phone-demo-section p.text-reveal .text-reveal-wrapper {
    display: block;
}

.phone-demo-section p.text-reveal .text-reveal-line {
    display: inline-block;
    transform: translateX(-45px);
    opacity: 0;
    transition:
        transform 1.1s cubic-bezier(0.22,1,0.36,1),
        opacity 0.9s ease-out;
}

.phone-demo-section p.text-reveal .text-reveal-line.revealed {
    transform: translateX(0);
    opacity: 1;
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .slide-content {
        gap: 40px;
    }
    
    .slide-info h3 {
        font-size: 28px;
    }
    
    .demo-content h2 {
        font-size: 2.5rem;
    }
    
    .qr-code-box {
        width: 180px;
        height: 180px;
    }
}

/* Móviles */
@media (max-width: 768px) {
    /* Header móvil */
    .header-content {
        gap: 15px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .brand-title {
        font-size: 18px;
    }
    
    .brand-subtitle {
        font-size: 11px;
    }
    
    /* Mostrar botón hamburguesa */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Ocultar navegación en desktop y botón CTA */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 25, 41, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
        border-left: 2px solid var(--gold);
        z-index: 999;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav a {
        font-size: 20px;
        padding: 10px 20px;
    }
    
    .cta-button {
        display: none;
    }
    
    /* Hero móvil */
    .hero-main {
        min-height: 600px;
        height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 25px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 28px;
        font-size: 16px;
    }
    
    /* Showcase móvil */
    .showcase-section {
        padding: 60px 0 80px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .btn-download-showcase {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    /* CARRUSEL VERTICAL EN MÓVIL */
    .slide-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 0;
    }
    
    /* Imagen arriba */
    .slide-image {
        order: 1;
        max-width: 100%;
    }
    
    /* Texto abajo */
    .slide-info {
        order: 2;
        text-align: center;
    }
    
    .slide-info h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .slide-info p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .slide-features {
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .slide-cta {
        font-size: 15px;
        padding: 10px 25px;
    }
    
    /* Botones de navegación del carrusel más pequeños */
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-nav.prev { left: 10px; }
    .carousel-nav.next { right: 10px; }
    
    .carousel-dots {
        margin-top: 30px;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot.active {
        width: 24px;
    }
    
    /* Cards móvil */
    .animated-cards-section {
        padding: 60px 0;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .card-box {
        height: 250px;
    }
    
    .animated-object {
        font-size: 90px;
    }
    
    .card-text h3 {
        font-size: 24px;
    }
    
    .card-text > p {
        font-size: 15px;
    }
    
    .card-text ul li {
        font-size: 14px;
    }
    
    /* Features móvil */
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 32px;
    }
    
    .feature-item h4 {
        font-size: 16px;
    }
    
    .feature-item p {
        font-size: 13px;
    }
    
    /* Phone demo móvil */
    .phone-demo-section {
        padding: 60px 20px;
    }
    
    .phone-demo-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .demo-content {
        text-align: center;
    }
    
    .demo-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .demo-content p {
        font-size: 1rem;
    }
    
    .phone-demo-section h2.text-reveal,
    .phone-demo-section p.text-reveal {
        text-align: center;
    }
    
    /* QR Codes móvil - CORREGIDO */
    .qr-codes-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 20px;
        margin-top: 40px;
        flex-wrap: wrap;
    }
    
    .qr-code-item {
        width: auto;
        flex: 0 0 auto;
    }
    
    .qr-code-box {
        width: 140px;
        height: 140px;
        padding: 12px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        border: 2px solid #f0f0f0;
    }
    
    .qr-label {
        font-size: 12px;
        margin-top: 10px;
    }
    
    .phone {
        width: 260px;
        height: 520px;
    }
    
    /* CTA móvil */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .download-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    /* Footer móvil */
    footer {
        padding: 30px 0;
    }
    
    footer p {
        font-size: 14px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .slide-info h3 {
        font-size: 20px;
    }
    
    .slide-info p {
        font-size: 14px;
    }
    
    .feature-tag {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    /* QR Codes móvil pequeño */
    .qr-codes-container {
        gap: 15px;
    }
    
    .qr-code-box {
        width: 120px;
        height: 120px;
        padding: 10px;
    }
    
    .qr-label {
        font-size: 11px;
    }
    
    .phone {
        width: 230px;
        height: 460px;
    }
    
    .demo-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .main-nav {
        width: 80%;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}