/* APEX AUTO Premium Design System & Stylesheet */

/* --- CSS Variables --- */
:root {
    --bg-main: #070B12;
    --bg-card: rgba(11, 16, 26, 0.6);
    --bg-card-hover: rgba(17, 24, 39, 0.75);
    --bg-header: rgba(7, 11, 18, 0.85);
    
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-text-light: #ffffff;
    
    --gold: #3B82F6;
    --gold-dark: #1d4ed8;
    --gold-light: #60a5fa;
    --gold-gradient: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    --gold-glow: 0 0 25px rgba(59, 130, 246, 0.35);
    
    --border-color: rgba(255, 255, 255, 0.05);
    --border-gold: rgba(59, 130, 246, 0.15);
    --border-gold-hover: rgba(59, 130, 246, 0.45);
    
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-main: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.12);
    --glass-bg: rgba(20, 24, 33, 0.65);
    --glass-blur: blur(16px);
}



/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Accessibility screen-reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    position: relative;
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(11, 16, 32, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(17, 24, 39, 0.25) 0%, transparent 50%);
    background-size: 100% 100%, 100% 100%; /* No grid size needed */
    background-attachment: fixed;
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-tech-graphic {
    position: absolute;
    pointer-events: none;
    opacity: 0.06;
    z-index: 0;
    transition: opacity 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--color-text-light);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Layout Grids --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-2-equal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

/* --- Typography Helpers --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.subtitle-gold {
    display: inline-block;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Buttons & UI Elements --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.btn-full {
    width: 100%;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #ffffff;
    box-shadow: var(--gold-glow);
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}

.btn-gold:active {
    transform: translateY(0);
}

.btn-outline {
    border: 1px solid var(--border-gold-hover);
    color: var(--color-text-light);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--gold);
    color: var(--color-text-light);
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-top {
    background-color: rgba(4, 6, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    transition: all var(--transition-normal);
    opacity: 1;
    height: 42px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.header-top-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info {
    display: flex;
    gap: 20px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

.info-item {
    display: inline-flex;
    align-items: center;
}

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

.header-top-socials .phone-link {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 700;
}

.top-social-icon {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-social-icon:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-1px);
}

.header-main-row {
    background-color: var(--bg-header);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.header {
    transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.header.scrolled {
    transform: translateY(-42px);
}

.header.scrolled .header-top {
    opacity: 0;
    pointer-events: none;
}

.header.scrolled .header-main-row {
    background-color: rgba(7, 9, 14, 0.95);
    box-shadow: var(--shadow-main);
}

.header.scrolled .header-container {
    padding: 10px 20px;
}

.logo {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--gold);
    margin-right: 2px;
}

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

.nav-link {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-text-light);
}

.nav-link:hover::after {
    width: 100%;
}

.header-rates {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.rates-label {
    color: var(--gold);
    font-weight: 600;
}

.rate-item {
    font-weight: 500;
    display: flex;
    gap: 4px;
}

.rate-item span {
    color: var(--color-text-light);
}

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

.phone-link {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
}

.phone-link:hover {
    color: var(--gold);
}

.btn-header {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    background: transparent;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-light);
    transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-card);
    z-index: 999;
    padding: 100px 30px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: var(--transition-normal);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-link {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.mobile-link:hover {
    color: var(--gold);
}

.mobile-phone {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 15px;
}

.mobile-rates {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.rates-title {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 0.8rem;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background: transparent;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 60%),
      linear-gradient(135deg, rgba(5, 6, 8, 0.45) 0%, rgba(8, 13, 22, 0.55) 50%, rgba(5, 6, 8, 0.45) 100%);
    z-index: 1;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 80%);
    z-index: 1;
}

.hero-container-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid var(--border-gold);
    padding: 6px 14px;
    border-radius: 4px;
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--color-text-muted);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

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

/* --- Hero Vehicles Showcase Layout --- */
.hero-vehicles-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

.hero-vehicle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 100px; /* Space for plaque above */
}

.hero-vehicle-svg {
    width: 100%;
    max-width: 320px;
    height: auto;
    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.75;
}

.hero-vehicle-svg svg {
    display: block;
    width: 100%;
    height: auto;
}

.hero-vehicle-card.active .hero-vehicle-svg {
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.45));
    transform: scale(1.04);
    opacity: 1;
}

/* Brighten strokes dynamically in active card */
.hero-vehicle-card.active svg path {
    stroke: #00c8ff !important;
    transition: stroke 0.6s ease;
}

.hero-vehicle-label {
    margin-top: 20px;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    transition: color 0.6s ease;
}

.hero-vehicle-label-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-vehicle-card.active .hero-vehicle-label-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.hero-label-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    color: var(--color-text-muted);
    transition: color 0.6s ease, transform 0.6s ease;
}

.hero-vehicle-card.active .hero-label-icon {
    color: var(--gold);
    transform: scale(1.1);
}

