@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --ink: #0c1222;
  --ink-muted: #5c6578;
  --surface: #ffffff;
  --surface-2: #f0f4f8;
  --border: rgba(12, 18, 34, 0.08);
  --hero-bg: #060a12;
  --accent: #3b82f6;
  --accent-bright: #60a5fa;
  --cta: #10b981;
  --cta-hover: #059669;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(12, 18, 34, 0.06);
  --shadow-hover: 0 12px 40px rgba(12, 18, 34, 0.1);
  --max: 1120px;
  --nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--surface-2);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 40px);
  background: rgba(6, 10, 18, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav__brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.site-nav__brand span {
  color: var(--accent-bright);
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--cta);
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

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

.hero {
  position: relative;
  margin-top: calc(-1 * var(--nav-h));
  padding: calc(var(--nav-h) + clamp(48px, 10vw, 96px)) clamp(20px, 4vw, 40px) clamp(64px, 12vw, 120px);
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(59, 130, 246, 0.35), transparent),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(16, 185, 129, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(59, 130, 246, 0.15), transparent),
    var(--hero-bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 6vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__lead {
  margin: 0 auto 1.5rem;
  max-width: 560px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero__pill {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 15px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--cta);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.4);
}

.cta--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.cta--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.car {
  top: auto;
  bottom: clamp(12px, 5vw, 8%);
  width: min(400px, 55vw);
  left: -200px;
  position: absolute;
  z-index: 2;
  animation: driveAcross 8s ease-in-out infinite;
  opacity: 0.85;
  display: flex;
  align-items: flex-end;
}

/* Rig wraps image + wheels so wheels share the car’s position and animation */
.car__rig {
  position: relative;
  width: 50%;
  flex-shrink: 0;
}

.car-img {
  width: 100%;
  height: auto;
  display: block;
  animation: carBounce 1s linear infinite;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.car__wheel {
  position: absolute;
  /* Anchor bottom of wheel graphic up into wheel wells (PNG-dependent) */
  bottom: 6%;
  width: 22%;
  max-width: 36px;
  height: auto;
  object-fit: contain;
  animation: wheelRotate 0.5s linear infinite;
  pointer-events: none;
  transform-origin: center center;
}

.car__wheel--back {
  left: 8%;
}

.car__wheel--front {
  left: 68%;
}

@keyframes driveAcross {
  0% { left: -200px; opacity: 0; }
  8% { opacity: 0.85; }
  92% { opacity: 0.85; }
  100% { left: calc(100% + 200px); opacity: 0; }
}

@keyframes carBounce {
  0%, 100% { transform: translateY(-1px); }
  50% { transform: translateY(1px); }
}

@keyframes wheelRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.section {
  padding: clamp(56px, 8vw, 88px) clamp(20px, 4vw, 40px);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.section-title .eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-title .sub {
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.section--surface {
  background: var(--surface);
}

.section--muted {
  background: var(--surface-2);
}

.intro-local {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

.intro-local p {
  margin: 0 0 1.15rem;
}

.intro-local p:last-child {
  margin-bottom: 0;
}

.intro-local strong {
  color: var(--ink);
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(59, 130, 246, 0.15);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 1.35rem 1.5rem 1.5rem;
}

.card-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.feature-card {
  padding: 1.75rem 1.5rem;
  text-align: left;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.08));
  color: var(--accent);
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
}

footer {
  background: var(--hero-bg);
  color: #94a3b8;
  padding: clamp(48px, 8vw, 72px) clamp(20px, 4vw, 40px) 32px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer__logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-address {
  max-width: 420px;
  margin: 0 auto 0.75rem;
  line-height: 1.65;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-address strong {
  color: #e2e8f0;
}

.footer-step {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: rgba(148, 163, 184, 0.95);
}

.footer__copy {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #64748b;
}

.partners__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
}

.partners__item {
  margin: 0;
}

.partners__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 1rem 1.35rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.partners__item a:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.partners__item a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.partners__item img {
  display: block;
  object-fit: contain;
}

.partners__item--step img {
  max-height: 96px;
  max-width: 160px;
  width: auto;
  height: auto;
}

.partners__item--dpiit img {
  max-height: 56px;
  max-width: min(100%, 300px);
  width: auto;
  height: auto;
}

.partners__item--kar img {
  max-height: 64px;
  max-width: min(100%, 280px);
  width: auto;
  height: auto;
}

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq__item:last-child {
  margin-bottom: 0;
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.faq__item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq__item summary:hover {
  color: var(--accent);
}

.faq__answer {
  padding: 0 1.25rem 1.15rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
}

.faq__answer p {
  margin: 0.85rem 0 0;
}

.faq__answer p:first-child {
  margin-top: 0;
  padding-top: 0.85rem;
}

@media (max-width: 768px) {
  .car {
    width: min(280px, 70vw);
    bottom: 10px;
  }

  .car__wheel {
    max-width: 28px;
    width: 24%;
    bottom: 8%;
  }

  .car__wheel--back {
    left: 9%;
  }

  .car__wheel--front {
    left: 69%;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta,
  .cta--ghost {
    width: 100%;
    max-width: 320px;
  }
}
