/* ============================================
   CSS VARIABLES & RESET
   ============================================ */

:root {
    /* Color Palette - Purple-based UNIFICADO */
    --primary-purple: #A73C9F;
    --primary-purple-dark: #8E3088;
    --primary-purple-light: #B434AC;
    --accent-purple: #C084BC;
    --accent-lavender: #9F4B99;
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #A73C9F 0%, #B434AC 100%);
    --gradient-hero: linear-gradient(180deg, #F9F5FF 0%, #FFFFFF 100%);
    --gradient-cta: linear-gradient(135deg, #8E3088 0%, #A73C9F 50%, #B434AC 100%);
    
    /* Typography */
    --font-primary: 'Quicksand', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --container-max-width: 1280px;
    --section-padding: 120px;
    --section-padding-mobile: 60px;
    
    /* Effects */
    --blur-soft: blur(60px);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 10px 40px -5px rgba(167, 60, 159, 0.35);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo Container with Space */
.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1001;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder img {
    height: 40px;
    width: auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Ocultar botón móvil en desktop */
.nav-cta-mobile {
    display: none;
}

.btn-mobile {
    display: block;
    width: 100%;
    padding: 14px 28px;
    background: var(--primary-purple);
    color: var(--white);
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-mobile:hover {
    background: var(--primary-purple-dark);
    transform: translateY(-2px);
}

.btn-primary-nav {
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

.btn-primary-nav:hover {
    background: var(--primary-purple-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION WITH PHONE MOCKUP
   ============================================ */

.hero {
    position: relative;
    padding: 180px 0 120px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: var(--blur-soft);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-purple-light) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: 2s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-lavender) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
}

.btn-primary {
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

.btn-primary:hover {
    background: var(--primary-purple-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.hero-visual {
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s both;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone Mockup Styles */
.phone-mockup {
    position: relative;
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.phone-frame {
    position: relative;
    width: 300px;
    height: 600px;
    background: var(--gray-900);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: var(--gray-900);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Phone Content Placeholder */
.phone-content-placeholder {
    width: 100%;
    height: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(180deg, #F9F5FF 0%, #FFFFFF 50%);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.app-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.app-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-menu span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
}

.app-search {
    height: 48px;
    background: var(--gray-100);
    border-radius: 24px;
    margin-bottom: 24px;
}

.app-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-card {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-img {
    width: 100%;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 12px;
    margin-bottom: 12px;
}

.card-text {
    height: 12px;
    background: var(--gray-200);
    border-radius: 6px;
    margin-bottom: 8px;
}

.card-text.short {
    width: 60%;
}

.app-bottom-nav {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--white);
    padding: 12px;
    border-radius: 24px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.nav-item {
    width: 40px;
    height: 32px;
    background: var(--gray-200);
    border-radius: 16px;
}

.nav-item.active {
    background: var(--gradient-primary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step-card {
    position: relative;
    padding: 32px;
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 24px;
    transition: all var(--transition-base);
}

.step-card:hover {
    border-color: var(--primary-purple-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 700;
    color: var(--gray-100);
    line-height: 1;
}

.step-icon-container {
    margin-bottom: 24px;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.step-description {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   ECOSYSTEM SECTION
   ============================================ */

.ecosystem {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ecosystem-card {
    position: relative;
    padding: 40px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    transition: all var(--transition-base);
    overflow: hidden;
}

.ecosystem-card:hover {
    border-color: var(--primary-purple-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.ecosystem-card.primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
}

.ecosystem-card.primary .ecosystem-title,
.ecosystem-card.primary .ecosystem-description {
    color: var(--white);
}

.card-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ecosystem-icon {
    width: 72px;
    height: 72px;
    background: rgba(167, 60, 159, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    margin-bottom: 24px;
}

.ecosystem-card.primary .ecosystem-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.ecosystem-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.ecosystem-description {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ecosystem-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

/* ============================================
   FOR WHO SECTION
   ============================================ */

.for-who {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.persona-card {
    padding: 48px 40px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    transition: all var(--transition-base);
}

.persona-card:hover {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.persona-visual {
    margin-bottom: 32px;
}

.persona-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto;
}

.persona-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    text-align: center;
}

.persona-description {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: center;
}

.persona-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.persona-features li {
    font-size: 14px;
    color: var(--gray-700);
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.persona-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--primary-purple-light);
    border-radius: 50%;
}

.persona-features li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 4px;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
}

/* ============================================
   PRICING SECTION - FREEMIUM HIGHLIGHTED
   ============================================ */

.pricing {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* FREEMIUM FEATURED */
.pricing-card.featured {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-purple);
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(167, 60, 159, 0.05) 0%, rgba(180, 52, 172, 0.05) 100%);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--gray-100);
}

.pricing-plan {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 12px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-700);
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.period {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 500;
}

.pricing-subtitle {
    font-size: 14px;
    color: var(--gray-600);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--primary-purple);
}

.feature-disabled svg {
    color: var(--gray-300);
}

.feature-disabled {
    color: var(--gray-400);
}

/* ============================================
   DOWNLOAD SECTION - NO INPUTS
   ============================================ */

.download-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.qr-codes {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: var(--white);
    border: 3px solid var(--gray-200);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: all var(--transition-base);
}

.qr-placeholder:hover {
    border-color: var(--primary-purple-light);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.qr-icon {
    width: 100%;
    height: 100%;
}

.qr-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
}

.store-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: var(--gray-900);
    color: var(--white);
    text-decoration: none;
    border-radius: 16px;
    transition: all var(--transition-base);
    min-width: 200px;
}

.store-button:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-button svg {
    flex-shrink: 0;
}

.store-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 12px;
    opacity: 0.8;
}

.store-name {
    font-size: 18px;
    font-weight: 700;
}

/* ============================================
   CTA SECTION - CON DEGRADADO ANIMADO
   ============================================ */

.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--gradient-cta);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cta-gradient {
    width: 100%;
    height: 100%;
    background: var(--gradient-cta);
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #8E3088 0%, #A73C9F 50%, #B434AC 100%);
    }
    25% {
        background: linear-gradient(135deg, #A73C9F 0%, #B434AC 50%, #C084BC 100%);
    }
    50% {
        background: linear-gradient(135deg, #B434AC 0%, #A73C9F 50%, #8E3088 100%);
    }
    75% {
        background: linear-gradient(135deg, #9F4B99 0%, #A73C9F 50%, #B434AC 100%);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* ============================================
   FOOTER - LOGO BLANCO
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-column-main {
    max-width: 400px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--gray-400);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-purple-light);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZED
   ============================================ */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 52px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .phone-frame {
        width: 260px;
        height: 520px;
    }
}

@media (max-width: 968px) {
    /* MENÚ MÓVIL - CORREGIDO */
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-links a {
        display: block;
        font-size: 18px;
        padding: 16px 0;
        width: 100%;
    }
    
    /* Mostrar botón CTA en móvil */
    .nav-cta-mobile {
        display: block;
        border-bottom: none;
        padding-top: 16px;
    }
    
    .btn-primary-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .personas-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: scale(1) translateY(-8px);
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .qr-codes {
        flex-direction: column;
        gap: 40px;
    }
    
    .store-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .store-button {
        width: 100%;
    }
    
    .phone-frame {
        width: 220px;
        height: 440px;
        border-radius: 32px;
        padding: 10px;
    }
    
    .phone-notch {
        width: 100px;
        height: 24px;
    }
    
    .phone-content-placeholder {
        padding: 32px 16px 16px;
    }
    
    .logo-container {
        gap: 12px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo-placeholder img {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 200px;
        height: 400px;
    }
    
    .card-img {
        height: 80px;
    }
    
    .app-search {
        height: 40px;
    }
}

/* ============================================
   BUTTON RIPPLE EFFECT
   ============================================ */

button {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 600ms ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}