/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --navy: #003366;
  --orange: #FF6F20;
  --lime: #A4D65E;
  --charcoal: #1C1C1E;
  --light-bg: #F8F9FB;
  --border: #E5E7EB;
  --text-muted: #6B7280;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover { background: #e55a0a; border-color: #e55a0a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,111,32,0.35); }
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-white:hover { background: #f0f4f8; transform: translateY(-1px); }
.btn-nav {
  background: var(--orange);
  color: #fff;
  padding: 9px 22px;
  font-size: 14px;
}
.btn-nav:hover { background: #e55a0a; }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-full { width: 100%; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}
.nav.scrolled .nav-links a { color: var(--charcoal); }
.nav.scrolled .nav-links a:hover { color: var(--orange); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-yard { color: #fff; }
.logo-track { color: var(--orange); }
.nav.scrolled .logo-yard { color: var(--navy); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--charcoal); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,51,102,0.88) 0%, rgba(0,30,60,0.75) 60%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,111,32,0.2);
  border: 1px solid rgba(255,111,32,0.5);
  color: #FF9A5C;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== PROOF BAR ===== */
.proof-bar {
  background: var(--navy);
  padding: 28px 0;
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 40px;
  text-align: center;
}
.proof-item strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}
.proof-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ===== SECTION SHARED ===== */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOR ME ===== */
.for-me {
  padding: 100px 0;
  background: var(--light-bg);
}
.for-me-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.for-me-text .section-tag { display: block; }
.for-me-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.for-me-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.check-list {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--lime);
  color: var(--charcoal);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== DEVICE FRAME ===== */
.for-me-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.device-frame {
  position: relative;
  width: 280px;
  background: #1C1C1E;
  border-radius: 44px;
  padding: 14px 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1), inset 0 0 0 2px rgba(255,255,255,0.05);
}
.device-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1C1C1E;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}
.device-screen {
  width: 100%;
  border-radius: 34px;
  display: block;
}
.app-preview {
  background: #f8f9fb;
  min-height: 480px;
  padding: 16px;
}
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.app-logo-sm {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.app-month {
  font-size: 11px;
  color: var(--text-muted);
}
.app-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.stat-card {
  border-radius: 12px;
  padding: 12px;
}
.stat-green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.stat-blue { background: linear-gradient(135deg, #003366, #0055a5); }
.stat-label {
  font-size: 9px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
  font-weight: 500;
}
.stat-value {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.app-list-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.app-car-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.car-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.car-dot-green { background: #22c55e; }
.car-dot-orange { background: var(--orange); }
.car-info { flex: 1; min-width: 0; }
.car-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.car-detail {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 2px;
}
.car-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 20px;
  flex-shrink: 0;
}
.car-badge.sold { background: #dcfce7; color: #16a34a; }
.car-badge.stock { background: #fff3e8; color: var(--orange); }

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card-large {
  grid-column: span 2;
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.feature-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--charcoal);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--navy);
}
.how-it-works .section-tag { color: var(--lime); }
.how-it-works .section-header h2 { color: #fff; }
.how-it-works .section-header p { color: rgba(255,255,255,0.65); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 0 16px;
}
.step-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.step-arrow {
  font-size: 28px;
  color: rgba(255,255,255,0.2);
  padding: 0 8px;
  margin-top: 20px;
  align-self: flex-start;
}



/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, #e55a0a 100%);
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-text .section-tag { display: block; }
.contact-text h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--charcoal);
}
.contact-detail a { color: var(--orange); font-weight: 500; }
.contact-detail a:hover { text-decoration: underline; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--light-bg);
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: #fff;
}
.form-success {
  background: #dcfce7;
  color: #16a34a;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { margin-bottom: 16px; display: inline-block; }
.footer-brand .logo-yard { color: rgba(255,255,255,0.8); }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--orange); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: #fff; font-size: 20px; }
  .nav-links .btn-nav { font-size: 16px; padding: 12px 32px; }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero-content { padding-top: 80px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }

  .proof-inner { gap: 8px; }
  .proof-item { padding: 8px 20px; }
  .proof-divider { display: none; }

  .for-me-grid { grid-template-columns: 1fr; gap: 48px; }
  .for-me-image { order: -1; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: span 1; }

  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .step { max-width: 100%; }



  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner .btn { width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: -1px; }
  .section-header { margin-bottom: 40px; }
  .features, .for-me, .how-it-works, .contact { padding: 64px 0; }
  .footer-links { grid-template-columns: 1fr; }
  .device-frame { width: 240px; }
}
