/* ============================================
   VELOCITÉ — Luxury Car Marketplace
   Custom CSS with tons of animations
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ===== Brand palette — slate blue scale ===== */
  --c-50:  #ECF0F8;
  --c-100: #CBD5EC;
  --c-200: #A9B9E0;
  --c-300: #879ED4;
  --c-400: #6583C8;
  --c-500: #4468BB;
  --c-600: #37559A;
  --c-700: #2B4278;
  --c-800: #1F3056;
  --c-900: #0F172A;

  --bg-primary: #0F172A;          /* 900 — page background */
  --bg-secondary: #1F3056;        /* 800 */
  --bg-tertiary: #2B4278;         /* 700 */
  --bg-card: #17233D;             /* between 900 & 800 */
  --border: rgba(101, 131, 200, 0.22);
  --border-hover: rgba(135, 158, 212, 0.55);
  --text-primary: #ECF0F8;        /* 50 */
  --text-secondary: #A9B9E0;      /* 200 */
  --text-muted: #6583C8;          /* 400 */
  --accent: #6583C8;              /* 400 — primary accent */
  --accent-2: #879ED4;            /* 300 — secondary accent */
  --accent-gradient: linear-gradient(135deg, #879ED4 0%, #4468BB 45%, #2B4278 80%, #0F172A 100%);
  --accent-glow: 0 0 40px rgba(68, 104, 187, 0.45);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-hard: 0 20px 60px rgba(15, 23, 42, 0.85);
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 968px) {
  body { cursor: auto; }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: none; border: none; background: none; color: inherit; }
@media (max-width: 968px) { button { cursor: pointer; } }

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor,
.custom-cursor-follower {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.custom-cursor {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.custom-cursor-follower {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s, height 0.3s, background 0.3s;
}
.custom-cursor.hover {
  width: 0; height: 0;
}
.custom-cursor-follower.hover {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 968px) {
  .custom-cursor, .custom-cursor-follower { display: none; }
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
}
.loader-logo .brand-text {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: 0.3em;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse-glow 2s ease-in-out infinite;
}
.loader-bar {
  margin: 30px auto 0;
  width: 320px;
  height: 6px;
  background: rgba(101, 131, 200, 0.15);
  border: 1px solid rgba(101, 131, 200, 0.25);
  border-radius: 999px;
  overflow: hidden;
  max-width: 70vw;
  box-shadow: 0 0 20px rgba(101, 131, 200, 0.2), inset 0 0 8px rgba(0,0,0,0.4);
  position: relative;
}
.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 999px;
  animation: loader-fill 1.8s ease-in-out forwards;
  box-shadow: 0 0 14px rgba(101, 131, 200, 0.8), 0 0 28px rgba(68, 104, 187, 0.6);
  position: relative;
}
.loader-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  width: 30px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6));
  animation: loader-shine 1s ease-in-out infinite;
}
@keyframes loader-shine {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes loader-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}
@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(101, 131, 200, 0.5)); }
  50% { filter: drop-shadow(0 0 30px rgba(68, 104, 187, 0.8)); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 40px;
  transition: all var(--transition);
  background: transparent;
}
.main-nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition);
}
.nav-brand:hover { transform: scale(1.05); }
.nav-brand-icon {
  font-size: 24px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bounce-icon 3s ease-in-out infinite;
}
@keyframes bounce-icon {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-3px) rotate(-5deg); }
  75% { transform: translateY(0) rotate(5deg); }
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-gradient);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.is-active {
  color: var(--accent);
}
.nav-links a.is-active::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all var(--transition);
}
.nav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--accent-gradient);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  box-shadow: var(--accent-glow);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(101, 131, 200, 0.6);
}
.nav-cta i { transition: transform var(--transition); }
.nav-cta:hover i { transform: translateX(4px); }
.mobile-toggle {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.mobile-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
  border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Search panel */
.search-panel {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  padding: 0 40px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--easing);
  border-bottom: 1px solid var(--border);
}
.search-panel.active { max-height: 200px; }
.search-form {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 0;
}
.search-form i { color: var(--text-secondary); font-size: 20px; }
.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  outline: none;
  font-family: inherit;
}
.search-form button {
  padding: 10px 24px;
  background: var(--accent-gradient);
  border-radius: 999px;
  font-weight: 600;
  transition: transform var(--transition);
}
.search-form button:hover { transform: scale(1.05); }

