/* RepairShoop landing — single shared stylesheet across all locales.
   Mobile-first, ~14 KB minified. No JS framework, no external fonts —
   everything inlines for first-paint < 100 ms. */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-dark: #0f172a;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --ink-mute: #94a3b8;
  --accent: #2563eb;
  --accent-2: #1d4ed8;
  --accent-light: #dbeafe;
  --success: #10b981;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --r: 12px;
  --r-lg: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav__brand-logo {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
}

.nav__link:hover { color: var(--ink); }

.nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s, transform 0.15s;
}

.nav__cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-3);
}

.nav__lang a {
  color: var(--ink-3);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.nav__lang a[aria-current="true"] {
  background: var(--accent-light);
  color: var(--accent-2);
}

.nav__hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__hamburger { display: block; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 96px 0 64px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 80%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 18px 0 14px;
  color: var(--ink);
}

.hero__title span {
  background: linear-gradient(135deg, var(--accent), #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 0;
  transition: all 0.18s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--accent-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn--ghost:hover { background: var(--bg-soft); color: var(--ink); }

.hero__trust {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__trust span::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
}

.hero__visual {
  position: relative;
}

.hero__shot {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
}

.hero__shot-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.hero__shot-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #cbd5e1;
}

.hero__shot-bar i:nth-child(1) { background: #ef4444; }
.hero__shot-bar i:nth-child(2) { background: #f59e0b; }
.hero__shot-bar i:nth-child(3) { background: #10b981; }

@media (max-width: 880px) {
  .hero { padding: 60px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__shot { transform: none; }
}

/* ============ SECTION shared ============ */
.section {
  padding: 80px 0;
}

.section--dark {
  background: var(--bg-dark);
  color: #f1f5f9;
}

.section--dark .section__title { color: #fff; }
.section--dark .section__lead { color: #cbd5e1; }

.section--soft { background: var(--bg-soft); }

.section__head {
  text-align: center;
  margin-bottom: 56px;
}

.section__eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.section__lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 660px;
  margin: 0 auto;
}

/* ============ FEATURES ============ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.feature__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-light), #e0e7ff);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature__title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature__text {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
}

/* "New" feature badge — added v172 with the Kanban / SMS / QR /
   signature / CSV / Insights wave. Soft accent on the top-right of
   each card so the eye lands on the new capability first. */
.feature--new {
  position: relative;
  border-color: color-mix(in srgb, var(--accent, #2563eb) 35%, var(--surface-border, #e5e7eb));
}
.feature__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

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

/* ============ STATS BAND ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat__num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat__label {
  color: #cbd5e1;
  font-size: 14px;
  margin-top: 8px;
}

@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ============ SHOWCASE (split feature + visual) ============ */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.showcase--reverse .showcase__copy { order: 2; }

.showcase__eyebrow {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.showcase__title {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.showcase__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.showcase__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--ink-2);
}

.showcase__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.showcase__visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

@media (max-width: 880px) {
  .showcase { grid-template-columns: 1fr; gap: 36px; padding: 50px 0; }
  .showcase--reverse .showcase__copy { order: 1; }
}

/* ============ PRICING ============ */
.pricing {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing__plan {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pricing__price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Old (pre-discount) price — visually struck through so the savings
   read at a glance. Smaller and muted so it does NOT compete with the
   active price; e-commerce best practice is for the eye to land on the
   discounted figure first, then notice the savings. */
.pricing__price-was {
  position: relative;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: -0.01em;
  text-decoration: line-through;
  text-decoration-color: rgba(220, 38, 38, 0.75);
  text-decoration-thickness: 2px;
}

.pricing__price {
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing__price small {
  font-size: 18px;
  color: var(--ink-3);
  font-weight: 500;
  margin-left: 4px;
}

/* Savings chip below the price — green pill that quantifies the discount
   in euros. Drives the "Save €X/month" reading habit that buyers use to
   judge whether a deal is worth it. Uses success green (matches the
   trust-badge ticks) for instant positive association. */
.pricing__save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Larger, more urgent variant of the "Best value" pricing badge. Used
   when the card carries the launch / discount framing so the offer is
   the FIRST thing the eye registers. Gradient + subtle pulse via the
   .pricing--pulse class already wired in the JS. */
.pricing__badge--offer {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 13px;
  padding: 6px 16px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.32);
}

.pricing__hint {
  color: var(--ink-3);
  font-size: 14px;
  margin: 6px 0 24px;
}

.pricing__list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.pricing__list li {
  padding: 8px 0;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing__list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  flex: 0 0 auto;
}

.pricing__cta {
  display: block;
  width: 100%;
}

.pricing__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ============ CONTACT ============ */
.contact {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact__field {
  margin-bottom: 18px;
}

.contact__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact__input:focus,
.contact__textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

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

.contact__submit {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.contact__hint {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 14px;
}

.contact__status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}

.contact__status--ok {
  display: block;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
}

.contact__status--err {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 48px 0 28px;
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; font-size: 14px; }
.footer ul li a { color: #94a3b8; }
.footer ul li a:hover { color: #fff; }

.footer__copy {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer__lang {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__lang a {
  color: #94a3b8;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer__lang a[aria-current="true"] {
  color: #60a5fa;
}

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__copy { flex-direction: column; align-items: flex-start; }
}

/* ============ utility ============ */
.muted { color: var(--ink-3); }
.center { text-align: center; }

/* ============ Animations ============
   JS-driven scroll-reveal: elements ship with `rs-reveal` (opacity 0
   + slight translate-y) and JS toggles `is-visible` once they enter
   viewport. The transition itself lives here so motion stays smooth
   on any element decorated with `rs-reveal`.

   Respects prefers-reduced-motion: the JS already gates IO behind
   that check, but we ALSO disable the transition here so any element
   accidentally given the class still renders instantly. */
.rs-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease, cubic-bezier(0.16, 1, 0.3, 1)),
              transform 0.7s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
  will-change: opacity, transform;
}
.rs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child reveals inside feature grids and stats bands so a
   row of 3-4 cards eases in like a wave rather than all at once.
   Pure CSS via :nth-child — JS doesn't need to know about the delay. */
.features .feature.rs-reveal { transition-delay: 0s; }
.features .feature.rs-reveal:nth-child(2) { transition-delay: 0.08s; }
.features .feature.rs-reveal:nth-child(3) { transition-delay: 0.16s; }
.features .feature.rs-reveal:nth-child(4) { transition-delay: 0.24s; }
.features .feature.rs-reveal:nth-child(5) { transition-delay: 0.32s; }
.features .feature.rs-reveal:nth-child(6) { transition-delay: 0.4s; }

.stats .stat.rs-reveal { transition-delay: 0s; }
.stats .stat.rs-reveal:nth-child(2) { transition-delay: 0.1s; }
.stats .stat.rs-reveal:nth-child(3) { transition-delay: 0.2s; }
.stats .stat.rs-reveal:nth-child(4) { transition-delay: 0.3s; }

/* One-shot pulse on the pricing card the first time it enters viewport.
   `pricing--pulse` is added by JS via IntersectionObserver; the keyframes
   draw the eye for ~1.6s then settle. */
@keyframes rs-pricing-pulse {
  0%   { transform: scale(1);    box-shadow: var(--shadow-lg); }
  50%  { transform: scale(1.025); box-shadow: 0 18px 48px rgba(37, 99, 235, 0.28); }
  100% { transform: scale(1);    box-shadow: var(--shadow-lg); }
}
.pricing.pricing--pulse {
  animation: rs-pricing-pulse 1.6s ease-out 0.2s 1;
}

/* Hover-amplify the donut/screenshot SVG mockups so the visual
   feedback ties to the parallax-tilt on the hero shot. */
.showcase__visual { transition: transform 0.35s var(--ease, ease); }
.showcase__visual:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  /* Belt-and-braces: any animated element collapses to its end state. */
  .rs-reveal, .pricing.pricing--pulse, .showcase__visual {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Subtle hover lift on the pricing card too — invites the click. */
.pricing { transition: transform 0.35s var(--ease, ease), box-shadow 0.35s var(--ease, ease); }
.pricing:hover { transform: translateY(-3px); }

/* Buton CTA "ripple" on press: scale-down feel without JS. */
.btn:active { transform: translateY(0) scale(0.98); }
