/* ======================================
   TREADFLEET — Landing Page Styles
   ====================================== */

/* — Typography — */
:root {
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --bg: #F5F2EC;
  --bg-dark: #1a1a1a;
  --fg: #1a1a1a;
  --fg-muted: #5a5a5a;
  --fg-light: #F5F2EC;
  --accent: #FF5A1F;
  --accent-dark: #e04e15;
  --border: rgba(26,26,26,0.12);
  --card-bg: #ffffff;
  --section-pad: clamp(60px, 8vw, 120px);
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* — Typography — */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }

/* — Hero — */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--fg-light);
  padding: clamp(60px, 10vw, 120px) clamp(24px, 5vw, 80px) clamp(80px, 12vw, 140px);
}
.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__bg-shape--1 {
  width: 600px; height: 600px;
  background: rgba(255,90,31,0.12);
  top: -100px; right: -100px;
}
.hero__bg-shape--2 {
  width: 400px; height: 400px;
  background: rgba(255,90,31,0.06);
  bottom: -80px; left: 10%;
}

/* tread marks — vertical stripe pattern */
.hero__tread-mark {
  position: absolute;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.06) 0px,
    rgba(255,255,255,0.06) 6px,
    transparent 6px,
    transparent 12px
  );
  pointer-events: none;
}
.hero__tread-mark--1 { height: 300px; left: 8%; top: 15%; }
.hero__tread-mark--2 { height: 200px; left: 15%; top: 55%; }
.hero__tread-mark--3 { height: 250px; right: 6%; top: 25%; }

.hero__container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.5);
  margin-bottom: 28px;
}
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero__headline {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 28px;
}
.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: rgba(245,242,236,0.65);
  max-width: 480px;
  margin-bottom: 48px;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(245,242,236,0.12);
}
.hero__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero__stat-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(245,242,236,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(245,242,236,0.12);
  flex-shrink: 0;
}

/* Tire stack — CSS illustration */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero__tire-stack {
  position: relative;
  width: 220px;
  height: 300px;
}
.hero__tire {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 12px solid #2a2a2a;
}
.hero__tire::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 4px solid rgba(255,90,31,0.15);
}
.hero__tire::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30%; height: 30%;
  border-radius: 50%;
  background: #1a1a1a;
  border: 2px solid rgba(255,255,255,0.08);
}
.hero__tire--1 { width: 140px; height: 140px; z-index: 4; }
.hero__tire--2 { width: 160px; height: 160px; bottom: 60px; z-index: 3; border-color: #222; }
.hero__tire--3 { width: 180px; height: 180px; bottom: 110px; z-index: 2; border-color: #1e1e1e; }
.hero__tire--4 { width: 200px; height: 200px; bottom: 155px; z-index: 1; border-color: #1a1a1a; }
.hero__tire-rim { display: none; }
.hero__tire-tread { display: none; }

/* — How It Works — */
.how-it-works {
  background: var(--bg);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}
.how-it-works__container { max-width: 1300px; margin: 0 auto; }
.section-header { margin-bottom: clamp(40px, 5vw, 64px); }
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}
.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 36px;
  position: relative;
}
.how-card__number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
}
.how-card__icon { margin-bottom: 20px; }
.how-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.how-card__body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.how-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,90,31,0.08);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 2px;
}

/* — Membership — */
.membership {
  background: var(--bg-dark);
  color: var(--fg-light);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}