@media (max-width: 968px) {
  .main-nav { padding: 14px 16px; }
  .main-nav.scrolled { padding: 10px 16px; }
  .nav-container { gap: 12px; }
  .nav-brand { font-size: 18px; letter-spacing: 0.15em; }
  .nav-brand-icon { font-size: 20px; }
  .nav-links { display: none; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }
  .nav-cta i { margin: 0; }
  .nav-icon-btn { width: 36px; height: 36px; }
  .nav-actions { gap: 8px; }
  .mobile-toggle { display: flex; width: 28px; height: 20px; }

  .nav-links.open {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    bottom: 0;
    background: rgba(4, 34, 44, 0.98);
    flex-direction: column;
    padding: 30px 24px;
    gap: 6px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    z-index: 999;
    animation: mobile-menu-in 0.35s var(--easing);
  }
  .nav-links.open li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open li:last-child { border-bottom: none; }
  .nav-links.open a {
    display: block;
    padding: 18px 8px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.05em;
    width: 100%;
  }
  .nav-links.open a::after { display: none; }
  .nav-links.open a.is-active {
    padding-left: 18px;
    border-left: 3px solid var(--accent);
  }
}
@media (max-width: 480px) {
  .main-nav { padding: 12px 12px; }
  .nav-brand span { display: none; }
  .nav-brand { gap: 0; }
  .nav-container { gap: 8px; }
}
@keyframes mobile-menu-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Lock body scroll when mobile menu open */
body.menu-open { overflow: hidden; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn.w-full { width: 100%; }
.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--accent-glow);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F172A 0%, #2B4278 50%, #4468BB 100%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(101, 131, 200, 0.5);
}
.btn-primary i { transition: transform var(--transition); }
.btn-primary:hover i { transform: translateX(6px) rotate(-10deg); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--accent-2);
  background: rgba(68, 104, 187, 0.1);
  color: var(--accent-2);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 20px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(101, 131, 200, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(68, 104, 187, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 70%, rgba(43, 66, 120, 0.22) 0%, transparent 50%),
    linear-gradient(180deg, #0F172A 0%, #0a0a0a 100%);
}

/* ---- Hero background video ---- */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.85) contrast(1.05);
  animation: hero-video-zoom 28s ease-in-out infinite;
}
@keyframes hero-video-zoom {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.55) 40%, rgba(15, 23, 42, 0.92) 100%),
    radial-gradient(ellipse at 50% 45%, transparent 0%, rgba(15, 23, 42, 0.65) 100%);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(68, 104, 187, 0.22) 0%, transparent 55%, rgba(15, 23, 42, 0.5) 100%);
  opacity: 0.9;
  mix-blend-mode: soft-light;
}
@keyframes hero-zoom {
  0%, 100% { transform: scale(1.1); }
  50% { transform: scale(1.25); }
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

/* Hide video on very small screens / reduced-motion users (saves data) */
@media (max-width: 640px) {
  .hero-video { display: none; }
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1544829099-b9a0c07fad1a?w=1200&q=80') center/cover no-repeat;
    opacity: 0.28;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; }
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}
.shape-1 {
  width: 400px; height: 400px;
  background: var(--accent);
  top: 20%; left: -100px;
  animation-delay: 0s;
}
.shape-2 {
  width: 500px; height: 500px;
  background: var(--accent-2);
  top: 50%; right: -150px;
  animation-delay: -4s;
}
.shape-3 {
  width: 300px; height: 300px;
  background: var(--c-deep);
  bottom: 10%; left: 40%;
  animation-delay: -8s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  text-align: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px var(--accent);
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  animation: pulse-ring 1.6s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 10vw, 140px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 30px;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line--accent {
  font-style: italic;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 5s ease-in-out infinite;
  background-size: 200% 200%;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.stat-item i {
  font-size: 28px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 900;
}
.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--text-secondary), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Marquee */
.marquee {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 20px;
}
.marquee-item i {
  color: var(--accent);
  font-size: 8px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 968px) {
  .hero-scroll-indicator { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 20px; }
  .stat-value { font-size: 20px; }
  .stat-item i { font-size: 22px; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.section-eyebrow .line {
  width: 40px; height: 1px;
  background: var(--accent-gradient);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.section-cta {
  text-align: center;
  margin-top: 60px;
}

/* ============================================
   CAR CARDS
   ============================================ */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}
.car-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition);
  display: block;
  will-change: transform;
}
.car-card:hover {
  transform: translateY(-10px);
  border-color: rgba(68, 104, 187, 0.5);
  box-shadow: 0 30px 80px rgba(101, 131, 200, 0.25);
}
.car-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0a0a0a;
}
.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--easing);
}
.car-card:hover .car-card-image img {
  transform: scale(1.12);
}
.car-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.car-card-badge i { color: var(--accent-2); }
.car-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.car-card:hover .car-card-overlay { opacity: 1; }
.view-details {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(10px);
  transition: transform var(--transition);
}
.car-card:hover .view-details { transform: translateY(0); }

