/* ==========================================================================
   RideTrigger - Modern Landing Page Stylesheet
   Design System: Deep Dark Slate, Brand Orange (#f99f38), Glassmorphism & Motorcycle Cockpit
   ========================================================================== */

:root {
    --bg-dark: #090d16;
    --bg-card: rgba(18, 24, 38, 0.75);
    --bg-card-hover: rgba(28, 36, 56, 0.9);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.22);
    --glass-blur: blur(20px);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Exact RideTrigger logo orange */
    --brand-orange: #f99f38;
    --brand-glow: rgba(249, 159, 56, 0.35);
    --brand-gradient: linear-gradient(135deg, #f99f38 0%, #ff6b35 100%);
    
    --gopro-blue: #00a4e4;
    --gopro-gradient: linear-gradient(135deg, #00d2ff 0%, #0077b6 100%);
    --gopro-glow: rgba(0, 164, 228, 0.3);
    
    --insta-yellow: #f59e0b;
    --insta-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --insta-glow: rgba(245, 158, 11, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 50px -10px var(--brand-glow);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Ambient Glows */
.ambient-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.glow-orange {
    top: 50px;
    left: 20%;
    background: var(--brand-orange);
}

.glow-blue {
    top: 35%;
    right: -100px;
    background: var(--gopro-blue);
}

.glow-yellow {
    top: 70%;
    left: -150px;
    background: #eab308;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.trigger-orange {
    color: var(--brand-orange) !important;
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Section Common Headers */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-orange);
    background: rgba(249, 159, 56, 0.1);
    border: 1px solid rgba(249, 159, 56, 0.25);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 1560px; /* Expands menu generously across wide desktop screens */
    padding: 0 clamp(20px, 3.5vw, 48px);
    box-sizing: border-box;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
    margin-right: 18px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 14px var(--brand-glow);
    transition: var(--transition);
}

.brand-logo:hover .brand-icon {
    transform: scale(1.05);
}

.brand-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 32px);
    list-style: none;
    flex-shrink: 1;
    margin: 0;
    padding: 0;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    white-space: nowrap; /* CRITICAL: Never break words into 2 lines */
}

.nav-links a:hover {
    color: #fff;
}

.btn-nav-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(249, 159, 56, 0.1);
    color: var(--brand-orange);
    border: 1px solid rgba(249, 159, 56, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-nav-coming-soon:hover {
    background: var(--brand-orange);
    color: #000;
    border-color: var(--brand-orange);
    box-shadow: 0 4px 18px var(--brand-glow);
}

/* ==========================================================================
   Language Selector Dropdown in Navbar
   ========================================================================== */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 14px;
}

.lang-selector-dropdown {
    position: relative;
    flex-shrink: 0;
}

.lang-btn {
    white-space: nowrap;
}

/* Mobile Menu Toggle Button */
.nav-toggle-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--brand-orange);
}

/* Mobile Navigation Menu Drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(9, 13, 22, 0.96);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-orange);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.lang-btn:hover, .lang-selector-dropdown.open .lang-btn {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.lang-btn i.fa-globe {
    color: var(--brand-orange);
    font-size: 14px;
}

.lang-chevron {
    font-size: 10px;
    color: var(--text-secondary);
    transition: transform 0.25s ease;
}

.lang-selector-dropdown.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: #0f1626;
    border: 1px solid var(--glass-border-hover);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    z-index: 1100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lang-selector-dropdown.open .lang-menu {
    display: flex;
    animation: fadeInDropdown 0.2s ease forwards;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition);
}

.lang-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.lang-item.active {
    background: rgba(249, 159, 56, 0.15);
    color: var(--brand-orange);
    font-weight: 700;
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: 110px;
    padding-bottom: 50px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.36) 0%, rgba(9, 13, 22, 0.42) 40%, rgba(9, 13, 22, 0.55) 75%, #090d16 100%),
                url('assets/features_bg.jpg') center bottom / cover no-repeat;
    background-attachment: fixed;
    box-sizing: border-box;
    overflow: hidden;
}

.hero > .container {
    position: relative;
    z-index: 2;
    max-width: 1040px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(9, 13, 22, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 9px 20px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-pill i {
    color: var(--brand-orange);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    max-width: 1040px;
    margin: 0 auto 24px auto;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-title-main {
    display: block;
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero-title-sub {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #f1f5f9;
}

.hero-desc {
    font-size: 19.5px;
    color: #e2e8f0;
    max-width: 780px;
    margin: 0 auto 42px auto;
    line-height: 1.6;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-desc strong {
    color: #fff;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.65);
    font-size: 18px;
    animation: bounceDown 2s infinite ease-in-out;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.25s ease;
    z-index: 5;
    padding: 6px;
}

.hero-scroll-indicator:hover {
    color: var(--brand-orange);
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(8px); }
    60% { transform: translateX(-50%) translateY(4px); }
}

/* Official Store Badges - Original Images Blurred/Transparent with Coming Soon (Requirement 1) */
.hero-badges-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.store-badge-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    height: 68px;
    background: #000000;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
}

