/* =============================================
   FDXVA Landing Page - Dark Mode Theme
   FedEx Purple: #4D148C | FedEx Orange: #FF6600
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #4D148C;
  --purple-light: #6B2FAD;
  --purple-dark: #3A0F6A;
  --orange: #FF6600;
  --orange-light: #FF8533;
  --bg-dark: #0D0D0D;
  --bg-card: #1A1A2E;
  --bg-card-hover: #222240;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0C0;
  --text-muted: #6C6C80;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --glow-purple: rgba(77, 20, 140, 0.4);
  --glow-orange: rgba(255, 102, 0, 0.3);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Sticky Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.97);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--orange);
  color: var(--text-primary) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--glow-orange);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.5) 0%,
    rgba(13, 13, 13, 0.65) 40%,
    rgba(13, 13, 13, 0.9) 85%,
    rgba(13, 13, 13, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
  padding-top: 70px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(77, 20, 140, 0.75);
  border: 1px solid rgba(77, 20, 140, 0.5);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--text-primary);
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-orange);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- Social Proof Bar --- */
.social-proof {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.social-proof .container {
  text-align: center;
}

.social-proof p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.proof-logos img {
  height: 36px;
  opacity: 0.9;
  filter: invert(1) brightness(1.5);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.proof-logos img:hover {
  opacity: 1;
  filter: invert(1) brightness(2);
}

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.proof-stat {
  text-align: center;
}

.proof-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

.proof-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Section Styles --- */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Bento Features Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 102, 0, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.bento-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Large card spanning 2 columns */
.bento-card.wide {
  grid-column: span 2;
}

/* Card with image background */
.bento-card.has-image {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-card.has-image .card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bento-card.has-image .card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-card.has-image .card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.92) 15%, rgba(13, 13, 13, 0.7) 50%, rgba(13, 13, 13, 0.5) 100%);
}

.bento-card.has-image h3,
.bento-card.has-image p {
  position: relative;
  z-index: 1;
}

.bento-card.has-image h3 {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.bento-card.has-image p {
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* --- Fleet Section --- */
.fleet-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
  padding: 5rem 0;
}

.fleet-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.fleet-image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.fleet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fleet-image:hover img {
  transform: scale(1.03);
}

.fleet-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.fleet-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.fleet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fleet-tag {
  background: rgba(77, 20, 140, 0.15);
  color: var(--purple-light);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(77, 20, 140, 0.25);
}

/* --- New in 2026 --- */
.whats-new {
  padding: 5rem 0;
}

.new-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.new-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.new-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 20, 140, 0.4);
}

.new-card .badge-new {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--purple);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.new-card .card-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.new-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.new-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- How It Works --- */
.how-it-works {
  padding: 5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.how-cta {
  text-align: center;
}

/* --- Partners --- */
.partners {
  padding: 5rem 0;
}

.partner-grid {
  display: grid;
  /* grid-template-columns: 1fr 1fr;  <---- uncomment to have 2 items*/
  gap: 2rem;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.partner-card img {
  height: 50px;
  margin-bottom: 1.5rem;
}

.partner-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Final CTA --- */
.final-cta {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.final-cta .highlight {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .btn-primary {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* --- Disclaimer --- */
.disclaimer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.disclaimer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Footer --- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-left a {
  color: var(--orange);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-right a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: var(--text-primary);
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.5s; }
.stagger-children .fade-up:nth-child(7) { transition-delay: 0.6s; }
.stagger-children .fade-up:nth-child(8) { transition-delay: 0.7s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fleet-showcase {
    grid-template-columns: 1fr;
  }

  .fleet-image {
    max-height: 350px;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-toggle {
    display: flex;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.wide {
    grid-column: span 1;
  }

  .new-cards {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .proof-stats {
    gap: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .fleet-section,
  .whats-new,
  .how-it-works,
  .partners,
  .final-cta {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .proof-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}
