:root {
  --bg: #f6f3f2;
  --surface: #ffffff;
  --ink: #1d1d1b;
  --muted: #595957;
  --brand: #e62d2e;
  --brand-dark: #b51f20;
  --line: #ded8d7;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(29, 29, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Barlow", sans-serif;
  background: radial-gradient(circle at 8% 2%, #ffd9d9 0%, transparent 30%),
    radial-gradient(circle at 95% 15%, #efe9e8 0%, transparent 42%), var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

@keyframes blobFloatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -14px, 0);
  }
}

@keyframes blobFloatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, 12px, 0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

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

.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
}

.blob-1 {
  width: 280px;
  height: 280px;
  background: #ff8f8f;
  top: -80px;
  left: -40px;
  animation: blobFloatA 11s ease-in-out infinite;
}

.blob-2 {
  width: 320px;
  height: 320px;
  background: #ffcaca;
  top: 22%;
  right: -80px;
  animation: blobFloatB 13s ease-in-out infinite;
}

.blob-3 {
  width: 240px;
  height: 240px;
  background: #d8d3d2;
  bottom: -90px;
  left: 42%;
  animation: blobFloatA 15s ease-in-out infinite;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 18px;
  border: 1px solid #dbd4d3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(180deg, #ff5b5c, var(--brand-dark));
  border-radius: 50%;
  animation: softPulse 2.2s ease-in-out infinite;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-sub {
  color: #5e5a59;
  margin-left: 8px;
  font-weight: 500;
  font-size: 0.86rem;
}

.main-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 0.4rem;
}

.main-nav a {
  color: #313131;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 220ms ease;
}

.main-nav a:hover {
  color: var(--brand);
}

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 9px 14px;
  border-radius: 999px;
}

.menu-btn {
  display: inline-flex;
  border: 0;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 8px 14px;
  transition: transform 220ms ease, background-color 220ms ease;
}

.menu-btn:hover {
  transform: translateY(-1px);
  background: #30302d;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding-top: 2.4rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 0.74rem;
  margin: 0;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Barlow", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  margin: 0.35rem 0 1rem;
}

h2 {
  margin: 0.4rem 0 0.9rem;
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
}

.hero-text {
  max-width: 60ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.btn {
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 0.76rem 1.3rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(29, 29, 27, 0.15);
  filter: saturate(1.05);
}

.btn-primary {
  background: linear-gradient(120deg, #f24d4e, var(--brand));
  color: #ffffff;
}

.btn-ghost {
  border: 1px solid #c8c0bf;
  color: #2d2d2d;
  background: #ffffff;
}

.hero-card-wrap {
  position: relative;
  perspective: 1200px;
}

.gascard-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #232321, #151514);
  color: #fff7f7;
  border-radius: 24px;
  padding: 1.8rem;
  min-height: 280px;
  box-shadow: var(--shadow);
  transform: none;
  border: 1px solid rgba(255, 158, 158, 0.32);
  transition: transform 320ms ease;
}

.gascard-visual::after {
  content: "";
  position: absolute;
  inset: -40% -120%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 28%,
    rgba(255, 255, 255, 0.12) 46%,
    rgba(255, 255, 255, 0) 62%
  );
  transform: translateX(-40%);
  animation: cardShine 4.8s linear infinite;
  pointer-events: none;
}

@keyframes cardShine {
  from {
    transform: translateX(-30%);
  }
  to {
    transform: translateX(45%);
  }
}

.card-type {
  margin: 0;
  font-size: 0.95rem;
  color: #ff9899;
}

.card-number {
  margin: 2.1rem 0 1.5rem;
  font-family: "Barlow", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.08rem;
}

.card-chip {
  width: 50px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffe8e8, #ffa6a7);
}

.card-owner {
  margin: 1.4rem 0 0.2rem;
  font-size: 0.85rem;
  color: #ffd1d1;
}

.card-footer {
  margin: 0;
  font-size: 0.8rem;
  color: #ffb7b8;
}

.scan-pill {
  position: absolute;
  right: -15px;
  bottom: -20px;
  background: #ffffff;
  color: #2c2c2c;
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid #e0d7d7;
  font-weight: 600;
  animation: pillFloat 2.8s ease-in-out infinite;
}