.store-badge-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 45px rgba(255, 255, 255, 0.22);
}

.store-badge-card .badge-orig-img {
    height: 65px;
    width: auto;
    display: block;
    opacity: 0.82;
    filter: blur(0.7px);
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.store-badge-card:hover .badge-orig-img {
    opacity: 0.95;
    filter: blur(0.2px);
}

.badge-coming-soon-ribbon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.30);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 0 18px rgba(0, 0, 0, 0.95);
    pointer-events: none;
    border-radius: 14px;
    padding: 0 8px;
    text-align: center;
    white-space: nowrap;
}

.official-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 11px;
    padding: 8px 20px 8px 16px;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    min-width: 210px;
    height: 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.official-store-badge:hover {
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

.official-store-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.official-store-badge .badge-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.official-store-badge .badge-subtitle {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #d1d5db;
}

.official-store-badge .badge-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.4px;
}

.badge-tag-pill {
    position: absolute;
    top: -10px;
    right: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    background: var(--brand-orange);
    color: #000000;
}

/* ==========================================================================
   Dual Brand Ecosystem Cards
   ========================================================================== */
.dual-brand-banner {
    padding: 40px 0 70px 0;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dual-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 44px 38px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.dual-card.gopro {
    background-image: linear-gradient(180deg, rgba(12, 17, 28, 0.85) 0%, rgba(9, 13, 22, 0.94) 100%), url('assets/card_gopro_bg.jpg');
}

.dual-card.insta {
    background-image: linear-gradient(180deg, rgba(12, 17, 28, 0.85) 0%, rgba(9, 13, 22, 0.94) 100%), url('assets/card_insta_bg.jpg');
}

.dual-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dual-card.gopro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gopro-gradient);
}

.dual-card.insta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
}

.dual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.dual-brand-img {
    height: 32px;
    object-fit: contain;
}

.dual-platform-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.dual-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.dual-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.dual-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dual-features-list li {
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dual-card.gopro .dual-features-list i {
    color: var(--gopro-blue);
}

.dual-card.insta .dual-features-list i {
    color: var(--brand-orange);
}

/* ==========================================================================
   Core Features Grid (Everything You Need while Riding)
   ========================================================================== */
.features-section {
    padding: 70px 0 80px 0;
    position: relative;
    background: #090d16;
}

.features-lead-wrapper {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 48px auto;
    padding: 0 20px;
}

.features-lead-text {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #cbd5e1;
    font-weight: 500;
}

.features-lead-text strong {
    color: #ffffff;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: rgba(249, 159, 56, 0.1);
    border: 1px solid rgba(249, 159, 56, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--brand-orange);
    margin-bottom: 22px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
    background: var(--brand-orange);
    color: #000;
    box-shadow: 0 8px 24px var(--brand-glow);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ==========================================================================
   Motorcycle Cockpit Showcase & Interactive Switcher Floating over Photo
   ========================================================================== */
/* ==========================================================================
   Motorcycle Cockpit Showcase Section (Full Module Background)
   ========================================================================== */
.showcase-section {
    position: relative;
    width: 100%;
    min-height: 980px;
    padding: 50px 0 280px 0;
    overflow: hidden;
    background: #060910;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.showcase-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.showcase-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 66%;
    filter: brightness(0.95) contrast(1.05);
}

.showcase-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(6, 9, 16, 0.94) 0%, 
        rgba(6, 9, 16, 0.72) 190px, 
        rgba(6, 9, 16, 0.15) 450px, 
        rgba(6, 9, 16, 0.45) 100%
    );
    pointer-events: none;
}

.showcase-content-container {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Single-row, centered filters bar */
.demo-controls-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px auto 35px auto;
    text-align: center;
}

.demo-selector-bar {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 16px;
    background: rgba(11, 16, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 22px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.demo-selector-group {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.demo-selector-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.demo-selector-label i {
    color: var(--brand-orange);
}

.demo-selector-pills {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.demo-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.demo-pill-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.demo-pill-btn.active {
    background: #ffffff;
    color: #0b0f17;
    border-color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.35);
}

.demo-pill-btn.active i {
    color: #0b0f17;
}

.demo-pill-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.demo-selector-separator {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
    flex-shrink: 0;
}

/* Rugged navigation display unit */
.cockpit-device-unit {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 630px;
    margin: 0 auto;
    filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.98));
}

.rugged-device-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 796 / 520;
    margin: 0 auto;
}

