/* ═══════════════════════════════════════════════════════════════════════════════
   NOVARIDE BLOG ARTICLE - APPLE-LEVEL PREMIUM DESIGN v3
   World-Class Typography, Spacing & Layout
   Floating Back Button + Immersive Hero
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES - Design Tokens
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-page {
    --article-max-width: 720px;
    --article-padding-x: 24px;

    /* Premium Typography Scale */
    --font-size-display: clamp(1.75rem, 5vw, 3rem);
    --font-size-h2: clamp(1.35rem, 3vw, 1.75rem);
    --font-size-h3: 1.15rem;
    --font-size-body: 1.0625rem;
    --font-size-intro: 1.1rem;
    --font-size-small: 0.875rem;
    --font-size-micro: 0.7rem;

    /* Premium Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 100px;

    /* Premium Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --text-muted: rgba(255, 255, 255, 0.35);
    --surface-elevated: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.06);
    --accent-green: #10b981;
    --accent-green-soft: rgba(16, 185, 129, 0.12);

    /* Easing */
    --ease-premium: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE CONTAINER
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-page {
    background: linear-gradient(180deg, #000000 0%, #050505 50%, #0a0a0a 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION - Cinematic Full-Width Experience
   The back button floats, content is at the bottom
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.article-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    transform: scale(1.02);
    animation: heroSubtleZoom 25s ease-in-out infinite alternate;
}

/* LCP-optimized img tag inside hero bg */
.article-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes heroSubtleZoom {
    0% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1.06);
    }
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.95) 100%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SMART READING HEADER BAR - Premium Scroll Navigation (Medium/Stripe Style)
   Appears on scroll with: Back link | Article title | Share icons
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Back button in hero - visible when at top of page */
.article-hero>.back-link {
    position: absolute;
    top: 120px;
    left: max(24px, calc(50vw - 450px + 24px));
    z-index: 50;

    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;

    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-hero>.back-link:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #fff;
}

.article-hero>.back-link svg {
    width: 14px;
    height: 14px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SMART READING HEADER - Apple-Level Reveal Animation
   Hidden at top, elegantly reveals on scroll
   ═══════════════════════════════════════════════════════════════════════════════ */
.reading-header {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 800;

    /* Premium Glassmorphism - Enhanced */
    background: linear-gradient(180deg,
            rgba(8, 8, 8, 0.97) 0%,
            rgba(5, 5, 5, 0.95) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);

    /* Hidden by default - ALWAYS starts hidden */
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;

    /* Apple-Style Smooth Spring Animation */
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}

/* Visible state */
.reading-header.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Inner container */
.reading-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Back Link - Left */
.reading-header-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.reading-header-back:hover {
    color: #fff;
    background: rgba(16, 185, 129, 0.15);
}

.reading-header-back svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.reading-header-back:hover svg {
    transform: translateX(-3px);
}

/* Title - Center */
.reading-header-title {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.reading-header-title span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
    margin: 0 auto;
}

/* Actions - Right */
.reading-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.reading-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.25s ease;
}

.reading-header-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
    transform: scale(1.05);
}

.reading-header-btn svg {
    width: 18px;
    height: 18px;
}

