/* Custom design system for RiderOS - High-Octane Cyberpunk Motorcycle HUD Theme */

:root {
    --bg-dark: #07080a;
    --bg-card: rgba(18, 20, 24, 0.7);
    --bg-card-hover: rgba(26, 29, 36, 0.8);
    
    /* Neon Colors HSL */
    --cyan: #00e5ff;
    --cyan-glow: rgba(0, 229, 255, 0.3);
    --orange: #ff6c00;
    --orange-glow: rgba(255, 108, 0, 0.3);
    
    --text-primary: #f1f3f5;
    --text-secondary: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow-cyan: rgba(0, 229, 255, 0.2);
    --border-glow-orange: rgba(255, 108, 0, 0.2);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Core Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* HUD Grid Overlay Pattern */
.hud-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    pointer-events: none;
    z-index: 1;
}

/* Radial Glow Orbs */
.radial-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 2;
}

.glow-cyan {
    top: 10%;
    left: -100px;
    background-color: var(--cyan);
}

.glow-orange {
    top: 60%;
    right: -100px;
    background-color: var(--orange);
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.highlight-cyan {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan-glow);
}

.highlight-orange {
    color: var(--orange);
    text-shadow: 0 0 10px var(--orange-glow);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button & UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-large {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    padding: 14px;
}

.btn-primary-cyan {
    background-color: var(--cyan);
    color: #000;
    border: none;
}

.btn-primary-cyan:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

.btn-secondary-orange {
    background-color: transparent;
    color: var(--orange);
    border: 2px stroke var(--orange);
    border: 2px solid var(--orange);
}

.btn-secondary-orange:hover {
    background-color: var(--orange);
    color: #fff;
    box-shadow: 0 0 15px var(--orange-glow);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 20px var(--cyan-glow);
}

.btn-preset {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
}

.btn-preset:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.highlight-cyan-border {
    border-color: var(--cyan);
    color: var(--cyan);
}

.highlight-orange-border {
    border-color: var(--orange);
    color: var(--orange);
}

/* Floating Navigation Header */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: rgba(7, 8, 10, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    z-index: 100;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    width: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Hamburger Menu Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: center;
}

.hamburger-btn.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Dropdown Nav */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.visible {
    opacity: 1;
}

.mobile-nav-panel {
    display: none;
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 86%;
    max-width: 420px;
    background: rgba(12, 14, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    z-index: 99;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
}

.mobile-nav-panel.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mobile-nav-panel a {
    display: block;
    padding: 14px 18px;
    border-radius: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.mobile-nav-panel a:hover {
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--border-glow-cyan);
}

.mobile-nav-cta {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--cyan);
}

/* Main Layout Grid */
main {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px 20px;
}

/* Hero Section */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.hero-content {
    max-width: 800px;
}

.safety-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 108, 0, 0.08);
    border: 1px solid var(--orange-glow);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

/* Telemetry Stats Strip */
.hero-telemetry-strip {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.strip-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.strip-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.strip-val {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}

/* Section Common Styling */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

/* Simulator Section Grid */
.simulator-section {
    padding: 80px 0;
}

.simulator-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

/* Dashboard Mock Frame */
.dashboard-frame {
    background: #020203;
    padding: 20px;
    border-radius: 30px;
    border: 3px solid #1c2029;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0,0,0,0.9);
    position: relative;
    overflow: hidden;
}

.dashboard-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
}

.dashboard-screen {
    background: #0a0b0f;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.03);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 380px;
}

.hud-top {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.hud-gauges-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 15px;
    align-items: center;
    margin: 30px 0;
}

.gauge-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gauge-label {
    font-size: 9px;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.gauge-value {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.gauge-bar-outer {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.gauge-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.05s linear;
}

.fill-left {
    background-color: var(--cyan);
    float: right;
}

.fill-right {
    background-color: var(--orange);
}

/* Center Speedometer */
.hud-center-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.speedometer-ring {
    width: 140px;
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speed-ring-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 4;
}

.ring-fill-cyan {
    fill: none;
    stroke: var(--cyan);
    stroke-width: 4;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.05s linear;
}

.speed-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.speed-num {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.speed-unit {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.leaning-bike-container {
    position: absolute;
    bottom: -15px;
    width: 44px;
    height: 44px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bike-svg {
    width: 100%;
    height: 100%;
    transition: transform 0.05s linear;
}

/* Bottom Telemetry HUD Stats */
.hud-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.bottom-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-lbl {
    font-size: 8px;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
}

/* Simulation Controls Panel */
.simulation-controls {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.controls-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.controls-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.4;
}

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

.control-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.control-badge {
    font-family: var(--font-heading);
    font-weight: 700;
}

.premium-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.05);
    outline: none;
}

.premium-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cyan);
    cursor: pointer;
    box-shadow: 0 0 10px var(--cyan-glow);
    transition: background 0.15s;
}

.premium-slider::-webkit-slider-thumb:hover {
    background: #fff;
}

#speed-slider::-webkit-slider-thumb {
    background: var(--orange);
    box-shadow: 0 0 10px var(--orange-glow);
}

