/* Reset y variables */
:root {
    --primary-color: #2B4C7E;    /* Azul principal */
    --secondary-color: #567EBB;  /* Azul más claro */
    --accent-color: #88A9DD;     /* Azul acento */
    --text-color: #1A2C4A;       /* Azul oscuro para texto */
    --light-bg: #F5F7FA;        /* Fondo claro */
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #2B4C7E, #567EBB);
    --gradient-accent: linear-gradient(45deg, #88A9DD, #567EBB);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Header & Navigation */
header {
    padding: 1rem 0;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(43, 76, 126, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
}

.brand-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    margin-right: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #2B4C7E 0%, #567EBB 100%);
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.hero .highlight {
    display: block;
    color: #FFD700;
    font-size: 3.5rem;
}

.hero .subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.qr-cards-replaced {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
    max-width: 500px;
}

.hero-graphics {
    flex: 1;
    max-width: 500px;
    position: relative;
    perspective: 1000px;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

/* Media queries */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        display: contents;
    }

    .hero h1 {
        order: 1;
        margin-bottom: 1rem;
        font-size: 2.8rem;
    }

    .hero .highlight {
        order: 2;
        font-size: 2.5rem;
        margin-top: 0.5rem;
    }

    .hero .subtitle {
        order: 3;
        margin-bottom: 2rem;
        font-size: 1.2rem;
    }

    .hero-graphics {
        order: 4;
        margin: 2rem auto;
        width: 100%;
        max-width: 400px;
    }

    .qr-cards-replaced {
        order: 5;
        margin: 2rem auto;
        width: 100%;
        max-width: 400px;
    }

    .cta-buttons {
        order: 6;
        margin-top: 0.5rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }

    .mockup-container {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .hero .highlight {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .replaced-item {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
}

/* Hero section */
.hero-image {
    position: relative;
}

.mockup {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--primary-color);
    background: var(--primary);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(43, 76, 126, 0.15);
    position: relative;
    overflow: hidden;
}

.mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

/* Mockup y Carrusel */
.mockup-container {
    position: relative;
    z-index: 2;
    transform: rotateY(-5deg) rotateX(3deg);
    transition: transform 0.5s ease;
    text-align: center;
    padding-bottom: 1rem;
    width: 100%;
}

.mockup-container:hover {
    transform: rotateY(-2deg) rotateX(1deg);
}

.screen-mockup {
    border-radius: 24px;
    padding: 0;
    aspect-ratio: 16/10;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    border: 12px solid #2A2A2A;
    margin-bottom: 0;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    background-color: #1E1E1E;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

@keyframes carouselFade {
    0% { opacity: 1; }
    40% { opacity: 1; }
    50% { opacity: 0; }
    90% { opacity: 0; }
    100% { opacity: 1; }
}

.carousel-slide {
    animation: carouselFade 8s infinite;
}

.carousel-slide:nth-child(1) { animation-delay: 0s; }
.carousel-slide:nth-child(2) { animation-delay: -4s; }

.screen-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.05) 0%,
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.05) 100%
    );
    pointer-events: none;
}

.screen-mockup::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 15%;
    height: 12px;
    background: #1A1A1A;
    border-radius: 0 0 8px 8px;
}

.screen-caption {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    opacity: 0.9;
}

.screen-caption span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-preview {
    background: #2A2A2A;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.carousel-item {
    background: #333;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.1rem;
}

.carousel-item:last-child {
    margin-bottom: 0;
}

.carousel-item:hover {
    background: #4A4A4A;
    transform: scale(1.02);
}

