/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --accent: #0A84FF;
    --border: rgba(255, 255, 255, 0.1);
    --spacing-base: 8px;
    --radius: 16px;
    --radius-large: 24px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

/* Mejorar scroll suave */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: 'Baloo Bhaijaan 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-weight: 500;
}

/* Typography */
h1 {
    font-family: 'Baloo Bhaijaan 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h2 {
    font-family: 'Baloo Bhaijaan 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-family: 'Baloo Bhaijaan 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Responsive Typography */
@media (min-width: 640px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-base) * 2);
}

@media (min-width: 640px) {
    .container {
        padding: 0 calc(var(--spacing-base) * 3);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 calc(var(--spacing-base) * 4);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-base) * 1.25) calc(var(--spacing-base) * 3);
    border: none;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .btn {
        padding: calc(var(--spacing-base) * 1.5) calc(var(--spacing-base) * 4);
        font-size: 1rem;
    }
}

.btn-primary {
    background: #A3FFFE;
    color: #000000;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #8FFFFE;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(163, 255, 254, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #A3FFFE;
    border: 2px solid #A3FFFE;
}

.btn-secondary:hover {
    background: #A3FFFE;
    color: #000000;
}

/* Header */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(var(--spacing-base) * 8);
    position: relative;
}

@media (min-width: 640px) {
    .header-content {
        height: calc(var(--spacing-base) * 9);
    }
}

@media (min-width: 768px) {
    .header-content {
        height: calc(var(--spacing-base) * 10);
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 102;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .logo-img {
        height: 70px;
    }
}

@media (min-width: 768px) {
    .logo-img {
        height: 85px;
    }
}

.logo:hover .logo-img {
    filter: brightness(1.1);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: calc(var(--spacing-base) * 2);
    align-items: center;
}

.btn-whatsapp-panama {
    background: #A3FFFE;
    color: #000000;
    padding: calc(var(--spacing-base) * 2) calc(var(--spacing-base) * 4);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-base) * 1);
}

.btn-whatsapp-panama:hover {
    background: #8FFFFE;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 255, 254, 0.4);
}

.btn-whatsapp-espana {
    background: #A3FFFE;
    color: #000000;
    padding: calc(var(--spacing-base) * 2) calc(var(--spacing-base) * 4);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-base) * 1);
}

.btn-whatsapp-espana:hover {
    background: #8FFFFE;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 255, 254, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav {
    display: flex;
    gap: calc(var(--spacing-base) * 5);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #A3FFFE;
}

/* Hero */
.hero {
    padding: calc(var(--spacing-base) * 6) 0 calc(var(--spacing-base) * 8);
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.5) 0%, rgba(124, 58, 237, 0.4) 30%, rgba(0, 0, 0, 0.2) 70%, var(--bg-primary) 100%);
    position: relative;
}

@media (min-width: 640px) {
    .hero {
        padding: calc(var(--spacing-base) * 8) 0 calc(var(--spacing-base) * 12);
    }
}

@media (min-width: 768px) {
    .hero {
        padding: calc(var(--spacing-base) * 10) 0 calc(var(--spacing-base) * 15);
    }
}

.hero-content {
    display: grid;
    gap: calc(var(--spacing-base) * 4);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-content {
        gap: calc(var(--spacing-base) * 6);
    }
}

@media (min-width: 768px) {
    .hero-content {
        gap: calc(var(--spacing-base) * 8);
    }
}

.hero-image {
    order: -1;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (min-width: 640px) {
    .hero-image img {
        height: 250px;
    }
}

@media (min-width: 768px) {
    .hero-image img {
        height: 300px;
    }
}

@media (min-width: 1024px) {
    .hero-image img {
        height: 400px;
    }
}

.hero-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: calc(var(--spacing-base) * 2);
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: calc(var(--spacing-base) * 3);
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-base) * 2);
}

.hero-note {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-base) * 4);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-base) * 2);
    align-items: center;
}

/* Promo Banner */
.promo-banner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: calc(var(--spacing-base) * 1) 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-content {
    text-align: center;
    animation: slideText 1.2s ease-out 1s both;
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    animation: scrollText 20s linear infinite;
}

.scrolling-text span {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    padding-right: calc(var(--spacing-base) * 8);
    flex-shrink: 0;
}

/* Animaciones */
@keyframes slideText {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
    }
}

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



/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-base) * 8);
}

/* How It Works */
.how-it-works {
    padding: calc(var(--spacing-base) * 10) 0;
}

