/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html[dir="rtl"] body{direction:rtl;text-align:right}
html[dir="ltr"] body{direction:ltr;text-align:left}
body{font-family:'Cairo',sans-serif;color:#0f172a;background:#fff;overflow-x:hidden}
a{text-decoration:none;color:inherit;transition:all .25s}
img{max-width:100%;display:block}

/* ═══════════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════════ */
:root{
  --blue:#1e3a8a;
  --blue-mid:#2563eb;
  --blue-light:#3b82f6;
  --gold:#f59e0b;
  --gold-light:#fbbf24;
  --dark:#0f172a;
  --muted:#64748b;
  --border:#e2e8f0;
  --bg:#f8fafc;
  --white:#ffffff;
  --radius:1rem;
  --shadow:0 4px 24px rgba(30,58,138,.10);
  --shadow-lg:0 20px 60px rgba(30,58,138,.18);
}

/* ═══════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════ */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:999;
  display:flex;align-items:center;gap:.5rem;
  direction:ltr;
  padding:1rem 2.5rem;
  background:transparent;
  transition:background .35s,box-shadow .35s,padding .35s;
}
.nav.scrolled{
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(16px);
  box-shadow:0 2px 24px rgba(30,58,138,.12);
  border-bottom:1px solid rgba(226,232,240,.7);
  padding:.75rem 2.5rem;
}