.quick-preset-buttons {
    display: flex;
    gap: 8px;
    margin: 24px 0;
}

/* Alert TTS Box */
.alert-box {
    display: flex;
    gap: 12px;
    background: rgba(0, 229, 255, 0.03);
    border: 1px solid var(--border-glow-cyan);
    border-radius: 12px;
    padding: 12px 16px;
    align-items: center;
}

.alert-icon {
    font-size: 18px;
}

.alert-text {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-primary);
}

/* Features Section — 3-card Slider */
.features-section {
    padding: 80px 0;
}

/* Slider outer wrapper: holds arrows + viewport */
.feat-slider-wrapper {
    display: flex;
    align-items: stretch;
    gap: 16px;
    position: relative;
}

/* Clipping container — hides cards outside view */
.feat-slider-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    min-width: 0;
}

/* Scrollable track — lays all cards in a single row */
.feat-slider-track {
    display: flex;
    gap: 24px;
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each card — fixed width so 3 are always visible */
.feature-card {
    flex: 0 0 calc((100% - 48px) / 3); /* (viewport - 2 gaps) / 3 */
    min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Arrow buttons */
.feat-slider-btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    align-self: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    user-select: none;
}

.feat-slider-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 12px rgba(0,229,255,0.15);
}

.feat-slider-btn:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

/* Dot indicators */
.feat-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.feat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.feat-dot.active {
    background: var(--cyan);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0,229,255,0.4);
}

.feat-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 108, 0, 0.05);
    border: 1px solid var(--orange-glow);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.highlight-cyan-icon {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--cyan-glow);
}

.feat-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.feat-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    flex: 1;
}

/* Responsive: 2 cards on tablet, 1 on mobile */
@media (max-width: 900px) {
    .feature-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 560px) {
    .feature-card {
        flex: 0 0 100%;
    }
    .feat-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}


/* Affiliate Portal Section */
.affiliate-section {
    padding: 80px 0;
}

.affiliate-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.text-left {
    text-align: left;
    margin-left: 0;
}

.perks-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.perk-item {
    display: flex;
    gap: 16px;
}

.perk-icon {
    font-size: 20px;
}

.perk-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.perk-text strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

/* Glassmorphism Registration Box */
.registration-form-box {
    background: rgba(18, 20, 24, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.registration-form-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,229,255,0.02) 0%, transparent 70%);
    pointer-events: none;
}

.form-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.4;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.form-field input, .form-field textarea, .form-field select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-field select {
    cursor: pointer;
}

.form-field select option {
    background: #07080a;
    color: #fff;
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.form-field-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.form-field-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--cyan);
    width: auto;
}

.checkbox-label {
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label a {
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.checkbox-label a:hover {
    color: #fff;
}

/* Success message frame */
.form-success-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.form-success-box h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--cyan);
}

.form-success-box p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hidden {
    display: none !important;
}

