/* TawsilFast marketing site — emerald theme (mirrors ui/src/app/globals.css) */
:root {
  --bg: #f1f6f3;
  --fg: #16281f;
  --card: #ffffff;
  --primary: #0e5a40;
  --primary-dark: #0b4a35;
  --primary-fg: #ffffff;
  --secondary: #e7efe9;
  --accent: #e3f0eb;
  --accent-fg: #0e5a40;
  --orange: #f2682c;
  --orange-soft: #fb8a4a;
  --muted-fg: #54675d;
  --border: #dce8e0;
  --radius: 0.7rem;
  --radius-lg: 0.98rem;
  --radius-xl: 1.26rem;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--primary);
}
.overline::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.018em; }
h3 { font-size: 1.14rem; font-weight: 700; }
.lead { font-size: 1.12rem; color: var(--muted-fg); max-width: 46rem; }
.accent-word { color: var(--primary); font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; border: 1px solid transparent;
  cursor: pointer; transition: all .18s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: 0 8px 20px -8px rgba(14,90,64,.55); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--border); background: var(--card); color: var(--fg); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-on-dark { background: var(--card); color: var(--primary); }
.btn-on-dark:hover { transform: translateY(-1px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241,246,243,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img.truck { height: 34px; width: auto; }
.brand img.wordmark { height: 20px; width: auto; }
.main-nav { display: flex; gap: 26px; font-weight: 600; font-size: .94rem; }
.main-nav a { color: var(--muted-fg); transition: color .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  font-size: .88rem; font-weight: 600;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--card);
  display: inline-flex; align-items: center; gap: 7px;
}
.lang-switch svg { width: 15px; height: 15px; color: var(--primary); }
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }
.header-actions .btn { padding: 10px 20px; }

/* ---------- hero (photo background) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 104px 0 118px;
  background-image: url("img/pexels-15110002-w1800.jpg");
  background-size: cover; background-position: center 30%;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,30,20,.95) 0%, rgba(9,53,37,.88) 42%, rgba(9,53,37,.55) 75%, rgba(9,53,37,.35) 100%);
}
.hero .container { position: relative; max-width: 1140px; }
.hero-inner { max-width: 660px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.13); color: #dff0e7;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem;
  margin-bottom: 24px;
}
.hero-badge svg { width: 16px; height: 16px; color: #8fd8b4; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent-word { color: var(--orange-soft); }
.hero .lead { color: rgba(255,255,255,.9); margin-bottom: 32px; }
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero .btn-outline { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.hero-proof {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.96); color: var(--fg);
  border-radius: var(--radius-lg); padding: 12px 20px; margin-top: 34px;
  box-shadow: 0 18px 44px -18px rgba(0,0,0,.5);
}
.hero-proof .icon {
  width: 40px; height: 40px; border-radius: 999px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: var(--primary); flex: none;
}
.hero-proof .icon svg { width: 20px; height: 20px; }
.hero-proof strong { display: block; font-size: .95rem; line-height: 1.3; }
.hero-proof span { font-size: .82rem; color: var(--muted-fg); }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 10px;
  background: #0b1712; color: #fff; border-radius: 12px; padding: 9px 18px 9px 14px;
  border: 1px solid rgba(255,255,255,.16);
}
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge .small { display: block; font-size: .64rem; opacity: .75; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.store-badge .big { display: block; font-size: .98rem; font-weight: 700; line-height: 1.2; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--card); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .95rem; }
.trust-item .t-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--accent); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.trust-item .t-icon svg { width: 22px; height: 22px; }
.trust-item span em { display: block; font-style: normal; font-weight: 400; font-size: .8rem; color: var(--muted-fg); }

/* ---------- generic sections ---------- */
.section { padding: 88px 0; }
.section-head { max-width: 46rem; margin-bottom: 48px; }
.section-head .overline { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 14px; }
.section-alt { background: var(--card); border-block: 1px solid var(--border); }

/* what is */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .photo { border-radius: var(--radius-xl); aspect-ratio: 5/4; object-fit: cover; width: 100%; box-shadow: 0 20px 48px -20px rgba(14,44,32,.35); }
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 3px; }
.checklist strong { font-weight: 700; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: 0 14px 34px -16px rgba(14,44,32,.3);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cat-card:hover img { transform: scale(1.045); }
.cat-card .label {
  position: absolute; inset-inline: 0; bottom: 0; padding: 34px 18px 14px;
  background: linear-gradient(to top, rgba(7,38,26,.92), transparent);
  color: #fff; font-weight: 700; font-size: 1.05rem;
}

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  opacity: 0; transition: opacity .2s;
}
.step-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -18px rgba(14,44,32,.35); }
.step-card:hover::before { opacity: 1; }
.section-alt .step-card { background: var(--bg); }
.step-num {
  font-weight: 700; font-size: .92rem;
  width: 38px; height: 38px; border-radius: 999px; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: var(--muted-fg); font-size: .95rem; }