.nav-logo{
  display:flex;align-items:center;gap:.55rem;
  font-size:1.45rem;font-weight:900;
  color:#fff;
  text-decoration:none;
  transition:color .35s,text-shadow .35s;
  text-shadow:0 1px 3px rgba(0,0,0,.3);
}
.nav-logo .logo-box{
  display:flex;align-items:center;gap:.5rem;
  background:rgba(0,0,0,.75);
  border:1.5px solid rgba(212,175,55,.55);
  border-radius:.6rem;
  padding:.3rem .75rem;
  color:#fff;
  transition:background .35s,border-color .35s,color .35s;
}
.nav-logo .logo-box i{color:#d4af37;font-size:1.1rem}
.nav-logo .logo-box span{font-weight:900;font-size:1.1rem;letter-spacing:.01em}
.nav.scrolled .nav-logo .logo-box{
  background:#000;
  border-color:#d4af37;
}
.nav.scrolled .nav-logo .logo-box i{color:#d4af37}
.nav.scrolled .nav-logo .logo-box span{color:#fff}

.nav-links{
  display:flex;align-items:center;gap:.25rem;direction:rtl;
  position:absolute;left:50%;transform:translateX(-50%);
}
.nav-links a{
  font-size:.9rem;font-weight:600;
  color:rgba(255,255,255,.85);
  padding:.45rem .9rem;border-radius:.5rem;
  transition:color .2s,background .2s;
  white-space:nowrap;
}
.nav-links a:hover{color:#fff;background:rgba(255,255,255,.12)}
.nav.scrolled .nav-links a{color:var(--muted)}
.nav.scrolled .nav-links a:hover{color:var(--blue);background:#eff6ff}

.nav-links a.nav-active{color:#fff!important;background:rgba(255,255,255,.15)!important}
.nav.scrolled .nav-links a.nav-active{color:var(--blue)!important;background:#eff6ff!important}

section[id]{scroll-margin-top:80px}

.btn-nav{
  background:rgba(255,255,255,.15)!important;
  color:#fff!important;
  border:1.5px solid rgba(255,255,255,.5)!important;
  padding:.45rem 1.3rem!important;
  border-radius:.6rem!important;
  font-weight:700!important;
  transition:background .2s,border-color .2s!important;
}
.btn-nav:hover{
  background:rgba(255,255,255,.28)!important;
  border-color:#fff!important;
}
.nav.scrolled .btn-nav{
  background:var(--blue)!important;
  border-color:var(--blue)!important;
  color:#fff!important;
}
.nav.scrolled .btn-nav:hover{background:var(--blue-mid)!important}

.nav-lang{
  display:flex;align-items:center;gap:.2rem;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.18);
  border-radius:6px;
  padding:.18rem .25rem;
  margin-inline-start:.5rem;
}
.nav.scrolled .nav-lang{background:rgba(0,0,0,.06);border-color:var(--border)}
.nav-lang-btn{
  display:inline-flex;align-items:center;gap:.2rem;
  padding:.22rem .5rem;border-radius:4px;
  font-size:.75rem;font-weight:700;text-decoration:none;
  color:rgba(255,255,255,.75);
  transition:background .15s,color .15s;
}
.nav.scrolled .nav-lang-btn{color:var(--text-muted)}
.nav-lang-btn.active{background:#d4af37;color:#000!important}
.nav-lang-btn:hover:not(.active){background:rgba(255,255,255,.15);color:#fff}
.nav.scrolled .nav-lang-btn:hover:not(.active){background:rgba(0,0,0,.06);color:var(--dark)}

.nav-toggle{
  display:none;
  background:none;border:none;cursor:pointer;
  padding:.5rem;border-radius:.5rem;
  color:#fff;font-size:1.4rem;
  transition:color .35s;
  line-height:1;
}
.nav.scrolled .nav-toggle{color:var(--dark)}

@media(max-width:768px){
  .nav{padding:.85rem 1.25rem}
  .nav.scrolled{padding:.7rem 1.25rem}
  .nav-links{position:static;transform:none}
  .nav-toggle{display:flex;align-items:center;justify-content:center;margin-inline-start:auto}
  .nav-links{
    display:none;
    position:absolute;top:100%;right:0;left:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:rgba(15,23,42,.97);
    backdrop-filter:blur(16px);
    padding:1rem 1.5rem 1.5rem;
    border-top:1px solid rgba(255,255,255,.1);
  }
  .nav.scrolled .nav-links{
    background:rgba(255,255,255,.98);
    border-top:1px solid var(--border);
  }
  .nav-links.open{display:flex}
  .nav-links a{
    color:rgba(255,255,255,.85);
    padding:.75rem 1rem;border-radius:.5rem;
    font-size:1rem;
    border-bottom:1px solid rgba(255,255,255,.06);
  }
  .nav.scrolled .nav-links a{color:var(--dark);border-bottom-color:var(--border)}
  .nav-links a:last-child{border-bottom:none;margin-top:.5rem}
  .btn-nav{
    background:var(--blue)!important;
    border-color:var(--blue)!important;
    text-align:center;
    padding:.75rem 1rem!important;
  }
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero{
  min-height:100vh;
  background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 50%,#1d4ed8 100%);
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  padding:7rem 3rem 5rem;
  position:relative;overflow:hidden;
}

/* Two-column layout inside hero */
.hero-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4rem;
  align-items:center;
  width:100%;
  max-width:1200px;
  position:relative;z-index:1;
}

/* Text side */
.hero-text{
  display:flex;flex-direction:column;align-items:flex-start;
  text-align:start;
}
.hero-text .hero-badge{ margin-bottom:1.25rem; }
.hero-text h1{ max-width:none; }
.hero-text p{ max-width:none; }
.hero-text .hero-btns{ justify-content:flex-start; }

/* ── Business model diagram ───────────────────── */
.hero-diagram{
  display:flex;flex-direction:column;align-items:center;gap:.5rem;
  direction:ltr;
}

/* Generic node box */
.hd-node{
  display:flex;align-items:center;gap:.65rem;
  padding:.65rem 1.2rem;border-radius:.75rem;
  font-size:.85rem;font-weight:700;
  border:2px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(8px);
  color:#fff;
  width:100%;max-width:320px;
}

/* Shipper node */
.hd-shipper{ background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.4); }
.hd-shipper i{ font-size:1.4rem;color:#fbbf24; }

/* Arrow */
.hd-arrow-wrap{
  display:flex;flex-direction:column;align-items:center;gap:.3rem;
}
.hd-arrow-line{
  width:2px;height:28px;
  background:linear-gradient(to bottom,rgba(255,255,255,.5),rgba(255,255,255,.15));
  position:relative;
}
.hd-arrow-line::after{
  content:'';position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);
  border-left:6px solid transparent;border-right:6px solid transparent;
  border-top:8px solid rgba(255,255,255,.5);
}
.hd-arrow-label{
  font-size:.72rem;font-weight:700;
  color:#fbbf24;
  background:rgba(245,158,11,.15);
  border:1px solid rgba(245,158,11,.35);
  padding:.2rem .65rem;border-radius:2rem;
  white-space:nowrap;
}
.hd-carriers-label{
  font-size:.72rem;font-weight:700;color:rgba(255,255,255,.6);
  text-align:center;max-width:280px;
}

/* Middle row: note + platform */
.hd-middle{
  display:flex;align-items:center;gap:.75rem;width:100%;max-width:380px;
}

/* Side note bubble */
.hd-note{
  flex:0 0 auto;max-width:110px;
  background:rgba(255,255,255,.12);
  border:1px dashed rgba(255,255,255,.3);
  border-radius:.65rem;padding:.6rem .7rem;
  display:flex;flex-direction:column;align-items:center;gap:.3rem;
  font-size:.7rem;font-weight:700;color:rgba(255,255,255,.85);
  text-align:center;
}
.hd-note i{ color:#fbbf24;font-size:.9rem; }
.hd-note p{ margin:0;line-height:1.4; }

/* Platform node */
.hd-platform{
  flex:1;
  background:rgba(212,175,55,.2);
  border:2px solid rgba(212,175,55,.6);
  flex-direction:column;align-items:center;
  gap:.4rem;padding:.85rem 1rem;text-align:center;
}
.hd-platform-icon{
  display:flex;align-items:center;gap:.15rem;
  font-size:1.3rem;font-weight:900;
  color:#fbbf24;
}
.hd-platform-icon i{ font-size:1rem; }
.hd-platform-text{ display:flex;flex-direction:column;gap:.15rem; }
.hd-platform-text strong{ font-size:.95rem;color:#fff; }
.hd-platform-text span{ font-size:.7rem;color:rgba(255,255,255,.7);line-height:1.3; }

/* Carriers grid */
.hd-carriers{
  display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;
  width:100%;max-width:320px;
}
.hd-carrier{
  padding:.45rem .5rem;border-radius:.5rem;
  font-size:.72rem;font-weight:800;
  text-align:center;color:#fff;
  background:var(--cc,#1e3a8a);
  border:1px solid rgba(255,255,255,.2);
  white-space:nowrap;
}

/* ── Responsive hero ─────────────────────────── */
@media(max-width:900px){
  .hero-inner{
    grid-template-columns:1fr;
    gap:2.5rem;
    text-align:center;
  }
  .hero-text{ align-items:center;text-align:center; }
  .hero-text .hero-btns{ justify-content:center; }
  .hero{ padding:7rem 1.5rem 4rem; }
}
@media(max-width:480px){
  .hd-carriers{ grid-template-columns:repeat(2,1fr); }
  .hd-node{ font-size:.8rem; }
  .hero{ padding:6rem 1rem 3.5rem; }
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;
  z-index:0;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:.5rem;
  background:rgba(245,158,11,.15);border:1px solid rgba(245,158,11,.4);
  color:#fbbf24;font-size:.82rem;font-weight:700;
  padding:.35rem 1rem;border-radius:2rem;margin-bottom:1.5rem;
  position:relative;z-index:1;
}
.hero h1{
  font-size:clamp(2rem,5vw,3.5rem);font-weight:900;color:#fff;
  line-height:1.15;margin-bottom:1.25rem;
  position:relative;z-index:1;
}
.hero h1 span{color:#fbbf24}
.hero p{
  font-size:clamp(.9rem,1.8vw,1.1rem);color:rgba(255,255,255,.75);
  line-height:1.8;margin-bottom:2rem;
  position:relative;z-index:1;
}
.hero-btns{
  display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;
  position:relative;z-index:1;
}
.btn-hero-primary{
  background:#f59e0b;color:#0f172a;font-weight:800;font-size:1rem;
  padding:.85rem 2.2rem;border-radius:.75rem;border:none;cursor:pointer;
  transition:transform .2s,box-shadow .2s;
  box-shadow:0 4px 20px rgba(245,158,11,.4);
  text-decoration:none;display:inline-flex;align-items:center;gap:.5rem;
}
.btn-hero-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(245,158,11,.5)}
.btn-hero-outline{
  background:rgba(255,255,255,.1);color:#fff;font-weight:700;font-size:1rem;
  padding:.85rem 2.2rem;border-radius:.75rem;border:1px solid rgba(255,255,255,.3);
  cursor:pointer;transition:background .2s;
  text-decoration:none;display:inline-flex;align-items:center;gap:.5rem;
}
.btn-hero-outline:hover{background:rgba(255,255,255,.2)}
.hero-scroll{
  position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);
  color:rgba(255,255,255,.4);font-size:.8rem;display:flex;flex-direction:column;align-items:center;gap:.4rem;
  animation:bounce 2s infinite;z-index:1;pointer-events:none;
}
@keyframes bounce{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(6px)}}

/* ═══════════════════════════════════════════════
   HERO — top text block
═══════════════════════════════════════════════ */
.hero-top{
  text-align:center;
  position:relative;z-index:1;
  margin-bottom:2.5rem;
}
.hero-top h1{
  font-size:clamp(2.2rem,5.5vw,4rem);font-weight:900;color:#fff;
  line-height:1.12;margin-bottom:1rem;
}
.hero-top h1 span{color:#fbbf24}
.hero-top p{
  font-size:clamp(.9rem,1.6vw,1.05rem);color:rgba(255,255,255,.75);
  max-width:640px;margin:0 auto;line-height:1.8;
}
.hero-btns-centered{
  justify-content:center;margin-top:2.5rem;
  position:relative;z-index:1;
}

/* ═══════════════════════════════════════════════
   3-COLUMN INFOGRAPHIC
═══════════════════════════════════════════════ */
.hd3-grid{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:0;
  align-items:center;
  width:100%;max-width:1100px;
  position:relative;z-index:1;
}

/* Column shared */
.hd3-col{
  display:flex;flex-direction:column;align-items:center;gap:1rem;
  padding:0 1rem;
}
.hd3-col-title{
  font-size:.9rem;font-weight:800;color:#fff;
  text-align:center;line-height:1.4;margin:0;
}
.hd3-col-title span{
  font-size:.78rem;font-weight:600;color:rgba(255,255,255,.7);
}

/* ── LEFT: Shop illustration ── */
.hd3-shop{ display:flex;align-items:center;justify-content:center; }
.hd3-shop img{ max-width:200px;width:100%;filter:drop-shadow(0 4px 16px rgba(0,0,0,.4)); }

/* ── CENTER: Hub + arrows ── */
.hd3-center{gap:.75rem}

.hd3-arrows-row{
  display:flex;align-items:center;gap:.5rem;
  width:100%;
}

/* left↔ arrow */
.hd3-arrow{
  display:flex;align-items:center;gap:.1rem;
  color:rgba(255,255,255,.55);font-size:.7rem;
}
.hd3-arrow-left{ flex-direction:row-reverse; }

/* Hub circle */
.hd3-hub{
  position:relative;
  width:90px;height:90px;
  flex-shrink:0;
}
.hd3-hub-inner{
  position:absolute;inset:8px;
  background:linear-gradient(135deg,#1e3a8a,#3b82f6);
  border:3px solid #fbbf24;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 0 0 6px rgba(251,191,36,.15),0 0 28px rgba(59,130,246,.6);
  z-index:1;overflow:hidden;
}
.hd3-hub-inner img{ width:52px;height:52px;object-fit:contain; }
.hd3-hub-dot{
  position:absolute;
  width:11px;height:11px;
  background:#fbbf24;border-radius:50%;
  box-shadow:0 0 8px rgba(251,191,36,.8);
}
.hd3-dot-tl{top:2px;left:12px}
.hd3-dot-tr{top:2px;right:12px}
.hd3-dot-bl{bottom:2px;left:12px}
.hd3-dot-br{bottom:2px;right:12px}

/* Savings block below hub */
.hd3-savings{
  display:flex;flex-direction:column;align-items:center;gap:.35rem;
  text-align:center;
}
.hd3-coins{
  display:flex;align-items:center;gap:.3rem;
  font-size:1.6rem;color:#fbbf24;
}
.hd3-coins .fa-arrow-trend-down{font-size:1rem;color:#34d399;}
.hd3-savings p{
  font-size:.78rem;font-weight:700;
  color:rgba(255,255,255,.85);margin:0;line-height:1.4;
}

/* ── RIGHT: Carriers grid ── */
.hd3-carriers{
  display:grid;grid-template-columns:1fr 1fr;gap:.5rem;
  width:100%;max-width:280px;
}
.hd3-carrier{
  background:#fff;border-radius:.6rem;
  padding:.55rem .5rem;
  display:flex;flex-direction:column;align-items:center;gap:.25rem;
  border:1px solid #e2e8f0;
  min-height:68px;justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  transition:transform .15s;
}
.hd3-carrier:hover{ transform:translateY(-2px); }
.hd3-carrier img{
  max-width:90px;max-height:36px;
  width:auto;height:auto;object-fit:contain;
}
.hd3-carrier span{
  font-size:.6rem;color:#555;font-weight:600;text-align:center;
}

/* ── Responsive ── */
@media(max-width:900px){
  .hd3-grid{
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  .hd3-arrows-row{ justify-content:center; }
  .hd3-arrow-left{ display:none; }
  .hd3-arrow-right i:not(:first-child){ display:none; }
  .hero{ padding:6.5rem 1.5rem 4rem; }
}
@media(max-width:480px){
  .hd3-carriers{ grid-template-columns:1fr 1fr; max-width:220px; }
  .hero{ padding:6rem 1rem 3.5rem; }
}

/* ═══════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════ */
.stats-bar{
  background:var(--white);
  box-shadow:0 -4px 30px rgba(30,58,138,.08),0 4px 30px rgba(30,58,138,.08);
  padding:2.5rem 2rem;
}
.stats-inner{
  max-width:900px;margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:2rem;
  text-align:center;
}
.stat-item h3{font-size:2.4rem;font-weight:900;color:var(--blue);line-height:1}
.stat-item p{font-size:.85rem;color:var(--muted);margin-top:.3rem;font-weight:600}

/* ═══════════════════════════════════════════════
   SECTIONS COMMON
═══════════════════════════════════════════════ */
section{padding:5rem 1.5rem}
.container{max-width:1100px;margin:0 auto}
.section-label{
  display:inline-block;background:#eff6ff;color:var(--blue-light);
  font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  padding:.3rem .9rem;border-radius:2rem;margin-bottom:1rem;
}
.section-title{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:900;color:var(--dark);line-height:1.2;margin-bottom:.75rem}
.section-sub{font-size:1rem;color:var(--muted);max-width:560px;line-height:1.8}
.text-center{text-align:center}
.text-center .section-sub{margin:0 auto}

/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
.services-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;
  margin-top:3rem;
}
.service-card{
  background:var(--white);border:1px solid var(--border);border-radius:1.25rem;
  padding:2rem;transition:transform .25s,box-shadow .25s;
  position:relative;overflow:hidden;
}
.service-card::before{
  content:'';position:absolute;top:0;right:0;width:4px;height:100%;
  background:var(--blue-light);border-radius:0 1.25rem 1.25rem 0;
  transition:width .3s;
}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.service-card:hover::before{width:6px}
.service-icon{
  width:54px;height:54px;border-radius:.75rem;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;color:var(--blue-light);margin-bottom:1.25rem;
}
.service-card h3{font-size:1.1rem;font-weight:800;color:var(--dark);margin-bottom:.5rem}
.service-card p{font-size:.9rem;color:var(--muted);line-height:1.7}
.service-tag{
  display:inline-block;background:#f0fdf4;color:#16a34a;
  font-size:.72rem;font-weight:700;padding:.2rem .6rem;border-radius:1rem;
  margin-top:.75rem;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
.how-section{background:linear-gradient(180deg,#f8fafc 0%,#eff6ff 100%)}
.steps-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:2rem;margin-top:3rem;
}
.step-card{text-align:center;padding:2rem 1.5rem}
.step-num{
  width:60px;height:60px;border-radius:50%;
  background:linear-gradient(135deg,var(--blue),var(--blue-mid));
  color:#fff;font-size:1.4rem;font-weight:900;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 1.25rem;box-shadow:0 8px 20px rgba(30,58,138,.3);
}
.step-card h3{font-size:1.05rem;font-weight:800;color:var(--dark);margin-bottom:.5rem}
.step-card p{font-size:.88rem;color:var(--muted);line-height:1.7}

/* ═══════════════════════════════════════════════
   CARRIERS
═══════════════════════════════════════════════ */
.carriers-section{background:var(--white)}
.carriers-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;
  margin-top:3rem;max-width:780px;margin-left:auto;margin-right:auto;
}
.carrier-card{
  border:2px solid var(--border);border-radius:1.25rem;
  padding:2rem 1.5rem 1.5rem;
  text-align:center;transition:all .3s;cursor:default;
  background:#fff;
}
.carrier-card:hover{
  border-color:var(--blue-light);
  box-shadow:0 12px 40px rgba(30,58,138,.12);
  transform:translateY(-4px);
}
.carrier-logo-wrap{
  width:100%;height:80px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1rem;
  padding:0 .5rem;
}
.carrier-logo-wrap img{
  max-width:100%;max-height:72px;
  object-fit:contain;
  filter:grayscale(15%);
  transition:filter .3s;
}
.carrier-card:hover .carrier-logo-wrap img{filter:grayscale(0%)}
.carrier-card h4{font-size:.95rem;font-weight:800;color:var(--dark);margin-bottom:.3rem}
.carrier-card span{font-size:.8rem;color:var(--muted)}
.carrier-badge{
  display:inline-block;background:#f0fdf4;color:#16a34a;
  font-size:.7rem;font-weight:700;padding:.2rem .6rem;
  border-radius:1rem;margin-top:.5rem;
}
@media(max-width:640px){
  .carriers-grid{grid-template-columns:1fr;max-width:340px}
}

/* ═══════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════ */
.features-section{background:var(--bg)}
.features-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.25rem;margin-top:3rem;
}
.feature-item{
  display:flex;gap:1rem;align-items:flex-start;
  background:var(--white);padding:1.5rem;border-radius:1rem;
  border:1px solid var(--border);
}
.feature-icon{
  width:44px;height:44px;flex-shrink:0;border-radius:.6rem;
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;
}
.fi-blue{background:#eff6ff;color:var(--blue-light)}
.fi-green{background:#f0fdf4;color:#16a34a}
.fi-amber{background:#fffbeb;color:#d97706}
.fi-purple{background:#f5f3ff;color:#7c3aed}
.fi-rose{background:#fff1f2;color:#e11d48}
.fi-teal{background:#f0fdfa;color:#0d9488}
.feature-item h4{font-size:.95rem;font-weight:800;color:var(--dark);margin-bottom:.25rem}
.feature-item p{font-size:.83rem;color:var(--muted);line-height:1.6}

/* ═══════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════ */
.cta-section{
  background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 60%,#1d4ed8 100%);
  text-align:center;padding:6rem 1.5rem;
  position:relative;overflow:hidden;
}
.cta-section::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(circle at 30% 50%,rgba(59,130,246,.2) 0%,transparent 60%);
}
.cta-section h2{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:900;color:#fff;margin-bottom:1rem}
.cta-section p{color:rgba(255,255,255,.7);font-size:1.05rem;margin-bottom:2.5rem;line-height:1.8}
.cta-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.btn-cta-gold{
  background:#f59e0b;color:#0f172a;font-weight:800;font-size:1.05rem;
  padding:1rem 2.5rem;border-radius:.75rem;border:none;cursor:pointer;
  box-shadow:0 4px 20px rgba(245,158,11,.4);transition:transform .2s,box-shadow .2s;
}
.btn-cta-gold:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(245,158,11,.5)}
.btn-cta-outline{
  background:transparent;color:#fff;font-weight:700;font-size:1.05rem;
  padding:1rem 2.5rem;border-radius:.75rem;border:2px solid rgba(255,255,255,.4);
  cursor:pointer;transition:background .2s;
}
.btn-cta-outline:hover{background:rgba(255,255,255,.1)}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer{
  background:#0f172a;color:rgba(255,255,255,.5);
  padding:3rem 1.5rem 2rem;text-align:center;
}
.footer-logo{font-size:1.4rem;font-weight:900;color:#fff;margin-bottom:.5rem;display:flex;align-items:center;justify-content:center;gap:.4rem}
.footer-logo i{color:var(--blue-light)}
footer p{font-size:.85rem;line-height:1.8}
.footer-links{display:flex;gap:1.5rem;justify-content:center;flex-wrap:wrap;margin:1.25rem 0}
.footer-links a{font-size:.85rem;color:rgba(255,255,255,.5);transition:color .2s}
.footer-links a:hover{color:#fff}
.footer-divider{border:none;border-top:1px solid rgba(255,255,255,.08);margin:1.5rem 0}

/* ═══════════════════════════════════════════════
   DESI CALCULATOR
═══════════════════════════════════════════════ */
.calc-section{background:linear-gradient(180deg,#eff6ff 0%,#f8fafc 100%)}

.calc-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.75rem;
  margin-top:3rem;
  align-items:start;
}

/* Form card */
.calc-form-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:1.25rem;
  padding:2rem;
  box-shadow:var(--shadow);
}
.calc-form-title{
  font-size:1rem;font-weight:800;color:var(--dark);
  margin-bottom:1.5rem;
  display:flex;align-items:center;gap:.5rem;
}
.calc-form-title i{color:var(--blue-light)}

/* Dimension inputs row */
.calc-dims{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr;
  gap:.5rem;
  align-items:end;
  margin-bottom:1.25rem;
}
.calc-sep{
  font-size:1.1rem;font-weight:700;color:var(--muted);
  padding-bottom:.55rem;text-align:center;
}
.calc-field{display:flex;flex-direction:column;gap:.35rem}
.calc-field label{
  font-size:.75rem;font-weight:700;color:var(--muted);
  letter-spacing:.04em;
}
.calc-input-wrap{
  display:flex;align-items:stretch;
  border:1.5px solid var(--border);border-radius:.6rem;
  overflow:hidden;
  transition:border-color .2s;
  background:var(--white);
}
.calc-input-wrap:focus-within{border-color:var(--blue-light)}
.calc-input-wrap input{
  width:100%;border:none;outline:none;
  padding:.6rem .65rem;font-size:.95rem;font-weight:700;
  color:var(--dark);background:transparent;
  min-width:0;
  font-family:inherit;
  direction:ltr;text-align:center;
}
.calc-unit{
  background:#f1f5f9;color:var(--muted);
  font-size:.75rem;font-weight:700;
  padding:0 .55rem;
  display:flex;align-items:center;
  border-right:1px solid var(--border);
  white-space:nowrap;
}

.calc-weight-row{margin-bottom:1.5rem}
.calc-weight-row .calc-input-wrap input{text-align:right}

/* Calculate button */
.calc-btn{
  width:100%;
  background:linear-gradient(135deg,var(--blue),var(--blue-mid));
  color:#fff;font-weight:800;font-size:1rem;
  padding:.9rem;border-radius:.75rem;border:none;cursor:pointer;
  transition:transform .2s,box-shadow .2s,opacity .2s;
  box-shadow:0 4px 16px rgba(30,58,138,.3);
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:inherit;
}
.calc-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(30,58,138,.4)}
.calc-btn:active{transform:translateY(0)}

.calc-formula{
  margin-top:1rem;
  font-size:.75rem;color:var(--muted);
  line-height:1.6;
  background:#f8fafc;
  border-radius:.5rem;padding:.6rem .85rem;
  border:1px solid var(--border);
}
.formula-label{font-weight:700;color:var(--blue-light)}

/* Results panel */
.calc-results{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:1.25rem;
  padding:2rem;
  box-shadow:var(--shadow);
  min-height:300px;
  display:flex;align-items:center;justify-content:center;
}

.calc-idle{
  display:flex;flex-direction:column;align-items:center;gap:.75rem;
  color:var(--muted);font-size:.92rem;text-align:center;
}
.calc-idle i{font-size:2.5rem;opacity:.25}

/* Loading state */
.calc-loading{
  display:flex;flex-direction:column;align-items:center;gap:1rem;
  color:var(--muted);font-size:.92rem;text-align:center;padding:1.5rem 0;
}
.calc-spinner{
  width:2.5rem;height:2.5rem;
  border:3px solid #dbeafe;
  border-top-color:var(--blue);
  border-radius:50%;
  animation:calc-spin .8s linear infinite;
}
@keyframes calc-spin{to{transform:rotate(360deg)}}

/* Error state */
.calc-error{
  display:flex;flex-direction:column;align-items:center;gap:.75rem;
  color:#b45309;font-size:.9rem;text-align:center;
  background:#fffbeb;border:1px solid #fde68a;border-radius:.85rem;
  padding:1.25rem 1.5rem;
}
.calc-error i{font-size:2rem;color:#f59e0b}
.calc-retry-btn{
  background:#f59e0b;color:#fff;border:none;border-radius:.5rem;
  padding:.45rem 1.1rem;font-size:.85rem;font-weight:700;
  cursor:pointer;font-family:inherit;margin-top:.25rem;
  transition:background .2s;
}
.calc-retry-btn:hover{background:#d97706}

.calc-result-cards{
  width:100%;
  display:flex;flex-direction:column;gap:.75rem;
}

.calc-desi-badge{
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  border:1px solid #bfdbfe;
  border-radius:.75rem;
  padding:.75rem 1.25rem;
  font-size:.88rem;
  color:var(--blue);
  font-weight:700;
  text-align:center;
  margin-bottom:.25rem;
  line-height:1.6;
}

/* Carrier result card */
.carrier-result-card{
  display:flex;align-items:center;gap:1rem;
  border:1.5px solid var(--border);
  border-radius:.85rem;
  padding:.85rem 1.1rem;
  transition:border-color .2s,box-shadow .2s,transform .2s;
  background:var(--white);
}
.carrier-result-card:hover{
  border-color:var(--blue-light);
  box-shadow:0 4px 16px rgba(30,58,138,.1);
  transform:translateX(-2px);
}
.carrier-result-card.best-price{
  border-color:#16a34a;
  background:linear-gradient(135deg,#f0fdf4,#fff);
}

.cr-logo{
  width:90px;height:38px;border-radius:.45rem;
  display:flex;align-items:center;justify-content:center;
  font-size:.7rem;font-weight:900;
  letter-spacing:.03em;
  flex-shrink:0;
  text-transform:uppercase;
}
.cr-price{
  flex:1;
  display:flex;align-items:baseline;gap:.3rem;
}
.cr-amount{
  font-size:1.6rem;font-weight:900;
  color:var(--dark);
  font-variant-numeric:tabular-nums;
  transition:all .3s;
}
.cr-currency{
  font-size:.85rem;font-weight:700;color:var(--muted);
}
.cr-detail{
  font-size:.72rem;color:var(--muted);
  text-align:left;
  line-height:1.5;
}
.cr-best-tag{
  font-size:.68rem;font-weight:800;
  background:#f0fdf4;color:#16a34a;
  border:1px solid #bbf7d0;
  border-radius:1rem;
  padding:.15rem .55rem;
  white-space:nowrap;
}

.calc-note{
  font-size:.75rem;color:var(--muted);
  text-align:center;line-height:1.6;
  padding:.6rem;
  border-top:1px solid var(--border);
  margin-top:.25rem;
}
.calc-cta{
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  background:linear-gradient(135deg,#f59e0b,#d97706);
  color:#0f172a;font-weight:800;font-size:.95rem;
  padding:.8rem 1.5rem;border-radius:.75rem;
  text-decoration:none;
  transition:transform .2s,box-shadow .2s;
  box-shadow:0 4px 16px rgba(245,158,11,.35);
  margin-top:.5rem;
}
.calc-cta:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(245,158,11,.45)}

.calc-not-configured{
  display:flex;flex-direction:column;align-items:center;gap:.6rem;
  text-align:center;color:var(--muted);font-size:.88rem;
  padding:1rem;
}
.calc-not-configured i{font-size:2rem;opacity:.3}
.calc-not-configured strong{color:var(--dark)}

/* Quick examples */
.calc-examples{
  display:flex;align-items:center;gap:.75rem;
  margin-top:1.75rem;
  flex-wrap:wrap;
}
.calc-ex-label{
  font-size:.8rem;font-weight:700;color:var(--muted);
  white-space:nowrap;
}
.calc-ex-btn{
  background:var(--white);border:1.5px solid var(--border);
  color:var(--dark);font-size:.75rem;
  padding:.5rem .85rem;border-radius:.6rem;cursor:pointer;
  transition:border-color .2s,background .2s;
  text-align:center;line-height:1.4;
  font-family:inherit;
}
.calc-ex-btn:hover{border-color:var(--blue-light);background:#eff6ff}
.calc-ex-btn small{color:var(--muted);display:block}

/* Responsive */
@media(max-width:768px){
  .calc-grid{grid-template-columns:1fr}
  .calc-dims{grid-template-columns:1fr auto 1fr auto 1fr}
  .calc-results{min-height:auto}
}
@media(max-width:480px){
  .calc-dims{grid-template-columns:1fr;gap:.75rem}
  .calc-sep{display:none}
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media(max-width:640px){
  .nav{padding:.75rem 1rem}
  .carriers-grid{grid-template-columns:1fr}
  .hero h1{font-size:1.9rem}
}
