/* DIGIRYD Custom Stylesheet - Premium Dark Theme & Glassmorphism */

:root {
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(255, 213, 0, 0.5);
    
    --primary: #ffd500;
    --primary-rgb: 255, 213, 0;
    --secondary: #ffa600;
    --accent: #00c758;
    --accent-rgb: 0, 199, 88;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-inverse: #0f172a;
    
    --shadow-neon: 0 4px 20px rgba(255, 213, 0, 0.15);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Elements */
.top-glow {
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--accent-rgb), 0.08) 50%, rgba(0,0,0,0) 100%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-inverse);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
    background: linear-gradient(135deg, #ffea00 0%, #ff8c00 100%);
    color: var(--text-inverse);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.04);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--text-main);
    color: #ffffff;
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

/* Header and Navigation inherited from main site stylesheet */

/* Hero Section */
.hero {
    padding: 8.5rem 0 4.5rem;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Interactive Configurator Card */
.hero-configurator {
    perspective: 1000px;
}

.config-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.config-card:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
}

.config-scooter-display {
    height: 250px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.scooter-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(15px);
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 0;
}

.config-image {
    max-height: 240px;
    max-width: 100%;
    object-fit: contain;
    z-index: 1;
    filter: none;
    transition: filter 0.5s ease-in-out, transform 0.4s ease;
}

.config-image:hover {
    transform: scale(1.05) translateY(-5px);
}

.config-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.config-model-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.config-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.config-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.config-colors {
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.color-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.8rem;
}

.color-label strong {
    color: var(--text-main);
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
    transition: var(--transition-smooth);
    position: relative;
}

.swatch:hover {
    transform: scale(1.15);
}

.swatch.active {
    box-shadow: 0 0 0 2px var(--primary), 0 0 10px rgba(var(--primary-rgb), 0.6);
}

/* Floating Info Indicator inside active Swatch */
.swatch::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition-smooth);
}

.swatch.active::after {
    transform: translate(-50%, -50%) scale(1);
}

.config-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
}

.mini-spec-item {
    display: flex;
    flex-direction: column;
}

.m-spec-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.m-spec-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Showcase Filter & Grid Section */
.showcase {
    padding: 6rem 0;
    background: radial-gradient(100% 50% at 50% 0%, rgba(var(--accent-rgb), 0.04) 0%, rgba(8, 11, 17, 0) 100%);
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-sans);
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* Scooter Grid */
.scooter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

/* Scooter Card */
.scooter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
}

.scooter-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(var(--primary-rgb), 0.08);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.compare-checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-muted);
    user-select: none;
}

.compare-check {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.card-image-wrapper {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.card-scooter-img {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    transition: filter 0.4s ease-in-out, transform 0.35s ease;
}

.scooter-card:hover .card-scooter-img {
    transform: scale(1.06) translateY(-4px);
}

/* Spec Pills */
.specs-pill-header {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--text-main);
    text-align: center;
    padding: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

/* Specs Sheet */
.specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.spec-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
    padding-bottom: 0.3rem;
}

.spec-line:last-child {
    border-bottom: none;
}

.spec-key {
    color: var(--text-muted);
    font-weight: 500;
}

.spec-val {
    color: var(--text-main);
    font-weight: 600;
}

/* Card Swatches */
.card-swatches-wrapper {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-swatch-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.card-colors-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--bg-dark);
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
    transition: var(--transition-smooth);
}

.card-swatch:hover {
    transform: scale(1.2);
}

.card-swatch.active {
    box-shadow: 0 0 0 1.5px var(--primary), 0 0 8px rgba(var(--primary-rgb), 0.5);
}

/* Features/Why choose section */
.specs-info {
    padding: 6.5rem 0;
    border-top: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.2rem;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: rgba(var(--primary-rgb), 0.15);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.05);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Compare Drawer */
.compare-drawer {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 750px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px 16px 0 0;
    padding: 1.2rem 2rem;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.06);
    z-index: 90;
    transition: bottom 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.compare-drawer.active {
    bottom: 0;
}