.section {
  padding: 6rem 0 1.2rem;
}

.section-heading {
  max-width: 760px;
}

.cards-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 8px 20px rgba(29, 48, 39, 0.07);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(29, 29, 27, 0.12);
  border-color: #d0bbbb;
}

.feature-card p {
  color: var(--muted);
}

.feature-card ul {
  padding-left: 1.1rem;
  color: #343432;
  margin-bottom: 0;
}

.feature-card-dark {
  background: linear-gradient(140deg, #292928, #1a1a19);
  border-color: #2f2f2d;
  color: #fff7f7;
}

.feature-card-dark p,
.feature-card-dark ul {
  color: #f3d0d0;
}

.metrics-section {
  background: linear-gradient(170deg, #232321 0%, #151514 100%);
  color: #fff7f7;
  margin-top: 4rem;
}

.metrics-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.metrics-layout .eyebrow {
  color: #ff9d9e;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.metric-card {
  border: 1px solid rgba(255, 157, 158, 0.3);
  background: rgba(230, 45, 46, 0.12);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(6px);
}

.metric-number {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  font-family: "Barlow", sans-serif;
}

.metric-card p {
  margin: 0.3rem 0 0;
}

.coverage-box {
  background: linear-gradient(135deg, #fff6f6 0%, #f4eceb 100%);
  border: 1px solid #dfd2d2;
  border-radius: 22px;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.coverage-box p {
  color: #575554;
  margin-bottom: 0;
}

.coverage-actions {
  display: flex;
  align-items: center;
}

.app-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.app-section > * {
  min-width: 0;
}

.phone-mockup {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(29, 29, 27, 0.25));
}

.app-copy p {
  color: #5d5a59;
}

.store-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.store-pill {
  border: 1px solid #d9cfcf;
  border-radius: 999px;
  text-decoration: none;
  color: #2f2f2d;
  padding: 0.75rem 1rem;
  font-weight: 600;
  background: #fff;
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease;
}

.store-pill:hover {
  transform: translateY(-2px);
  border-color: #d49f9f;
  color: var(--brand);
}

.fleet-box {
  background: linear-gradient(130deg, #fff7f7, #f3ebeb);
  border: 1px solid #ddd3d3;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.2rem;
}

.fleet-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.fleet-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: #3d3a39;
  gap: 0.3rem;
}

.fleet-form input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d3c9c8;
  padding: 0.65rem 0.7rem;
  font-family: inherit;
}

.legal-doc {
  margin-top: 1.4rem;
  background: #fff;
  border: 1px solid #dfd5d4;
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(29, 29, 27, 0.08);
}

.legal-doc h3 {
  margin-top: 0;
}

.legal-doc h4 {
  margin: 1.2rem 0 0.5rem;
  font-size: 1rem;
}

.legal-doc p {
  margin: 0;
  color: #4f4c4b;
}

.legal-doc p + p,
.legal-doc ul,
.legal-doc h4 {
  margin-top: 0.9rem;
}

.legal-doc ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
  color: #4f4c4b;
}

.legal-doc a {
  color: var(--brand-dark);
}

.full {
  grid-column: 1 / -1;
  border: 0;
  cursor: pointer;
}

.site-footer {
  padding: 2.4rem 0 3rem;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  color: #504d4c;
  font-size: 0.87rem;
}

.site-footer a {
  color: #504d4c;
  text-decoration: none;
  margin-left: 0;
  margin-right: 0.8rem;
}

.main-nav[data-open="true"] {
  display: flex;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 760px) {
  .site-header {
    border-radius: 999px;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
  }

  .menu-btn {
    display: none;
  }

  .main-nav {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    padding-top: 0;
  }

  .cards-grid,
  .fleet-form,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 5.2rem;
  }

  .app-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .fleet-box {
    grid-template-columns: 1fr 1fr;
  }

  .coverage-box {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }

  .coverage-actions {
    justify-content: flex-end;
  }

  .metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gascard-visual {
    transform: rotateY(-12deg) rotateX(4deg);
  }

  .site-footer {
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
  }

  .site-footer a {
    margin-left: 0.8rem;
    margin-right: 0;
  }
}
