/* ================================================================
   LANDING PAGE - PUNTOVENTAMX
   Sistema de Punto de Venta Profesional
   ================================================================ */

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #6366f1;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --gray: #64748b;
    --light: #f8fafc;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar-landing {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-landing.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand-landing {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
}

.navbar-brand-landing img {
    height: 40px;
    margin-right: 10px;
}

.navbar-brand-landing svg {
    height: 35px;
    width: 35px;
    fill: var(--primary);
    margin-right: 10px;
}

/* Logo animado estilo login */
.logo-cart-animated {
    display: inline-flex;
    align-items: center;
    animation: cartBounce 3s ease-in-out infinite;
}

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

.nav-link-landing {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link-landing:hover {
    color: var(--primary) !important;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--primary);
    color: white;
}

.btn-demo {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
    color: white;
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-highlight-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-dark);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.hero-highlight-item i {
    font-size: 1rem;
}

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

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
    color: white;
}

.btn-hero-secondary {
    background: white;
    border: 2px solid var(--dark);
    color: var(--dark);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: var(--dark);
    color: white;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* Dashboard Mockup SVG */
.dashboard-mockup {
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease;
}

.dashboard-mockup:hover {
    transform: scale(1.02);
}

.dashboard-svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-badge {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-badge-1 {
    top: 10%;
    right: -20px;
}

.hero-badge-2 {
    bottom: 20%;
    left: -30px;
}

.hero-badge i {
    font-size: 2rem;
}

.hero-badge-text strong {
    display: block;
    font-size: 1.25rem;
}

.hero-badge-text small {
    color: var(--gray);
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: var(--dark);
    padding: 3rem 0;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 6rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-icon.blue {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
}

.feature-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.feature-icon.purple {
    background: rgba(99, 102, 241, 0.1);
    color: var(--secondary);
}

.feature-icon.orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.testimonial-stars {
    color: var(--warning);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-info strong {
    display: block;
    color: var(--dark);
}

.testimonial-info small {
    color: var(--gray);
}

/* ========== PRICING SECTION ========== */
.pricing-section {
    padding: 6rem 0;
    background: white;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pricing-toggle span {
    font-weight: 500;
    color: var(--gray);
}

.pricing-toggle span.active {
    color: var(--dark);
}

.pricing-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    height: 100%;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-description {
    color: var(--gray);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--success);
}

.pricing-features li.disabled {
    color: var(--gray);
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: var(--gray);
}

.btn-pricing {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-cta {
    background: white;
    color: var(--primary);
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    color: var(--primary-dark);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

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

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

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

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

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

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 3rem;
    }

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

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-highlights {
        gap: 0.4rem;
    }

    .hero-highlight-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

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

    .hero-badge {
        display: none;
    }

    .stat-item {
        margin-bottom: 1.5rem;
    }
}

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}