.membership__container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 100px);
  align-items: center;
}
.membership__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #fff;
  margin: 16px 0 24px;
}
.membership__desc {
  color: rgba(245,242,236,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
  font-size: 1rem;
}
.membership__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 36px;
}
.membership__price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  color: var(--accent);
}
.membership__price-period {
  font-size: 1rem;
  color: rgba(245,242,236,0.5);
}
.membership__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.membership__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(245,242,236,0.8);
  line-height: 1.5;
}
.membership__check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(255,90,31,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* membership card */
.membership__card {
  background: #222;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.membership__card-top { padding: 36px; }
.membership__card-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.membership__card-plan {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.membership__card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.membership__card-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
}
.membership__card-per {
  font-size: 1rem;
  color: rgba(245,242,236,0.5);
}
.membership__card-note {
  font-size: 0.78rem;
  color: rgba(245,242,236,0.4);
}
.membership__card-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}
.membership__card-perks {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.membership__card-perk {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.membership__card-perk-label {
  font-size: 0.85rem;
  color: rgba(245,242,236,0.5);
}
.membership__card-perk-val {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(245,242,236,0.9);
}

/* — Local Network — */
.local-network {
  background: var(--bg);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}
.local-network__container { max-width: 1300px; margin: 0 auto; }
.local-network__header { margin-bottom: clamp(48px, 6vw, 80px); }
.local-network__desc {
  color: var(--fg-muted);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 600px;
  margin-top: 16px;
}
.local-network__map {
  height: 200px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 4px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.map-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  animation: map-pulse 3s infinite;
}
.map-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255,90,31,0.3);
  animation: map-ring 3s infinite;
}
.map-dot--1 { top: 20%; left: 15%; animation-delay: 0s; }
.map-dot--2 { top: 55%; left: 30%; animation-delay: 0.5s; }
.map-dot--3 { top: 30%; left: 50%; animation-delay: 1s; }
.map-dot--4 { top: 65%; left: 60%; animation-delay: 1.5s; }
.map-dot--5 { top: 15%; left: 75%; animation-delay: 2s; }
.map-dot--6 { top: 70%; left: 82%; animation-delay: 2.5s; }
@keyframes map-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes map-ring { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.8); opacity: 0; } }
.map-connection {
  position: absolute;
  background: rgba(255,90,31,0.15);
}

.local-network__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.ln-feature { }
.ln-feature__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  border-radius: 4px;
  margin-bottom: 16px;
}
.ln-feature__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.ln-feature__desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* — Closing — */
.closing {
  background: var(--bg-dark);
  color: var(--fg-light);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}
.closing__container { max-width: 1300px; margin: 0 auto; }
.closing__rule {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 56px;
}
.closing__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  margin-bottom: 64px;
}
.closing__headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.05;
}
.closing__body {
  color: rgba(245,242,236,0.6);
  line-height: 1.75;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.closing__sub {
  color: rgba(245,242,236,0.4);
  font-size: 0.9rem;
  font-style: italic;
}
.closing__block {
  background: #222;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 28px 32px;
  margin-bottom: 16px;
}
.closing__block--highlight {
  background: rgba(255,90,31,0.08);
  border-color: rgba(255,90,31,0.2);
}
.closing__block-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.35);
  margin-bottom: 16px;
}
.closing__block-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
  color: rgba(245,242,236,0.7);
}
.closing__block-row:last-child { border-bottom: none; }
.closing__block-target { }
.closing__target-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
}
.closing__target-period {
  font-size: 0.9rem;
  color: rgba(245,242,236,0.5);
  margin-left: 8px;
}
.closing__blockquote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(245,242,236,0.45);
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  line-height: 1.7;
  max-width: 900px;
}

/* — Footer — */
.footer {
  background: #111;
  padding: 48px clamp(24px, 5vw, 80px);
}
.footer__container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.footer__logo-tread { color: var(--accent); }
.footer__logo-fleet { color: rgba(245,242,236,0.5); }
.footer__tagline {
  font-size: 0.8rem;
  color: rgba(245,242,236,0.3);
}
.footer__meta { text-align: right; }
.footer__copyright {
  font-size: 0.75rem;
  color: rgba(245,242,236,0.25);
  margin-bottom: 4px;
}
.footer__note {
  font-size: 0.7rem;
  color: rgba(245,242,236,0.15);
}

/* — Responsive — */
@media (max-width: 900px) {
  .hero__container { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .how-it-works__grid { grid-template-columns: 1fr; gap: 20px; }
  .membership__container { grid-template-columns: 1fr; }
  .closing__content { grid-template-columns: 1fr; }
  .local-network__features { grid-template-columns: repeat(2, 1fr); }
  .footer__container { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer__meta { text-align: left; }
}
@media (max-width: 600px) {
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__stat-divider { display: none; }
  .local-network__features { grid-template-columns: 1fr; }
}