.steps {
    display: grid;
    gap: calc(var(--spacing-base) * 8);
}

.step {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.step-visual {
    position: relative;
    margin-bottom: calc(var(--spacing-base) * 4);
}

.step-visual img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: calc(var(--spacing-base) * 2);
    left: calc(var(--spacing-base) * 2);
    width: calc(var(--spacing-base) * 6);
    height: calc(var(--spacing-base) * 6);
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.125rem;
    box-shadow: var(--shadow-sm);
}

.step h3 {
    margin-bottom: calc(var(--spacing-base) * 2);
}

.step p {
    color: var(--text-secondary);
}

/* Partículas flotantes */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 50%;
    animation: float 8s infinite linear;
    opacity: 0.7;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Optimización móvil para partículas */
@media (max-width: 768px) {
    .particles-container {
        display: none; /* Desactivar en móvil para mejor rendimiento */
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .particle {
        width: 3px;
        height: 3px;
        opacity: 0.5;
    }
    
    .particle:nth-child(n+6) {
        display: none; /* Reducir número de partículas en tablets */
    }
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 10s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; animation-duration: 11s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; animation-duration: 13s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 9s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; animation-duration: 15s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; animation-duration: 12s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; animation-duration: 10s; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; animation-duration: 11s; }

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Efecto de typing */
.typing-text {
    overflow: hidden;
    border-right: 3px solid #FFD700;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
    animation-delay: 1s;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #FFD700; }
}

/* Optimización móvil para typing */
@media (max-width: 768px) {
    .typing-text {
        border-right: 2px solid #FFD700;
        animation: typing-mobile 2.5s steps(35, end), blink-caret 0.75s step-end infinite;
        animation-delay: 0.5s;
    }
    
    @keyframes typing-mobile {
        from { width: 0; }
        to { width: 100%; }
    }
}

@media (max-width: 480px) {
    .typing-text {
        white-space: normal;
        border-right: none;
        animation: none;
    }
}

/* Estadísticas animadas */
.animated-stats {
    padding: calc(var(--spacing-base) * 8) 0;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.animated-stats h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-base) * 4);
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-base) * 3);
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: calc(var(--spacing-base) * 3);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #A3FFFE;
    margin-bottom: calc(var(--spacing-base) * 1);
    text-shadow: 0 0 20px rgba(163, 255, 254, 0.5);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-base) * 2);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .animated-stats h2 {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: calc(var(--spacing-base) * 2);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-base) * 1.5);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .animated-stats h2 {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .animated-stats {
        padding: calc(var(--spacing-base) * 6) 0;
    }
}

/* Efecto Parallax */
.parallax-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
}

.parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Optimización móvil para parallax */
@media (max-width: 768px) {
    .parallax-img {
        transition: none; /* Desactivar parallax en móvil para mejor rendimiento */
        will-change: auto;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .parallax-img {
        transition: transform 0.2s ease-out; /* Reducir intensidad en tablets */
    }
}

/* Banner de tecnologías */
.tech-banner {
    padding: calc(var(--spacing-base) * 8) 0;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-banner h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-base) * 4);
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 600;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: calc(var(--spacing-base) * 3);
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(var(--spacing-base) * 3);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 
        0 20px 40px rgba(255, 215, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: calc(var(--spacing-base) * 1);
    transition: all 0.3s ease;
    filter: grayscale(0.3);
}

.tech-item:hover .tech-icon {
    transform: scale(1.2) rotate(10deg);
    filter: grayscale(0);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.tech-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-name {
    color: #A3FFFE;
    text-shadow: 0 0 10px rgba(163, 255, 254, 0.5);
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-base) * 2);
    }
    
    .tech-item {
        padding: calc(var(--spacing-base) * 2);
    }
    
    .tech-icon {
        font-size: 2.5rem;
    }
    
    .tech-banner h2 {
        font-size: 2rem;
    }
    
    .tech-item:hover {
        transform: translateY(-5px) scale(1.02); /* Reducir efecto hover en móvil */
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-base) * 1.5);
    }
    
    .tech-item {
        padding: calc(var(--spacing-base) * 1.5);
    }
    
    .tech-icon {
        font-size: 2rem;
    }
    
    .tech-name {
        font-size: 0.9rem;
    }
    
    .tech-banner h2 {
        font-size: 1.8rem;
    }
    
    .tech-banner {
        padding: calc(var(--spacing-base) * 6) 0;
    }
    
    .tech-item:hover {
        transform: none; /* Desactivar hover en móviles pequeños */
    }
}