/* supplier band */
.supplier-band { background: linear-gradient(120deg, #0e5a40 0%, #0b4a35 70%, #123c2d 100%); color: #fff; }
.supplier-band .overline { color: #8fd8b4; }
.supplier-band .overline::before { background: linear-gradient(90deg, #8fd8b4, var(--orange-soft)); }
.supplier-band .lead { color: rgba(255,255,255,.85); }
.supplier-band .checklist svg { color: #8fd8b4; }
.supplier-band .photo { border-radius: var(--radius-xl); aspect-ratio: 5/4; object-fit: cover; width: 100%; }

/* why cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -18px rgba(14,44,32,.3); }
.why-card .icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), #187a57); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  box-shadow: 0 8px 18px -8px rgba(14,90,64,.6);
}
.why-card .icon svg { width: 24px; height: 24px; }
.why-card h3 { margin-bottom: 8px; font-size: 1.06rem; }
.why-card p { color: var(--muted-fg); font-size: .92rem; }

/* faq */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 22px; }
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; font-weight: 600; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted-fg); padding-bottom: 18px; font-size: .96rem; }
.faq-more { margin-top: 26px; }

/* download band */
.download-band {
  background: linear-gradient(135deg, #0e5a40 0%, #0b4a35 65%, #143f2f 100%);
  color: #fff; border-radius: var(--radius-xl); padding: 60px 56px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.download-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(30rem 20rem at 90% 10%, rgba(242,104,44,.25), transparent 60%);
  pointer-events: none;
}
.download-band .overline { color: #8fd8b4; }
.download-band .overline::before { background: linear-gradient(90deg, #8fd8b4, var(--orange-soft)); }
.download-band h2 { margin-bottom: 12px; }
.download-band p { color: rgba(255,255,255,.86); margin-bottom: 26px; max-width: 34rem; }
.download-band .logo-tile {
  background: #fdfbf6; border-radius: var(--radius-xl); padding: 26px 30px;
  display: block; width: fit-content; margin-inline-start: auto; position: relative;
  box-shadow: 0 18px 44px -18px rgba(0,0,0,.45);
}
.download-band .logo-tile img { max-height: 170px; width: auto; }

/* footer */
.site-footer { background: #0a231a; color: #cfe0d7; padding: 64px 0 34px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; color: #92a89d; max-width: 20rem; }
.site-footer h4 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .12em;
  color: #8fd8b4; margin-bottom: 16px; font-weight: 700;
}
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: .93rem; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; font-size: .85rem; color: #92a89d; flex-wrap: wrap; }

/* ---------- inner-page hero ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 76px 0 84px;
  background-size: cover; background-position: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,30,20,.95) 0%, rgba(9,53,37,.88) 45%, rgba(9,53,37,.5) 100%);
}
.page-hero .container { position: relative; }
.page-hero .hero-inner { max-width: 640px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin: 14px 0 16px; }
.page-hero .lead { color: rgba(255,255,255,.9); }
.page-hero .overline { color: #8fd8b4; }
.page-hero .overline::before { background: linear-gradient(90deg, #8fd8b4, var(--orange-soft)); }
.page-hero .hero-ctas { margin-top: 28px; margin-bottom: 0; }

/* ---------- plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 6px;
}
.plan-card .plan-name { font-weight: 700; font-size: 1.05rem; }
.plan-card .plan-price { font-size: 1.7rem; font-weight: 700; color: var(--primary); }
.plan-card .plan-price small { font-size: .85rem; font-weight: 500; color: var(--muted-fg); }
.plan-card ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; font-size: .92rem; color: var(--muted-fg); }
.plan-card ul li { display: flex; gap: 9px; align-items: flex-start; }
.plan-card ul svg { width: 17px; height: 17px; color: var(--primary); flex: none; margin-top: 4px; }
.plan-card.featured {
  background: linear-gradient(150deg, #0e5a40, #0b4a35); color: #fff;
  border-color: transparent; box-shadow: 0 20px 44px -18px rgba(14,90,64,.55);
}
.plan-card.featured .plan-price, .plan-card.featured ul svg { color: #8fd8b4; }
.plan-card.featured ul, .plan-card.featured .plan-price small { color: rgba(255,255,255,.85); }
.plan-note { margin-top: 22px; font-size: .85rem; color: var(--muted-fg); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start;
}
.contact-card .icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--primary), #187a57); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card strong { display: block; margin-bottom: 2px; }
.contact-card span { color: var(--muted-fg); font-size: .93rem; }
.contact-form {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 28px; display: grid; gap: 16px;
}
.contact-form label { font-weight: 700; font-size: .9rem; display: grid; gap: 7px; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); color: var(--fg); width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ---------- faq page groups ---------- */
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 18px; }

/* ---------- RTL / Arabic ---------- */
html[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", var(--font-sans); }
html[dir="rtl"] .hero::before {
  background: linear-gradient(-100deg, rgba(5,30,20,.95) 0%, rgba(9,53,37,.88) 42%, rgba(9,53,37,.55) 75%, rgba(9,53,37,.35) 100%);
}
html[dir="rtl"] .page-hero::before {
  background: linear-gradient(-100deg, rgba(5,30,20,.95) 0%, rgba(9,53,37,.88) 45%, rgba(9,53,37,.5) 100%);
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; }
html[dir="rtl"] .overline { letter-spacing: 0; }
html[dir="rtl"] .accent-word { font-style: normal; }
html[dir="rtl"] .store-badge .small { letter-spacing: 0; }

/* responsive */
@media (max-width: 900px) {
  .split, .download-band, .contact-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .hero { padding: 72px 0 84px; }
}
@media (max-width: 560px) {
  .cat-grid, .steps, .why-grid, .trust-strip .container, .plan-grid { grid-template-columns: 1fr; }
  .download-band { padding: 40px 28px; }
}