/* FAQ Accordion Section */
.faq-section {
    padding: 80px 0;
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-icon-arrow {
    font-size: 18px;
    color: var(--cyan);
    transition: transform 0.3s;
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-panel p {
    padding: 0 24px 20px 24px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.faq-item.active {
    border-color: var(--border-glow-cyan);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(45deg);
}

/* Download CTA Section */
.download-cta-section {
    padding: 80px 0 40px 0;
}

.download-box {
    background: linear-gradient(135deg, rgba(18, 20, 24, 0.8) 0%, rgba(7, 8, 10, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 108, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.download-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.download-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.badge-svg {
    height: 40px;
    width: 135px;
}

/* Footer Section */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 30px 20px;
    background: #040507;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    font-size: 11px;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255,255,255,0.02);
    padding-top: 20px;
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Tablet — 992px */
@media (max-width: 992px) {
    .simulator-container {
        grid-template-columns: 1fr;
    }

    .affiliate-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .conquest-container {
        grid-template-columns: 1fr;
    }

    .garage-calc-container {
        grid-template-columns: 1fr;
    }

    .ranks-strip-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .download-content-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .download-text-side {
        max-width: 100%;
    }

    .download-qr-side {
        justify-content: center;
    }
}

/* Mobile — 768px */
@media (max-width: 768px) {
    /* Nav */
    .nav-links,
    .cta-area {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .mobile-nav-overlay {
        display: block;
    }

    .mobile-nav-panel {
        display: flex;
    }

    /* Header smaller on mobile */
    .main-header {
        top: 12px;
        height: 60px;
    }

    .header-container {
        padding: 0 20px;
    }

    /* Hero */
    .hero-section {
        padding: 24px 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 38px;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        min-height: 50px;
    }

    /* Telemetry strip — 2x2 grid */
    .hero-telemetry-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .strip-item {
        text-align: center;
    }

    /* Section headers */
    .section-title {
        font-size: 26px;
    }

    /* Forms */
    .form-group-flex {
        grid-template-columns: 1fr;
    }

    .registration-form-box {
        padding: 24px 20px;
    }

    /* Download box */
    .download-box {
        padding: 32px 24px;
    }

    .download-title {
        font-size: 24px;
    }

    /* Main layout padding */
    main {
        padding-top: 100px;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Simulator dashboard — cap width */
    .dashboard-screen {
        height: auto;
        min-height: 300px;
    }

    .hud-gauges-grid {
        margin: 16px 0;
    }

    /* Conquest leaderboard — driver info wrap */
    .leaderboard-item {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* Small Mobile — 480px */
@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    /* Safety badge wraps neatly */
    .safety-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    /* Telemetry strip still 2 cols */
    .hero-telemetry-strip {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
    }

    .strip-val {
        font-size: 16px;
    }

    /* Ranks strip — 2 per row */
    .ranks-strip-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Waitlist stacked */
    .waitlist-input-group {
        flex-direction: column;
    }

    .waitlist-input-group .btn {
        width: 100%;
        min-height: 48px;
    }

    /* Download box tight */
    .download-box {
        padding: 24px 16px;
    }

    /* Beta card full width */
    .beta-status-card {
        max-width: 100%;
        padding: 24px 20px;
    }

    /* Simulator panel */
    .simulation-controls {
        padding: 20px 16px;
    }

    /* Garage tire boxes — 1 col */
    .tires-wear-row {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Form box padding */
    .registration-form-box {
        padding: 20px 16px;
    }

    /* FAQ trigger font */
    .faq-trigger {
        font-size: 13px;
        padding: 16px 18px;
    }

    /* Footer brand */
    .footer-brand p {
        max-width: 100%;
    }

    /* Section padding reduction */
    .features-section,
    .conquest-section,
    .garage-calc-section,
    .affiliate-section,
    .faq-section,
    .download-cta-section,
    .simulator-section {
        padding: 50px 0;
    }
}

/* Keyframes & Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Respect Ranks Strip styles */
.ranks-strip-section {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    margin: 40px auto 80px auto;
    max-width: 1100px;
}

.ranks-strip-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.ranks-strip-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.rank-badge-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px 12px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.rank-badge-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.rank-icon {
    font-size: 22px;
    margin-bottom: 8px;
}

.rank-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.rank-points {
    font-size: 10px;
    color: var(--text-secondary);
}

.glow-cyan-border {
    border-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
}

.glow-orange-border {
    border-color: var(--orange);
    box-shadow: 0 0 10px var(--orange-glow);
}

/* Garage Calculator Section Styles */
.garage-calc-section {
    padding: 80px 0;
}

.garage-calc-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.calc-panel, .wear-visuals-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(8px);
}

.panel-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.riding-modes-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-mode {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-align: left;
    justify-content: flex-start;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
}

.btn-mode.active {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--cyan);
    color: #fff;
    box-shadow: 0 0 12px var(--cyan-glow);
}

.btn-mode:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Component wear panel */
.wear-item {
    margin-bottom: 24px;
}

.wear-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.wear-percent {
    font-family: var(--font-heading);
}

.wear-status-text {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    color: var(--text-secondary);
}

.wear-sub-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.tires-wear-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tire-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.tire-title {
    display: block;
    font-size: 8px;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 4px;
}

.tire-val {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
}

/* Conquest Section Styles */
.conquest-section {
    padding: 80px 0;
}

.conquest-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.conquest-map-box, .conquest-leaderboard-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(8px);
}

.map-header {
    margin-bottom: 20px;
}

.map-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid var(--cyan-glow);
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 10px;
}

.map-route-title {
    font-size: 18px;
}

.map-canvas-container {
    background: #06070a;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
}

.route-svg-map {
    width: 100%;
    height: 100%;
}

.route-path-glowing {
    filter: drop-shadow(0 0 6px var(--cyan));
    animation: drawPath 3s infinite linear;
}

/* Conquest Leaderboard */
.leaderboard-title {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leaderboard-item {
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.leaderboard-item:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.12);
}

.rank-number {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    width: 24px;
    color: var(--text-secondary);
}

.rank-king .rank-number {
    color: var(--orange);
    text-shadow: 0 0 10px var(--orange-glow);
}

.rank-king {
    border-color: var(--orange);
    background: rgba(255, 108, 0, 0.03);
    box-shadow: 0 0 15px rgba(255, 108, 0, 0.05);
}

.driver-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    margin-left: 10px;
}

.driver-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.bike-model {
    font-size: 10px;
    color: var(--text-secondary);
}

.time-score {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.best-time {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.respect-award {
    font-size: 10px;
    color: var(--cyan);
}

/* Download Section Split Layout */
.download-content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.download-text-side {
    max-width: 500px;
}

.download-qr-side {
    display: flex;
    justify-content: flex-end;
}

.qr-code-box {
    background: rgba(7, 8, 10, 0.7);
    border: 2px solid var(--orange);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 25px rgba(255, 108, 0, 0.2);
}

.qr-svg {
    width: 130px;
    height: 130px;
}

.qr-caption {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* Custom Page Keyframes */
@keyframes drawPath {
    0% {
        stroke-dashoffset: 800;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -800;
    }
}

/* Responsive Breakpoints adjustments */
@media(max-width: 992px) {
    .ranks-strip-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .garage-calc-container {
        grid-template-columns: 1fr;
    }
    
    .conquest-container {
        grid-template-columns: 1fr;
    }
    
    .download-content-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .download-text-side {
        max-width: 100%;
    }
}

@media(max-width: 480px) {
    .waitlist-input-group {
        flex-direction: column;
    }
}

/* Waitlist Form & Pulse Badge */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
    text-align: left;
}

.waitlist-input-group {
    display: flex;
    gap: 10px;
    max-width: 480px;
}

.waitlist-input-group input[type="email"] {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

.waitlist-input-group input[type="email"]:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.waitlist-privacy {
    font-size: 11px;
    color: var(--text-secondary);
}

.waitlist-success-box {
    margin-top: 25px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 20px 24px;
    border-radius: 16px;
    text-align: left;
}

.waitlist-success-box h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
}

.waitlist-success-box p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Sleek Beta Status Card */
.beta-status-card {
    background: rgba(7, 8, 10, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 108, 0, 0.25);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 108, 0, 0.08);
    transition: var(--transition-smooth);
}

.beta-status-card:hover {
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 108, 0, 0.15);
    transform: translateY(-2px);
}

/* Pulse Container top right */
.beta-pulse-container {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beta-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--orange);
    border-radius: 50%;
    z-index: 2;
}

.beta-pulse-ring {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    animation: radarSweep 1.8s infinite ease-out;
    opacity: 0;
    z-index: 1;
}

@keyframes radarSweep {
    0% {
        transform: scale(0.4);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.beta-status-content {
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
}

.beta-tag {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.beta-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin: 8px 0 4px 0;
    letter-spacing: -0.02em;
}

.beta-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Stats Row */
.beta-stats {
    display: flex;
    justify-content: space-around;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}

.beta-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--cyan);
}

.stat-lbl {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.beta-stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
    height: 35px;
    align-self: center;
}

/* ============================================
   HAZARD MAP SECTION
   ============================================ */
.hazard-section { padding: 80px 0; }

.hazard-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.hazard-map-panel,
.hazard-types-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(8px);
}

.hazard-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.hazard-live-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.hazard-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4444;
    animation: radarSweep 1.2s infinite;
    display: inline-block;
}

.hazard-road-canvas {
    background: #06070a;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hazard-svg { width: 100%; height: 100%; }

.hazard-pin {
    animation: hazardPulse 2s ease-in-out infinite;
}

@keyframes hazardPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.08); }
}

