/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark: #1a202c;
    --gray: #718096;
    --light-gray: #f7fafc;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 32px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: var(--white);
    padding: 4px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #667eea;
}

.btn-login {
    background: var(--primary-gradient);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.cta-icon {
    font-size: 1.2rem;
    color: #fff;
    animation: rocket-launch 2s ease-in-out infinite;
}

@keyframes rocket-launch {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px) rotate(-5deg);
        opacity: 0.9;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: #667eea;
    border-color: #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-hero {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 18px 48px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.6);
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:active {
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #667eea;
    display: block;
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-family: 'Courier New', monospace;
    word-spacing: 0;
}

.stat-label {
    color: var(--gray);
    font-size: 0.875rem;
}

.hero-image {
    position: relative;
}

.screenshot-placeholder {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.screenshot-placeholder img {
    width: 130%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: -20px;
}

.card-2 {
    bottom: 20%;
    left: -20px;
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    font-weight: 600;
    color: var(--dark);
}

.card-text span {
    font-size: 0.875rem;
    color: var(--gray);
}

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

/* Trust Section */
.trust-section {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
}

.trust-text {
    text-align: center;
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: var(--gray);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

/* Screenshot Section */
.screenshot-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-box {
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.screenshot-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.screenshot-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.screenshot-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.screenshot-item p {
    color: var(--gray);
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: var(--white);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--gray);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s;
}

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

.pricing-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    width: 100%;
    justify-content: center;
}

.ai-badge svg {
    width: 20px;
    height: 20px;
    color: #ffd700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
}

.amount {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1.25rem;
    color: var(--gray);
}

.price-description {
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--gray);
}

.pricing-card .btn {
    width: 100%;
}

.pricing-guarantee {
    text-align: center;
    background: rgba(102, 126, 234, 0.1);
    padding: 20px;
    border-radius: 12px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary-gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: #667eea;
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-note {
    font-size: 0.9375rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.faq-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--gray);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .hero-content,
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid,
    .screenshots-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    position: relative;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.modal-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Form Styles */
.registro-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #cbd5e0;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 10px;
}

/* Success Message */
.registro-exito {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exito-icon {
    font-size: 3rem;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.registro-exito h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.registro-exito p {
    color: var(--gray);
    font-size: 0.95rem;
}

.credenciales {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    text-align: left;
}

.credencial-item {
    margin-bottom: 16px;
}

.credencial-item:last-child {
    margin-bottom: 0;
}

.credencial-item label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.credencial-valor {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--dark);
    word-break: break-all;
}

.btn-copiar {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.btn-copiar:hover {
    transform: scale(1.2);
}

.btn-copiar.copiado {
    animation: pulse-copy 0.3s ease;
}

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

/* Select Styles */
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group select:hover {
    border-color: #667eea;
}

.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group select option {
    padding: 10px;
    background-color: var(--white);
    color: var(--dark);
}

/* Demo Info Badge */
.demo-info {
    margin: 15px 0;
}

.demo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    color: #856404;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #ffc107;
    margin: 0;
}

/* Credenciales Label */
.credenciales-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
    margin: 10px 0 15px 0;
}

/* Email Reminder Box */
.email-reminder {
    background: #f0f4ff;
    border: 1px solid #e0e7ff;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    text-align: left;
}

.email-reminder p {
    color: #667eea;
    font-size: 0.9rem;
    margin: 8px 0;
    font-weight: 500;
}

.email-reminder p:first-child {
    margin-top: 0;
}

.email-reminder ul {
    list-style: none;
    margin: 10px 0;
    padding: 0;
}

.email-reminder li {
    color: #667eea;
    font-size: 0.9rem;
    margin: 6px 0;
    padding-left: 20px;
    position: relative;
}

.email-reminder li:before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.spam-warning {
    background: #fff3cd;
    color: #856404;
    padding: 10px 12px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Email Display */
.email-display {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #667eea;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #667eea;
    margin: 12px 0;
    word-break: break-all;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .credenciales {
        padding: 15px;
    }
}
