﻿/* ==========================================
   RESET & BASE STYLES
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: #ffffff;
    color: #111827;
}

main {
    width: 100%;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ==========================================
   VARIABLES
========================================== */

:root {
    --primary: #1565FF;
    --primary-light: #2B7FFF;
    --primary-hover: #0E57E8;
    --dark: #050B1B;
    --dark2: #071128;
    --white: #FFFFFF;
    --gray: #9AA4B2;
    --light: #F8FAFC;
    --radius: 20px;
}

/* ==========================================
   HEADER / NAVBAR
========================================== */

.next-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 11, 27, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 999;
}

.next-container {
    max-width: 1440px;
    margin: auto;
    height: 65px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .logo-link img {
        height: 32px;
        width: auto;
    }

.main-menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

    .main-menu a {
        color: rgba(255, 255, 255, 0.9);
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
    }

        .main-menu a:hover {
            color: var(--primary-light);
        }

.menu-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-login {
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.3s;
}

    .btn-login:hover {
        opacity: 0.8;
    }

.btn-header {
    background: var(--primary);
    color: white;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(21, 101, 255, 0.3);
}

    .btn-header:hover {
        background: var(--primary-hover);
        transform: translateY(-1px);
    }

/* ==========================================
   HERO SECTION
========================================== */

.hero-section {
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 95px 8% 110px 8%;
    background: linear-gradient( 90deg, rgba(5, 11, 27, 0.98) 0%, rgba(5, 11, 27, 0.92) 35%, rgba(5, 11, 27, 0.60) 60%, rgba(5, 11, 27, 0.15) 100% ), url('/images/hero-bike.jpg');
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    max-width: 680px;
    z-index: 2;
}

.hero-badge {
    color: #2B7FFF;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-content h1 {
    color: white;
    font-size: 56px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

    .hero-content h1 span {
        color: var(--primary);
        display: inline;
    }

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(21, 101, 255, 0.4);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        background: var(--primary-hover);
    }

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    background: rgba(5, 11, 27, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

    .btn-secondary:hover {
        border-color: white;
        background: rgba(255, 255, 255, 0.1);
    }

/* ==========================================
   HERO STATS / FLOATING BAR
========================================== */

.hero-stats {
    max-width: 1400px;
    margin: -50px auto 80px;
    background: #060E21;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 26px 35px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    color: white;
    position: relative;
    z-index: 20;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

    .stat-box:last-child {
        border-right: none;
        padding-right: 0;
    }

    .stat-box i {
        font-size: 34px;
        color: #1565FF;
        flex-shrink: 0;
    }

    .stat-box strong {
        display: block;
        font-size: 16px;
        font-weight: 700;
        color: white;
        margin-bottom: 2px;
    }

    .stat-box span {
        color: #9AA4B2;
        font-size: 13px;
        font-weight: 500;
    }

/* ==========================================
   FEATURES SECTION
========================================== */

.features-section {
    max-width: 1400px;
    margin: auto;
    padding: 20px 40px 90px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid #F1F5F9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .feature-card .icon-wrapper {
        width: 50px;
        height: 50px;
        background: #EFF6FF;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
    }

    .feature-card i {
        font-size: 24px;
        color: var(--primary);
    }

    .feature-card h3 {
        font-size: 18px;
        font-weight: 800;
        color: #0F172A;
        margin-bottom: 10px;
    }

    .feature-card p {
        color: #64748B;
        font-size: 14px;
        line-height: 1.6;
    }

/* ==========================================
   INTEGRACIONES
========================================== */

.integrations-section {
    background: #F8FAFC;
    text-align: center;
    padding: 90px 40px;
}

    .integrations-section h2 {
        font-size: 40px;
        font-weight: 900;
        color: #0F172A;
        margin-bottom: 15px;
    }

.integration-grid {
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
}

    .integration-grid div {
        background: white;
        padding: 26px 18px;
        border-radius: 16px;
        font-weight: 700;
        color: #1E293B;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        border: 1px solid #E2E8F0;
    }

/* ==========================================
   PRICING
========================================== */

.pricing-section {
    padding: 90px 40px;
    text-align: center;
}

    .pricing-section h2 {
        font-size: 40px;
        font-weight: 900;
        color: #0F172A;
    }

.pricing-grid {
    max-width: 1300px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 38px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

    .pricing-card.featured {
        border: 3px solid var(--primary);
        transform: scale(1.04);
    }

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.price {
    font-size: 52px;
    color: var(--primary);
    font-weight: 900;
    margin: 18px 0;
}

/* ==========================================
   CTA SECTION
========================================== */

.cta-section {
    background: linear-gradient(135deg, #050B1B 0%, #1565FF 100%);
    color: white;
    text-align: center;
    padding: 90px 40px;
}

    .cta-section h2 {
        font-size: 44px;
        font-weight: 900;
        max-width: 850px;
        margin: 0 auto 28px;
        line-height: 1.1;
    }

/* ==========================================
   FOOTER
========================================== */

.next-footer {
    background: #050B1B;
    color: white;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    padding: 65px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

    .footer-container a {
        display: block;
        color: #9AA4B2;
        margin-bottom: 12px;
        font-size: 14px;
        transition: color 0.3s;
    }

        .footer-container a:hover {
            color: white;
        }

.footer-copy {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748B;
    font-size: 13px;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 1200px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 40px;
    }

    .stat-box {
        border-right: none;
    }

    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .main-menu {
        display: none;
    }

    .next-container {
        padding: 0 20px;
    }

    .hero-section {
        min-height: auto;
        padding: 110px 24px 50px 24px;
        background-position: center center;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
        width: 100%;
    }

    .hero-stats,
    .features-section,
    .pricing-grid,
    .integration-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        margin: 20px 20px 50px 20px;
        padding: 22px;
    }

    .features-section,
    .pricing-section,
    .integrations-section,
    .cta-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .cta-section h2 {
        font-size: 30px;
    }
}