.rider-position-pulse {
    animation: riderBlink 1.5s ease-in-out infinite;
}

@keyframes riderBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.hazard-panel-title {
    font-size: 16px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.hazard-type-list { display: flex; flex-direction: column; gap: 14px; }

.hazard-type-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.hazard-type-item:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.1);
}

.hazard-type-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.hazard-type-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hazard-type-info strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.hazard-type-info span {
    font-size: 11px;
    color: var(--text-secondary);
}

.hazard-verify-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    white-space: nowrap;
}

/* ============================================
   SOCIAL FEED SECTION
   ============================================ */
.social-section { padding: 80px 0; }

.social-feed-preview {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.social-post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 22px;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    box-sizing: border-box;
}

.post-content { flex: 1; }

.social-post-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.featured-post {
    border-color: var(--border-glow-orange);
    box-shadow: 0 0 20px rgba(255,108,0,0.06);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), #ff9900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #000;
    flex-shrink: 0;
}

.post-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.post-username {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.post-persona {
    font-size: 11px;
    color: var(--text-secondary);
}

.post-time {
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.post-content {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-primary);
}

.post-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-ride-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--text-secondary);
}

.stat-icon { font-size: 12px; }

.post-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-action-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-action-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
}

.post-action-btn.liked {
    color: #ff6060;
    border-color: rgba(255,96,96,0.3);
    background: rgba(255,96,96,0.05);
}