.touch-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.touch-indicator span {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.touch-indicator::before {
    content: '👆';
    font-size: 1.2rem;
    margin-right: 0.5rem;
    display: inline-block;
    animation: floatUpDown 2s infinite;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Botones CTA */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    background: #F8F9FA;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #2B4C7E;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2B4C7E;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Características Principales */
.primary-feature {
    background: white;
    border: 2px solid #764ba2;
}

.primary-feature .icon {
    color: #764ba2;
}

/* Características Secundarias */
.features-secondary {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.features-secondary h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #666;
}

.features-grid.secondary {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}

.secondary-feature {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.secondary-feature .icon {
    font-size: 2rem;
    opacity: 0.8;
}

.secondary-feature h3 {
    font-size: 1.3rem;
    color: #666;
}

/* Benefits Section */
.benefits {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.benefit {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefit h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.benefit p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .benefits {
        padding: 4rem 1.5rem;
    }
    
    .benefits h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .benefit {
        padding: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #2B4C7E 0%, #567EBB 100%);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    margin-bottom: 2.5rem;
}

.contact h2 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-emoji {
    font-size: 4rem;
    margin: 1.5rem 0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.contact-button {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(43, 76, 126, 0.3);
    border: 2px solid rgba(255,255,255,0.2);
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background: var(--secondary-color);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.button-content .fab.fa-whatsapp {
    font-size: 1.5rem;
}

.contact-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0.6;
}

.contact-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 15%;
}

@media (max-width: 768px) {
    .contact {
        padding: 6rem 1.5rem;
        min-height: 350px;
    }

    .contact h2 {
        font-size: 2.8rem;
    }

    .contact-emoji {
        font-size: 3rem;
    }

    .contact-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .button-content .fab.fa-whatsapp {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .contact h2 {
        font-size: 2.4rem;
    }

    .contact-emoji {
        font-size: 2.5rem;
    }

    .contact-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
    
    .button-content .fab.fa-whatsapp {
        font-size: 1.2rem;
    }
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.social-links a {
    color: var(--accent-color);
    text-decoration: none;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    margin-right: 1rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Media Queries */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 1024px) {
    .nav-brand .brand-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 320px) {
    .logo-container {
        width: 28px;
        height: 28px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

/* Estilos para el overlay del menú móvil */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Efectos modernos adicionales */
.feature-card, .case-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after, .case-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::after, .case-card:hover::after {
    transform: translateX(100%);
}

/* Animaciones suaves */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .case-card {
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.6s;
}

.button.secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.button.secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.brand-link {
    text-decoration: none;
    cursor: pointer;
}

.screen-specs {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.footer-link:hover {
    color: var(--accent-color);
    opacity: 1;
}

/* Pricing Section */
.pricing {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
}

.pricing h2 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(43, 76, 126, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(43, 76, 126, 0.2);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    color: #666;
    font-size: 1.1rem;
}

.savings {
    display: inline-block;
    background: rgba(43, 76, 126, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.pricing-features {
    margin: 2rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
}

.pricing-cta {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.pricing-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .pricing {
        padding: 4rem 1.5rem;
    }

    .pricing h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .pricing-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .pricing-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
        margin: 0;
        min-height: auto;
    }

    .pricing-card.popular {
        transform: none;
        margin: 1rem 0;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .pricing-header h3 {
        font-size: 1.8rem;
    }

    .amount {
        font-size: 2.2rem;
    }

    .period {
        font-size: 1rem;
    }

    .savings {
        font-size: 0.9rem;
        padding: 0.3rem 1rem;
        margin-top: 0.5rem;
    }

    .pricing-features {
        margin: 1.5rem 0;
    }

    .pricing-features p {
        font-size: 1rem;
        margin: 0.8rem 0;
    }

    .pricing-cta {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .pricing-container {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 2rem;
        gap: 1.5rem;
    }
}

.replaced-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transform: translateX(0);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.replaced-item::before {
    content: '✨';
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 0.2rem;
    animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.replaced-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Botones */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    gap: 0.5rem;
}

.button.primary {
    background: #FFD700;
    color: #2B4C7E;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

.button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background: #FFE44D;
    border-color: rgba(255, 255, 255, 0.3);
}

.button-icon {
    display: inline-block;
    animation: sparkleButton 2s infinite;
    font-size: 1.2rem;
}

@keyframes sparkleButton {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1;
    }
    50% { 
        transform: scale(1.2) rotate(15deg); 
        opacity: 0.8;
    }
}

.button.secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.button.secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Media queries */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        margin: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 6rem 1.5rem;
    }

    .features h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        max-width: 500px;
    }

    .feature-card {
        padding: 2rem;
        margin: 0;
        text-align: center;
    }

    .feature-card .icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.6rem;
    }

    .feature-card p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(43, 76, 126, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 1;
}

@media (max-width: 768px) {
    .popular-tag {
        top: -10px;
        right: 15px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .pricing-card.popular {
        transform: none;
        margin: 1rem 0;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
} 