/* Testimonials 3D */
.testimonials-3d {
    padding: calc(var(--spacing-base) * 8) 0;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonials-3d-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    perspective: 1000px;
}

.testimonials-3d-track {
    position: relative;
    height: 300px;
    transform-style: preserve-3d;
}

.testimonial-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: rotateY(90deg) translateZ(200px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.testimonial-3d.active {
    opacity: 1;
    transform: rotateY(0deg) translateZ(0px);
}

.testimonial-3d.prev {
    transform: rotateY(-90deg) translateZ(-200px);
}

.testimonial-3d.next {
    transform: rotateY(90deg) translateZ(200px);
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: calc(var(--spacing-base) * 4);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-3d.active .testimonial-content {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 20px 40px rgba(255, 215, 0, 0.2),
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.testimonial-content blockquote {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: calc(var(--spacing-base) * 2);
    font-style: italic;
    position: relative;
}

.testimonial-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #FFD700;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-content cite {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
}

.testimonials-3d-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(var(--spacing-base) * 2);
    margin-top: calc(var(--spacing-base) * 4);
}

.testimonial-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    color: #FFD700;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: calc(var(--spacing-base) * 1);
}

.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: #A3FFFE;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(163, 255, 254, 0.5);
}

.dot:hover {
    background: rgba(163, 255, 254, 0.7);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .testimonials-3d-track {
        height: 250px;
    }
    
    .testimonial-content {
        padding: calc(var(--spacing-base) * 3);
    }
    
    .testimonial-content blockquote {
        font-size: 1.1rem;
    }
    
    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .testimonials-3d-container {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .testimonials-3d-track {
        height: 200px;
    }
    
    .testimonial-content {
        padding: calc(var(--spacing-base) * 2);
    }
    
    .testimonial-content blockquote {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .testimonial-content blockquote::before {
        font-size: 3rem;
        top: -15px;
        left: -5px;
    }
    
    .testimonial-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .testimonials-3d {
        padding: calc(var(--spacing-base) * 6) 0;
    }
    
    .testimonials-3d-container {
        max-width: 95%;
    }
}

/* Navegación móvil */
@media (max-width: 768px) {
    .logo-img {
        height: 65px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: calc(var(--spacing-base) * 4);
        transition: left 0.3s ease;
        z-index: 100;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        color: var(--text-primary);
        padding: calc(var(--spacing-base) * 2);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(163, 255, 254, 0.1);
        color: #A3FFFE;
    }
    
    .mobile-whatsapp-buttons {
        display: flex;
        flex-direction: column;
        gap: calc(var(--spacing-base) * 2);
        margin-top: calc(var(--spacing-base) * 3);
        width: 100%;
        max-width: 300px;
    }
    
    .mobile-whatsapp-buttons .btn {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: calc(var(--spacing-base) * 2) calc(var(--spacing-base) * 3);
        border-radius: 50px;
    }
}

/* Ocultar botones de WhatsApp en desktop */
@media (min-width: 769px) {
    .mobile-whatsapp-buttons {
        display: none;
    }
    
    .header-buttons {
        display: flex;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 55px;
    }
    
    .nav-link {
        font-size: 1.3rem;
    }
}

/* Trust Badges */
.trust-badges {
    padding: calc(var(--spacing-base) * 12) 0;
    background: linear-gradient(180deg, 
        var(--bg-primary) 0%, 
        rgba(0, 0, 0, 0.9) 20%, 
        rgba(0, 0, 0, 0.7) 30%, 
        rgba(30, 58, 138, 0.3) 45%, 
        rgba(124, 58, 237, 0.3) 55%, 
        rgba(0, 0, 0, 0.7) 70%, 
        rgba(0, 0, 0, 0.9) 80%, 
        var(--bg-primary) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.trust-badges::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 58, 138, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    z-index: 1;
}

.trust-badges::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 50%, rgba(30, 58, 138, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 75% 50%, rgba(124, 58, 237, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 60px 60px, 35px 35px;
    background-position: 0 0, 25px 25px, 12px 12px;
    opacity: 0.7;
    z-index: 2;
}

.trust-badges .container {
    position: relative;
    z-index: 3;
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-base) * 3);
    align-items: center;
    justify-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-base) * 2);
    padding: calc(var(--spacing-base) * 2) calc(var(--spacing-base) * 3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.trust-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trust-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Benefits */
.benefits {
    padding: calc(var(--spacing-base) * 10) 0;
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    gap: calc(var(--spacing-base) * 6);
}

.benefit {
    text-align: center;
    padding: calc(var(--spacing-base) * 4);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    margin-bottom: calc(var(--spacing-base) * 3);
    color: var(--accent);
}

.benefit h3 {
    margin-bottom: calc(var(--spacing-base) * 2);
}

.benefit p {
    color: var(--text-secondary);
}

/* Plans */
.plans {
    padding: calc(var(--spacing-base) * 10) 0;
}

.plans-grid {
    display: grid;
    gap: calc(var(--spacing-base) * 4);
    max-width: 800px;
    margin: 0 auto;
}

.plan-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: var(--radius-large);
    padding: calc(var(--spacing-base) * 5);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.plan-new-tag {
    position: absolute;
    top: -8px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000000;
    padding: calc(var(--spacing-base) * 1) calc(var(--spacing-base) * 3);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    z-index: 10;
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
}

.plan-image {
    margin-bottom: calc(var(--spacing-base) * 4);
    border-radius: var(--radius);
    overflow: hidden;
}

.plan-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.plan-card h3 {
    margin-bottom: calc(var(--spacing-base) * 3);
}

.price {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: calc(var(--spacing-base) * 3);
}

.price-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: calc(var(--spacing-base) * 1);
}

.features {
    list-style: none;
    margin-bottom: calc(var(--spacing-base) * 4);
}

.features li {
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-base) * 1);
}

