/* RAZE_UP Bike Co. - Main Stylesheet */

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

:root {
    --primary: #ff4d00;
    --primary-dark: #e64500;
    --secondary: #0a0a0a;
    --accent: #ff8533;
    --bg-dark: #050505;
    --bg-card: #111111;
    --text: #ffffff;
    --text-muted: #888888;
    --border: #222222;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
}

/* Header */
header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 4px;
    color: var(--text);
}

.logo span {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Hero */
.hero {
    padding: 180px 30px 100px;
    text-align: center;
    background: 
        linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0.9) 100%),
        url('../images/hero-cyclist.jpg') center center / cover no-repeat;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-dark) 80%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    letter-spacing: 8px;
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.hero h1 span {
    color: var(--primary);
}

.hero .tagline {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 300;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.hero .sub-tagline {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Rider Bio */
.rider-bio {
    background: var(--bg-card);
    padding: 60px 30px;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.rider-bio h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.rider-bio p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Stats Banner */
.stats-banner {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 40px 30px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    color: var(--primary);
    letter-spacing: 2px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Sections */
.section {
    padding: 80px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 77, 0, 0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
}

.category-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.category-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.category-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
}

/* Products Grid */
.products-section {
    padding: 80px 30px;
    background: var(--bg-card);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.product-image {
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    position: relative;
}

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-content {
    padding: 20px;
}

.product-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

/* Auth Forms */
.auth-section {
    padding: 80px 30px;
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border);
}

.auth-card h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.auth-card p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text);
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-error {
    color: #ff4444;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

.form-success {
    color: #14f195;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

.remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
}

.remember-row a {
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
}

.remember-row a:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    color: var(--text-muted);
    font-size: 13px;
}

.social-auth {
    display: flex;
    gap: 15px;
}

.social-auth button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-auth button:hover {
    border-color: var(--primary);
}

.switch-auth {
    text-align: center;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 14px;
}

.switch-auth a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.switch-auth a:hover {
    text-decoration: underline;
}

/* Team Section */
.team-section {
    padding: 80px 30px;
    background: var(--bg-card);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.team-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
}

.team-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 10px;
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

.team-stats span {
    color: var(--text);
    font-weight: 500;
}

/* Rides Section */
.rides-section {
    padding: 80px 30px;
}

.rides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.ride-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.ride-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ride-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.ride-date {
    font-size: 14px;
    font-weight: 500;
}

.ride-content {
    padding: 25px;
}

.ride-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ride-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.ride-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.ride-detail span {
    color: var(--text);
    font-weight: 500;
}

.ride-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ride-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.ride-riders {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ride-avatars {
    display: flex;
}

.ride-avatars div {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--bg-card);
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.ride-avatars div:first-child {
    margin-left: 0;
}

.ride-count {
    font-size: 13px;
    color: var(--text-muted);
}

.ride-count span {
    color: var(--text);
    font-weight: 600;
}

/* Dashboard */
.dashboard-section {
    padding: 80px 30px;
    background: var(--bg-card);
    display: none;
}

.dashboard-section.active {
    display: block;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-card {
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
}

.dashboard-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-stat {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.dashboard-stat:last-child {
    border-bottom: none;
}

.dashboard-stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

.dashboard-stat-value {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
}

.activity-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.activity-content h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.activity-content p {
    color: var(--text-muted);
    font-size: 13px;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), var(--bg-card));
    padding: 100px 30px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.cta-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 56px;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.cta-section h2 span {
    color: var(--primary);
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact */
.contact-section {
    background: var(--bg-card);
    padding: 60px 30px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.contact-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.contact-item {
    color: var(--text-muted);
    font-size: 16px;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--secondary);
    padding: 50px 30px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 13px;
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Mobile */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .stats-banner {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-section h2 {
        font-size: 40px;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
}