* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4ECDC4;
    --secondary: #3498DB;
    --dark: #2C3E50;
    --dark-light: #34495E;
    --gray: #7F8C8D;
    --gray-light: #BDC3C7;
    --bg-light: #F8F9FA;
    --success: #27AE60;
    --warning: #FFD700;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: rgba(78, 205, 196, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 64px;
    min-height: 64px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-product {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.brand-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.brand-logotype {
    height: 120px;
    max-height: 120px;
    width: auto;
    object-fit: contain;
    transform: scale(1.25);
}

.nav {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav a {
    padding: 10px 18px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    background: rgba(78, 205, 196, 0.08);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

.btn-premium {
    background: linear-gradient(135deg, var(--warning), #FFA500);
    color: var(--dark);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%234ECDC4" fill-opacity="0.1" points="0,1000 1000,0 1000,1000"/></svg>');
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(78, 205, 196, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.trust-icon {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 540px;
}

.value-props {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.device-showcase {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.phone-device {
    width: 320px;
    height: 640px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 32px;
    padding: 48px 20px 20px;
    text-align: center;
    color: white;
}

.qr-container {
    background: white;
    width: 160px;
    height: 160px;
    margin: 32px auto 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
}

.float-badge {
    position: absolute;
    background: white;
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.float-badge:nth-child(1) {
    top: 10%;
    right: -40px;
}

.float-badge:nth-child(2) {
    bottom: 20%;
    left: -40px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 8px;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

/* Stats */
.stats {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(78, 205, 196, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    color: white;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 16px;
}

.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Timeline */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 24px;
    margin-bottom: 40px;
    align-items: center;
}

.timeline-marker {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 0 0 8px var(--white), 0 0 0 10px var(--primary);
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-content:last-child,
.timeline-item:nth-child(even) .timeline-content:first-child {
    visibility: hidden;
    opacity: 0;
}

.timeline-item:nth-child(odd) .timeline-content:first-child {
    text-align: right;
}

.timeline-step {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 15px;
    color: var(--gray);
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: #2C3E50;
    color: white;
}

.pricing .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-table-container {
    max-width: 1200px;
    margin: 60px auto 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table thead th {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 24px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.pricing-table thead th:last-child {
    border-right: none;
    background: linear-gradient(135deg, var(--warning), #FFA500);
    color: var(--dark);
}

.pricing-table thead th:first-child {
    text-align: left;
    background: var(--dark);
}

.pricing-table tbody td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--bg-light);
    border-right: 1px solid var(--bg-light);
    color: var(--dark);
}

.pricing-table tbody td:last-child {
    border-right: none;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody td:first-child {
    font-weight: 600;
    background: var(--bg-light);
    color: var(--dark);
}

.pricing-table tbody td:not(:first-child) {
    text-align: center;
}

.category-cell {
    background: var(--dark-light) !important;
    color: white !important;
    font-weight: 700;
    font-size: 18px;
    padding: 20px 24px !important;
}

.check-mark-table {
    display: inline-flex;
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

/* Testimonials Carousel */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.testimonials-container {
    overflow: hidden;
    margin-top: 60px;
}

.testimonials-track {
    display: flex;
    gap: 32px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    width: calc(33.333% - 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.stars {
    color: var(--warning);
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: transparent;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 40px;
}

.author-info h4 {
    font-size: 15px;
    font-weight: 600;
}

.author-info p {
    font-size: 13px;
    color: var(--gray);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
}

.indicator.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

/* Contact */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.info-content h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.info-content p {
    font-size: 15px;
    color: var(--gray);
}

.info-content a {
    color: var(--primary);
    text-decoration: none;
}

.contact-form {
    background: var(--bg-light);
    padding: 48px;
    border-radius: var(--radius-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 60% calc(40% - 24px);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: span 1;
}

.form-group label {
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.btn-submit {
    flex: 1;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.footer-desc {
    font-size: 15px;
    color: var(--gray-light);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(78, 205, 196, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray-light);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-table-container {
        overflow-x: auto;
    }

    .pricing-table {
        min-width: 800px;
    }

    .pricing-table thead th,
    .pricing-table tbody td {
        padding: 16px;
        font-size: 14px;
    }

    .testimonial-card {
        width: calc(50% - 16px);
    }

    .timeline::before {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        display: flex;
        flex-direction: column;
        padding-left: 60px;
        position: relative;
    }

    .timeline-marker {
        position: absolute;
        left: 0;
        top: 0;
        width: 40px;
        height: 40px;
        font-size: 16px;
        box-shadow: 0 0 0 4px var(--white);
    }

    .timeline-content {
        visibility: visible !important;
        opacity: 1 !important;
        text-align: left !important;
    }

    .timeline-content:empty {
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .nav {
        display: none;
    }

    .value-props,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .phone-device {
        width: 280px;
        height: 560px;
    }

    .brand-icon {
        width: 44px;
        height: 44px;
    }

    .brand-logotype {
        height: 80px;
        max-height: 80px;
        transform: scale(1);
    }

    .hero-cta,
    .form-actions {
        flex-direction: column;
    }

    .hero-cta .btn,
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .testimonial-card {
        width: 100%;
    }

    .testimonials-track {
        gap: 0;
    }

    .float-badge {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Tabla responsive mejorada para móviles */
    .pricing-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-table {
        min-width: 200px;
    }

    .pricing-table thead th {
        padding: 10px 6px;
        font-size: 10px;
        line-height: 1.0;
        white-space: normal;
        word-wrap: break-word;
    }

    .pricing-table tbody td {
        padding: 8px 6px;
        font-size: 9px;
        line-height: 1.0;
        word-wrap: break-word;
        white-space: normal;
        min-height: 40px;
    }

    .category-cell {
        font-size: 11px !important;
        padding: 10px 6px !important;
        line-height: 1.0;
    }

    .check-mark-table {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
}