/* Reset y Variables */
:root {
    --primary: #818cf8;
    --primary-dark: #6366f1;
    --secondary: #f472b6;
    --accent: #34d399;
    --whatsapp: #25D366;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-light: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(129, 140, 248, 0.15), transparent 70%),
                radial-gradient(ellipse at bottom right, rgba(244, 114, 182, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    font-size: 4rem;
    opacity: 0.25;
    filter: drop-shadow(0 0 20px rgba(129, 140, 248, 0.5));
    animation: float 6s ease-in-out infinite;
}

.card-1 { top: 10%; left: 10%; animation-delay: 0s; }
.card-2 { top: 20%; right: 15%; animation-delay: 1s; }
.card-3 { top: 50%; left: 5%; animation-delay: 2s; }
.card-4 { bottom: 30%; right: 10%; animation-delay: 3s; }
.card-5 { bottom: 20%; left: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s, border-color 0.3s;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(129, 140, 248, 0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8fbffa;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo .dot {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, background 0.3s;
}

.nav-item:hover {
    color: var(--primary);
    background: rgba(129, 140, 248, 0.2);
}

.nav-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.btn-nav {
    background: rgba(129, 140, 248, 0.15);
    padding: 10px 25px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(129, 140, 248, 0.3);
}

.btn-nav:hover {
    background: rgba(129, 140, 248, 0.25);
    border-color: rgba(129, 140, 248, 0.5);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.hero-slogan {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-slogan-text {
    background: linear-gradient(45deg, #8fbffa, #64b5f6, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s linear infinite;
    display: inline-block;
}

.hero-slogan-container {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slogan .highlight-click {
    background: linear-gradient(45deg, #8fbffa, #64b5f6, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s linear infinite;
    display: inline-block;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-title {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--whatsapp);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Pulse Animation */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(129, 140, 248, 0.3);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Sharing Section */
.sharing {
    padding: 100px 0;
    background: var(--bg-light);
}

.sharing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sharing-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sharing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(129, 140, 248, 0.3);
}

.sharing-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sharing-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sharing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.sharing-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.link-example {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s, border-color 0.3s;
    word-break: break-all;
}

.link-example:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.qr-example {
    display: block;
    margin: 15px auto 0;
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid rgba(129, 140, 248, 0.3);
}

/* QR Generator Section */
.qr-generator {
    padding: 80px 0;
    background: var(--bg-dark);
    position: relative;
}

.qr-generator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(37, 211, 102, 0.08), transparent 60%);
    pointer-events: none;
}

.generator-content {
    text-align: center;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.generator-content .section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.generator-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.2rem;
}

.btn-qr-generator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.btn-qr-generator:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
}

.qr-link-icon {
    width: 24px;
    height: 24px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(129, 140, 248, 0.12), transparent 60%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.cta-contact-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--whatsapp);
    color: white;
    padding: 22px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cta-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(37, 211, 102, 0.6);
}

/* Footer */
.footer {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-delay {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out 0.3s;
}

.slide-in-delay.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 0.2s;
}

.fade-up-delay-1.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-2 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 0.4s;
}

.fade-up-delay-2.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-3 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 0.6s;
}

.fade-up-delay-3.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-4 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 0.8s;
}

.fade-up-delay-4.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-5 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 1s;
}

.fade-up-delay-5.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-6 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 1.2s;
}

.fade-up-delay-6.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-7 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out 1.4s;
}

.fade-up-delay-7.visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-item span {
        display: none;
    }
    
    .nav-item {
        padding: 12px;
    }
    
    .btn-nav {
        padding: 12px;
    }
    
    .nav-icon {
        width: 24px;
        height: 24px;
    }
    
    .hero-slogan {
        font-size: 2.2rem;
    }

    .hero-slogan-container {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-cta {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .btn-cta-large {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }

    .sharing-card {
        padding: 30px 20px;
    }

    .sharing-icon {
        width: 48px;
        height: 48px;
    }

    .qr-example {
        width: 100px;
        height: 100px;
    }

    .generator-content .section-title {
        font-size: 1.6rem;
    }

    .features-grid {
        gap: 12px;
    }

    .feature-item {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .btn-qr-generator {
        padding: 14px 25px;
        font-size: 1rem;
    }

    .cta-contact-label {
        margin-bottom: 20px;
    }

    .btn-cta-large {
        padding: 18px 35px;
        font-size: 1.1rem;
    }

    .benefit-item {
        padding-left: 60px;
    }

    .benefit-number {
        font-size: 2rem;
    }
}
