/* ============================================================
   ZOUBAIR BIKES — Landing Page
   Dark theme, bold red accents, sporty e-bike dealership feel.
   ============================================================ */

:root {
    --landing-bg:       #0A0A0A;
    --landing-bg-2:     #141414;
    --landing-text:     #F5F5F5;
    --landing-muted:    #94A3B8;
    --landing-primary:  #E11D2E;
    --landing-primary-2:#B91624;
    --landing-border:   rgba(255, 255, 255, 0.08);
    --landing-surface:  rgba(255, 255, 255, 0.03);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--landing-bg);
    color: var(--landing-text);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-family: 'Poppins', 'Inter', sans-serif;
}
h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 800;
}
h1 .accent {
    background: linear-gradient(90deg, #E11D2E 0%, #FF5B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }

p { color: var(--landing-muted); font-size: 1.05rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 5rem 0; position: relative; }

/* =============== Navbar =============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--landing-border);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: white;
    text-decoration: none;
    letter-spacing: 0.04em;
}
.logo img { width: 36px; height: 36px; object-fit: contain; }
.logo .accent { color: var(--landing-primary); }
.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}
.nav-link {
    color: #D1D5DB;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--landing-primary); }

/* =============== Buttons =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}
.btn-primary {
    background: var(--landing-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(225, 29, 46, 0.35);
}
.btn-primary:hover {
    background: var(--landing-primary-2);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(225, 29, 46, 0.5);
}
.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--landing-primary);
    background: rgba(225, 29, 46, 0.08);
    color: white;
}

/* =============== Hero =============== */
.hero {
    padding-top: 9rem;
    padding-bottom: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(225, 29, 46, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(20px);
}
.glow-1 { top: -20%; left: -10%; }
.glow-2 {
    bottom: -25%;
    right: -10%;
    background: radial-gradient(circle, rgba(225, 29, 46, 0.15) 0%, transparent 70%);
}

.hero-content { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(225, 29, 46, 0.1);
    border: 1px solid rgba(225, 29, 46, 0.3);
    border-radius: 9999px;
    color: #FCA5A5;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 1.5rem auto 2.5rem;
    color: #CBD5E1;
    max-width: 640px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============== Hero dashboard preview =============== */
.hero-image-wrapper {
    margin-top: 4rem;
    position: relative;
    perspective: 1000px;
}
.hero-image {
    background: #111;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(225, 29, 46, 0.1);
    overflow: hidden;
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
}
.hero-image:hover { transform: rotateX(0); }

/* =============== Features =============== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.feature-card {
    background: var(--landing-surface);
    border: 1px solid var(--landing-border);
    padding: 2rem;
    border-radius: 14px;
    transition: all 0.25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 29, 46, 0.35);
    box-shadow: 0 12px 32px rgba(225, 29, 46, 0.1);
}
.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(225, 29, 46, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--landing-primary);
    border: 1px solid rgba(225, 29, 46, 0.2);
}
.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: white;
}
.feature-card p {
    font-size: 0.95rem;
}

/* =============== Stats =============== */
.stats-section {
    border-top: 1px solid var(--landing-border);
    border-bottom: 1px solid var(--landing-border);
    background: var(--landing-bg-2);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}
.stat-label {
    color: var(--landing-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* =============== CTA =============== */
.cta-box {
    background: linear-gradient(135deg, #E11D2E 0%, #7F0C18 100%);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(225, 29, 46, 0.35);
}
.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.cta-box h2 {
    color: white;
    margin-bottom: 0.75rem;
    position: relative;
}
.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 2rem;
    position: relative;
}

/* =============== Footer =============== */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--landing-border);
    background: #050505;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-col h4 {
    color: white;
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
    color: var(--landing-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}
.footer-col a:hover { color: var(--landing-primary); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--landing-border);
    color: #64748B;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .hero { padding-top: 7rem; }
    .nav-links { gap: 0.85rem; }
    .nav-link { display: none; }
    .nav-link.nav-cta { display: inline-flex; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}