.rugged-bezel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    z-index: 10;
    user-select: none;
    -webkit-user-drag: none;
}

.device-screen-glass {
    position: absolute;
    top: 12.31%;
    left: 8.79%;
    width: 81.41%;
    height: 75.38%;
    background: #090e17;
    border-radius: 6px;
    overflow: hidden;
    z-index: 2;
    display: flex;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.95);
}

/* Simulated App Root Container (100% full width and height) */
.demo-app-root {
    width: 100%;
    height: 100%;
    display: flex;
    flex: 1;
    min-width: 0;
    min-height: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    color: #ffffff;
    user-select: none;
    overflow: hidden;
    position: relative;
}

/* ==========================================================================
   Rotate Phone Hint Banner for Mobile Devices
   ========================================================================== */
.rotate-hint-banner {
    display: none; /* Hidden by default on desktop & landscape */
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(249, 159, 56, 0.14);
    border: 1.5px solid rgba(249, 159, 56, 0.55);
    border-radius: var(--radius-full);
    padding: 10px 22px;
    margin: 0 auto 25px auto;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(249, 159, 56, 0.25);
    cursor: pointer;
    text-align: center;
    max-width: 92%;
    transition: all 0.3s ease;
    animation: rotateBannerPulse 2.8s infinite ease-in-out;
}

.rotate-hint-banner:hover, .rotate-hint-banner.pulse-highlight {
    background: rgba(249, 159, 56, 0.25);
    border-color: #f99f38;
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8), 0 0 30px rgba(249, 159, 56, 0.5);
}

@keyframes rotateBannerPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(249, 159, 56, 0.2);
        border-color: rgba(249, 159, 56, 0.45);
    }
    50% {
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8), 0 0 25px rgba(249, 159, 56, 0.55);
        border-color: rgba(249, 159, 56, 0.9);
    }
}

.rotate-hint-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rotate-hint-icon .phone-icon {
    font-size: 20px;
    color: var(--brand-orange);
    animation: phoneTilt 2.4s infinite ease-in-out;
    transform-origin: center center;
}

@keyframes phoneTilt {
    0%, 20% {
        transform: rotate(0deg);
    }
    45%, 75% {
        transform: rotate(90deg);
    }
    95%, 100% {
        transform: rotate(0deg);
    }
}

.rotate-hint-icon .rotate-arrow {
    position: absolute;
    right: -6px;
    top: -4px;
    font-size: 11px;
    color: #ffffff;
    opacity: 0.9;
}

.rotate-hint-text {
    line-height: 1.35;
    letter-spacing: -0.2px;
}

/* Visibility rules for Rotate Hint Banner */
.rotate-hint-banner {
    display: none; /* Hidden by default on desktop */
    touch-action: manipulation;
}

@media (max-width: 768px) and (orientation: portrait) {
    .rotate-hint-banner {
        display: inline-flex;
    }
}

@media (max-width: 580px) {
    .rotate-hint-banner {
        display: inline-flex;
    }
}

@media (orientation: landscape) {
    .rotate-hint-banner {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .rotate-hint-banner {
        display: none !important;
    }
}

/* Landscape Exit / Switch to Portrait Mode Button */
.landscape-exit-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(11, 16, 26, 0.94);
    border: 1.5px solid var(--brand-orange);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 16px rgba(249, 159, 56, 0.4);
    touch-action: manipulation;
    margin: 0 auto 20px auto;
    transition: all 0.25s ease;
    z-index: 50;
    max-width: 90%;
}

.landscape-exit-btn:hover {
    background: rgba(249, 159, 56, 0.25);
    border-color: #ffffff;
    transform: scale(1.03);
}

.landscape-exit-btn i {
    color: var(--brand-orange);
    font-size: 14px;
}

/* Visibility rules for Landscape Exit Button */
@media (orientation: landscape) and (max-height: 650px),
       (orientation: landscape) and (max-width: 950px) {
    .landscape-exit-btn {
        display: inline-flex;
    }
    .rotate-hint-banner {
        display: none !important;
    }
}

:fullscreen .landscape-exit-btn,
:-webkit-full-screen .landscape-exit-btn {
    display: inline-flex !important;
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
}



/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .demo-selector-bar {
        flex-wrap: wrap;
        border-radius: 18px;
        padding: 10px 14px;
        gap: 12px;
    }
    .demo-selector-separator {
        display: none;
    }
    .showcase-section {
        min-height: 760px;
        padding: 45px 0 160px 0;
    }
}

/* Removed flash & toasts */
.demo-screen-flash {
    display: none !important;
}

.demo-screen-toast {
    display: none !important;
}

/* ==========================================================================
   APPLE CARPLAY AUTHENTIC STYLING (1:1 Match with insta360_en_1 & gopro_en_1)
   ========================================================================== */
