/* ========== Base / Reset ========== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111;
  background: #f7f7f9;
  line-height: 1.6;
}

:root{
  --bg: #f7f7f9;
  --card: #ffffff;
  --text: #111111;
  --muted: #5b5f68;
  --line: rgba(17,17,17,0.10);
  --shadow: 0 12px 30px rgba(0,0,0,0.08);
  --shadow2: 0 14px 40px rgba(0,0,0,0.10);
  --red: #d72638;   /* otomotiv hissi */
  --dark: #0f1115;
  --radius: 18px;
  --radius2: 24px;
  --container: 1120px;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(215,38,56,0.35);
  outline-offset: 3px;
  border-radius: 10px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.muted { color: var(--muted); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Skip link */
.skip-link{
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}
.skip-link:focus { top: 12px; }

/* ========== Header ========== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,247,249,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark{
  width: 40px; height: 40px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--dark), #262a33);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.brand-text { display: grid; gap: 2px; }
.brand-name{ font-weight: 800; }
.brand-tagline{ font-size: 12px; color: var(--muted); }

.nav { display: flex; align-items: center; }
.nav-list{
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-list a{
  padding: 10px 12px;
  border-radius: 12px;
  color: #1a1b1f;
}
.nav-list a:hover{
  background: rgba(17,17,17,0.06);
}

/* Mobile nav toggle */
.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
}
.nav-toggle-lines{
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}
.nav-toggle-lines::before{ top: -6px; }
.nav-toggle-lines::after{ top: 6px; }

/* ========== Hero ========== */
.hero{
  position: relative;
  overflow: hidden;
  padding: 52px 0 24px;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  font-weight: 600;
  color: #222;
}
.hero-badge::before{
  content: "";
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(215,38,56,0.18);
}

.hero h1{
  margin: 14px 0 8px;
  line-height: 1.12;
  font-size: clamp(30px, 3.6vw, 52px);
  letter-spacing: -0.6px;
}
.hero-sub{
  margin: 0 0 18px;
  font-size: 16px;
  max-width: 60ch;
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform 120ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  user-select: none;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(135deg, var(--dark), #2a2f3a);
  color: #fff;
  box-shadow: 0 14px 24px rgba(15,17,21,0.18);
  border-color: rgba(255,255,255,0.08);
}
.btn-primary:hover{ box-shadow: 0 18px 32px rgba(15,17,21,0.22); }

.btn-ghost{
  background: rgba(255,255,255,0.7);
  border-color: var(--line);
  color: #111;
}
.btn-ghost:hover{
  background: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}

.hero-highlights{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  max-width: 52ch;
}
.hero-highlights li{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.65);
}
.dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: #111;
  opacity: 0.22;
}
.dot-red{ background: var(--red); opacity: 0.95; }

/* Right hero card */
.hero-card{
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 14px;
  position: relative;
}
.hero-card::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius2);
  pointer-events: none;
  background: radial-gradient(800px 120px at 20% 0%, rgba(215,38,56,0.14), transparent 60%);
  opacity: 1;
}

