/* ==========================================================================
   PLATINUM DETAILING — Light European Showroom & Porsche/Audi Aesthetic
   ========================================================================== */

:root {
  --bg-platinum: #f4f5f7;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbfc;
  --bg-subtle: #eaecee;

  --blue-primary: #0f4c81;
  --blue-dark: #0a355c;
  --blue-light: #e8f1f8;
  --blue-gradient: linear-gradient(135deg, #1765a8 0%, #0f4c81 60%, #0a355c 100%);
  --blue-gradient-hover: linear-gradient(135deg, #1e74bf 0%, #135894 60%, #0c3e6b 100%);
  --blue-glow: rgba(15, 76, 129, 0.2);

  --text-anthracite: #111315;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;

  --silver-border: #e2e8f0;
  --silver-border-light: #edf2f7;
  --silver-divider: #cbd5e1;

  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.02);
  --shadow-elevated: 0 18px 45px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-active: 0 0 0 2px var(--blue-primary), 0 12px 30px rgba(15, 76, 129, 0.12);

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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-platinum);
  color: var(--text-anthracite);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-platinum);
  color: var(--text-anthracite);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Architectural Grid Texture */
.showroom-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(15, 76, 129, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(15, 76, 129, 0.025) 0%, transparent 45%),
    linear-gradient(rgba(17, 19, 21, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.font-heading {
  font-family: var(--font-heading);
}

/* Showroom White Card */
.showroom-card {
  background: var(--bg-white);
  border: 1px solid var(--silver-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.showroom-card:hover {
  background: var(--bg-card-hover);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

/* Buttons */
.btn-primary-blue {
  background: var(--blue-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 18px var(--blue-glow);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-blue:hover {
  background: var(--blue-gradient-hover);
  box-shadow: 0 6px 24px rgba(15, 76, 129, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-white-outline {
  background: #ffffff;
  color: var(--text-anthracite);
  font-family: var(--font-heading);
  font-weight: 600;
  border: 1px solid var(--silver-border);
  border-radius: 10px;
  padding: 13px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.btn-white-outline:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn-telegram {
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #ffffff;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-telegram:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(34, 158, 217, 0.35);
}

.btn-viber {
  background: linear-gradient(135deg, #7360f2 0%, #665cac 100%);
  color: #ffffff;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-viber:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(115, 96, 242, 0.35);
}

/* Luxury Platinum Badge */
.platinum-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  border: 1px solid rgba(15, 76, 129, 0.2);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-primary);
}

/* Interactive Checklist Item Card */
.checklist-item {
  background: #ffffff;
  border: 1px solid var(--silver-border);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.checklist-item:hover {
  border-color: #cbd5e1;
  background: #fafbfc;
  transform: translateY(-1px);
}

.checklist-item.selected {
  border-color: var(--blue-primary);
  background: #f0f7fc;
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.08);
}

.checklist-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: #ffffff;
}

.checklist-item.selected .checklist-checkbox {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #ffffff;
}

/* iPhone Fixed Bottom Action Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--silver-border);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

/* Clean Minimalist Scrollbars */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-platinum);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-primary);
}