.cp-ui-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    background: radial-gradient(ellipse at 75% 15%, #1c424a 0%, #112236 45%, #0c1522 100%);
    overflow: hidden;
}

/* Left CarPlay Dock Bar */
.cp-dock-bar {
    width: 66px;
    height: 100%;
    background: #000000;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 10px 0;
    box-sizing: border-box;
    z-index: 15;
    flex-shrink: 0;
}

.cp-dock-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.cp-clock {
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    font-variant-numeric: tabular-nums;
}

.cp-dock-signal {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #8e8e93;
}

.cp-signal-dots {
    letter-spacing: -1.5px;
    font-size: 9px;
    color: #8e8e93;
}

/* Single Active App Tile in Dock (Exact 1:1 match) */
.cp-dock-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-app-tile {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s;
    overflow: hidden;
}

.cp-app-tile:hover {
    transform: scale(1.06);
}

.cp-app-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
    display: block;
}

/* CarPlay 9-Dot Home Button */
.cp-home-btn {
    width: 24px;
    height: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    cursor: pointer;
    padding: 2px;
}

.cp-home-btn span {
    width: 4.5px;
    height: 4.5px;
    background: #ffffff;
    border-radius: 1px;
}

/* CarPlay Main Content Viewport */
.cp-main-viewport {
    flex: 1;
    width: calc(100% - 66px);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.cp-nav-header {
    height: 50px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    box-sizing: border-box;
}

.cp-back-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.cp-back-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.cp-header-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.2px;
    text-align: center;
}

