/* ================================================
   QIEEBIKE Shared Styles
   ================================================ */

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-400: #a3a3a3;
    --gray-600: #525252;
    --gray-800: #1a1a1a;
    --accent: #ff3b30;
    --accent-dark: #d62c20;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================================
   Navigation
   ================================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    background: var(--white);
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--gray-200);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-center a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-center a:hover,
.nav-center a.active {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-nav {
    display: flex;
    gap: 1rem;
}

.social-nav a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.social-nav a:hover {
    opacity: 1;
    color: var(--accent);
}

.social-nav svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.nav-cta {
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black) !important;
    padding: 0.6rem 1.5rem;
    font-size: 0.7rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--black);
    color: var(--white) !important;
}

/* ================================================
   Buttons
   ================================================ */
.btn {
    padding: 1rem 2.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 100px;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black);
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 0.85rem;
}

/* ================================================
   Page Header
   ================================================ */
.page-header {
    padding: 12rem 5% 6rem;
    background: var(--gray-50);
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.breadcrumb a {
    color: var(--gray-600);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--gray-400);
}

.page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================================
   Sections
   ================================================ */
.section {
    padding: 6rem 5%;
}

.section-alt {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ================================================
   Footer
   ================================================ */
footer {
    background: var(--gray-50);
    padding: 5rem 5% 2rem;
    border-top: 1px solid var(--gray-200);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand .logo {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--black);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-col h5 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-600);
    font-size: 0.8rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray-600);
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ================================================
   Animations
   ================================================ */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 1024px) {
    .nav-center {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }
    
    .social-nav {
        display: none;
    }
    
    .page-header {
        padding: 10rem 5% 4rem;
    }
    
    .section {
        padding: 4rem 5%;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ================================================
   Utility Classes
   ================================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