.car-card-body {
  padding: 24px;
}
.car-card-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.car-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
}
.car-card-title span {
  display: block;
  font-size: 18px;
  font-style: italic;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 4px;
}
.car-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.car-card-specs div {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.car-card-specs i { color: var(--accent-2); font-size: 11px; }
.car-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.car-card-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.car-card-cta {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.car-card:hover .car-card-cta {
  background: var(--accent-gradient);
  border-color: transparent;
  transform: rotate(-45deg);
}

/* Skeleton */
.skeleton-card {
  aspect-ratio: 16/13;
  background: linear-gradient(110deg, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 70%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
  border-radius: 20px;
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* List view */
.car-grid.list-view {
  grid-template-columns: 1fr;
}
.car-grid.list-view .car-card {
  display: grid;
  grid-template-columns: 400px 1fr;
}
.car-grid.list-view .car-card-image {
  aspect-ratio: auto;
  height: 100%;
}
@media (max-width: 768px) {
  .car-grid.list-view .car-card {
    grid-template-columns: 1fr;
  }
  .car-grid.list-view .car-card-image { aspect-ratio: 16/10; }
}

/* ============================================
   CATEGORIES
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.category-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition);
}
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--easing);
}
.category-card:hover img { transform: scale(1.15); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.95) 100%);
  transition: background var(--transition);
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(180deg, rgba(101, 131, 200, 0.3) 30%, rgba(0, 0, 0, 0.95) 100%);
}
.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.category-card-content i {
  font-size: 28px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.category-card-content h3 {
  flex: 1;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
}
.category-card-arrow {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.category-card:hover .category-card-arrow {
  background: var(--accent-gradient);
  transform: rotate(-45deg);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.section-about { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 968px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
}
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 75%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}
.about-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-img-floating {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  border-radius: 20px;
  overflow: hidden;
  border: 8px solid var(--bg-primary);
  box-shadow: var(--shadow-hard);
  animation: float-slow 6s ease-in-out infinite;
}
.about-img-floating img {
  width: 100%; height: 100%;
  object-fit: cover;
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.about-badge {
  position: absolute;
  top: 20%;
  right: -5%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-hard);
  animation: float-slow 5s ease-in-out infinite;
  animation-delay: -2s;
}
.about-badge i {
  font-size: 24px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-badge strong { display: block; font-size: 14px; }
.about-badge span { font-size: 11px; color: var(--text-secondary); }

.about-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 40px;
}
.features-list { margin-bottom: 40px; }
.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(68, 104, 187, 0.1);
  color: var(--accent-2);
  font-size: 20px;
  transition: all var(--transition);
}
.feature-item:hover .feature-icon {
  background: var(--accent-gradient);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}
.feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.testimonial-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(68, 104, 187, 0.4);
  box-shadow: 0 20px 60px rgba(101, 131, 200, 0.15);
}
.quote-icon {
  font-size: 32px;
  color: var(--accent-2);
  opacity: 0.3;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-rating {
  display: flex;
  gap: 4px;
  color: var(--accent);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 8px rgba(101, 131, 200, 0.5));
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.testimonial-author img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author span { font-size: 12px; color: var(--text-secondary); }

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta { padding: 60px 0 120px; }
.cta-box {
  position: relative;
  padding: 100px 60px;
  text-align: center;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.cta-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(101, 131, 200, 0.25), transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(68, 104, 187, 0.25), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(43, 66, 120, 0.3), transparent 60%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
}
.cta-content p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .cta-box { padding: 60px 24px; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-secondary);
  padding: 80px 40px 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 60px 20px 24px; }
}
.nav-brand--footer { margin-bottom: 20px; }
.footer-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.footer-socials a:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  transform: translateY(-3px) rotate(5deg);
}
.footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
}
.footer-col ul a:hover { color: var(--accent-2); padding-left: 6px; }
.newsletter-form {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 14px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 18px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}
.newsletter-form button {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: grid;
  place-items: center;
  transition: transform var(--transition);
}
.newsletter-form button:hover { transform: rotate(45deg); }
.footer-small {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
}
.footer-small i { margin-right: 8px; color: var(--accent-2); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   LISTING PAGE
   ============================================ */
.listing-hero {
  position: relative;
  padding: 180px 20px 80px;
  overflow: hidden;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-secondary); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb i { font-size: 10px; }
.listing-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
}
.listing-sub {
  font-size: 17px;
  color: var(--text-secondary);
}

.section-listing { padding-top: 60px; }
.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 968px) {
  .listing-layout { grid-template-columns: 1fr; }
}

.filters-panel {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.filters-header h3 {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reset-btn {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all var(--transition);
}
.reset-btn:hover { color: var(--accent-2); background: rgba(68, 104, 187, 0.1); }
.filters-form { display: flex; flex-direction: column; gap: 20px; }
.filter-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 600;
}
.filter-group input[type="text"],
.filter-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all var(--transition);
}
.filter-group input[type="text"]:focus,
.filter-group select:focus { border-color: var(--accent-2); }
.filter-group input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--bg-primary);
  border-radius: 2px;
  outline: none;
}
.filter-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent);
}
.filter-group input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}
.radio-row { display: flex; gap: 8px; }
.radio-pill { flex: 1; cursor: pointer; }
.radio-pill input { display: none; }
.radio-pill span {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  transition: all var(--transition);
}
.radio-pill input:checked + span {
  background: var(--accent-gradient);
  border-color: transparent;
  font-weight: 600;
}