.hero-vehicle-trust-label {
    font-family: var(--font-headings);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    text-align: center;
    transition: color 0.6s ease, text-shadow 0.6s ease;
}

.hero-vehicle-card.active .hero-vehicle-trust-label {
    color: var(--color-text-light);
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
}

/* --- Interactive Plaque Tags --- */
.hero-plaque-tag {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%, 15px) scale(0.92);
    opacity: 0;
    pointer-events: none;
    background: rgba(11, 15, 23, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 8px;
    padding: 10px 18px;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.15);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 15;
}

.hero-plaque-tag::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: rgba(11, 15, 23, 0.9);
    border-right: 1px solid rgba(59, 130, 246, 0.25);
    border-bottom: 1px solid rgba(59, 130, 246, 0.25);
}

.hero-vehicle-card.active .hero-plaque-tag {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    pointer-events: auto;
}

.plaque-header {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: #3B82F6;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
}

.plaque-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.plaque-unit {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* Floating animation system for visual section */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-vehicles-showcase {
    animation: heroFloat 6s ease-in-out infinite;
}

@media (max-width: 1023px) {
    .hero-vehicles-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
        animation: none;
    }
    .hero-vehicle-card {
        padding-top: 80px;
    }
    .hero-vehicle-svg {
        max-width: 280px;
    }
}

/* --- Badges Strip --- */
.badges-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.badge-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.badge-icon-box {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.badge-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.badge-desc {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* --- Catalog Section --- */
.catalog-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.tabs-buttons {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 40px;
    display: flex;
    gap: 4px;
}

.tab-btn {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--color-text-muted);
}

.tab-btn:hover {
    color: var(--color-text-light);
}

.tab-btn.active {
    background: var(--gold-gradient);
    color: #000000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.car-card {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.car-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
    z-index: 5;
}

.car-card:hover::after {
    left: 150%;
    transition: left 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.car-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold-hover);
    box-shadow: var(--shadow-main), var(--shadow-glow);
}

.car-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #000;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-card:hover .car-image {
    transform: scale(1.08);
}

