/* GoRage — gorage.app
   Galben + negru din aplicație, Archivo (aceeași familie ca logo-ul): titlurile late, textul normal. */

@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-latin-standard-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-latin-ext-standard-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --yellow: #ffd60a;
  --yellow-deep: #f2c200;
  --ink: #0e0e10;
  --ink-2: #2b2c31;
  --paper: #ffffff;
  --fog: #f1f2f4;
  --muted: #5d5f66;
  --plate-blue: #1e3fa0;
  --ready: #1fa35b;
  --line: rgba(14, 14, 16, 0.12);
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 18px;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-ink :focus-visible {
  outline-color: var(--yellow);
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--yellow);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ——— Tipografie ——— */
h1,
h2,
h3 {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}
h1 {
  font-size: clamp(40px, 7.4vw, 84px);
}
h2 {
  font-size: clamp(30px, 4.6vw, 52px);
}
h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  max-width: 34ch;
}
.muted {
  color: var(--muted);
}

/* ——— Butoane ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn-ink {
  background: var(--ink);
  color: var(--yellow);
}
.btn-ink:hover {
  background: var(--ink-2);
}
.btn-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-line:hover {
  background: rgba(14, 14, 16, 0.06);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}
.btn-yellow:hover {
  background: var(--yellow-deep);
}

/* ——— Antet ——— */
.top {
  background: var(--yellow);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.nav .logo {
  width: 132px;
  color: var(--ink);
}
.nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav ul a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav ul a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.lang {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 999px;
  height: 34px;
  padding: 0 12px;
  cursor: pointer;
  color: var(--ink);
}

/* ——— Erou: titlul, telefonul, plăcuța cu starea mașinii ——— */
.hero {
  background: var(--yellow);
  padding: clamp(20px, 5vw, 56px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  max-width: 11ch;
}
.hero .lead {
  margin-top: 22px;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.store svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.store span {
  display: grid;
  line-height: 1.1;
}
.store small {
  font-size: 11px;
  opacity: 0.7;
}
.store b {
  font-size: 16px;
  font-weight: 700;
}
.soon {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

/* telefonul: clipul din freemockup.video (assets/hero.mp4) sau, până atunci, ecranul de status desenat aici */
.device {
  justify-self: center;
  width: min(330px, 100%);
}
.device video {
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.phone {
  position: relative;
  aspect-ratio: 9 / 19.2;
  border-radius: 46px;
  background: var(--ink);
  padding: 11px;
  box-shadow: 0 30px 60px -20px rgba(14, 14, 16, 0.45);
}
.screen {
  height: 100%;
  border-radius: 36px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.screen-top {
  background: var(--ink);
  color: #fff;
  padding: 44px 20px 22px;
}
.screen-top .garage {
  font-size: 13px;
  opacity: 0.7;
}
.screen-top .state {
  font-stretch: 125%;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.05;
  margin-top: 6px;
}
.screen-top .eta {
  margin-top: 10px;
  font-size: 14px;
  color: var(--yellow);
  font-weight: 600;
}
.screen-body {
  padding: 18px 20px;
  display: grid;
  gap: 14px;
}
.screen-body .car {
  font-weight: 700;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.timeline li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.timeline li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #c9cad0;
}
.timeline li.done {
  color: var(--ink);
}
.timeline li.done::before {
  background: var(--ink);
  border-color: var(--ink);
}
.timeline li.now {
  color: var(--ink);
  font-weight: 700;
}
.timeline li.now::before {
  background: var(--yellow);
  border-color: var(--ink);
}

.msg {
  background: var(--fog);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  display: grid;
  gap: 2px;
  margin-top: 4px;
}
.msg b {
  font-size: 12px;
}
.msg-me {
  justify-self: end;
  background: var(--yellow);
  border-radius: 16px 16px 4px 16px;
  margin-top: 0;
}

/* plăcuța de înmatriculare + starea live: momentul care spune ce face aplicația */
.live {
  margin-top: clamp(36px, 6vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}
.plate {
  justify-self: start;
  display: inline-flex;
  align-items: stretch;
  height: 64px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.plate .eu {
  width: 34px;
  background: var(--plate-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}
.plate .eu svg {
  width: 18px;
  height: 18px;
  margin-bottom: auto;
  margin-top: 6px;
}
.plate .num {
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-stretch: 80%;
  font-weight: 700;
  font-size: 38px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}
.track::before,
.track::after {
  content: '';
  position: absolute;
  left: 7px;
  right: 7px;
  top: 7px;
  height: 4px;
  border-radius: 2px;
  background: rgba(14, 14, 16, 0.18);
}
.track::after {
  right: auto;
  width: calc(100% - 14px);
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(var(--p, 1));
}
.track li {
  position: relative;
  padding-top: 26px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.track li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  z-index: 1;
}
.track li:last-child {
  text-align: right;
}
.track li:last-child::before {
  left: auto;
  right: 0;
  background: var(--ready);
  box-shadow: 0 0 0 4px var(--yellow), 0 0 0 6px var(--ready);
}
.track li:nth-child(2),
.track li:nth-child(3) {
  text-align: center;
}
.track li:nth-child(2)::before,
.track li:nth-child(3)::before {
  left: 50%;
  margin-left: -9px;
}
/* animația: o singură dată, la încărcare (bara se umple până la „Gata de ridicat") */
.anim .track::after {
  transform: scaleX(0);
}
.anim .track li {
  opacity: 0.35;
}
.anim.go .track::after {
  transform: scaleX(1);
  transition: transform 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}
.anim.go .track li {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.anim.go .track li:nth-child(1) {
  transition-delay: 0.4s;
}
.anim.go .track li:nth-child(2) {
  transition-delay: 1.1s;
}
.anim.go .track li:nth-child(3) {
  transition-delay: 1.9s;
}
.anim.go .track li:nth-child(4) {
  transition-delay: 2.7s;
}

/* ——— Secțiuni ——— */
.sec {
  padding: clamp(64px, 9vw, 120px) 0;
}
.sec-head {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.sec-head p {
  font-size: 19px;
  max-width: 52ch;
}

/* șoferii: pașii (chiar sunt o succesiune) */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: s;
  border-top: 2px solid var(--ink);
}
.steps li {
  counter-increment: s;
  padding: 22px 22px 8px 0;
  display: grid;
  gap: 10px;
  align-content: start;
}
.steps li + li {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.steps li::before {
  content: counter(s);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
  -webkit-text-stroke: 0;
}
.steps p {
  color: var(--muted);
  font-size: 16px;
}
.free {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-weight: 600;
}
.free span::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--ink);
  margin-right: 10px;
  vertical-align: 1px;
}

/* service-urile: pe negru */
.on-ink {
  background: var(--ink);
  color: #fff;
}
.on-ink .muted,
.on-ink .sec-head p {
  color: rgba(255, 255, 255, 0.72);
}
.biz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 clamp(28px, 5vw, 72px);
}
.feat {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 6px;
}
.feat h3 {
  font-size: 19px;
  color: var(--yellow);
  font-stretch: 112%;
}
.feat p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  max-width: 44ch;
}
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 214, 10, 0.16);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  font-stretch: 100%;
  vertical-align: 3px;
}

/* prețurile */
.plans {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
}
.plan {
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 40px);
  display: grid;
  gap: 18px;
  align-content: start;
}
.plan-main {
  background: var(--yellow);
}
.plan-alt {
  background: var(--fog);
}
.plan .who {
  font-size: 16px;
  max-width: 42ch;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-stretch: 125%;
  font-weight: 800;
}
.price b {
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.02em;
}
.price span {
  font-size: 16px;
  font-weight: 600;
  font-stretch: 100%;
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.plan li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  font-size: 16px;
}
.plan li::before {
  content: '';
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='%23ffd60a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px no-repeat;
}
.plan .no {
  font-size: 15px;
  color: var(--muted);
}
.trial {
  margin-top: 22px;
  font-weight: 600;
}

/* întrebări */
.faq {
  background: var(--fog);
}
.qa {
  max-width: 780px;
}
.qa details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.qa details:last-child {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  font-weight: 700;
  font-size: 18px;
  position: relative;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -9px;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.qa details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -3px;
}
.qa details p {
  padding: 0 40px 20px 0;
  color: var(--muted);
  max-width: 64ch;
}

/* subsol */
.foot {
  padding: 48px 0 40px;
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}
.foot .logo {
  width: 120px;
  color: var(--yellow);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.foot nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.foot nav a:hover {
  text-decoration: underline;
}
.foot small {
  display: block;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

/* ——— Paginile scurte (confirmare, parolă, suport, 404) ——— */
.page {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
}
.page main {
  flex: 1;
  display: flex;
  align-items: center;
}
.card {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 40px var(--gutter) 56px;
  display: grid;
  gap: 18px;
}
.card h1 {
  font-size: clamp(34px, 7vw, 54px);
}
.card .lead {
  max-width: 38ch;
}
.card .btn {
  justify-self: start;
  margin-top: 8px;
}
.mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.mark svg {
  width: 38px;
  height: 38px;
}
.small-note {
  font-size: 14px;
  color: rgba(14, 14, 16, 0.7);
}
.support-list {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}
.support-list a {
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

/* ——— Telefon / tabletă ——— */
@media (max-width: 900px) {
  .nav ul {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .device {
    width: min(280px, 78%);
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .steps li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .biz,
  .plans {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .live {
    grid-template-columns: 1fr;
  }
  .plate .num {
    font-size: 30px;
  }
  .track li {
    font-size: 12.5px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps li,
  .steps li + li {
    padding: 20px 0 12px;
    border-left: 0;
  }
  .steps li + li {
    border-top: 1px solid var(--line);
  }
  .stores .store {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .anim .track::after,
  .anim.go .track::after {
    transform: scaleX(1);
    transition: none;
  }
  .anim .track li,
  .anim.go .track li {
    opacity: 1;
    transition: none;
  }
}
