/* ==========================================================================
   RIPPLE JETS - DESIGN SYSTEM & STYLESHEET (V3 FIXED CONTRAST & RESPONSIVE)
   Dark Luxury Sport Theme for High-Performance Watercrafts
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Optimized for High Contrast WCAG AAA */
  --bg-dark: #060911;
  --bg-card: #0e1424;
  --bg-card-hover: #151e34;
  --bg-header: rgba(6, 9, 17, 0.95);
  
  --accent-cyan: #00f2fe;
  --accent-cyan-bright: #38ef7d;
  --accent-blue: #38bdf8;
  --accent-orange: #ff5e3a;
  --accent-coral: #ff2a5f;
  --accent-gold: #fbbf24;

  --text-main: #ffffff;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --border-glass: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(0, 242, 254, 0.4);
  --glass-bg: rgba(14, 20, 36, 0.88);

  --gradient-cyan: linear-gradient(135deg, #ffffff 0%, #00f2fe 50%, #38bdf8 100%);
  --gradient-orange: linear-gradient(135deg, #ff5e3a 0%, #ff2a5f 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --gradient-dark: linear-gradient(180deg, rgba(6, 9, 17, 0) 0%, rgba(6, 9, 17, 0.98) 100%);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Shadows & Glows */
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(0, 242, 254, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

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

button, select, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Utility Containers */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* High-Contrast Gradient Text Fix (Disables dark WebKit text-shadow overlay bug) */
.text-gradient {
  color: #00f2fe;
  background: linear-gradient(135deg, #ffffff 0%, #00f2fe 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.7));
  display: inline-block;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background: var(--gradient-cyan);
  color: #030712;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.6);
}

.btn-whatsapp {
  background: #25d366;
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-outline {
  border: 1.5px solid var(--border-highlight);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.badge-cyan {
  background: rgba(0, 242, 254, 0.2);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.5);
}

.badge-orange {
  background: rgba(255, 94, 58, 0.25);
  color: #ff7e61;
  border: 1px solid rgba(255, 94, 58, 0.5);
}

.badge-gold {
  background: rgba(251, 191, 36, 0.25);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.5);
}

/* --------------------------------------------------------------------------
   4. TOP BAR & NAVIGATION HEADER
   -------------------------------------------------------------------------- */
.top-bar {
  background: #03050a;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.6rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-contact {
  display: flex;
  gap: 1.5rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-link:hover {
  color: var(--accent-cyan);
}

.top-link.highlight {
  color: #ff7e61;
  font-weight: 700;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.9rem 0;
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-cyan);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #030712;
  box-shadow: var(--shadow-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-accent {
  color: var(--accent-cyan);
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-cyan);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.search-trigger:hover {
  color: var(--accent-cyan);
  border-color: var(--border-highlight);
  background: rgba(0, 242, 254, 0.15);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* Mobile Nav Drawer Overlay (Solid opaque background) */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: #060911;
  z-index: 999;
  padding: 2.5rem 1.8rem;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.3rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-glass);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION & HIGH CONTRAST READABILITY
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 5rem 0 6rem;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) contrast(1.2);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 30%, rgba(6, 9, 17, 0.7) 0%, rgba(6, 9, 17, 0.96) 85%),
    linear-gradient(180deg, rgba(6, 9, 17, 0.9) 0%, rgba(6, 9, 17, 0.7) 50%, var(--bg-dark) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  background: rgba(14, 20, 36, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95);
}

.hero-description {
  font-size: 1.2rem;
  color: #e2e8f0;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  font-weight: 500;
  line-height: 1.7;
}

/* Quick Search Widget */
.quick-search-box {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  margin-bottom: 3rem;
}

.search-filter-group {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1.25fr) minmax(0, 0.85fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.filter-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.filter-field label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-field select,
.filter-field input {
  width: 100%;
  min-width: 0;
  background: rgba(6, 9, 17, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
  min-height: 48px;
}

.filter-field select {
  padding-right: 0.6rem;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.filter-field select option {
  background: #0e1424;
  color: #ffffff;
}

.filter-field select:hover,
.filter-field input:hover,
.filter-field select:focus,
.filter-field input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.search-btn {
  height: 48px;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border-glass);
}

/* --------------------------------------------------------------------------
   6. INVENTORY SECTION & PRODUCTS GRID
   -------------------------------------------------------------------------- */
.inventory-section {
  padding: 5rem 0;
  background: var(--bg-dark);
}

.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.sub-heading {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-description {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0.5rem auto 0;
  font-size: 1.05rem;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(14, 20, 36, 0.9);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
}

.tab-btn {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: #ffffff;
}

.tab-btn.active {
  background: var(--gradient-cyan);
  color: #030712;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

/* Controls Bar */
.inventory-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

/* Product Card Component */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.card-image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #030712;
}

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

.product-card:hover .card-img {
  transform: scale(1.06);
}

.card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.card-like-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2;
}

.card-like-btn:hover, .card-like-btn.liked {
  color: var(--accent-coral);
  border-color: var(--accent-coral);
  background: rgba(255, 42, 95, 0.25);
}

.card-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-header-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.card-brand {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-year {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 700;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  color: #ffffff;
}

/* Specs Bar */
.card-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: rgba(6, 9, 17, 0.7);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spec-item iconify-icon {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.spec-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
}

.spec-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Pricing & CTA */
.card-footer-info {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price-container {
  display: flex;
  flex-direction: column;
}

.price-lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   7. FEATURES & DIFFERENTIALS SECTION
   -------------------------------------------------------------------------- */
.features-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0f1d 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid var(--border-highlight);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. TRADE-IN & FINANCING CALCULATOR
   -------------------------------------------------------------------------- */
.trade-in-section {
  padding: 6rem 0;
  background: var(--bg-dark);
}

.trade-in-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.trade-in-info .checklist {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 600;
}

.checklist iconify-icon {
  color: var(--accent-cyan);
  font-size: 1.4rem;
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card-header {
  margin-bottom: 1.6rem;
}

.card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.card-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.form-group input, .form-group select {
  background: rgba(6, 9, 17, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  min-height: 48px;
}

.calc-result {
  background: rgba(0, 242, 254, 0.1);
  border: 1px dashed var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: center;
  margin: 0.5rem 0;
}

.result-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.result-value {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--accent-cyan);
  margin: 0.2rem 0;
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.per-month {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.result-note {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   9. TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 5rem 0 6rem;
  background: linear-gradient(180deg, #0a0f1d 0%, var(--bg-dark) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}

.stars {
  color: var(--accent-gold);
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-card p {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-cyan);
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.reviewer div {
  display: flex;
  flex-direction: column;
}

.reviewer strong {
  font-size: 1rem;
  color: #ffffff;
}

.reviewer span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   10. FOOTER STYLES
   -------------------------------------------------------------------------- */
.main-footer {
  background: #03050a;
  border-top: 1px solid var(--border-glass);
  padding-top: 4rem;
  color: var(--text-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-text {
  margin: 1.2rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--gradient-cyan);
  color: #000;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--accent-cyan);
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-contact-info iconify-icon {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   11. TECHNICAL SPEC MODAL (<dialog>)
   -------------------------------------------------------------------------- */
.product-modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 920px;
  width: 92%;
  margin: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.product-modal::backdrop {
  background: rgba(3, 5, 10, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.product-modal[open] {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

@starting-style {
  .product-modal[open] {
    opacity: 0;
    transform: scale(0.92);
  }
}

.modal-content-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 9, 17, 0.9);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-coral);
  color: #fff;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
}

.modal-gallery {
  background: #030712;
  position: relative;
}

.modal-main-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.modal-details-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.modal-brand {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  margin: 0.2rem 0 0.8rem;
  color: #ffffff;
}

.modal-price-box {
  background: rgba(6, 9, 17, 0.8);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.modal-price-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-cyan);
}

.modal-specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.modal-spec-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
}

.modal-spec-label {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.modal-spec-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-optionals {
  margin-bottom: 1.8rem;
}

.modal-optionals h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-weight: 800;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.opt-tag {
  font-size: 0.78rem;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS (FULL MOBILE FLUIDITY)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .search-filter-group {
    grid-template-columns: repeat(2, 1fr);
  }
  .trade-in-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
  .top-bar-contact {
    gap: 1rem;
  }

  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-actions .header-btn {
    display: none;
  }

  .hero-section {
    padding: 3.5rem 0 4.5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .quick-search-box {
    padding: 1rem;
  }

  .search-filter-group {
    grid-template-columns: 1fr;
  }

  .search-btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .category-tabs {
    overflow-x: auto;
    width: 100%;
    padding: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }

  .inventory-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .calculator-card {
    padding: 1.5rem;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-details-content {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}
