/* ============================================
   VARIABLES Y CONFIGURACIÓN BASE
   ============================================ */
:root {
    --primary-blue: #2563eb;
    --primary-purple: #7c3aed;
    --accent-turquoise: #06b6d4;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.3);
}

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

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem 0;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    will-change: padding, background, box-shadow;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-turquoise) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-cta-nav {
    background: var(--gradient-primary) !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
}

.btn-cta-nav::after {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
    animation: patternMove 20s linear infinite;
    will-change: background-position;
    transform: translateZ(0);
}

@keyframes patternMove {
    0% { background-position: 0% 0%, 0% 0%, 0 0; }
    100% { background-position: 100% 100%, -100% -100%, 100px 100px; }
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.badge-text {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.floating-card {
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: float 6s ease-in-out infinite;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.floating-card i {
    font-size: 9rem;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.float-1 {
    top: 10%;
    right: 10%;
    animation: floatElement 4s ease-in-out infinite;
}

.float-2 {
    bottom: 15%;
    left: 10%;
    animation: floatElement 5s ease-in-out infinite 1s;
}

.float-3 {
    top: 50%;
    right: -5%;
    animation: floatElement 6s ease-in-out infinite 2s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
    fill: var(--light-bg);
}

/* ============================================
   ANIMACIONES
   ============================================ */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICIOS
   ============================================ */
.services-section {
    background: var(--light-bg);
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.3);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   QUIÉNES SOMOS
   ============================================ */
.about-section {
    background: var(--white);
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.25rem;
}

.about-text strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.about-stats {
    margin-top: 2rem;
}

.about-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.about-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.about-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-image-wrapper {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.3);
}

.about-card-secondary {
    margin-left: 2rem;
}

.about-card-tertiary {
    margin-left: 1rem;
}

.about-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.4s ease;
}

.about-card:hover .about-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.about-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.plans-highlight-section {
    margin-top: 3rem;
}

.plans-highlight-box {
    background: var(--gradient-primary);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.plans-highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: glow 6s ease-in-out infinite;
}

.plans-highlight-box > * {
    position: relative;
    z-index: 1;
}

.plans-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.plans-highlight-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.plans-highlight-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.plans-highlight-text strong {
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.values-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.values-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.value-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border-color: rgba(37, 99, 235, 0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.value-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Responsive para Quiénes Somos */
@media (max-width: 992px) {
    .about-image-wrapper {
        min-height: auto;
        margin-top: 3rem;
    }
    
    .about-card-secondary,
    .about-card-tertiary {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .about-stat-number {
        font-size: 1.75rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .values-title {
        font-size: 1.75rem;
    }
    
    .plans-highlight-box {
        padding: 2rem 1.5rem;
    }
    
    .plans-highlight-title {
        font-size: 1.5rem;
    }
    
    .plans-highlight-text {
        font-size: 1rem;
    }
    
    .plans-icon-wrapper {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
}

/* ============================================
   PLANES Y PRECIOS
   ============================================ */
.pricing-section {
    background: var(--white);
}

.pricing-card {
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card:hover::after {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.pricing-card.featured {
    border: 3px solid var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.pricing-card.featured::after {
    transform: scaleX(1);
    height: 6px;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.3);
}

.badge-popular {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.625rem 1.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.price {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-display .currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--text-light);
}

.price-display .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.price-display .currency-code {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    margin-left: 0.25rem;
}

.price .period {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.price-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.custom-price-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Selector de divisa */
.currency-selector {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-currency {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.btn-currency:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-currency:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-currency i {
    font-size: 1.1rem;
}

/* Modal de Moneda */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-xl);
    max-width: 100%;
    margin: 1rem;
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-content {
        border-radius: 15px;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .currency-option {
        padding: 1rem;
    }
    
    .btn-currency {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .currency-selector {
        width: 100%;
        padding: 0 1rem;
    }
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.modal-body {
    padding: 1.5rem;
}

.currency-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.currency-option {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.currency-option:hover {
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
    transform: translateX(5px);
}

.currency-option:active {
    transform: translateX(3px) scale(0.98);
}

.currency-option.active {
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.1);
}

.currency-flag {
    font-size: 2rem;
    margin-right: 1rem;
    width: 50px;
    text-align: center;
}

.currency-info {
    flex: 1;
}

.currency-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.currency-code {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.check-icon {
    color: var(--primary-blue);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.currency-option.active .check-icon {
    opacity: 1;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    min-height: 300px;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: var(--accent-turquoise);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.pricing-card .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   ¿POR QUÉ NOSOTROS?
   ============================================ */
.why-section {
    background: var(--light-bg);
}

.why-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.why-card:hover::before {
    opacity: 0.05;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.3);
}

.why-card > * {
    position: relative;
    z-index: 1;
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.why-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   CÓMO FUNCIONA
   ============================================ */
.how-section {
    background: var(--white);
}

.step-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.3);
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.step-card:hover .step-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.step-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonials-section {
    background: var(--light-bg);
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: rgba(37, 99, 235, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: 700;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.3);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-section {
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 5rem 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-cta-large {
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 30px;
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    transition: all 0.3s ease;
}

.btn-cta-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-bg);
    color: var(--white);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-turquoise);
    transform: translateX(5px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-legal:hover {
    color: var(--accent-turquoise);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-12px);
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-image {
        height: 300px;
        margin-top: 2rem;
    }
    
    .floating-card {
        width: 280px;
        height: 280px;
    }
    
    .floating-card i {
        font-size: 6rem;
    }
    
    .float-element {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .price-display .amount {
        font-size: 2.25rem;
    }
    
    .price-display .currency {
        font-size: 1.25rem;
    }
    
    .price-display .currency-code {
        font-size: 0.875rem;
    }
    
    .custom-price-text {
        font-size: 1.5rem;
    }
    
    .btn-currency {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
}

/* ============================================
   UTILIDADES
   ============================================ */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Animación de entrada para elementos al hacer scroll */
.fade-in-up {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