.hero-card-top{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
}
.gauge{
  width: 120px; height: 120px;
  position: relative;
  display: grid;
  place-items: center;
}
.gauge-ring{
  width: 120px; height: 120px;
  border-radius: 999px;
  background:
    conic-gradient(from 210deg, var(--red), rgba(215,38,56,0.18) 55%, rgba(17,17,17,0.08) 0);
  filter: saturate(1.05);
}
.gauge-center{
  position: absolute;
  width: 92px; height: 92px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
}
.gauge-title{
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.gauge-value{
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat{
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 4px;
}
.stat-k{ font-size: 12px; color: var(--muted); font-weight: 700; }
.stat-v{ font-size: 14px; font-weight: 900; }

.hero-note{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px dashed rgba(215,38,56,0.35);
  background: rgba(215,38,56,0.06);
  color: #2a2f3a;
  font-weight: 650;
}

/* Hero background */
.hero-bg{
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-grid{
  position: absolute;
  inset: -20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(215,38,56,0.10), transparent 45%),
    radial-gradient(circle at 82% 22%, rgba(15,17,21,0.10), transparent 40%),
    linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0.0) 40%),
    repeating-linear-gradient(
      to right,
      rgba(17,17,17,0.06) 0,
      rgba(17,17,17,0.06) 1px,
      transparent 1px,
      transparent 56px
    );
  mask-image: radial-gradient(circle at 35% 20%, #000 0%, transparent 65%);
  opacity: 0.75;
}
.hero-glow{
  position: absolute;
  width: 780px;
  height: 780px;
  left: -240px;
  top: -380px;
  background: radial-gradient(circle, rgba(215,38,56,0.18), transparent 60%);
  filter: blur(10px);
  opacity: 0.95;
}

/* ========== Sections ========== */
.section{
  padding: 54px 0;
}
.section.alt{
  background: rgba(255,255,255,0.65);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head{
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.section-head h2{
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.3px;
}
.section-head p{ margin: 0; max-width: 70ch; }

.grid{
  display: grid;
  gap: 14px;
}

/* Cards grid */
.cards{
  grid-template-columns: repeat(4, 1fr);
}
.card{
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  padding: 16px;
  transition: transform 160ms ease, box-shadow 220ms ease, background 220ms ease;
  position: relative;
  overflow: hidden;
}
.card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 120px at 0% 0%, rgba(215,38,56,0.12), transparent 55%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
  background: #fff;
}
.card:hover::after{ opacity: 1; }

.card-icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.card h3{
  margin: 10px 0 6px;
  font-size: 16px;
  letter-spacing: -0.2px;
}
.card p{ margin: 0 0 10px; }

.card-points{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.card-points li{ margin: 6px 0; }

/* Two column about */
.two-col{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: start;
}
.two-col h2{ margin-top: 0; }

.pill-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}
.pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
  font-weight: 700;
  color: #1c1f25;
}

.note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(17,17,17,0.10);
  background: rgba(255,255,255,0.75);
}

.about-panel{
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.about-panel.shine::before{
  content:"";
  position: absolute;
  inset: -80px;
  background: radial-gradient(360px 160px at 20% 10%, rgba(215,38,56,0.18), transparent 60%);
  pointer-events: none;
  animation: floatGlow 900ms ease;
}
@keyframes floatGlow{
  0% { opacity: 0; transform: translateY(10px); }
  45% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}
.about-panel h3{
  margin: 0 0 12px;
  font-size: 18px;
}
.steps{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.steps li{
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
}
.step-no{
  width: 34px; height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--dark), #2a2f3a);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.step-title{ display: block; font-weight: 900; }
.step-desc{ display: block; color: var(--muted); font-size: 13px; }

.mini-cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Why grid */
.why{
  grid-template-columns: repeat(4, 1fr);
}
.why-item{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  transition: transform 160ms ease, box-shadow 220ms ease;
}
.why-item:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
}
.why-item h3{ margin: 0 0 8px; }

.callout{
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(215,38,56,0.22);
  background: rgba(215,38,56,0.06);
}
.callout-dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--red);
  margin-top: 7px;
  box-shadow: 0 0 0 5px rgba(215,38,56,0.15);
}

/* ========== Footer ========== */
.site-footer{
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.70);
  padding: 26px 0;
}
.footer-inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Back to top */
.to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px; height: 44px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}
.to-top.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover{
  background: #fff;
}

/* CTA click ripple */
.btn.ripple{
  position: relative;
  overflow: hidden;
}
.btn.ripple span.rip{
  position: absolute;
  border-radius: 999px;
  transform: scale(0);
  animation: ripple 520ms ease-out;
  background: rgba(255,255,255,0.35);
  pointer-events: none;
}
@keyframes ripple{
  to { transform: scale(4); opacity: 0; }
}

/* ========== Responsive ========== */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .two-col{ grid-template-columns: 1fr; }
  .why{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  .nav-toggle{ display: inline-flex; align-items: center; justify-content: center; }
  .nav-list{
    position: absolute;
    right: 20px;
    top: 64px;
    width: min(260px, calc(100% - 40px));
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-list.open{ display: flex; }

  .cards{ grid-template-columns: 1fr; }
  .why{ grid-template-columns: 1fr; }

  .hero{ padding-top: 40px; }
}
