/* ==========================================================================
   SCOOTER MÉXICO - PROFESSIONAL E-COMMERCE DESIGN
   Enhanced with Real Products, Credit System, and Trust Elements
   ========================================================================== */

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

:root {
    /* Professional Color Palette */
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #0f4c81;
    --color-accent-hover: #1a5c96;
    --color-success: #27ae60;
    --color-warning: #f39c12;
    --color-white: #FFFFFF;
    --color-gray-50: #f8f9fa;
    --color-gray-100: #e9ecef;
    --color-gray-200: #dee2e6;
    --color-gray-700: #495057;
    --color-gray-900: #212529;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-700);
    background: var(--color-gray-50);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-xl);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color-white);
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--color-success);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--color-success);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: #229954;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Trust Section */
.trust-section {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    padding: 1.5rem;
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--color-gray-700);
    font-size: 0.95rem;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: var(--color-gray-50);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-gray-700);
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-warning);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.product-badge.best-seller {
    background: var(--color-success);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
    min-height: 2.5em;
}

.product-description {
    font-size: 0.85rem;
    color: var(--color-gray-700);
    line-height: 1.5;
    margin-bottom: 1rem;
    min-height: 4em;
}

.product-price-box {
    margin-bottom: 1rem;
    text-align: center;
}

.product-price-original {
    display: block;
    text-decoration: line-through;
    color: var(--color-gray-700);
    font-size: 1rem;
    opacity: 0.6;
}

.product-price {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    margin: 0.25rem 0;
}

.product-price-save {
    display: block;
    color: var(--color-success);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-buy {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Credit Calculator Section */
.credit-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 4rem 0;
}

.credit-section .section-title {
    color: white;
}

.credit-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.credit-calculator {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 700px;
    margin: 2rem auto 0;
    box-shadow: var(--shadow-xl);
}

.calc-input-group {
    margin-bottom: 1.5rem;
}

.calc-input-group label {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.calc-input-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-primary);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-input-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.credit-results {
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
}

.credit-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.credit-result-item:last-child {
    border-bottom: none;
}

.credit-result-item span {
    color: var(--color-gray-700);
    font-weight: 500;
}

.credit-result-item strong {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.credit-result-item.highlight {
    background: #fff3cd;
    margin: 0 -1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.credit-result-item.highlight-green {
    background: #d4edda;
    margin: 0 -1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.credit-result-item.highlight-green strong {
    color: var(--color-success);
    font-size: 1.5rem;
}

.btn-credit {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--color-success) 0%, #229954 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-credit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* How to Buy Section */
.how-to-buy {
    background: white;
    padding: 4rem 0;
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

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

.step p {
    color: var(--color-gray-700);
}

/* Payment Methods */
.payment-methods {
    margin-top: 2rem;
    text-align: center;
}

.payment-methods h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.payment-grid {
    display: flex;
    gap: 0.75rem;
    max-width: 320px;
    margin: 0 auto;
    justify-content: center;
}

.payment-card {
    background: var(--color-gray-50);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    flex: 1;
}

.payment-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.payment-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.payment-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.15rem;
}

.payment-card p {
    color: var(--color-gray-700);
    font-size: 0.7rem;
    line-height: 1.3;
}

/* Guarantee Section */
.guarantee-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.guarantee-box {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.guarantee-badge {
    display: inline-block;
    background: var(--color-success);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.guarantee-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.guarantee-text {
    font-size: 1.25rem;
    color: var(--color-gray-700);
    margin-bottom: 1rem;
}

.guarantee-text strong {
    color: var(--color-accent);
    font-weight: 700;
}

.guarantee-box p {
    color: var(--color-gray-700);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.security-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: var(--color-gray-50);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--color-gray-700);
    font-size: 0.95rem;
    border: 2px solid var(--color-gray-200);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

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

    .nav {
        gap: var(--spacing-sm);
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .credit-calculator {
        padding: 1.5rem;
    }

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

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .guarantee-box {
        padding: 2rem 1.5rem;
    }

    .guarantee-box h2 {
        font-size: 1.75rem;
    }
}