.cp-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-lens-btn {
    background: #113861;
    border: 1.5px solid rgba(59, 130, 246, 0.55);
    color: #ffffff;
    padding: 4px 15px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cp-lens-btn:hover {
    background: #1d4ed8;
}

.cp-power-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #113861;
    border: 1.5px solid rgba(59, 130, 246, 0.55);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.cp-power-btn:hover {
    background: rgba(239, 68, 68, 0.35);
    color: #ef4444;
}

/* CarPlay List Content (Full Width & Height Seamless Fill) */
.cp-list-container {
    flex: 1 1 auto;
    width: 100%;
    height: calc(100% - 50px);
    padding: 8px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
}

/* Base CarPlay List Row */
.cp-list-row {
    width: 100%;
    box-sizing: border-box;
    transition: all 0.18s ease;
}

/* Row 1: Status Card Row */
.cp-status-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* FOCUSED / SELECTED Item (White Pill Card - 1:1 match with screenshots) */
.cp-list-row.is-selected {
    background: #ffffff !important;
    border-radius: 22px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    border: none !important;
}

.cp-status-row.is-selected {
    padding: 10px 22px;
}

.cp-status-row.is-selected .cp-status-title {
    font-size: 20.5px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

.cp-status-row.is-selected .cp-status-subtitle {
    font-size: 14.5px;
    font-weight: 500;
    color: #4b5563;
    margin-top: 3px;
}

/* UNSELECTED Item (Transparent with subtle separator line below - 1:1 match) */
.cp-list-row.is-unselected {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

.cp-status-row.is-unselected {
    padding: 10px 14px;
}

.cp-status-row.is-unselected .cp-status-title {
    font-size: 20.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.cp-status-row.is-unselected .cp-status-subtitle {
    font-size: 14.5px;
    font-weight: 500;
    color: #9ca3af;
    margin-top: 3px;
}

/* Row 2: Mode Item Row */
.cp-mode-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    cursor: pointer;
}

.cp-mode-row:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.cp-mode-row .cp-row-icon {
    font-size: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    flex-shrink: 0;
}

.cp-mode-row .cp-row-title {
    color: #ffffff;
    font-size: 19.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Row 3: Record / Shutter Row */
.cp-record-row {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    user-select: none;
}

/* Record row when UNSELECTED (Idle Ready State) */
.cp-record-row.is-unselected {
    padding: 12px 14px;
}

.cp-record-row.is-unselected:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.cp-record-row.is-unselected .cp-row-icon {
    font-size: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    flex-shrink: 0;
}

.cp-record-row.is-unselected .cp-record-title {
    color: #ffffff;
    font-size: 19.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.cp-record-row.is-unselected .cp-record-subtitle {
    display: none !important;
}

/* Record row when SELECTED (Recording active) */
.cp-record-row.is-selected {
    padding: 8px 20px;
}

.cp-record-row.is-selected .cp-record-text-col {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cp-record-row.is-selected .cp-record-title {
    color: #000000;
    font-size: 20.5px;
    font-weight: 700;
    line-height: 1.2;
}

.cp-record-row.is-selected .cp-record-subtitle {
    display: block !important;
    color: #6b7280;
    font-size: 14.5px;
    font-weight: 500;
    margin-top: 2px;
}

/* Circular stop badge matching screenshots (white circle with dark square) */
.cp-stop-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cp-stop-badge-square {
    width: 10px;
    height: 10px;
    background: #374151;
    border-radius: 2px;
}

/* CarPlay Camera List View (When Back is clicked) */
.cp-camera-list-view {
    justify-content: flex-start !important;
    gap: 0 !important;
    padding-top: 6px !important;
}

.cp-camera-item {
    background: rgba(28, 28, 30, 0.95);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cp-camera-item:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.cp-camera-item:last-child {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom: none;
}

.cp-camera-item:hover {
    background: rgba(44, 44, 46, 0.98);
}

.cp-cam-icon {
    font-size: 12px;
}

.cp-cam-info {
    flex: 1;
    text-align: left;
}

.cp-cam-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.cp-cam-sub {
    color: #8e8e93;
    font-size: 12px;
    margin-top: 2px;
}

.cp-chevron {
    color: #636366;
    font-size: 13px;
}

/* ==========================================================================
   ANDROID AUTO AUTHENTIC STYLING (1:1 Match with Insta360_en_3 & Insta360_en_4)
   ========================================================================== */
.aa-ui-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #202124;
}

/* Top Nav Header */
.aa-nav-header {
    height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: #202124;
    box-sizing: border-box;
}

.aa-back-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #e8eaed;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    transition: color 0.2s;
}

.aa-back-btn:hover {
    color: #ffffff;
}

.aa-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aa-lens-btn {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.2s;
}

.aa-lens-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.aa-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.aa-icon-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Android Auto Main Viewport (Full width, no side dead zone!) */
.aa-main-viewport {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 24px 22px 24px;
    box-sizing: border-box;
    background: #202124;
    overflow: hidden;
}

.aa-control-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.aa-info-block {
    text-align: left;
}

.aa-pane-cam-title {
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.aa-pane-status-line {
    color: #9aa0a6;
    font-size: 15px;
    font-weight: 500;
    margin-top: 5px;
}

.aa-pane-details-line {
    color: #9aa0a6;
    font-size: 14px;
    font-weight: 500;
    margin-top: 3px;
}

/* Two Side-By-Side Pill Buttons (Exact 1:1 match with Insta360_en_3 & 4) */
.aa-actions-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    margin-top: auto;
}

.aa-btn-mode {
    flex: 1;
    height: 52px;
    background: #303134;
    border: none;
    border-radius: 26px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.aa-btn-mode:hover {
    background: #3c4043;
}

.aa-btn-record {
    flex: 1;
    height: 52px;
    background: #a8c7fa;
    border: none;
    border-radius: 26px;
    color: #041e49;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.aa-btn-record:hover {
    background: #c2e7ff;
}

.aa-btn-record.is-recording {
    background: #a8c7fa;
    color: #041e49;
}

/* Android Auto List View */
.aa-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aa-list-item {
    background: #303134;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.aa-list-item:hover {
    background: #3c4043;
}

.aa-list-icon {
    font-size: 18px;
}

.aa-list-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.aa-list-subtitle {
    color: #9aa0a6;
    font-size: 12px;
    margin-top: 2px;
}

/* Bottom Android Auto Rail / Taskbar (Full Width) */
.aa-bottom-bar {
    height: 48px;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
}

.aa-rail-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aa-launcher-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aa-grid-squares {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
}

.aa-grid-squares span {
    width: 7px;
    height: 7px;
    border: 1.5px solid #e8eaed;
    border-radius: 2px;
    box-sizing: border-box;
}

.aa-mic-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 4px;
}

.aa-rail-center {
    display: flex;
    align-items: center;
    gap: 16px;
}

.aa-app-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    color: #ffffff;
}

.aa-app-icon.maps-icon {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.aa-app-icon.audio-icon {
    background: #1a73e8;
}

.aa-app-icon.phone-icon {
    background: #34a853;
}

.aa-app-icon.camera-icon {
    background: #202124;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.aa-app-icon.camera-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.aa-rail-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #e8eaed;
}

.aa-battery-indicator {
    font-size: 13px;
}

.aa-rail-clock {
    font-weight: 700;
    color: #ffffff;
    font-size: 14.5px;
    letter-spacing: -0.2px;
}

/* ==========================================================================
   Mobile Portrait Scaling for Navigation Simulator (Fits cleanly in portrait)
   Placed AFTER all base CarPlay & Android Auto rules so it overrides them!
   ========================================================================== */
@media (max-width: 680px), (max-width: 820px) and (orientation: portrait) {
    .device-screen-glass {
        touch-action: manipulation;
    }
    
    .cp-list-row, .cp-back-btn, .cp-home-btn, .cp-lens-btn, .cp-power-btn,
    .aa-back-btn, .aa-lens-btn, .aa-icon-btn, .aa-btn-mode, .aa-btn-record {
        touch-action: manipulation;
    }

    .cockpit-device-unit {
        max-width: 96% !important;
    }
    
    /* CarPlay Dock scaled down */
    .cp-dock-bar {
        width: 38px !important;
        padding: 4px 0 !important;
    }
    
    .cp-clock {
        font-size: 9.5px !important;
    }
    
    .cp-signal-dots {
        font-size: 7px !important;
        letter-spacing: 0 !important;
    }
    
    .cp-dock-signal i {
        font-size: 8px !important;
    }
    
    .cp-app-tile {
        width: 25px !important;
        height: 25px !important;
        border-radius: 6px !important;
    }
    
    .cp-app-icon-img {
        border-radius: 6px !important;
    }
    
    .cp-home-btn {
        width: 14px !important;
        height: 14px !important;
        gap: 2px !important;
    }
    
    .cp-home-btn span {
        width: 2.5px !important;
        height: 2.5px !important;
    }
    
    /* CarPlay Header scaled down */
    .cp-main-viewport {
        width: calc(100% - 38px) !important;
    }
    
    .cp-nav-header {
        height: 26px !important;
        padding: 0 6px !important;
    }
    
    .cp-back-btn {
        width: 20px !important;
        height: 20px !important;
        font-size: 9.5px !important;
    }
    
    .cp-header-title {
        font-size: 10.5px !important;
    }
    
    .cp-lens-btn {
        padding: 1.5px 6px !important;
        font-size: 8.5px !important;
        border-radius: 10px !important;
    }
    
    .cp-power-btn {
        width: 20px !important;
        height: 20px !important;
        font-size: 9.5px !important;
    }
    
    /* CarPlay List Container */
    .cp-list-container {
        padding: 2px 5px 3px 5px !important;
        height: calc(100% - 26px) !important;
    }
    
    .cp-status-row.is-selected {
        padding: 3px 8px !important;
        border-radius: 10px !important;
    }
    
    .cp-status-row.is-selected .cp-status-title {
        font-size: 10.5px !important;
        line-height: 1.15 !important;
    }
    
    .cp-status-row.is-selected .cp-status-subtitle {
        font-size: 8px !important;
        margin-top: 1px !important;
    }
    
    .cp-status-row.is-unselected {
        padding: 2px 5px !important;
    }
    
    .cp-status-row.is-unselected .cp-status-title {
        font-size: 10.5px !important;
        line-height: 1.15 !important;
    }
    
    .cp-status-row.is-unselected .cp-status-subtitle {
        font-size: 8px !important;
        margin-top: 1px !important;
    }
    
    .cp-mode-row {
        padding: 3px 5px !important;
        gap: 6px !important;
    }
    
    .cp-mode-row .cp-row-icon {
        font-size: 10px !important;
        width: 14px !important;
    }
    
    .cp-mode-row .cp-row-title {
        font-size: 9.5px !important;
    }
    
    .cp-record-row {
        padding: 3px 5px !important;
        gap: 6px !important;
    }
    
    .cp-record-row.is-selected {
        padding: 3px 7px !important;
        border-radius: 10px !important;
    }
    
    .cp-record-row .cp-row-icon {
        font-size: 10px !important;
        width: 14px !important;
    }
    
    .cp-record-row .cp-record-title {
        font-size: 9.5px !important;
    }
    
    .cp-record-row .cp-record-subtitle {
        font-size: 7.5px !important;
    }
    
    .cp-stop-badge {
        width: 16px !important;
        height: 16px !important;
    }
    
    .cp-stop-badge-square {
        width: 5px !important;
        height: 5px !important;
    }
    
    /* CarPlay Camera List View on Mobile */
    .cp-camera-item {
        padding: 4px 8px !important;
        gap: 6px !important;
    }
    
    .cp-camera-item:first-child {
        border-top-left-radius: 8px !important;
        border-top-right-radius: 8px !important;
    }
    
    .cp-camera-item:last-child {
        border-bottom-left-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
    }
    
    .cp-cam-title {
        font-size: 10px !important;
    }
    
    .cp-cam-sub {
        font-size: 7.5px !important;
    }
    
    .cp-chevron {
        font-size: 8.5px !important;
    }
    
    /* Android Auto scaled down on Mobile */
    .aa-nav-header {
        height: 26px !important;
        padding: 0 6px !important;
    }
    
    .aa-back-btn, .aa-icon-btn {
        width: 20px !important;
        height: 20px !important;
        font-size: 9px !important;
    }
    
    .aa-lens-btn {
        padding: 1.5px 6px !important;
        font-size: 8.5px !important;
    }
    
    .aa-control-screen {
        padding: 3px 6px 4px 6px !important;
    }
    
    .aa-pane-cam-title {
        font-size: 10.5px !important;
        margin-bottom: 1px !important;
    }
    
    .aa-pane-status-line {
        font-size: 8px !important;
        margin: 1px 0 2px 0 !important;
    }
    
    .aa-actions-row {
        gap: 5px !important;
        margin-top: 2px !important;
    }
    
    .aa-btn-mode, .aa-btn-record {
        padding: 3px 6px !important;
        font-size: 9px !important;
        border-radius: 8px !important;
        gap: 4px !important;
    }
    
    .aa-bottom-bar {
        height: 26px !important;
        padding: 0 8px !important;
    }
    
    .aa-grid-squares span {
        width: 5px !important;
        height: 5px !important;
    }
    
    .aa-app-icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 9px !important;
    }
    
    .aa-rail-clock {
        font-size: 9.5px !important;
    }
    
    .aa-list-container {
        padding: 2px 6px !important;
        gap: 3px !important;
    }
    
    .aa-list-item {
        padding: 3px 6px !important;
        gap: 5px !important;
        border-radius: 6px !important;
    }
    
    .aa-list-title {
        font-size: 9.5px !important;
    }
    
    .aa-list-subtitle {
        font-size: 7.5px !important;
    }
}

/* ==========================================================================
   Demo Version Tag & Hidden Demo Login Modal (5-tap trigger)
   ========================================================================== */
.demo-version-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(249, 159, 56, 0.12);
    border: 1px solid rgba(249, 159, 56, 0.35);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-orange);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.demo-version-tag:hover {
    background: rgba(249, 159, 56, 0.25);
    border-color: var(--brand-orange);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--brand-glow);
}

.demo-version-tag:active {
    transform: scale(0.96);
}

.demo-ver-num {
    font-weight: 800;
}

.demo-ver-hint {
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 500;
}

/* Modal Overlay */
.demo-login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    box-sizing: border-box;
}

.demo-login-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 26px 30px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--brand-glow);
    text-align: left;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.demo-login-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.demo-login-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(249, 159, 56, 0.15);
    border: 1px solid rgba(249, 159, 56, 0.4);
    color: var(--brand-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.demo-login-header h4 {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.demo-login-sub {
    font-size: 12px;
    color: #94a3b8;
}

.demo-login-desc {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 10px 0 18px 0;
}

.demo-input-group {
    margin-bottom: 14px;
}

.demo-input-group label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.demo-input-group input {
    width: 100%;
    background: #1f293d;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 14.5px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.demo-input-group input:focus {
    border-color: var(--brand-orange);
}

.demo-login-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 22px;
}

.demo-btn-cancel {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    color: #cbd5e1;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.demo-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.16);
}

.demo-btn-submit {
    background: var(--brand-orange);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    color: #000000;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.demo-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--brand-glow);
}

@keyframes recordingButtonGlow {
    0% { box-shadow: 0 0 10px rgba(220, 38, 38, 0.5); }
    50% { box-shadow: 0 0 25px rgba(220, 38, 38, 0.9); }
    100% { box-shadow: 0 0 10px rgba(220, 38, 38, 0.5); }
}

.rec-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    animation: recBlink 1s infinite;
}