.country-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.car-info {
    padding: 25px;
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.car-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.auction-score {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 0.7rem;
    font-family: var(--font-headings);
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.car-spec {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.spec-list {
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.spec-label {
    color: var(--color-text-muted);
}

.spec-value {
    font-weight: 500;
    color: var(--color-text-light);
}

.car-price-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.price-lbl {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.price-value {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
}

.catalog-bottom {
    margin-top: 60px;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(20, 24, 33, 0.65) 0%, rgba(10, 12, 18, 0.45) 100%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-bottom p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-catalog-bottom {
    width: 100%;
    max-width: 380px; /* matches catalog car card width */
    margin: 10px auto 0;
    display: block;
}

/* --- Calculator Section --- */
.calculator-section {
    padding: 100px 0;
    background-color: rgba(7, 11, 18, 0.45);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

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

.calc-inputs-card {
    box-shadow: var(--shadow-main);
}

.calc-results-card {
    border-color: var(--border-gold);
    background: radial-gradient(circle at top right, rgba(212,175,55,0.05) 0%, rgba(14,19,31,1) 80%);
    box-shadow: var(--shadow-main), var(--shadow-glow);
    position: sticky;
    top: 100px;
}

.calc-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

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

.form-label {
    display: block;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.label-with-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-badge {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px 18px;
    color: var(--color-text-light);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.form-select option {
    background-color: var(--bg-card);
    color: var(--color-text-light);
}

.input-helper {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* Radio toggle styling */
.radio-toggle-group {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 8px;
}

.radio-toggle-group input[type="radio"] {
    display: none;
}

.radio-toggle-group label {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.radio-toggle-group input[type="radio"]:checked + label {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-weight: 700;
}

.radio-toggle-group.flex-3 label {
    flex: 1;
}

/* Receipt Details styling */
.receipt-table {
    margin-bottom: 30px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.95rem;
}

.receipt-lbl {
    color: var(--color-text-muted);
}

.receipt-val {
    font-weight: 600;
    color: var(--color-text-light);
}

.receipt-divider {
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    padding: 15px 0 5px;
    border-bottom: 1px solid var(--border-color);
}

.receipt-total-box {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
}

.total-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.total-price {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.total-subtext {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 10px;
    line-height: 1.4;
}

/* --- Workflow Steps Section --- */
.workflow-section {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 45px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold) 0%, var(--border-color) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 100px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    top: -5px;
    left: 10px;
    background-color: var(--bg-main);
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.timeline-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-gold-hover);
    transform: translateX(5px);
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.timeline-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
    background-color: rgba(7, 11, 18, 0.45);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.slider {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow), visibility var(--transition-slow);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-main);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.client-avatar {
    background: var(--gold-gradient);
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 20px;
}

.client-name {
    font-size: 1.15rem;
    font-weight: 600;
}

.client-location {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.stars {
    margin-left: auto;
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-text-main);
    line-height: 1.6;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--color-text-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

/* --- Contacts Section --- */
.contacts-section {
    padding: 100px 0;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacts-intro {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.link-light:hover {
    color: var(--gold);
}

.contacts-form-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-main);
}

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

.form-subtitle {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

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

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-checkbox-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

.form-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--gold);
}

/* --- Footer --- */
.footer {
    background-color: #04060a;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-about {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: var(--color-text-light);
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-links.text-light li {
    color: var(--color-text-main);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-bottom p {
    max-width: 800px;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition-fast);
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 6, 10, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 50px 40px 40px;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-main), var(--shadow-glow);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--gold);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.modal-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.success-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-glow);
}

/* --- Media Queries --- */
@media (max-width: 1200px) {
    .grid-2-equal {
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .header-rates {
        display: none; /* Hide rates from header bar on tablets, they are visible in mobile drawer */
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-results-card {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-2-equal {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .nav, .header-actions {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 160px 0 80px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        left: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .radio-toggle-group {
        flex-direction: column;
    }
    
    .radio-toggle-group label {
        padding: 8px;
    }
    
    .tabs-buttons {
        flex-direction: column;
        width: 100%;
        border-radius: 12px;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
}

/* --- Rates Dropdown --- */
.header-rates-dropdown {
    position: relative;
    display: inline-block;
}

.rates-dropdown-btn {
    font-family: var(--font-headings);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.rates-dropdown-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.rates-arrow {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    display: inline-block;
}

.header-rates-dropdown.active .rates-arrow {
    transform: rotate(180deg);
    color: var(--gold);
}

.rates-dropdown-content {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 250px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    box-shadow: var(--shadow-main), var(--shadow-glow);
    backdrop-filter: var(--glass-blur);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: var(--transition-normal);
    z-index: 1001;
}

.header-rates-dropdown.active .rates-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rates-dropdown-header {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.rates-dropdown-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rates-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.currency-flag {
    font-size: 1.1rem;
    margin-right: 8px;
}

.currency-code {
    font-weight: 600;
    color: var(--color-text-muted);
}

.currency-value {
    font-weight: 700;
    color: var(--color-text-light);
}

.rates-dropdown-footer {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

/* --- Live Auctions Section --- */
.auctions-section {
    padding: 100px 0;
    background-color: rgba(7, 11, 18, 0.45);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.auctions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.auction-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold-hover);
    box-shadow: var(--shadow-main), var(--shadow-glow);
}

.auction-card-header {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
}

.lot-badge {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--color-text-muted);
}

.timer-badge {
    font-family: var(--font-headings);
    font-weight: 700;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.auction-card-img-container {
    position: relative;
    height: 180px;
    background-color: #000;
    overflow: hidden;
}

.auction-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.auction-card:hover .auction-img {
    transform: scale(1.05);
}

.auction-name-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(7, 9, 14, 0.85);
    border: 1px solid var(--border-color);
    color: var(--color-text-light);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.auction-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.auction-car-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.auction-car-spec {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.auction-details-list {
    margin-bottom: 20px;
    flex-grow: 1;
}

.auc-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 6px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
    padding-bottom: 4px;
}

.auc-lbl {
    color: var(--color-text-muted);
}

.auc-val {
    font-weight: 600;
}

/* --- Auction Sheet Decoder Section --- */
.decoder-section {
    padding: 100px 0;
}

.decoder-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-main);
}

.decoder-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.dec-tab-btn {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dec-tab-btn:hover {
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.02);
}

.dec-tab-btn.active {
    color: #000;
    background: var(--gold-gradient);
    font-weight: 700;
}

.decoder-tab-content {
    display: none;
}

.decoder-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.decoder-grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.dec-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.dec-item:hover {
    border-color: var(--border-gold-hover);
    background: rgba(212, 175, 55, 0.01);
}

.dec-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--color-text-light);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 80px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dec-badge.gold-badge {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.dec-badge.text-red {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.05);
}

/* Defect Severity Badges */
.dec-badge.badge-severity-green,
.ai-defect-badge.badge-severity-green {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.dec-badge.badge-severity-yellow-green,
.ai-defect-badge.badge-severity-yellow-green {
    background: rgba(163, 230, 53, 0.1);
    border-color: rgba(163, 230, 53, 0.35);
    color: #a3e635;
}

.dec-badge.badge-severity-orange,
.ai-defect-badge.badge-severity-orange {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.4);
    color: #fb923c;
}

.dec-badge.badge-severity-red,
.ai-defect-badge.badge-severity-red {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.dec-item-title {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.dec-item-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Added Responsive Breakpoints for expanded items --- */
@media (max-width: 1024px) {
    .auctions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .decoder-grid-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .decoder-tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .dec-tab-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 580px) {
    .auctions-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Calculator Info Strip --- */
.calc-info-strip {
    background: rgba(212, 175, 55, 0.02);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    transition: var(--transition-normal);
}

.info-strip-title {
    font-family: var(--font-headings);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 6px;
}

.info-strip-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.82rem;
}

.info-strip-lbl {
    color: var(--color-text-muted);
}

.info-strip-val {
    color: var(--color-text-light);
    font-weight: 600;
}

.info-strip-desc {
    font-size: 0.75rem;
    color: var(--gold-light);
    opacity: 0.8;
    margin-top: 8px;
    line-height: 1.3;
}

/* --- Auction Search Bar (Mock API Integration) --- */
.auction-search-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-main);
}

.search-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.search-status-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: flex-end;
}

.search-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-label {
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-select {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 15px;
    color: var(--color-text-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-select:focus {
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.04);
}

.search-select option {
    background-color: var(--bg-card);
    color: var(--color-text-light);
}

.btn-search {
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-search-icon {
    font-size: 0.95rem;
}

/* --- Auctions Relative Container & Spinner --- */
.auctions-container-relative {
    position: relative;
    min-height: 250px;
}

.auc-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    border-radius: 12px;
}

.auc-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auc-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: aucSpin 0.8s infinite linear;
    margin-bottom: 12px;
}

.auc-loading-text {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
}

@keyframes aucSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .search-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .search-form-grid {
        grid-template-columns: 1fr;
    }
    .auction-search-bar {
        padding: 15px 20px;
    }
}

/* --- Decoder Body Schema Image and Layout --- */
.decoder-body-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.decoder-grid-list-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.decoder-body-image-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.dec-image-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.decoder-spec-img-wrapper {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #ffffff;
    padding: 10px;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.decoder-spec-img-wrapper:hover {
    transform: translateY(-2px);
    border-color: var(--border-gold);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.decoder-spec-img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.spec-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 10, 0.35);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.decoder-spec-img-wrapper:hover .spec-zoom-overlay {
    opacity: 1;
}

.spec-zoom-overlay span {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--color-text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-main);
}

.dec-image-zoom-hint {
    font-size: 0.8rem;
    color: var(--gold);
    text-align: center;
    margin-top: -2px;
    margin-bottom: 15px;
    font-weight: 500;
    cursor: pointer;
    display: block;
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.dec-image-zoom-hint:hover {
    opacity: 1;
    text-decoration: underline;
}

.dec-image-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .decoder-body-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- AI Auction Sheet Decoder Tab --- */
.ai-uploader-box {
    border: 2px dashed var(--border-gold-hover);
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.01);
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.ai-uploader-box:hover, .ai-uploader-box.dragover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.04);
    box-shadow: var(--shadow-glow);
}

.uploader-inner {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.uploader-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: floatIcon 3s infinite ease-in-out;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.uploader-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.uploader-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Scanning Box */
.ai-scanning-box {
    text-align: center;
    padding: 40px 20px;
}

.scanner-container {
    position: relative;
    width: 180px;
    height: 240px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 0 auto 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-main);
}

.scanner-laser-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(180deg, rgba(212,175,55,0) 0%, #d4af37 50%, rgba(212,175,55,0) 100%);
    box-shadow: 0 0 15px var(--gold);
    top: 0;
    z-index: 5;
    animation: laserScan 2s infinite ease-in-out;
}

@keyframes laserScan {
    0%, 100% { top: 0%; }
    50% { top: 100%; }
}

.scanner-sheet-mock {
    width: 120px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mock-diagram-car {
    width: 100%;
    height: 70px;
    background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, rgba(255,255,255,0.02) 80%);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.mock-japanese-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.mock-japanese-lines span {
    display: block;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.mock-japanese-lines span:nth-child(1) { width: 90%; }
.mock-japanese-lines span:nth-child(2) { width: 75%; }
.mock-japanese-lines span:nth-child(3) { width: 85%; }

.scanner-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.scanner-status {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 500;
}

.scanner-progress-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.scanner-progress {
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Result Box */
.ai-result-box {
    animation: fadeIn 0.5s ease;
}

.ai-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.ai-result-score-badge {
    background: var(--gold-gradient);
    color: #000;
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.3rem;
    padding: 8px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(212,175,55,0.25);
}

.ai-result-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.ai-result-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 30px;
}

.ai-result-section {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
}

.ai-section-title {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.ai-table-notes {
    width: 100%;
    border-collapse: collapse;
}

.ai-table-notes th, .ai-table-notes td {
    padding: 12px 15px;
    text-align: left;
    font-size: 0.9rem;
}

.ai-table-notes th {
    border-bottom: 1px solid var(--border-color);
    color: var(--color-text-muted);
    font-weight: 600;
}

.ai-table-notes td {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

.ai-table-notes tr:last-child td {
    border-bottom: none;
}

.jp-text {
    font-family: 'Inter', sans-serif;
    color: #ef4444;
    font-size: 0.85rem;
    background: rgba(239, 68, 68, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
}

.ru-text {
    color: var(--color-text-main);
    font-weight: 500;
}

.ai-defect-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

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

.ai-defect-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--color-text-light);
    width: 45px;
    height: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-defect-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.ai-defect-desc strong {
    color: var(--color-text-light);
}

.ai-verdict-banner {
    background: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.ai-verdict-banner.warning {
    background: rgba(245, 158, 11, 0.04);
    border-color: rgba(245, 158, 11, 0.2);
}

.ai-verdict-icon {
    font-size: 1.5rem;
}

.ai-verdict-title {
    font-size: 1rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 5px;
}

.ai-verdict-banner.warning .ai-verdict-title {
    color: #f59e0b;
}

.ai-verdict-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.ai-result-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

@media (max-width: 768px) {
    .ai-result-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .scanner-progress-bar {
        width: 100%;
        max-width: 280px;
    }
}

/* --- AI Settings (Groq API Key input) --- */
.ai-settings-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ai-settings-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(14, 19, 31, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.ai-settings-bar label {
    font-family: var(--font-headings);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.ai-settings-bar input {
    background-color: rgba(7, 9, 14, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 14px;
    color: var(--color-text-light);
    font-size: 0.85rem;
    flex: 1;
    transition: var(--transition-fast);
}

.ai-settings-bar input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.settings-helper {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.4;
    max-width: 500px;
}

/* --- Lightbox Modal --- */
.lightbox-content-wrapper {
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
    box-shadow: var(--shadow-main), var(--shadow-glow);
    transition: transform var(--transition-normal);
}

#lightbox-modal.active .lightbox-content-wrapper {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
    display: block;
    user-select: none;
}

.lightbox-img.zoomed {
    max-width: none;
    max-height: none;
    width: 160%;
    cursor: zoom-out;
}

/* --- Scroll Reveal Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Cinematic Loading Screen --- */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0F1115;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-logo-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-logo-text {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: logoReveal 1.2s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

.loading-bar-wrapper {
    width: 150px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInProgress 0.5s 0.6s forwards;
}

.loading-bar-progress {
    width: 0;
    height: 100%;
    background: var(--gold-gradient);
    animation: loadProgress 1.4s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes logoReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInProgress {
    to {
        opacity: 1;
    }
}

@keyframes loadProgress {
    to {
        width: 100%;
    }
}

/* --- Luxury Showcase Section --- */
.horizontal-scroll-section {
    position: relative;
    height: auto;
    background-color: rgba(7, 11, 18, 0.45);
    z-index: 10;
    padding: 120px 0;
}

.horizontal-sticky-wrapper {
    position: relative;
    height: auto;
    width: 100%;
    overflow: visible;
    display: block;
    padding: 0;
}

.horizontal-header-container {
    max-width: 1200px;
    margin: 0 auto 50px;
    width: 90%;
}

.horizontal-scroll-track-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
}

.horizontal-scroll-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.gallery-car-card {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-main);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

.gallery-car-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
    z-index: 5;
}

.gallery-car-card:hover::after {
    left: 150%;
    transition: left 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-car-card:hover {
    border-color: var(--border-gold-hover);
    box-shadow: var(--shadow-main), var(--shadow-glow);
}

.gallery-car-image-box {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.gallery-car-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-car-card:hover .gallery-car-image-box img {
    transform: scale(1.08);
}

.gallery-car-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 17, 21, 0) 60%, rgba(15, 17, 21, 0.4) 100%);
    pointer-events: none;
}

.gallery-car-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery-car-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.font-cyan {
    color: #06B6D4;
}

.font-gold {
    color: var(--gold);
}

.gallery-car-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-light);
}

.gallery-car-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
}

.gallery-car-spec {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 5px;
}


/* --- Cinematic Timeline Split Section --- */
.workflow-section-cinematic {
    padding: 120px 0;
    background-color: rgba(7, 11, 18, 0.45);
    position: relative;
    z-index: 10;
}

.workflow-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

.workflow-visual-panel {
    position: sticky;
    top: 15vh;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.visual-panel-sticky {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0) 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.visual-step-display {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9) translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
    z-index: 2;
}

.visual-step-display.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 3;
}

.visual-card-premium {
    width: 90%;
    max-width: 420px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-gold-hover);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-main), var(--shadow-glow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.visual-card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
}

.visual-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.visual-card-img.light-bg-img {
    background-color: #ffffff;
    padding: 10px;
    object-fit: contain;
}

.visual-card-badge {
    align-self: flex-start;
    background: var(--gold-gradient);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.visual-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-light);
    text-align: center;
}

.animated-route-svg-box {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(7, 9, 14, 0.4);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 20px;
}

.mini-shipping-svg {
    width: 100%;
    height: auto;
}

.draw-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawMiniPath 4s infinite linear;
}

@keyframes drawMiniPath {
    0% {
        stroke-dashoffset: 300;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -300;
    }
}

.pulse-point {
    filter: drop-shadow(0 0 6px #06B6D4);
}

/* Vertical workflow progress bar tracker */
.workflow-progress-tracker {
    position: absolute;
    left: -20px;
    top: 15%;
    width: 3px;
    height: 70%;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
}

.workflow-progress-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: var(--gold-gradient);
    box-shadow: 0 0 10px var(--gold);
    border-radius: 3px;
    transition: height 0.4s ease;
}

.workflow-progress-steps-dots {
    position: absolute;
    left: -6px;
    top: 0;
    width: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.progress-dot {
    width: 15px;
    height: 15px;
    background-color: #181C23;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.progress-dot.active {
    border-color: var(--gold);
    background-color: #0F1115;
    box-shadow: 0 0 8px var(--gold);
}

/* Right scrollable steps container */
.workflow-scroll-panel {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-bottom: 20vh;
}

.workflow-scroll-step {
    padding: 40px;
    background-color: rgba(24, 28, 35, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: border-color 0.4s, background-color 0.4s, transform 0.4s;
    transform: scale(0.98);
}

.workflow-scroll-step.active {
    background-color: rgba(24, 28, 35, 0.65);
    border-color: var(--border-gold-hover);
    box-shadow: var(--shadow-main);
    transform: scale(1);
}

.step-num-badge {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 10px;
}

.workflow-scroll-step.active .step-num-badge {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-scroll-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    transition: color 0.3s;
}

.workflow-scroll-step.active .step-scroll-title {
    color: var(--color-text-light);
}

.step-scroll-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s;
}

.workflow-scroll-step.active .step-scroll-desc {
    color: var(--color-text-main);
}


/* --- Shipping Map Section --- */
.shipping-map-section {
    padding: 120px 0;
    background-color: rgba(7, 11, 18, 0.45);
    position: relative;
    z-index: 10;
}

.map-container-premium {
    background-color: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-main), var(--shadow-glow);
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.shipping-svg-map {
    width: 100%;
    height: auto;
    display: block;
}

/* Radar Pulse Animations */
.radar-circle-glow {
    fill: none;
    transform-origin: center;
    animation: radarPulse 2.5s infinite ease-out;
}

.glow-cyan {
    stroke: rgba(6, 182, 212, 0.4);
    stroke-width: 1.5;
}

.glow-blue {
    stroke: rgba(59, 130, 246, 0.4);
    stroke-width: 1.5;
}

@keyframes radarPulse {
    0% {
        transform: scale(0.3);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.pin-core {
    transform-origin: center;
}

.core-cyan {
    fill: #06B6D4;
}

.core-blue {
    fill: #3B82F6;
}

.pin-label {
    fill: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    text-anchor: middle;
    pointer-events: none;
    opacity: 0.7;
}

/* Glowing Routes styles */
.active-route-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawRouteLine 6s forwards cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 4px var(--gold));
}

.active-route-line.cyan-route {
    filter: drop-shadow(0 0 4px #06B6D4);
}

@keyframes drawRouteLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Shipping Particle styles */
.shipping-particle {
    filter: drop-shadow(0 0 6px #3B82F6);
}

.shipping-particle.cyan-particle {
    filter: drop-shadow(0 0 6px #06B6D4);
}

/* Legend styling */
.map-legend-premium {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.legend-dot.color-blue {
    background-color: #3B82F6;
    box-shadow: 0 0 10px #3B82F6;
}

.legend-dot.color-cyan {
    background-color: #06B6D4;
    box-shadow: 0 0 10px #06B6D4;
}

.legend-dot.color-gold {
    background-color: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.legend-info {
    display: flex;
    flex-direction: column;
}

.legend-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.legend-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Magnetic Button Transition */
.btn-magnetic {
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s ease;
    will-change: transform;
}


/* --- Mobile Responsive Rules for New Sections --- */
@media (max-width: 1023px) {
    .workflow-split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .workflow-visual-panel {
        display: none;
    }
    
    .workflow-scroll-panel {
        gap: 30px;
    }
    
    .workflow-scroll-step {
        background-color: rgba(24, 28, 35, 0.65);
        border-color: var(--border-color);
        transform: none !important;
    }
    
    .horizontal-sticky-wrapper {
        position: relative;
        height: auto;
        padding: 0;
    }
    
    .gallery-slider-track {
        flex-direction: column;
        gap: 24px;
    }
    
    .gallery-slider-track .gallery-car-card {
        width: 100% !important;
    }
    
    .gallery-arrow {
        display: none !important; /* Hide arrows on mobile stack */
    }
    
    .horizontal-scroll-section {
        height: auto !important;
        padding: 60px 0;
    }

    .gallery-slider-container {
        width: 90%;
    }
}

/* --- Luxury Showcase Carousel Slider Styles --- */
.gallery-slider-container {
    position: relative;
    max-width: 1200px;
    width: calc(100% - 160px);
    margin: 0 auto;
}

.gallery-slider-viewport {
    overflow: hidden;
    width: 100%;
    padding: 20px 80px; /* 80px left and right padding to let adjacent cards peek */
}

@media (max-width: 1024px) {
    .gallery-slider-viewport {
        padding: 20px 50px;
    }
}

@media (max-width: 768px) {
    .gallery-slider-viewport {
        padding: 20px 20px;
    }
}

.gallery-slider-track {
    display: flex;
    gap: 30px;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-slider-track .gallery-car-card {
    flex-shrink: 0;
    width: calc(33.333% - 20px);
}

@media (max-width: 1024px) {
    .gallery-slider-track .gallery-car-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .gallery-slider-track .gallery-car-card {
        width: 100%;
    }
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.gallery-arrow svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.gallery-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: var(--gold-glow);
    background: rgba(15, 17, 21, 0.95);
    transform: translateY(-50%) scale(1.08);
}

.gallery-arrow.arrow-left {
    left: -65px;
}

.gallery-arrow.arrow-right {
    right: -65px;
}

@media (max-width: 768px) {
    .gallery-arrow {
        width: 40px;
        height: 40px;
    }
    .gallery-arrow.arrow-left {
        left: 5px;
    }
    .gallery-arrow.arrow-right {
        right: 5px;
    }
}

/* --- Stylised Custom Cursor (Desktop Only) --- */
@media (hover: hover) and (pointer: fine) {
    body, a, button, select, input, textarea, .tab-btn, .nav-link, .rates-dropdown-btn, .gallery-arrow, .rates-dropdown-item {
        cursor: none !important;
    }
    
    .custom-cursor {
        width: 8px;
        height: 8px;
        background-color: var(--gold);
        border-radius: 50%;
        position: fixed;
        top: -10px;
        left: -10px;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 99999;
        transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
    }
    
    .custom-cursor-follower {
        width: 38px;
        height: 38px;
        border: 1.5px solid rgba(59, 130, 246, 0.4);
        border-radius: 50%;
        position: fixed;
        top: -20px;
        left: -20px;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 99998;
        transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    }
    
    .custom-cursor.hovered {
        width: 4px;
        height: 4px;
        background-color: #06B6D4;
    }
    
    .custom-cursor-follower.hovered {
        width: 50px;
        height: 50px;
        border-color: rgba(6, 182, 212, 0.8);
        background-color: rgba(6, 182, 212, 0.04);
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
    }
}

/* --- Luxury Showcase Center Card Scaling (Desktop Only) --- */
@media (min-width: 1024px) {
    .gallery-slider-track .gallery-car-card {
        transform: scale(0.88);
        opacity: 0.55;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), border-color var(--transition-normal), box-shadow var(--transition-normal);
        z-index: 1;
    }
    
    .gallery-slider-track .gallery-car-card.center-card {
        transform: scale(1.0);
        opacity: 1.0;
        z-index: 3;
        box-shadow: var(--shadow-main), 0 20px 40px rgba(0, 0, 0, 0.6), var(--gold-glow);
        border-color: var(--gold);
    }
    
    /* Hover scale for center card */
    .gallery-slider-track .gallery-car-card.center-card:hover {
        transform: scale(1.02);
        box-shadow: var(--shadow-main), 0 25px 45px rgba(0, 0, 0, 0.7), var(--gold-glow);
    }
}

/* --- Logistics Map Cinematic Upgrades --- */
.map-landmass {
    transform-origin: 500px 250px;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.map-container-premium:hover .map-landmass {
    fill: rgba(255, 255, 255, 0.022);
    stroke: rgba(255, 255, 255, 0.06);
}

/* --- Global Cinematic Background Overlay --- */
.global-cinematic-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2; /* Sit behind everything, including layout but in front of body canvas default bg */
    pointer-events: none;
    overflow: hidden;
    background-color: #070B12; /* Deep premium space navy base */
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(11, 16, 32, 0.45) 0%, transparent 65%),
        radial-gradient(circle at 85% 85%, rgba(17, 24, 39, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(7, 11, 18, 0.7) 0%, transparent 75%);
}

/* Dither noise/grain overlay inside cinematic background container */
.global-cinematic-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkAgMAAAAnw7crAAAADFBMVEUAAAAAAAAAAAAAAAA17xpFAAAAAXRSTlMAQObYZgAAAElJREFUeFPlwTEOACEQADG++P8f+gIFiYnElkOhsNXYcuy55dgvP4c8Fvks8ljkschjkccij0UeizwWeSzyWOR3kf8h/wM17xqyA247c1WFAAAAAElFTkSuQmCC");
    background-repeat: repeat;
    opacity: 0.022; /* 2.2% opacity film grain */
    mix-blend-mode: overlay;
    z-index: 10; /* Sits on top of the gradient orbs but behind layout content */
    pointer-events: none;
}

/* Atmospheric Gradients */
.cinematic-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    mix-blend-mode: screen;
    opacity: 0.8;
    transform-origin: center;
    animation: globalGlowFloat 25s infinite alternate ease-in-out;
}

.cinematic-gradient-orb.orb-1 {
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(11, 16, 32, 0.4) 0%, rgba(59, 130, 246, 0.02) 60%, transparent 100%);
    top: -10vh;
    left: -15vw;
}

.cinematic-gradient-orb.orb-2 {
    width: 75vw;
    height: 75vw;
    background: radial-gradient(circle, rgba(17, 24, 39, 0.35) 0%, rgba(6, 182, 212, 0.01) 60%, transparent 100%);
    bottom: -15vh;
    right: -20vw;
    animation-delay: -5s;
    animation-duration: 32s;
}

.cinematic-gradient-orb.orb-3 {
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(11, 16, 32, 0.2) 0%, rgba(212, 175, 55, 0.01) 50%, transparent 100%);
    top: 35vh;
    left: 45vw;
    animation-delay: -10s;
    animation-duration: 28s;
}

@keyframes globalGlowFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(3vw, -2vh) scale(1.04) rotate(45deg);
    }
    100% {
        transform: translate(-2vw, 1vh) scale(0.96) rotate(90deg);
    }
}

/* Tech Grid Layer with Parallax / Slow swaying */
.cinematic-grid-layer {
    position: absolute;
    inset: -5%;
    width: 110%;
    height: 110%;
    background-image: none; /* Removed background grid lines */
    background-size: 80px 80px;
    filter: blur(0.4px); /* Blur depth */
    animation: gridBreathing 40s infinite ease-in-out alternate;
}

@keyframes gridBreathing {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-1.2%, 0.8%) scale(1.02);
    }
}

/* Background Particles Layer */
.cinematic-particles-layer {
    position: absolute;
    inset: 0;
}

.bg-particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4); /* Fainter white */
    opacity: 0.08; /* Extremely faint */
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.15); /* Soft neutral white glow */
    width: var(--size);
    height: var(--size);
    animation: driftBgParticle var(--speed) infinite ease-in-out;
    animation-delay: var(--delay);
}

@keyframes driftBgParticle {
    0% {
        transform: translate(0, 0);
        opacity: 0.06;
    }
    50% {
        opacity: 0.18;
    }
    100% {
        transform: translate(var(--dx), var(--dy));
        opacity: 0.06;
    }
}

/* Viewport edges vignette glow overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(7, 11, 18, 0.65) 100%);
    box-shadow: inset 0 0 120px rgba(6, 182, 212, 0.01);
    z-index: 9999;
}

/* --- Scroll Drawn Precision Tech Lines --- */
.scroll-lines-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.scroll-lines-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.scroll-lines-svg {
    position: absolute;
    top: 0;
    height: 100%;
    pointer-events: none;
}

.scroll-lines-svg.scroll-left {
    left: 0;
}

.scroll-lines-svg.scroll-right {
    right: 0;
}

/* breathing opacity pulse for premium tech feel */
@keyframes scrollLinePulse {
    0%, 100% {
        opacity: 0.75;
    }
    50% {
        opacity: 1.0;
    }
}

.scroll-drawing-path {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: rgba(0, 210, 255, 0.12) !important; /* Soft neon/electric blue (Tesla + Porsche style) */
    filter: drop-shadow(0 0 2px rgba(0, 210, 255, 0.15));
    animation: scrollLinePulse 6s infinite ease-in-out;
    will-change: stroke-dashoffset, opacity;
    transition: stroke 0.3s ease, filter 0.3s ease; /* No transition on stroke-dashoffset to allow smooth JS lerping */
}

.scroll-drawing-path.path-gold {
    stroke: rgba(0, 210, 255, 0.12) !important;
    filter: drop-shadow(0 0 2px rgba(0, 210, 255, 0.15));
}

.scroll-drawing-path.path-cyan {
    stroke: rgba(0, 210, 255, 0.12) !important;
    filter: drop-shadow(0 0 2px rgba(0, 210, 255, 0.15));
}

.scroll-drawing-path.branch-path {
    stroke: rgba(0, 210, 255, 0.08) !important; /* Slightly fainter for structural depth */
    stroke-dasharray: 4, 4; /* Dashed line for technical look */
}

/* Connection Nodes styling */
.scroll-tech-node {
    fill: #0c0e12;
    stroke: rgba(0, 210, 255, 0.2);
    stroke-width: 1.5px;
    opacity: 0.3;
    transform-origin: center;
    transform: scale(0.9);
    transition: fill 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                stroke 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: fill, stroke, filter, transform, opacity;
}

.scroll-tech-node.active {
    fill: #00d2ff;
    stroke: #00d2ff;
    filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.8));
    opacity: 1;
    transform: scale(1.3);
}

/* Logistics Data Particles */
.scroll-flow-particle {
    fill: #00d2ff;
    filter: drop-shadow(0 0 3px rgba(0, 210, 255, 0.8));
    opacity: 0; /* Hidden until path draws */
    will-change: opacity;
    transition: opacity 0.5s ease;
}

.scroll-flow-particle.active {
    opacity: 0.45; /* Semi-bright pulse flow when path is drawn */
}

/* Hide background tech lines on smaller mobile screen widths to avoid clutter */
@media (max-width: 1023px) {
    .scroll-lines-wrapper {
        display: none !important;
    }
}