.compare-drawer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.compare-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.compare-count {
    background: var(--primary);
    color: var(--text-inverse);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.compare-scooter-previews {
    display: flex;
    gap: 1rem;
    flex-grow: 1;
    justify-content: center;
}

.preview-thumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.preview-thumb img {
    height: 25px;
    object-fit: contain;
}

.compare-actions {
    display: flex;
    gap: 0.8rem;
}

/* Modals and Backdrops */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.compare-modal-card {
    width: 90%;
    max-width: 900px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-backdrop.active .compare-modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(15, 23, 42, 0.05);
    border: none;
    color: var(--text-main);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: rgba(15, 23, 42, 0.1);
    color: var(--text-main);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.compare-table-container {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.compare-table th, .compare-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.compare-table th {
    background: rgba(15, 23, 42, 0.02);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.compare-table td.spec-param-title {
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.01);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

/* Footer */
.footer {
    background: #04060a;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-contact a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Mobile Menu Toggle Button (Desktop State) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 101;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

.mobile-menu-btn svg line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active .line-mid {
    opacity: 0;
}

.mobile-menu-btn.active .line-top {
    transform: translateY(6px) rotate(45deg);
    transform-origin: center;
}

.mobile-menu-btn.active .line-bot {
    transform: translateY(-6px) rotate(-45deg);
    transform-origin: center;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 1rem;
    }
    .nav-link {
        font-size: 0.85rem;
    }
    .brand-name, .logo-brand-name {
        font-size: 1.2rem;
    }
    .brand-sub, .logo-brand-sub {
        font-size: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
        width: 100%;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .scooter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.8rem 1.2rem;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .brand-sub {
        font-size: 0.55rem;
    }

    /* Mobile Nav Menu (Slide down/fade in overlay) */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 66px; /* Header height */
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(8, 11, 17, 0.96);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2.2rem;
        padding-top: 3.5rem;
        overflow: hidden;
        transition: var(--transition-smooth);
        border-bottom: 1px solid var(--border-color);
        opacity: 0;
        pointer-events: none;
        z-index: 99;
    }

    .nav-menu.active {
        height: calc(100vh - 66px);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .cta-header .btn {
        display: none; /* Hide Explore button in header on small mobile screens to save space */
    }

    /* Hero section scaling */
    .hero {
        padding: 7rem 0 3.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-item {
        align-items: center;
        text-align: center;
        flex: 1 1 80px;
        min-width: 80px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    /* Showcase grid stack */
    .scooter-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .scooter-card {
        padding: 1.4rem;
    }

    .card-image-wrapper {
        height: 140px;
    }

    .card-scooter-img {
        max-height: 130px;
    }

    /* Filter tabs horizontal scrolling to prevent wrapping overflow */
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.8rem;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .filter-tabs::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Configurator scaling */
    .config-card {
        padding: 1.2rem;
    }

    .config-scooter-display {
        height: 180px;
        margin-bottom: 1rem;
    }

    .config-image {
        max-height: 170px;
    }

    .config-title {
        font-size: 1.35rem;
    }

    /* Features Grid stack */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Prevent Compare Drawer overflow */
    .compare-drawer {
        width: 100%;
        left: 0;
        transform: none;
        border-radius: 16px 16px 0 0;
        bottom: -220px;
        padding: 1rem 1.2rem;
    }

    .compare-drawer.active {
        bottom: 0;
    }

    .compare-drawer-content {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .compare-scooter-previews {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 0.3rem;
    }

    .compare-actions {
        width: 100%;
        justify-content: center;
    }

    .compare-actions .btn {
        flex: 1;
        max-width: 150px;
    }

    /* Compare modal styling for mobile screen sizes */
    .compare-modal-card {
        width: 95%;
        padding: 1.5rem 1rem;
        margin: 0;
    }

    .modal-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .compare-table th, .compare-table td {
        padding: 0.8rem 1rem;
        font-size: 0.82rem;
    }

    /* Footer responsiveness */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Shrink logo text and spacing for small mobile screens */
    .brand-name {
        font-size: 1.15rem;
        letter-spacing: 1px;
    }
    .brand-sub {
        font-size: 0.5rem;
        letter-spacing: 1.5px;
    }
    .logo-area {
        gap: 0.5rem;
    }
    .logo-icon-wrapper {
        width: 30px !important;
        height: 30px !important;
    }
    .header-container {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 360px) {
    .brand-name {
        font-size: 1.05rem;
        letter-spacing: 0.5px;
    }
    .brand-sub {
        font-size: 0.45rem;
        letter-spacing: 1px;
    }
    .logo-icon-wrapper {
        width: 25px !important;
        height: 25px !important;
    }
    .header-container {
        padding: 0.8rem 0.8rem;
    }
}

/* Floating Hard-Refresh Button */
.refresh-fab {
    position: fixed;
    left: 20px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.refresh-fab:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 213, 0, 0.5);
}

.refresh-fab svg {
    transition: transform 0.5s ease;
}

.refresh-fab:hover svg {
    transform: rotate(360deg);
}