.plan-btn {
    width: 100%;
    margin-bottom: calc(var(--spacing-base) * 2);
}

.plan-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials {
    padding: calc(var(--spacing-base) * 10) 0;
    background: var(--bg-secondary);
}

.testimonials-carousel {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    animation: slideTestimonials 20s linear infinite;
    gap: calc(var(--spacing-base) * 4);
}

.testimonial {
    text-align: center;
    padding: calc(var(--spacing-base) * 4);
    min-width: calc(33.333% - calc(var(--spacing-base) * 2.67));
    flex-shrink: 0;
}

.testimonial blockquote {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: calc(var(--spacing-base) * 3);
    font-style: italic;
}

.testimonial cite {
    color: var(--text-secondary);
    font-style: normal;
}

/* FAQ */
.faq {
    padding: calc(var(--spacing-base) * 10) 0;
}

.faq-container {
    max-width: 600px;
    margin: 0 auto;
}

.faq-item {
    border: 2px solid var(--border);
    border-radius: var(--radius-large);
    margin-bottom: calc(var(--spacing-base) * 2);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: calc(var(--spacing-base) * 3);
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-icon {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 calc(var(--spacing-base) * 3) calc(var(--spacing-base) * 3);
    color: var(--text-secondary);
}

/* CTA Final */
.cta-final {
    padding: calc(var(--spacing-base) * 10) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(0, 0, 0, 0.2) 30%, rgba(124, 58, 237, 0.4) 70%, rgba(30, 58, 138, 0.5) 100%);
    position: relative;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: calc(var(--spacing-base) * 4);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-base) * 2);
    align-items: center;
    justify-content: center;
}



/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: calc(var(--spacing-base) * 6) 0;
}

.footer-content {
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
}

/* Extra Small Screens */
@media (max-width: 375px) {
    .container {
        padding: 0 calc(var(--spacing-base) * 1.5);
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .btn {
        padding: calc(var(--spacing-base) * 1) calc(var(--spacing-base) * 2.5);
        font-size: 0.8rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .header-content {
        height: calc(var(--spacing-base) * 7);
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: row;
        gap: calc(var(--spacing-base) * 3);
        justify-content: center;
    }
    
    .hero-image img {
        height: 400px;
    }
    
    .testimonial {
        min-width: calc(50% - calc(var(--spacing-base) * 2));
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .nav {
        display: flex;
    }
    
    .hero {
        padding: calc(var(--spacing-base) * 15) 0 calc(var(--spacing-base) * 20);
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: calc(var(--spacing-base) * 12);
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: calc(var(--spacing-base) * 12);
    }
    
    .trust-content {
        grid-template-columns: repeat(4, 1fr);
        gap: calc(var(--spacing-base) * 4);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-base) * 6);
    }
    
    .testimonial {
        min-width: calc(33.333% - calc(var(--spacing-base) * 2.67));
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .container {
        padding: 0 calc(var(--spacing-base) * 4);
    }
}

@media (min-width: 1440px) {
    .container {
        padding: 0 calc(var(--spacing-base) * 6);
    }
}