:root{
  --orange:#F0801E;
  --orange-deep:#D96D0E;
  --charcoal:#1C1D20;
  --charcoal-2:#26282C;
  --gray:#C8CCCF;
  --offwhite:#FDFEFE;
  --muted:#72767B;
  --border:#E9EBED;
  --shadow:0 24px 70px rgba(28,29,32,.10);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Montserrat",sans-serif;
  color:var(--charcoal);
  background:var(--offwhite);
  line-height:1.6;
}
html[lang="ar"] body{font-family:"Cairo",sans-serif}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
.topbar{
  width:min(1180px,calc(100% - 40px));
  height:82px;margin:auto;
  display:flex;align-items:center;justify-content:space-between;gap:28px;
}
.brand{display:flex;align-items:center;gap:10px;font-weight:800}
.brand img{width:46px;height:46px;border-radius:13px}
.topbar nav{display:flex;gap:30px;font-size:.9rem;font-weight:600}
.topbar nav a:hover{color:var(--orange)}
.lang-toggle{
  border:1px solid var(--border);background:#fff;border-radius:999px;
  padding:9px 16px;font-weight:700;cursor:pointer
}
.hero{
  min-height:720px;position:relative;overflow:hidden;
  background:var(--charcoal);color:#fff;
  border-radius:0 0 54px 54px;
}
.hero-content{
  width:min(1180px,calc(100% - 40px));margin:auto;
  display:grid;grid-template-columns:1.05fr .95fr;gap:70px;
  align-items:center;min-height:720px;position:relative;z-index:2;
}
.eyebrow{
  display:inline-flex;padding:8px 14px;border-radius:999px;
  background:rgba(240,128,30,.14);color:#FF9B42;
  font-size:.82rem;font-weight:700;margin-bottom:24px
}
.eyebrow.orange{background:#FFF0E2;color:var(--orange-deep)}
.hero h1{
  font-size:clamp(3rem,6vw,5.5rem);line-height:.98;
  letter-spacing:-.05em;max-width:780px
}
.hero h1 span{color:var(--orange)}
.hero-copy p,.hero-copy>p{margin-top:25px;color:#C9CDD1;max-width:650px;font-size:1.08rem}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}
.btn{padding:14px 22px;border-radius:14px;font-weight:700}
.btn-primary{background:var(--orange);color:#fff}
.btn-light{background:#fff;color:var(--charcoal)}
.hero-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}
.hero-pills span{
  padding:8px 13px;border:1px solid rgba(255,255,255,.12);
  border-radius:999px;color:#BFC3C7;font-size:.8rem
}
.orb{position:absolute;border-radius:50%;filter:blur(2px)}
.orb-a{width:420px;height:420px;background:rgba(240,128,30,.24);right:-120px;top:-100px}
.orb-b{width:260px;height:260px;background:rgba(240,128,30,.14);left:-80px;bottom:-60px}
.hero-stage{position:relative;height:500px}
.stage-card{
  position:absolute;inset:50% auto auto 50%;
  transform:translate(-50%,-50%) rotate(-3deg);
  width:310px;height:390px;border-radius:36px;
  background:linear-gradient(
    145deg,
    rgba(43,45,49,.82),
    rgba(28,29,32,.64)
  );
  color:#FDFEFE;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:
    0 30px 80px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(22px) saturate(135%);
  backdrop-filter:blur(22px) saturate(135%);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:30px
}
.stage-card img{
  width:120px;
  border-radius:28px;
  margin-bottom:22px;
  filter:drop-shadow(0 14px 24px rgba(0,0,0,.28))
}
.stage-card strong{font-size:1.7rem;color:#FDFEFE}
.stage-card small{margin-top:7px;color:#C8CCCF}
.floating-card{
  position:absolute;background:#fff;color:var(--charcoal);
  border-radius:18px;padding:14px 18px;box-shadow:var(--shadow);
  display:flex;gap:11px;align-items:center
}
.floating-card span{font-size:1.5rem}
.floating-card small{display:block;color:var(--muted)}
.card-one{top:60px;right:5px}
.card-two{bottom:70px;left:0}
.count-section{padding:78px 20px;background:#fff}
.section-title{text-align:center;max-width:700px;margin:0 auto 40px}
.section-title>span{color:var(--orange);font-weight:700;font-size:.85rem}
.section-title h2{font-size:clamp(2rem,4vw,3.2rem);margin-top:7px}
.countdown{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
  max-width:760px;margin:auto
}
.count-box{
  background:#fff;border:1px solid var(--border);
  border-radius:24px;padding:25px;text-align:center;
  box-shadow:0 14px 35px rgba(28,29,32,.05)
}
.count-box strong{display:block;font-size:2.5rem;color:var(--orange)}
.count-box span{font-size:.8rem;color:var(--muted);font-weight:700}
.section{padding:95px 20px}
.light-section{background:#F7F8F8}
.steps{
  max-width:1100px;margin:auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:22px
}
.steps article{background:#fff;border-radius:24px;padding:30px;border:1px solid var(--border)}
.step-number{
  width:48px;height:48px;border-radius:14px;background:var(--charcoal);
  color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800
}
.steps h3{margin-top:20px}
.steps p{margin-top:9px;color:var(--muted);font-size:.92rem}
.apps-section{background:var(--charcoal)}
.dark-title h2{color:#fff}
.dark-title>span{color:#FF9B42}
.app-grid{
  max-width:1050px;margin:auto;
  display:grid;grid-template-columns:1fr 1fr;gap:24px
}
.app-card{
  border-radius:30px;padding:34px;min-height:340px;
  display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden
}
.food-app{background:linear-gradient(145deg,#FFB642,#F06F13)}
.driver-app{background:linear-gradient(145deg,#2C2F34,#0F1012);color:#fff}
.app-card-top{position:absolute;top:30px;left:30px;right:30px;display:flex;justify-content:space-between}
.app-card-top img{width:74px;border-radius:18px}
.coming{position:absolute;top:30px;right:30px;background:rgba(255,255,255,.18);padding:7px 11px;border-radius:999px;font-size:.76rem}
.food-app .coming{background:rgba(255,255,255,.4)}
.driver-logo{
  position:absolute;top:34px;left:34px;font-size:2.2rem;line-height:.95;font-weight:800;color:#fff
}
.driver-logo span{color:var(--orange)}
.app-card h3{font-size:1.7rem}
.app-card p{margin-top:8px;max-width:480px}
.app-card button{
  margin-top:25px;border:0;border-radius:14px;padding:13px;background:#fff;
  color:var(--charcoal);font-weight:700;opacity:.85
}
.notify-section{padding:90px 20px;background:#fff}
.notify-box{
  max-width:1100px;margin:auto;background:#F7F8F8;border-radius:34px;
  padding:48px;display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center
}
.notify-box h2{font-size:clamp(2rem,3.5vw,3rem);line-height:1.1}
.notify-box p{color:var(--muted);margin-top:10px}
.notify-row{display:flex;gap:10px}
.notify-row input{
  flex:1;min-width:0;border:1px solid var(--border);background:#fff;
  border-radius:14px;padding:15px 16px;outline:none
}
.notify-row input:focus{border-color:var(--orange)}
.notify-row button{
  border:0;background:var(--orange);color:#fff;
  border-radius:14px;padding:0 22px;font-weight:700;cursor:pointer
}
.honeypot{position:absolute;left:-9999px;opacity:0}
.form-error{color:#C7372F;font-size:.84rem;margin-top:8px}
.success{padding:12px 0}
.success strong{font-size:1.4rem}
footer{border-top:1px solid var(--border);padding:28px 20px}
.footer-inner{
  max-width:1100px;margin:auto;display:flex;align-items:center;
  justify-content:space-between;gap:20px;font-size:.84rem;color:var(--muted)
}
.footer-brand{display:flex;align-items:center;gap:9px;color:var(--charcoal)}
.footer-brand img{width:34px;border-radius:8px}
html[dir="rtl"] .app-card-top{direction:rtl}
html[dir="rtl"] .driver-logo{left:auto;right:34px}
html[dir="rtl"] .coming{right:auto;left:30px}
html[dir="rtl"] .notify-row input{text-align:right}
@media(max-width:860px){
  .topbar nav{display:none}
  .hero-content{grid-template-columns:1fr;padding:60px 0}
  .hero-stage{height:390px}
  .hero{min-height:auto}
  .countdown{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:1fr}
  .app-grid{grid-template-columns:1fr}
  .notify-box{grid-template-columns:1fr;padding:32px 24px}
}
@media(max-width:560px){
  .topbar{width:calc(100% - 26px)}
  .brand span{font-size:.92rem}
  .hero-content{width:calc(100% - 28px)}
  .hero h1{font-size:3rem}
  .hero-stage{height:320px}
  .stage-card{width:230px;height:285px}
  .stage-card img{width:85px}
  .floating-card{font-size:.74rem;padding:10px}
  .countdown{gap:10px}
  .count-box{padding:18px 8px}
  .count-box strong{font-size:2rem}
  .notify-row{flex-direction:column}
  .notify-row button{min-height:50px}
  .footer-inner{flex-direction:column;text-align:center}
}

/* =========================================================
   Dzair Food New Landing - Typography & Spacing Refinement
   ========================================================= */

/* Hero structure */
.hero-content{
  gap:90px;
}

.hero-copy{
  min-width:0;
}

.hero h1{
  max-width:760px;
  line-height:1.06;
  letter-spacing:-0.035em;
}

.hero-copy > p{
  line-height:1.8;
  max-width:620px;
}

/* Arabic typography */
html[lang="ar"] .hero h1{
  font-size:clamp(2.8rem,5.1vw,4.9rem);
  line-height:1.24;
  letter-spacing:0;
  font-weight:800;
  max-width:720px;
}

html[lang="ar"] .hero-copy > p{
  font-size:1.05rem;
  line-height:2;
  max-width:650px;
}

html[lang="ar"] .eyebrow{
  line-height:1.7;
}

html[lang="ar"] .hero-actions{
  margin-top:30px;
}

html[lang="ar"] .hero-pills{
  margin-top:26px;
}

/* Section titles */
.section-title h2{
  line-height:1.18;
}

html[lang="ar"] .section-title h2{
  line-height:1.45;
  letter-spacing:0;
}

html[lang="ar"] .section-title > span{
  line-height:1.8;
}

/* Steps */
.steps h3{
  line-height:1.35;
}

.steps p{
  line-height:1.75;
}

html[lang="ar"] .steps h3{
  line-height:1.6;
}

html[lang="ar"] .steps p{
  line-height:1.95;
}

/* App cards */
.app-card h3{
  line-height:1.25;
}

.app-card p{
  line-height:1.7;
}

html[lang="ar"] .app-card h3{
  line-height:1.55;
}

html[lang="ar"] .app-card p{
  line-height:1.9;
}

/* Notify section */
.notify-box h2{
  line-height:1.18;
}

html[lang="ar"] .notify-box h2{
  line-height:1.5;
}

html[lang="ar"] .notify-box p{
  line-height:1.95;
}

/* Prevent floating cards colliding with hero content */
.hero-stage{
  min-width:0;
}

.card-one{
  top:52px;
  right:-8px;
}

.card-two{
  bottom:55px;
  left:-12px;
}

/* RTL positioning */
html[dir="rtl"] .card-one{
  right:auto;
  left:-8px;
}

html[dir="rtl"] .card-two{
  left:auto;
  right:-12px;
}

/* Tablet */
@media(max-width:1000px){
  .hero-content{
    gap:50px;
  }

  .hero h1{
    font-size:clamp(2.8rem,5.5vw,4.6rem);
  }

  html[lang="ar"] .hero h1{
    font-size:clamp(2.6rem,5vw,4.2rem);
  }
}

/* Mobile */
@media(max-width:860px){
  .hero-content{
    gap:25px;
  }

  .hero-copy{
    text-align:center;
  }

  .hero-copy > p{
    margin-inline:auto;
  }

  .hero-actions,
  .hero-pills{
    justify-content:center;
  }

  .hero h1{
    font-size:clamp(2.8rem,9vw,4rem);
    line-height:1.08;
  }

  html[lang="ar"] .hero h1{
    font-size:clamp(2.55rem,8.5vw,3.8rem);
    line-height:1.32;
  }

  .hero-stage{
    margin-top:10px;
  }
}

@media(max-width:560px){
  .hero h1{
    font-size:2.65rem;
  }

  html[lang="ar"] .hero h1{
    font-size:2.35rem;
    line-height:1.36;
  }

  .hero-copy > p{
    font-size:.98rem;
  }

  html[lang="ar"] .hero-copy > p{
    font-size:1rem;
  }

  .hero-actions{
    flex-direction:column;
  }

  .hero-actions .btn{
    width:100%;
    text-align:center;
  }

  .section-title h2{
    font-size:2rem;
  }

  html[lang="ar"] .section-title h2{
    line-height:1.5;
  }
}

/* Official Dzair Driver logo */
.driver-logo-img{
  position:absolute;
  top:30px;
  left:30px;
  width:82px;
  height:82px;
  object-fit:cover;
  border-radius:20px;
}

html[dir="rtl"] .driver-logo-img{
  left:auto;
  right:30px;
}

@media(max-width:560px){
  .driver-logo-img{
    width:68px;
    height:68px;
  }
}

/* DzairFood feature photo cards */
.feature-photo-card {
  padding: 9px 14px 9px 9px;
  gap: 12px;
  overflow: hidden;
}

.feature-photo {
  width: 76px;
  height: 58px;
  flex: 0 0 76px;
  border-radius: 13px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}

html[dir="rtl"] .feature-photo-card {
  padding: 9px 9px 9px 14px;
}

@media(max-width:860px) {
  .feature-photo {
    width: 62px;
    height: 50px;
    flex-basis: 62px;
  }
}

/* DzairFood legal footer links */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

@media(max-width:860px) {
  .footer-links {
    gap: 12px 18px;
  }
}