@keyframes recBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}



.compatibility-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 24, 38, 0.45) 50%, transparent 100%);
    position: relative;
}

/* Platform Difference Warning Box */
.compat-alert-box {
    background: rgba(249, 159, 56, 0.08);
    border: 1px solid rgba(249, 159, 56, 0.35);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin-bottom: 36px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    backdrop-filter: var(--glass-blur);
}

.compat-alert-icon {
    font-size: 26px;
    color: var(--brand-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.compat-alert-content h4 {
    font-size: 16.5px;
    color: var(--brand-orange);
    margin-bottom: 8px;
}

.compat-alert-content p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.compat-alert-content strong {
    color: #ffffff;
}

/* Compatibility Interactive Filter Bar (Requirement 6) */
.compat-filters-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.filter-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 24, 38, 0.85);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 4px;
}

.filter-pill {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    touch-action: manipulation;
}

.filter-pill:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-pill.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* Unified Table Card */
.compat-table-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.compat-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.compat-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.compat-table th {
    background: rgba(28, 36, 56, 0.7);
    padding: 18px 24px;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #cbd5e1;
    border-bottom: 1px solid var(--glass-border);
    white-space: nowrap;
}

.platform-th-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.compat-table td {
    padding: 16px 24px;
    font-size: 14.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    vertical-align: middle;
}

