/* =============================================
   LSP Works — Logistics Service Partners
   Custom stylesheet | No Webflow dependency
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #3B52F5;
  --blue-dark:  #2C3FD9;
  --black:      #0A0A0A;
  --gray-dark:  #333333;
  --gray-mid:   #666666;
  --gray-light: #F4F4F6;
  --white:      #FFFFFF;
  --border:     #E2E2E8;
  --radius:     10px;
  --shadow:     0 4px 20px rgba(0,0,0,0.08);
  --font:       'Inter', sans-serif;
  --max-w:      1200px;
  --section-py: 96px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography --- */
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { font-size: 1rem; line-height: 1.75; color: var(--gray-dark); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 42px;
  height: 42px;
}

.logo-text {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--black);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-dark);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }

.nav-cta { margin-left: 16px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 20px 0 24px;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-dark);
  padding: 8px 0;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 80px 0 0;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EEF1FF;
  color: var(--blue);
  border: 1px solid #C7CEFF;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-content { max-width: 680px; margin-bottom: 64px; }
.hero h1 { margin-bottom: 24px; }

.hero-image {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =============================================
   VALUE PROP
   ============================================= */
.value-prop {
  padding: var(--section-py) 0;
  background: var(--white);
}

.value-prop-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.value-prop h2 { margin-bottom: 24px; }

/* =============================================
   OPPORTUNITIES
   ============================================= */
.opportunities {
  padding: var(--section-py) 0;
  background: var(--gray-light);
}

.opportunities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
}

.opportunities-header-left { max-width: 560px; }
.opportunities-header h2 { margin-bottom: 16px; }

.job-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  cursor: pointer;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}

.job-card-icon {
  width: 48px;
  height: 48px;
  background: #EEF1FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.job-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.job-card-type { font-size: 0.8rem; color: var(--gray-mid); margin-bottom: 16px; }

.job-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1.5px solid;
}
.tag-business  { color: var(--blue); border-color: var(--blue); background: #EEF1FF; }
.tag-ondemand  { color: #059669; border-color: #6EE7B7; background: #ECFDF5; }

.job-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray-mid);
}

/* =============================================
   COMPANIES SLIDER
   ============================================= */
.companies {
  padding: var(--section-py) 0;
  background: var(--white);
}

.companies-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 32px;
}

.companies-header h2 { max-width: 480px; }

.slider-controls {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  margin-top: 8px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.1rem;
  color: var(--gray-dark);
}
.slider-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.slider-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.slider-btn:disabled:hover { background: var(--white); border-color: var(--border); color: var(--gray-dark); }

.slider-track-wrapper { overflow: hidden; }

.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.company-card {
  min-width: calc((100% - 48px) / 3);
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.company-card-icon {
  width: 44px;
  height: 44px;
  background: #EEF1FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.company-card h3 { margin-bottom: 12px; }
.company-card p { font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }

.demand-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #EEF1FF;
  color: var(--blue);
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-us {
  padding: var(--section-py) 0;
  background: var(--gray-light);
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-us-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.why-us-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
}

.why-us-image-placeholder {
  width: 100%;
  height: 520px;
  background: linear-gradient(180deg, #e0e0e0, #c0c0c0);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
}

.why-us-caption {
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gray-mid);
  margin-top: 12px;
}

/* Driver photo grid — main + two stacked secondary */
.driver-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.driver-photo-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
}

.driver-photo-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.driver-photo-secondary img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

.driver-photo-main .why-us-image-placeholder,
.driver-photo-secondary .why-us-image-placeholder {
  border-radius: 14px;
  background: #e5e5e5;
  width: 100%;
  min-height: 120px;
}

.driver-photo-main .why-us-image-placeholder { min-height: 380px; }

@media (max-width: 560px) {
  .driver-photo-grid { grid-template-columns: 1fr; }
  .driver-photo-side { flex-direction: row; }
  .driver-photo-secondary img { height: 140px; }
}

.why-us-right h2 { margin-bottom: 16px; }
.why-us-right > p { margin-bottom: 8px; }
.why-us-disclaimer {
  font-size: 0.82rem;
  color: var(--gray-mid);
  margin-bottom: 40px;
}

.feature-list { display: flex; flex-direction: column; gap: 16px; }

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid var(--border);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: #EEF1FF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-text h3 { font-size: 0.95rem; margin-bottom: 4px; }
.feature-text p  { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.55; }

/* =============================================
   ENROLL CTA
   ============================================= */
.enroll {
  padding: var(--section-py) 0;
  background: var(--white);
}

.enroll-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.enroll-header h2 { margin-bottom: 20px; }
.enroll-header p  { font-size: 1.05rem; margin-bottom: 12px; }
.enroll-header .sub { font-size: 0.9rem; color: var(--gray-mid); }

.video-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto 40px;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16/9;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.play-btn {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

.video-wrap:hover .play-btn { background: var(--blue); border-color: var(--blue); }

.video-cta-wrap {
  text-align: center;
  margin-bottom: 56px;
}

.enroll-steps {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enroll-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--gray-light);
  border: 1px solid var(--border);
}

.step-bullet {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.enroll-step p { font-size: 0.92rem; }
.enroll-step a { color: var(--blue); text-decoration: underline; }

.enroll-requirements { align-items: flex-start; }

.req-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-dark);
  line-height: 1.55;
}

.req-list li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: start;
  margin-bottom: 48px;
}

.footer-logo .logo-text { color: var(--white); }

.footer-nav-group h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-nav-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-group a {
  font-size: 0.9rem;
  color: #aaa;
  transition: color 0.2s;
}
.footer-nav-group a:hover { color: var(--white); }

.footer-newsletter h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
  font-weight: 600;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--blue); }
.newsletter-form input::placeholder { color: #555; }

.footer-divider {
  border: none;
  border-top: 1px solid #222;
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-copy {
  font-size: 0.82rem;
  color: #666;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--blue); color: var(--blue); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .job-cards          { grid-template-columns: 1fr 1fr; }
  .company-card       { min-width: calc((100% - 24px) / 2); }
  .value-prop-inner   { gap: 48px; }
  .why-us-inner       { gap: 48px; }
  .footer-top         { grid-template-columns: 1fr 1fr; }
  .footer-newsletter  { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .container { padding: 0 20px; }

  .nav-links      { display: none; }
  .nav-hamburger  { display: flex; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero           { padding: 48px 0 0; }
  .hero-image     { height: 280px; }

  .value-prop-inner  { grid-template-columns: 1fr; gap: 32px; }
  .why-us-inner      { grid-template-columns: 1fr; gap: 40px; }

  .opportunities-header { flex-direction: column; align-items: flex-start; }
  .job-cards             { grid-template-columns: 1fr; }

  .companies-header { flex-direction: column; gap: 20px; }
  .company-card     { min-width: calc(100% - 0px); }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-newsletter { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form input { width: 100%; }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