.comment-preview {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-item { display: flex; gap: 8px; }

.comment-user {
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    white-space: nowrap;
}

.comment-text {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================================
   GLOBAL LEADERBOARD SECTION
   ============================================ */
.leaderboard-section { padding: 80px 0; }

.global-lb-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.global-lb-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.lb-filter-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lb-filter-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.lb-filter-btn.active {
    background: rgba(0,229,255,0.08);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 12px rgba(0,229,255,0.1);
}

.global-lb-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.lb-table-header {
    display: grid;
    grid-template-columns: 48px 1fr 140px 100px 80px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lb-row {
    display: grid;
    grid-template-columns: 48px 1fr 140px 100px 80px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    align-items: center;
    transition: var(--transition-smooth);
}

.lb-row:hover { background: rgba(255,255,255,0.02); }

.lb-row:last-child { border-bottom: none; }

.lb-row-gold   { background: rgba(255,180,0,0.04); }
.lb-row-silver { background: rgba(180,180,180,0.03); }
.lb-row-bronze { background: rgba(180,100,40,0.03); }
.lb-cta-row    { background: rgba(0,229,255,0.03); }

.lb-rank {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-secondary);
}

.lb-driver {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lb-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.lb-bike {
    font-size: 10px;
    color: var(--text-secondary);
}

.lb-persona, .lb-region {
    font-size: 12px;
    color: var(--text-secondary);
}

.lb-score {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    text-align: right;
}

.lb-score-breakdown {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px 28px;
    backdrop-filter: blur(8px);
}

.lb-breakdown-title {
    font-size: 15px;
    margin-bottom: 18px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
}

.lb-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.lb-breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.lb-breakdown-icon { font-size: 22px; }

.lb-breakdown-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

.lb-breakdown-pts {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
}

/* Responsive additions for new sections */
@media (max-width: 992px) {
    .hazard-container { grid-template-columns: 1fr; }
    .social-feed-preview { grid-template-columns: 1fr; }
    .lb-breakdown-grid { grid-template-columns: repeat(2, 1fr); }
    .lb-table-header, .lb-row { grid-template-columns: 40px 1fr 100px 70px 70px; }
}

@media (max-width: 768px) {
    .lb-table-header { display: none; }
    .lb-row {
        grid-template-columns: 40px 1fr auto;
        grid-template-rows: auto auto;
    }
    .lb-persona, .lb-region { display: none; }
    .lb-score { grid-column: 3; grid-row: 1 / 3; align-self: center; }
}

@media (max-width: 480px) {
    .lb-breakdown-grid { grid-template-columns: repeat(2, 1fr); }
    .hazard-section,
    .social-section,
    .leaderboard-section { padding: 50px 0; }
}

/* ==========================================
   BLOG SPECIFIC STYLES
   ========================================== */

/* Blog Index Page */
.blog-header {
    text-align: center;
    padding: 120px 20px 60px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.9) 0%, var(--bg-dark) 100%);
}

.blog-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background-color: rgba(255,255,255,0.05);
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--cyan);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--cyan);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

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

.read-more-btn {
    color: var(--cyan);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
}

.read-more-btn:hover {
    gap: 8px;
    color: #fff;
}

/* Blog Post Page */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 100px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-category {
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-block;
}

.article-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-cover {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.05);
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #d1d5db;
}

.article-content h2 {
    font-size: 28px;
    color: #fff;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 22px;
    color: #fff;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content ul, .article-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid var(--cyan);
    padding: 20px 20px 20px 30px;
    background: rgba(0, 229, 255, 0.05);
    margin: 40px 0;
    font-size: 20px;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.article-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.article-tag {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.article-tag:hover {
    background: var(--cyan);
    color: #000;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.share-btn:hover {
    background: var(--cyan);
    color: #000;
}

.article-cta {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(255, 108, 0, 0.1) 100%);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}

.article-cta h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.article-cta p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-title { font-size: 32px; }
    .article-title { font-size: 32px; }
    .article-cover { height: 250px; }
    .article-content { font-size: 16px; }
}