.compat-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.compat-table tr:last-child td {
    border-bottom: none;
}

/* Dynamic Column Hiding when Filtering by Platform */
.compat-table.hide-androidauto .col-androidauto {
    display: none !important;
}

.compat-table.hide-carplay .col-carplay {
    display: none !important;
}

/* Brand Pills */
.brand-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gopro-pill {
    background: rgba(0, 164, 228, 0.15);
    color: var(--gopro-blue);
    border: 1px solid rgba(0, 164, 228, 0.3);
}

.insta-pill {
    background: rgba(249, 159, 56, 0.15);
    color: var(--brand-orange);
    border: 1px solid rgba(249, 159, 56, 0.3);
}

.cam-name {
    font-size: 15px;
    white-space: nowrap;
}

.mini-diff-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 2px 7px;
    border-radius: var(--radius-full);
    margin-left: 8px;
    vertical-align: middle;
}

/* Support Status Pills */
.pill-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.pill-status.supported {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.pill-status.unsupported {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.text-center {
    text-align: center;
}

.cam-notes {
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* Exclusive row styling */
.compat-row.exclusive-row {
    background: rgba(245, 158, 11, 0.03);
}

.compat-row.exclusive-row:hover {
    background: rgba(245, 158, 11, 0.08);
}

.exclusive-note-tag {
    color: #fbbf24;
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-section {
    padding: 90px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.step-number {
    font-size: 44px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 90px 0;
}

.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--glass-border-hover);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question i {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--brand-orange);
}

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 250px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

/* ==========================================================================
   Pre-Launch Banner
   ========================================================================== */
.prelaunch-banner {
    padding: 60px 0 100px 0;
}

.prelaunch-card {
    background: linear-gradient(135deg, rgba(28, 36, 56, 0.95) 0%, rgba(18, 24, 38, 0.95) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.prelaunch-card h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.prelaunch-card p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 70px 0 40px 0;
    background: #060910;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14.5px;
    margin-top: 16px;
    max-width: 340px;
}

.footer-links-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-col a:hover {
    color: var(--brand-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 11.5px;
    line-height: 1.6;
    color: #475569;
}

/* ==========================================================================
   Toast Notification Modal
   ========================================================================== */
.toast-modal {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast-modal.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-content {
    background: #1e2638;
    border: 1px solid var(--brand-orange);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--brand-glow);
    max-width: 360px;
}

.toast-icon {
    font-size: 22px;
    color: var(--brand-orange);
}

.toast-text h5 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.toast-text p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    margin-left: auto;
    padding: 0 4px;
}

.toast-close:hover {
    color: #fff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1240px) {
    .nav-links {
        gap: clamp(10px, 1.4vw, 18px);
    }
    .nav-links a {
        font-size: 13.5px;
    }
    .btn-nav-coming-soon {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 1080px) {
    .nav-links {
        display: none !important;
    }
    .nav-toggle-btn {
        display: inline-flex !important;
    }
    .btn-nav-coming-soon {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    .features-grid, .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 34px;
    }
    .dual-grid {
        grid-template-columns: 1fr;
    }
    .features-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    .cockpit-switcher-buttons {
        border-radius: var(--radius-md);
    }
    .cockpit-btn {
        width: 100%;
        justify-content: center;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .device-bezel {
        padding: 10px 8px;
    }
    .motorcycle-stage-wrapper {
        padding: 30px 12px;
    }
    .hero-badges-wrapper {
        gap: 16px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto 24px auto;
        flex-direction: column;
        align-items: center;
    }
    .store-badge-card {
        width: 100%;
        max-width: 300px;
        height: 72px;
        border-radius: 16px;
        border: 1.5px solid rgba(255, 255, 255, 0.45);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(249, 159, 56, 0.15);
    }
    .store-badge-card .badge-orig-img {
        height: 68px;
        width: auto;
    }
    .badge-coming-soon-ribbon {
        font-size: 15px;
        font-weight: 900;
        letter-spacing: 1.5px;
        padding: 0 12px;
    }

    /* Mobile Compatibility Filter Bar (Single row per category, no text wrap) */
    .compat-filters-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-bottom: 24px;
        width: 100%;
    }
    .filter-group {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 3px 6px;
        gap: 4px;
        border-radius: var(--radius-full);
        scrollbar-width: none;
        box-sizing: border-box;
    }
    .filter-group::-webkit-scrollbar {
        display: none;
    }
    .filter-label {
        font-size: 11px;
        margin-right: 2px;
        white-space: nowrap;
        flex-shrink: 0;
        padding-left: 2px;
    }
    .filter-pill {
        padding: 4px 8px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
        gap: 3px;
        border-radius: var(--radius-full);
        line-height: 1.2;
    }
    .filter-pill i {
        font-size: 11px;
        margin-right: 2px;
    }
}
