/* Auto Detailing Dark Luxe Landing Styles */
:root {
  --bg-black: #0d0e12;
  --bg-dark: #14161d;
  --bg-card: #1c1f28;
  --bg-card-hover: #232733;
  --lime: #ccff00;
  --lime-hover: #b8e600;
  --border: rgba(255, 255, 255, 0.08);
  --border-active: #ccff00;
  --text-white: #ffffff;
  --text-muted: #8e95a5;
  --radius: 14px;

  /* Emil Kowalski motion tokens */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 160ms;
  --duration-normal: 240ms;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

h2 {
  font-size: clamp(20px, 5.5vw, 32px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

/* Header */
.header {
  background: rgba(13, 14, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-accent {
  color: var(--lime);
  font-size: 20px;
}
.logo-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}
.logo-sub {
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 1px;
  font-weight: 700;
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--lime);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.phone {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out), 
              background-color var(--duration-fast) var(--ease-out), 
              box-shadow var(--duration-fast) var(--ease-out);
  user-select: none;
}
.btn:active {
  transform: scale(0.97);
}
.btn-svg {
  flex-shrink: 0;
  display: inline-block;
}
.logo-accent-svg {
  display: inline-block;
  vertical-align: middle;
}
.btn-lime {
  background: var(--lime);
  color: #0d0e12;
  box-shadow: 0 4px 20px rgba(204, 255, 0, 0.35);
}
.btn-lime:hover {
  background: var(--lime-hover);
  box-shadow: 0 6px 26px rgba(204, 255, 0, 0.55);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 14px;
}
.btn-outline-lime {
  background: transparent;
  color: var(--lime);
  border: 1.5px solid var(--lime);
}
.btn-outline-lime:hover {
  background: rgba(204, 255, 0, 0.1);
}
.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.12) 0%, rgba(13, 14, 18, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}
.hero-wrap {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lime);
}
.hero-title {
  font-size: clamp(26px, 6.5vw, 46px);
  line-height: 1.15;
  margin-bottom: 22px;
  overflow-wrap: break-word;
}
.hero-title span {
  color: var(--lime);
}
.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 40px;
}
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  padding: 20px 30px;
  border-radius: 12px;
  width: fit-content;
}
.metric strong {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  color: var(--lime);
}
.metric span {
  font-size: 12px;
  color: var(--text-muted);
}
.metric-line {
  width: 1px;
  height: 34px;
  background: var(--border);
}
.hero-cta-box {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.gift-text {
  font-size: 13px;
  color: var(--lime);
  font-weight: 500;
}

/* Sections Global */
.section {
  padding: 90px 0;
}
.bg-darker {
  background-color: var(--bg-dark);
}
.text-center {
  text-align: center;
}
.section-head {
  margin-bottom: 50px;
}
.tag {
  display: inline-block;
  color: var(--lime);
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 32px;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Configurator */
.config-box {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.class-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.class-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-spring);
  display: flex;
  flex-direction: column;
}
.class-btn:active {
  transform: scale(0.97);
}
.class-btn input {
  display: none;
}
.class-btn span {
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.class-btn small {
  font-size: 11px;
  color: var(--text-muted);
}
.class-btn.active {
  border-color: var(--lime);
  background: rgba(204, 255, 0, 0.05);
}
.class-btn.active span {
  color: var(--lime);
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}
.zone-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-spring);
  display: flex;
  flex-direction: column;
}
.zone-card:active {
  transform: scale(0.97);
}
.zone-card:hover {
  background: var(--bg-card-hover);
}
.zone-card.active {
  border-color: var(--lime);
  background: rgba(204, 255, 0, 0.04);
}
.zone-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.zone-head h4 {
  font-size: 15px;
  color: #fff;
}
.zone-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
}
.zone-card.active .zone-check {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
}
.zone-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}
.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zone-tags span {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.calc-result-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 36px;
  flex-wrap: wrap;
  gap: 20px;
}
.c-label {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
}
.c-price {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--lime);
  margin: 4px 0;
}
.c-time {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}
.calc-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.calc-action small {
  font-size: 11px;
  color: var(--text-muted);
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.tech-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.tech-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
}
.tech-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tech-list li {
  display: flex;
  gap: 16px;
}
.bullet-lime {
  color: var(--lime);
  font-size: 18px;
  flex-shrink: 0;
}
.tech-list strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}
.tech-list span {
  font-size: 13px;
  color: var(--text-muted);
}
.visual-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  position: relative;
}
.visual-badge {
  display: inline-block;
  background: rgba(204, 255, 0, 0.1);
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.visual-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.visual-box p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

/* Standards */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stand-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.stand-icon {
  font-size: 30px;
  margin-bottom: 16px;
}
.stand-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: #fff;
}
.stand-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA Strip */
.cta-strip {
  background: linear-gradient(90deg, #16181f 0%, #202430 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 50px 0;
}
.cta-strip-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-strip h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.cta-strip p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Footer */
.footer {
  padding: 50px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand p {
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 450px;
}
.footer-contacts strong {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}
.footer-contacts span {
  color: var(--text-muted);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.modal.active {
  display: flex;
  opacity: 1;
}
.modal.active .modal-window {
  transform: scale(1);
  opacity: 1;
}
.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.modal-window {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  width: 90%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 34px;
  z-index: 2;
  transform: scale(0.95);
  opacity: 0;
  transition: transform var(--duration-normal) var(--ease-spring), opacity var(--duration-normal) var(--ease-out);
}

/* Scratch Self-Healing Simulator */
.scratch-simulator-card {
  background: radial-gradient(circle at 50% 30%, #1a1d27 0%, #0e1017 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.scratch-surface {
  width: 100%;
  max-width: 720px;
  height: 240px;
  background: linear-gradient(135deg, #181b24 0%, #0d0e14 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 20px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
  touch-action: none;
}
.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  cursor: crosshair;
  pointer-events: auto;
  transition: opacity 1s var(--ease-out), filter 1s var(--ease-out);
}
.scratch-hint {
  position: absolute;
  bottom: 18px;
  background: rgba(13, 14, 20, 0.88);
  border: 1.5px solid rgba(204, 255, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 6;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(204, 255, 0, 0.15);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
  animation: hintFloat 3s infinite ease-in-out;
}
.scratch-hint.hidden {
  opacity: 0;
  transform: translateY(8px);
}
@keyframes hintFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.hint-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulseDot 1.4s infinite ease-in-out;
  flex-shrink: 0;
}
.hint-body {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.hint-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.hint-desc {
  font-size: 12px;
  color: #ffffff;
  font-weight: 500;
}
.scratch-car-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 48%, rgba(255, 255, 255, 0.15) 50%, transparent 54%);
  pointer-events: none;
}
.scratch-svg {
  position: absolute;
  width: 80%;
  height: 60%;
  transition: opacity 1.2s var(--ease-out), filter 1.2s var(--ease-out);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.scratch-svg.visible {
  opacity: 1;
}
.scratch-svg.healed {
  opacity: 0;
  filter: blur(4px);
}
.heat-ray {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 120, 0, 0.35) 0%, rgba(255, 60, 0, 0.15) 45%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.heat-ray.active {
  opacity: 1;
  animation: pulseHeat 1s infinite alternate ease-in-out;
}
@keyframes pulseHeat {
  from { transform: scale(0.95); opacity: 0.8; }
  to { transform: scale(1.05); opacity: 1; }
}
.scratch-status-badge {
  position: absolute;
  top: 14px;
  left: 18px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--lime);
  border: 1px solid rgba(204, 255, 0, 0.3);
}
.scratch-controls {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.scratch-note {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 620px;
  text-align: center;
  margin-top: 18px;
  line-height: 1.5;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}
.modal-window h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.modal-window p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.modal-window form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.f-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.f-input:focus {
  border-color: var(--lime);
}
.f-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .class-selector, .zones-grid, .standards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tech-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .calc-result-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .calc-action {
    align-items: flex-start;
    width: 100%;
  }
  .nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-right .phone {
    display: none;
  }
  .hero-bg-glow {
    width: 260px;
    height: 260px;
    right: 0;
    filter: blur(60px);
  }
  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 20px 16px;
    gap: 16px;
  }
  .metric-line {
    display: none;
  }
  .calc-box {
    padding: 20px 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .tech-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .tech-content h2 {
    font-size: clamp(20px, 6vw, 32px);
    overflow-wrap: break-word;
  }
  .scratch-simulator-card {
    padding: 20px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 24px;
  }
  .scratch-surface {
    height: 180px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .scratch-status-badge {
    font-size: 10px;
    padding: 3px 10px;
    top: 10px;
    left: 10px;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .scratch-hint {
    padding: 6px 12px;
    gap: 8px;
    max-width: 90%;
    bottom: 10px;
  }
  .hint-desc {
    font-size: 11px;
    line-height: 1.3;
  }
  .scratch-controls {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .scratch-controls .btn {
    width: 100%;
    padding: 12px 14px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
    min-height: 44px;
    display: inline-flex;
    gap: 8px;
  }
  .scratch-note {
    font-size: 12px;
    margin-top: 12px;
    line-height: 1.45;
  }
  .modal-window {
    width: min(92vw, 440px);
    padding: 24px 18px;
  }
}