/* Progress Bar (optional enhancement) */
.reading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #34d399);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {

    /* ═══════════════════════════════════════════════════════════════
       MOBILE BACK BUTTON - Visible at top, hidden when header shows
       Apple-level elegant transition
       ═══════════════════════════════════════════════════════════════ */
    .article-hero>.back-link {
        display: inline-flex !important;
        position: fixed;
        top: 70px;
        left: 16px;
        z-index: 799;

        /* Minimal subtle style - almost invisible background */
        padding: 8px 14px;
        background: rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 100px;

        color: rgba(255, 255, 255, 0.95);
        font-size: 0.75rem;
        font-weight: 500;
        text-decoration: none;
        gap: 6px;

        /* Smooth fade transition */
        opacity: 1;
        transform: translateY(0);
        transition:
            opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .article-hero>.back-link svg {
        width: 12px;
        height: 12px;
    }

    /* Hide mobile back button when reading header is visible */
    .reading-header.visible~main .article-hero>.back-link,
    body:has(.reading-header.visible) .article-hero>.back-link {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

    /* Reading header - mobile position below navbar */
    .reading-header {
        top: 80px;
        height: 46px;
    }

    .reading-header-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .reading-header-back {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .reading-header-back span {
        display: none;
    }

    .reading-header-title span {
        font-size: 0.8rem;
        max-width: 200px;
    }

    .reading-header-btn {
        width: 32px;
        height: 32px;
    }

    .reading-header-btn svg {
        width: 16px;
        height: 16px;
    }

    /* ═══════════════════════════════════════════════════════════════
       MOBILE HERO CONTENT - Left aligned badge and title, centered meta
       ═══════════════════════════════════════════════════════════════ */
    .article-hero-content {
        align-items: flex-start !important;
        text-align: left !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .article-hero-content .article-category {
        align-self: flex-start;
    }

    .article-hero-content .article-title {
        text-align: left;
    }

    .article-hero-content .article-meta {
        justify-content: center;
        align-self: stretch;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO CONTENT - Bottom Section with Badge, Title, Meta
   NO padding-top since back button is now truly floating
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--article-padding-x) var(--space-lg);

    /* Stack content vertically at bottom, center aligned */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CATEGORY BADGE - Desktop: Position absolute en bas à gauche de l'image hero
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-hero-content .article-category,
.article-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Appearance */
    padding: 8px 18px;
    background: var(--accent-green-soft);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;

    /* Typography */
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-green);

    /* Spacing */
    margin-bottom: var(--space-sm);
}

/* Desktop: Badge positionné en bas à gauche de l'image hero */
@media (min-width: 769px) {
    .article-hero-content .article-category {
        position: absolute;
        bottom: 180px;
        left: 32px;
        margin-bottom: 0;
        z-index: 20;
    }
}

/* Category Color Variants */
.article-category.guide {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.article-category.security {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.article-category.tech {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.article-category.testimonial {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.article-category.news {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ARTICLE TITLE - Apple-Level Typography (Centered)
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-hero-content .article-title,
.article-title {
    font-size: var(--font-size-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    max-width: 800px;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ARTICLE META - Single Elegant Horizontal Line
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-hero-content .article-meta,
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.article-meta .meta-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.article-meta .meta-separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-muted);
    margin: 0 10px;
    flex-shrink: 0;
}

.article-meta .meta-separator::before {
    content: none;
}

.article-meta .meta-author {
    color: var(--accent-green);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ARTICLE CONTENT AREA
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-content {
    max-width: var(--article-max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--article-padding-x) var(--space-2xl);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   INTRO PARAGRAPH
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-intro {
    font-size: var(--font-size-intro);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--surface-border);
    text-align: justify;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ARTICLE SECTIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-section {
    margin-bottom: var(--space-xl);
}

.article-section h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.article-section h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    margin: var(--space-lg) 0 var(--space-sm);
    color: var(--accent-green);
}

.article-section p {
    font-size: var(--font-size-body);
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    text-align: justify;
}

.article-section ul {
    margin: var(--space-md) 0;
    padding-left: 0;
    list-style: none;
}

.article-section li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: var(--font-size-body);
    line-height: 1.7;
    color: var(--text-secondary);
}

.article-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: var(--accent-green);
    border-radius: 50%;
}

.article-section li strong {
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RULE CARDS
   ═══════════════════════════════════════════════════════════════════════════════ */
.rule-card,
.tip-card,
.content-card {
    background: var(--surface-elevated);
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    transition: border-color 0.3s var(--ease-premium);
}

.rule-card:hover {
    border-color: rgba(16, 185, 129, 0.12);
}

.rule-number,
.secret-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-green) 0%, #34d399 100%);
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: var(--space-sm);
    flex-shrink: 0;
}

.article-section h2 .secret-number {
    margin-bottom: 0;
    margin-right: 12px;
}

.rule-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.rule-content {
    font-size: var(--font-size-body);
    line-height: 1.7;
    color: var(--text-secondary);
}

.rule-content strong {
    color: var(--accent-green);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   INFO & WARNING BOXES - Premium Compact Design
   ═══════════════════════════════════════════════════════════════════════════════ */
.info-box,
.tip-box {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 14px;
    padding: 16px 20px;
    margin: var(--space-lg) 0;
}

.info-box-title,
.tip-box-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 8px;
    margin-top: 0;
}

.info-box p,
.tip-box p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    font-size: var(--font-size-small);
}

.warning-box,
.warning-banner {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: 14px;
    padding: 16px 20px;
    margin: var(--space-lg) 0;
}

.warning-box h3,
.warning-box-title,
.warning-banner h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 8px;
    margin-top: 0;
}

.warning-box p,
.warning-banner p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    font-size: var(--font-size-small);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STATS GRID
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-stats,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: var(--space-lg) 0;
}

.article-stat,
.stat-card {
    background: var(--surface-elevated);
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    padding: var(--space-sm);
    text-align: center;
}

.article-stat-value,
.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 2px;
}

.article-stat-label,
.stat-label {
    font-size: 0.6rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   QUOTE BOX
   ═══════════════════════════════════════════════════════════════════════════════ */
.quote-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, transparent 100%);
    border-left: 3px solid var(--accent-green);
    border-radius: 0 12px 12px 0;
    padding: var(--space-md);
    margin: var(--space-lg) 0;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.quote-author {
    display: block;
    margin-top: 10px;
    font-size: var(--font-size-small);
    font-style: normal;
    color: var(--accent-green);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SCOOTER CARDS
   ═══════════════════════════════════════════════════════════════════════════════ */
.scooter-card {
    background: var(--surface-elevated);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--space-md);
    align-items: center;
    transition: all 0.35s var(--ease-premium);
}

.scooter-card:hover {
    border-color: rgba(16, 185, 129, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.scooter-card-image {
    text-align: center;
}

.scooter-card-image img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.scooter-card-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    color: #000;
    margin-bottom: 8px;
}

.scooter-card-badge.flagship {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.scooter-card-badge.bestseller {
    background: linear-gradient(135deg, #6ee7b7, #10b981);
}

.scooter-card-badge.power {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.scooter-card-badge.popular {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.scooter-card-badge.urban {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.scooter-card-badge.eco {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.scooter-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.scooter-card-desc {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    line-height: 1.45;
}

.scooter-card-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.spec-box {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 8px 4px;
    text-align: center;
}

.spec-box-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-green);
}

.spec-box-label {
    font-size: 0.5rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 1px;
}

.scooter-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.scooter-card-price span {
    color: var(--text-tertiary);
    font-size: 0.7rem;
    font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════════════════════════════════════ */
.comparison-table {
    width: 100%;
    margin: var(--space-lg) 0;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid var(--surface-border);
}

.comparison-table th {
    font-size: var(--font-size-micro);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-tertiary);
}

.comparison-table td {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
}

.comparison-table .highlight {
    color: var(--accent-green);
    font-weight: 600;
}

.comparison-table .strike {
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CHECKLIST BOX
   ═══════════════════════════════════════════════════════════════════════════════ */
.checklist-box {
    background: var(--surface-elevated);
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    padding: var(--space-md);
    margin: var(--space-lg) 0;
}

.checklist-box h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: var(--font-size-small);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-icon {
    width: 18px;
    height: 18px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.55rem;
    color: #000;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.feature-card {
    background: var(--surface-elevated);
    border: 1px solid var(--surface-border);
    border-radius: 14px;
    padding: var(--space-sm);
}

.feature-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-card p {
    font-size: var(--font-size-small);
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   COMING SOON BANNER
   ═══════════════════════════════════════════════════════════════════════════════ */
.coming-soon-banner {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: 18px;
    padding: var(--space-md);
    margin: var(--space-lg) 0;
    text-align: center;
}

.coming-soon-banner h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 8px;
}

.coming-soon-banner p {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.article-cta,
.newsletter-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.02) 100%);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    padding: var(--space-md);
    text-align: center;
    margin-top: var(--space-xl);
}

.article-cta h3,
.newsletter-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.article-cta p,
.newsletter-box p {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .article-page {
        --article-padding-x: 20px;
        --space-xl: 48px;
        --space-2xl: 72px;
        --font-size-display: clamp(1.5rem, 6vw, 1.85rem);
    }

    /* Hero */
    .article-hero {
        min-height: 55vh;
    }

    .article-hero-content {
        padding: 0 var(--article-padding-x) var(--space-md);
        align-items: center;
        text-align: center;
    }

    .article-hero-bg {
        opacity: 0.4;
    }

    /* Floating back button - Fixed under navbar (Apple-style) - Compact Mobile */
    .article-hero>.back-link {
        position: fixed;
        top: 80px;
        left: 16px;
        padding: 8px 14px;
        font-size: 0.7rem;
        z-index: 999;
        gap: 6px;
    }

    .article-hero>.back-link svg {
        width: 11px;
        height: 11px;
    }

    /* Category badge */
    .article-category {
        padding: 6px 14px;
        font-size: 0.6rem;
        margin-bottom: 10px;
    }

    /* Title */
    .article-title {
        margin-bottom: 10px;
        line-height: 1.2;
    }

    /* Meta - SINGLE LINE on mobile, CENTERED */
    .article-meta {
        font-size: 0.72rem;
        flex-wrap: nowrap;
        white-space: nowrap;
        justify-content: center;
    }

    .article-meta .meta-separator {
        margin: 0 6px;
        width: 2px;
        height: 2px;
    }

    /* Hide full author name on mobile, show short version */
    .article-meta .meta-author {
        font-size: 0;
    }

    .article-meta .meta-author::after {
        content: 'NovaRide';
        font-size: 0.72rem;
        color: var(--accent-green);
        font-weight: 500;
    }

    /* Content */
    .article-content {
        padding: var(--space-lg) var(--article-padding-x) var(--space-xl);
    }

    .article-intro {
        font-size: 0.95rem;
        margin-bottom: var(--space-lg);
        padding-bottom: var(--space-lg);
    }

    /* Stats - 3 cols compact */
    .article-stats,
    .stats-grid {
        gap: 8px;
    }

    .article-stat-value,
    .stat-value {
        font-size: 1.3rem;
    }

    /* Scooter cards - Image fills top like a banner */
    .scooter-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0;
        gap: 0;
        overflow: hidden;
    }

    .scooter-card-image {
        width: 100%;
        background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 200px;
    }

    .scooter-card-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    .scooter-card-content {
        padding: var(--space-md);
    }

    .scooter-card-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .scooter-card-name {
        font-size: 1.1rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .article-cta .btn {
        display: block;
        width: 100%;
    }

    /* Quote */
    .quote-box {
        padding: var(--space-sm);
        font-size: 0.9rem;
    }

    /* Rule cards */
    .rule-number,
    .secret-number {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* Very small screens */
@media (max-width: 375px) {
    .article-title {
        font-size: 1.35rem;
    }

    .article-hero>.back-link {
        top: 75px;
        left: 12px;
        padding: 6px 10px;
        font-size: 0.65rem;
        gap: 5px;
    }

    .article-stat-value,
    .stat-value {
        font-size: 1.15rem;
    }

    .article-meta {
        font-size: 0.7rem;
    }

    .article-meta .meta-separator {
        margin: 0 6px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE GRID CLASSES FOR ARTICLE CONTENT
   ═══════════════════════════════════════════════════════════════════════════════ */

/* 4-column grid - for specs */
.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* 3-column grid - for product cards */
.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 2-column grid */
.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Mobile: Stack all grids */
@media (max-width: 767px) {
    .grid-4-cols {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .grid-3-cols {
        grid-template-columns: 1fr !important;
    }

    .grid-2-cols {
        grid-template-columns: 1fr !important;
    }

    /* Override any inline styles on stats-grid */
    .article-content .stats-grid[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE CAROUSEL SYSTEM - Apple/Tesla Level
   Horizontal scroll with dots, swipe hint, and active-card effects
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Carousel Wrapper */
.blog-carousel-wrapper {
    position: relative;
    margin: 32px 0;
}

/* Horizontal Scroll Container */
.blog-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 5%;
    margin: 0 -5%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.blog-carousel::-webkit-scrollbar {
    display: none;
}

/* Carousel Card */
.blog-carousel-card {
    position: relative;
    flex: 0 0 85vw;
    max-width: 340px;
    scroll-snap-align: center;
    background: linear-gradient(145deg, rgba(30, 30, 35, 0.95) 0%, rgba(20, 20, 25, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.blog-carousel-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

/* Active Card Effect (Mobile) */
.blog-carousel-card.active-card {
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.15);
}

.blog-carousel-card.active-card::before {
    opacity: 1;
}

.blog-carousel-card:not(.active-card) {
    opacity: 0.75;
    transform: scale(0.96);
}

/* Pagination Dots */
.blog-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 8px 0;
}

.blog-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.blog-carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--nova-green, #10b981);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

/* Swipe Hint */
.blog-carousel-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    animation: carouselHintPulse 2s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

.blog-carousel-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

.blog-carousel-hint svg {
    width: 20px;
    height: 20px;
    animation: carouselArrow 1.5s ease-in-out infinite;
}

@keyframes carouselHintPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes carouselArrow {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }
}

/* Right Edge Fade */
.blog-carousel-fade {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: calc(100% - 80px);
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.blog-carousel-fade.hidden {
    opacity: 0;
}

/* Desktop: Hide carousel indicators and show full-width stacked cards */
@media (min-width: 768px) {
    .blog-carousel-wrapper {
        margin: 40px 0;
    }

    /* Stack cards vertically on desktop */
    .blog-carousel {
        display: flex;
        flex-direction: column;
        gap: 24px;
        overflow-x: visible;
        padding: 0;
        margin: 0;
    }

    /* Cards take full width but keep their internal layout */
    .blog-carousel-card {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .blog-carousel-card:hover {
        border-color: rgba(16, 185, 129, 0.4);
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(16, 185, 129, 0.12);
    }

    /* Hide mobile-only elements */
    .blog-carousel-dots,
    .blog-carousel-hint,
    .blog-carousel-fade {
        display: none !important;
    }
}

/* Card Badge */
.carousel-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--nova-green, #10b981);
    border-radius: 20px;
    margin-bottom: 12px;
}

.carousel-badge.badge-orange {
    background: #f59e0b;
    color: #000;
}

.carousel-badge.badge-red {
    background: #ef4444;
}

.carousel-badge.badge-blue {
    background: #3b82f6;
}

.carousel-badge.badge-purple {
    background: #a855f7;
}

/* Card Title */
.carousel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

/* Card Subtitle */
.carousel-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

/* Card List */
.carousel-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Card Price */
.carousel-price {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Premium Card Specs Grid */
.carousel-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
}

.carousel-spec .spec-value {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.carousel-spec .spec-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Premium card variant - slightly larger */
.blog-carousel-card-premium {
    min-height: 380px;
}

/* ============================================
   APPLE-LEVEL ORIENTATION OVERLAY
   Premium SVG Animation Design
   ============================================ */

.orientation-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(5, 10, 5, 0.99) 50%,
            rgba(0, 0, 0, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

/* Animated particles background */
.orientation-particles {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Glassmorphism card */
.orientation-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 32px;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(16, 185, 129, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    animation: cardAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Phone wrapper with glow */
.orientation-phone-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Circular arrow ring */
.orientation-arrow-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    animation: ringPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.arrow-path {
    animation: arrowDash 2.5s ease-in-out infinite;
}

@keyframes arrowDash {
    0% {
        stroke-dashoffset: 220;
        opacity: 0.3;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -220;
        opacity: 0.3;
    }
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Animated phone */
.orientation-phone {
    width: 50px;
    height: 84px;
    animation: phoneRotate 3s ease-in-out infinite;
    transform-origin: center center;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(16, 185, 129, 0.2));
}

.orientation-phone svg {
    width: 100%;
    height: 100%;
}

@keyframes phoneRotate {
    0% {
        transform: rotate(90deg);
    }

    20% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(0deg);
    }

    80% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(90deg);
    }
}

/* Text content */
.orientation-text-content {
    text-align: center;
}

.orientation-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.orientation-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Brand footer */
.orientation-brand {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.orientation-brand-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
}

/* Show on mobile/tablet landscape */
@media (max-width: 900px) and (orientation: landscape) {
    .orientation-overlay {
        display: flex;
    }
}

/* Hide on desktop */
@media (min-width: 901px) {
    .orientation-overlay {
        display: none !important;
    }
}

/* Smaller screens adjustments */
@media (max-height: 400px) and (orientation: landscape) {
    .orientation-card {
        padding: 20px 32px;
        gap: 16px;
        flex-direction: row;
    }

    .orientation-phone-wrapper {
        width: 100px;
        height: 100px;
    }

    .orientation-arrow-ring {
        width: 100px;
        height: 100px;
    }

    .orientation-phone {
        width: 36px;
        height: 60px;
    }

    .orientation-title {
        font-size: 1.1rem;
    }

    .orientation-subtitle {
        font-size: 0.75rem;
    }

    .orientation-brand {
        bottom: 12px;
    }
}