/* =========================================================
   Lorry Landing Page — Brand styles
   Palette mirrors the carrier web app (tailwind.config)
   navy: #0a2c51 / #1F3A71 · orange: #ff8a00 · blue-sec: #19619b
   ========================================================= */

@font-face {
  font-family: 'Neo Sans Arabic';
  src: url('assets/fonts/NeoSansArabic.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Cadillac Sans Arabic';
  src: url('assets/fonts/Cadillac-Sans-Arabic-Medium.ttf') format('truetype');
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --navy: #0a2c51;
  --navy-2: #1f3a71;
  --blue-sec: #19619b;
  --orange: #ff8a00;
  --orange-dark: #e67c00;
  --green: #077734;
  --ink: #1e1e1e;
  --muted: #718096;
  --line: #d9dfe6;
  --fill: #f5f5f6;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(10, 44, 81, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(10, 44, 81, 0.25);
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Neo Sans Arabic', system-ui, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cadillac Sans Arabic', 'Neo Sans Arabic', sans-serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 30px; font-size: 16px; }

.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 22px -10px rgba(255,138,0,.7); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 14px 26px -10px rgba(255,138,0,.8); }

.btn-ghost { background: transparent; color: var(--navy); border-color: transparent; }
.btn-ghost:hover { background: var(--fill); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #eef2f8; }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; }
.brand-name { font-family: 'Cadillac Sans Arabic', sans-serif; font-weight: 700; font-size: 22px; color: var(--navy); }

.main-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.main-nav a { color: var(--navy); font-weight: 500; font-size: 15px; position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -2px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .2s ease;
}
.main-nav a:hover { color: var(--blue-sec); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; gap: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }

.mobile-menu { display: none; flex-direction: column; padding: 8px 20px 20px; gap: 6px; background: var(--white); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: 10px 4px; color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--fill); }
.mobile-menu.open { display: flex; }
.mobile-actions { display: flex; gap: 10px; margin-top: 12px; }
.mobile-actions .btn { flex: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background: linear-gradient(160deg, #f7f9fc 0%, #eef3fa 100%); }
.hero-bg-shape {
  position: absolute; top: -180px; inset-inline-start: -140px; width: 620px; height: 620px;
  background: radial-gradient(circle at center, rgba(31,58,113,.14), transparent 62%);
  border-radius: 50%; pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .3px;
  color: var(--blue-sec); background: rgba(25,97,155,.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 18px; }
.hero .accent { color: var(--orange); }
.hero-sub { font-size: 18px; color: #3a4a60; max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { list-style: none; display: flex; gap: 34px; padding: 0; margin: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Cadillac Sans Arabic', sans-serif; font-size: 30px; color: var(--navy); }
.hero-stats span { font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-card {
  background: var(--white); border-radius: 22px; padding: 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line); transform: rotate(-1.5deg);
}
.hero-card img { border-radius: 14px; width: 100%; }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Features ---------- */
.features { padding: 84px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(140deg, rgba(31,58,113,.1), rgba(255,138,0,.14)); margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* ---------- How ---------- */
.how { padding: 84px 0; background: var(--navy); }
.how .section-head h2, .how .eyebrow { color: var(--white); }
.how .eyebrow { background: rgba(255,255,255,.14); color: #cfe0f2; }
.steps { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 240px; max-width: 320px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 30px 26px; text-align: center;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px;
  background: var(--orange); color: var(--white); font-weight: 700; font-size: 20px; font-family: 'Cadillac Sans Arabic', sans-serif;
}
.step h3 { color: var(--white); font-size: 19px; margin-bottom: 8px; }
.step p { color: #b9c6da; font-size: 15px; }
.step-arrow { align-self: center; color: var(--orange); font-size: 42px; font-weight: 700; line-height: 1; }

/* ---------- Audience ---------- */
.audience { padding: 84px 0; }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.audience-card { border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); }
.audience-carrier { background: linear-gradient(160deg, #fff8ef, #fff); border-color: #ffe1bd; }
.audience-shipper { background: linear-gradient(160deg, #eef4fb, #fff); border-color: #cfe0f2; }
.audience-card h3 { font-size: 24px; margin-bottom: 10px; }
.audience-card > p { color: #46566c; margin-bottom: 18px; }
.audience-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.audience-card li { position: relative; padding-inline-start: 26px; color: #33445c; }
.audience-card li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 700; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--navy-2), var(--navy)); padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); font-size: 30px; margin-bottom: 6px; }
.cta-banner p { color: #cfe0f2; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { padding: 84px 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 24px; font-weight: 700; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c7d3e3; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding: 56px 20px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin-top: 12px; color: #97a8c1; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 4px; }
.footer-col a { color: #97a8c1; font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 14px; color: #8296b2; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .hero-card { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 24px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions .btn { flex: 1; }
}