.results-panel { min-height: 500px; }
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.results-header > div:first-child {
  color: var(--text-secondary);
  font-size: 14px;
}
#results-count {
  color: var(--accent-2);
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
}
.view-toggle { display: flex; gap: 4px; background: var(--bg-card); padding: 4px; border-radius: 10px; }
.view-btn {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  transition: all var(--transition);
  color: var(--text-secondary);
}
.view-btn.active {
  background: var(--accent-gradient);
  color: #fff;
}

/* ============================================
   DETAIL PAGE
   ============================================ */
.detail-hero {
  position: relative;
  padding: 140px 0 60px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-top: 30px;
  align-items: flex-start;
}
@media (max-width: 968px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
}
.detail-gallery {}
.gallery-main {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
}
.gallery-main:hover img { transform: scale(1.05); }
.gallery-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background: var(--accent-gradient);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: var(--accent-glow);
}
.gallery-thumbs {
  display: flex;
  gap: 12px;
}
.gallery-thumb {
  flex: 1;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all var(--transition);
  padding: 0;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-thumb.active {
  border-color: var(--accent-2);
  box-shadow: 0 0 20px rgba(68, 104, 187, 0.4);
}
.gallery-thumb:hover img { transform: scale(1.1); }

.detail-info {}
.detail-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.detail-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  color: var(--text-secondary);
  font-size: 14px;
}
.detail-meta span { display: inline-flex; align-items: center; gap: 8px; }
.detail-meta i { color: var(--accent-2); }
.detail-price {
  padding: 24px;
  background: rgba(68, 104, 187, 0.08);
  border: 1px solid rgba(68, 104, 187, 0.2);
  border-radius: 16px;
  margin-bottom: 30px;
}
.price-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.price-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.spec-card {
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition);
}
.spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(68, 104, 187, 0.4);
}
.spec-card i {
  font-size: 22px;
  color: var(--accent-2);
}
.spec-card div span {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 900;
}
.spec-card div small {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}
.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-actions .btn { flex: 1; min-width: 180px; }

.section-detail-info { padding: 60px 0 120px; }
.detail-content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}
@media (max-width: 968px) {
  .detail-content-grid { grid-template-columns: 1fr; gap: 40px; }
}
.content-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}
.content-text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 16px;
}
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  transition: all var(--transition);
}
.feature-chip:hover {
  background: rgba(68, 104, 187, 0.1);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}
.feature-chip i { color: var(--accent-2); font-size: 11px; }

.spec-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: rgba(255, 255, 255, 0.02); }
.spec-row span { color: var(--text-secondary); font-size: 14px; }
.spec-row strong { font-weight: 600; font-size: 14px; }

/* ============================================
   MODAL
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.active { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  animation: fade-in 0.3s ease;
}
.modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  animation: modal-in 0.5s var(--easing);
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}
.modal-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal-content > p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}
.modal-content form { display: flex; flex-direction: column; gap: 12px; }
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}
.modal-content input:focus,
.modal-content textarea:focus { border-color: var(--accent-2); }

/* ============================================
   TOAST
   ============================================ */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  padding: 16px 24px 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-2);
  border-radius: 12px;
  box-shadow: var(--shadow-hard);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 420px;
  animation: toast-in 0.4s var(--easing);
}
.toast.success { border-left-color: #00d26a; }
.toast.error { border-left-color: var(--accent); }
.toast i { font-size: 18px; }
.toast.success i { color: #00d26a; }
.toast.error i { color: var(--accent); }
.toast span { flex: 1; font-size: 14px; }
.toast.removing { animation: toast-out 0.4s var(--easing) forwards; }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateX(100%); }
}
@media (max-width: 600px) {
  .toast-container { right: 12px; left: 12px; }
  .toast { min-width: 0; max-width: 100%; }
}

/* ============================================
   MAGNETIC BUTTON
   ============================================ */
.btn-magnetic {
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing), background 0.3s var(--easing);
}

/* ============================================
   REVEAL TEXT ANIMATION
   ============================================ */
.hero-line {
  opacity: 1;
}

/* ============================================
   ANIMATIONS UTILITIES
   ============================================ */
@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }

/* Selection */
::selection { background: var(--accent); color: #fff; }
