/* =====================================================
   WHATBOTI - ESTILOS CSS
   ===================================================== */

/* =====================================================
   1. VARIABLES CSS
   ===================================================== */
:root {
    --whatsapp-green: #25d366;
    --whatsapp-dark: #075e54;
    --whatsapp-light: #dcf8c6;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --bg-subtle: #fafbfc;
    --border-light: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    --gradient-dark: linear-gradient(135deg, #075e54 0%, #064e47 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* =====================================================
   2. RESET Y BASE
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: #ffffff;
}

/* =====================================================
   3. TIPOGRAFÍA
   ===================================================== */
.display-1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.display-2 {
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.6;
    color: var(--text-secondary);
}

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

/* =====================================================
   4. NAVEGACIÓN
   ===================================================== */
   
   

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-image {
    height: 48px;
    width: auto;
    display: block;
}

/* Ajuste responsive */
@media (max-width: 768px) {
    .logo-image {
        height: 28px;
    }
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--whatsapp-green);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* =====================================================
   5. UTILIDADES
   ===================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none !important;
}

.hero-visual-mobile {
    display: none;
}

/* =====================================================
   6. HERO SECTION
   ===================================================== */
.hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

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

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

.hero-text {
    animation: fadeInUp 0.8s ease;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--whatsapp-light);
    color: var(--whatsapp-dark);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-description {
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--whatsapp-green);
}

.btn-white {
    background: white;
    color: var(--whatsapp-green);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-white:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--whatsapp-green);
    display: block;
}

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

/* Hero Visual - Desktop */
.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-visual .hero-badge {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    white-space: nowrap;
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { 
        transform: translateX(-50%) translateY(0);
    }
    50% { 
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =====================================================
   7. PHONE MOCKUP
   ===================================================== */
.phone-mockup {
    background: var(--gradient-dark);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 380px;
    margin: 0 auto;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.phone-screen {
    background: #e5ddd5;
    border-radius: 24px;
    padding: 1rem;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.whatsapp-header {
    background: var(--whatsapp-dark);
    margin: -1rem -1rem 1rem -1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.chat-info h4 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.chat-info span {
    font-size: 0.75rem;
    opacity: 0.9;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 0.5rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    position: relative;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-customer {
    background: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.message-bot {
    background: var(--whatsapp-light);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    animation-delay: 1s;
    animation-fill-mode: both;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 0.25rem;
    text-align: right;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 1rem;
    background: var(--whatsapp-light);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    animation: slideIn 0.5s ease 1.5s both;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: scale(1); opacity: 0.5; }
    30% { transform: scale(1.2); opacity: 1; }
}

/* =====================================================
   8. FEATURES SECTION
   ===================================================== */
.features {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(18, 140, 126, 0.1) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--whatsapp-green);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =====================================================
   9. HOW IT WORKS
   ===================================================== */
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-subtle);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--whatsapp-green);
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--whatsapp-green) 0%, var(--whatsapp-green) 50%, transparent 50%);
    background-size: 10px 2px;
    z-index: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    max-width: 300px;
    margin: 0 auto;
}

/* =====================================================
   10. PRICING
   ===================================================== */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--whatsapp-green);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
}

.pricing-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.plan-price-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.plan-features {
    list-style: none;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-light);
    margin-top: 1rem;
    text-align: left;
}

.plan-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.plan-features i {
    color: var(--whatsapp-green);
    font-size: 1rem;
    flex-shrink: 0;
}

/* =====================================================
   11. CTA SECTION
   ===================================================== */
.cta {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='10' cy='10' r='1' fill='white' opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23grid)'/%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* =====================================================
   12. FOOTER
   ===================================================== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--whatsapp-green);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.footer-tagline {
    color: #9ca3af;
    font-size: 1rem;
    margin: 0;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--whatsapp-green);
}

.footer-links i {
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--whatsapp-green);
    transform: translateY(-2px);
}

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

.footer-legal {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal .separator {
    color: #6b7280;
    margin: 0 0.5rem;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-copyright p {
    margin: 0;
}

.footer-green {
    color: var(--whatsapp-green);
    font-weight: 500;
}

/* =====================================================
   13. ANIMACIONES
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

/* =====================================================
   14. RESPONSIVE - TABLET
   ===================================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    /* Mostrar badge móvil y ocultar el de desktop desde tablet */
    .mobile-only {
        display: inline-flex !important;
    }
    
    .hero-visual .hero-badge {
        display: none !important;
    }

    .step:not(:last-child)::after {
        display: none;
    }

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

/* =====================================================
   15. RESPONSIVE - MÓVIL
   ===================================================== */
@media (max-width: 768px) {
    /* Navegación móvil */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hero móvil */
    .hero {
        padding: 8rem 0 3rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Ocultar elementos desktop y mostrar móvil */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: inline-flex !important;
    }
    
    /* Mostrar mockup móvil */
    .hero-visual-mobile {
        display: block;
        margin: 2rem 0;
    }
    
    .hero-visual-mobile .phone-mockup {
        max-width: 340px;
    }
    
    /* Features - Centrar iconos en móvil */
    .feature-card {
        text-align: center;
    }
    
    .feature-icon-wrapper {
        margin-left: auto;
        margin-right: auto;
    }

    /* Grid ajustes */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Footer móvil */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* =====================================================
   16. RESPONSIVE - MÓVILES PEQUEÑOS
   ===================================================== */
@media (max-width: 480px) {
    .hero {
        padding: 7rem 0 3rem;
    }

    .container {
        padding: 0 1rem;
    }

    .display-1 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-visual-mobile .phone-mockup {
        max-width: 280px;
        padding: 8px;
    }

    .hero-visual-mobile .phone-screen {
        min-height: 400px;
        padding: 0.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Ajustes de secciones */
    .features,
    .how-it-works,
    .pricing {
        padding: 3rem 0;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .cta {
        padding: 4rem 0;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    /* Footer ajustes finales */
    .footer {
        padding: 2rem 0 1rem;
    }
}

/* =====================================================
   17. RESPONSIVE - ULTRA PEQUEÑOS
   ===================================================== */
@media (max-width: 360px) {
    .hero {
        padding: 6.5rem 0 2.5rem;
    }

    .hero-visual-mobile .phone-mockup {
        max-width: 240px;
    }

    .display-1 {
        font-size: 2rem;
    }
}

.plan-price-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.plan-description {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.badge-popular {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.pricing-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.pricing-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #25d366;
    font-size: 0.9rem;
}

.benefit-item i {
    font-size: 1.2rem;
}


   @media (max-width: 768px) {
        .navbar {
            padding: 1rem 0;
        }
    }
    

.feature-disabled i {
    color: #dc3545;
}

.feature-disabled span {
    color: #999;
}

.tooltip-icon {
    font-size: 0.75rem;
    color: #999;
    cursor: help;
    margin-left: 4px;
}

.tooltip-icon:hover {
    color: #25D366;
}