/* ===================== TOKENS ===================== */
:root {
  --bg:        #0c0c0f;
  --bg-2:      #121216;
  --bg-3:      #17171d;
  --card:      #1a1a21;
  --card-2:    #202028;
  --line:      #2a2a33;

  --gold:      #d4af37;
  --gold-2:    #f6d879;
  --gold-3:    #a9812a;
  --gold-grad: linear-gradient(135deg, #f6d879 0%, #d4af37 50%, #a9812a 100%);

  --wood:      #b5835a;
  --wood-2:    #8a5a3c;

  --wa:        #25d366;
  --wa-dark:   #1da851;

  --text:      #f4f2ea;
  --muted:     #a2a2ad;
  --muted-2:   #7a7a86;

  --radius:    16px;
  --radius-sm: 10px;
  --container:  1180px;
  --shadow:    0 20px 50px rgba(0,0,0,.45);

  --font: "Cairo", "Tajawal", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}
.container-narrow { max-width: 760px; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-whatsapp {
  background: linear-gradient(135deg, var(--wa) 0%, var(--wa-dark) 100%);
  color: #04240f;
  box-shadow: 0 8px 22px rgba(37,211,102,.28);
}
.btn-whatsapp:hover { box-shadow: 0 12px 28px rgba(37,211,102,.4); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }

.btn-outline {
  background: transparent;
  color: var(--gold-2);
  border-color: rgba(212,175,55,.4);
}
.btn-outline:hover { background: rgba(212,175,55,.08); border-color: var(--gold); }

.btn-gold {
  background: var(--gold-grad);
  color: #23180a;
  box-shadow: 0 8px 22px rgba(212,175,55,.28);
}

/* ===================== TOP BAR ===================== */
.topbar {
  background: var(--gold-grad);
  color: #23180a;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 0;
}
.topbar strong { font-weight: 900; }

/* ===================== PRICE BOX ===================== */
.price-box {
  background: linear-gradient(135deg, rgba(212,175,55,.12), rgba(181,131,90,.08));
  border: 1px solid rgba(212,175,55,.35);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.price-tag {
  display: inline-block;
  font-size: 12px; font-weight: 800; color: var(--gold-2);
  margin-bottom: 8px;
}
.price-row {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.price-new {
  font-size: 30px; font-weight: 900; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-new em { font-style: normal; font-size: 15px; font-weight: 700; }
.price-old {
  font-size: 15px; color: var(--muted-2);
  text-decoration: line-through; text-decoration-color: rgba(255,90,90,.7);
}
.price-off {
  margin-inline-start: auto;
  font-size: 12px; font-weight: 800; color: #0f2e18;
  background: #34d17f; padding: 4px 10px; border-radius: 999px;
}
.price-note {
  font-size: 13px; color: var(--muted); margin-top: 8px;
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,15,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-size: 20px; font-weight: 900; letter-spacing: 1px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text em {
  font-style: normal; font-size: 10px; letter-spacing: 4px;
  color: var(--muted); margin-top: 2px;
}

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 15px; font-weight: 600; color: var(--muted);
  position: relative; transition: color .18s;
}
.main-nav a:hover { color: var(--gold-2); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn-whatsapp { padding: 10px 18px; font-size: 14px; }
.wa-ico { flex-shrink: 0; }

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

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(1000px 420px at 50% -10%, rgba(212,175,55,.14), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 120%, rgba(181,131,90,.14), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 5px;
  color: var(--gold); margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 22px;
}
.hero-sub {
  max-width: 640px; margin: 0 auto 34px;
  color: var(--muted); font-size: clamp(16px, 2.3vw, 19px);
}
/* ===================== COUNTDOWN ===================== */
.countdown {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 auto 34px;
  padding: 18px 26px;
  background: linear-gradient(135deg, rgba(212,175,55,.10), rgba(181,131,90,.06));
  border: 1px solid rgba(212,175,55,.32);
  border-radius: var(--radius);
}
.countdown-label {
  font-size: 14px; font-weight: 700; color: var(--gold-2);
  letter-spacing: .5px;
}
.countdown-boxes {
  display: flex; align-items: center; gap: 10px;
  direction: ltr;
}
.cd-unit {
  display: flex; flex-direction: column; align-items: center;
  background: #0c0c0f;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 74px;
  padding: 10px 6px;
}
.cd-num {
  font-size: 34px; font-weight: 900; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cd-lbl { font-size: 12px; color: var(--muted); margin-top: 6px; }
.cd-sep {
  font-size: 30px; font-weight: 800; color: var(--gold-3);
  line-height: 1; align-self: flex-start; margin-top: 12px;
}
.countdown.ended .cd-num { background: none; -webkit-text-fill-color: #ff6b6b; color: #ff6b6b; }
.countdown.ended .countdown-label { color: #ff6b6b; }

.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 780px; margin: 0 auto;
}
.hero-stats li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 12px;
}
.hero-stats strong {
  display: block; font-size: 28px; font-weight: 900;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { font-size: 13px; color: var(--muted); }

/* ===================== SECTIONS ===================== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase;
  padding: 6px 16px; border: 1px solid rgba(212,175,55,.3); border-radius: 999px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* ===================== PRODUCTS ===================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,.5);
  box-shadow: var(--shadow);
}
.product-card.featured { border-color: rgba(212,175,55,.55); }
.ribbon {
  position: absolute; top: 16px; inset-inline-start: 16px; z-index: 3;
  background: var(--gold-grad); color: #23180a;
  font-size: 12px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px;
}
.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid; place-items: center;
}
.media-roadmap { background: linear-gradient(135deg, #2a1e12, #3a2a18); }
.media-block   { background: linear-gradient(135deg, #101a2e, #16233d); }
.media-autocad { background: linear-gradient(135deg, #2e1710, #3d2417); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 2;
  background: rgba(12,12,15,.72); backdrop-filter: blur(6px);
  color: var(--gold-2); font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(212,175,55,.3);
}
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 {
  font-size: 23px; font-weight: 900; margin-bottom: 8px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.product-tagline { color: var(--text); font-size: 15px; margin-bottom: 18px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.feature-list li {
  position: relative; padding-inline-start: 26px;
  font-size: 14.5px; color: var(--muted);
}
.feature-list li::before {
  content: "✓";
  position: absolute; inset-inline-start: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(212,175,55,.14); color: var(--gold-2);
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.chips span {
  font-size: 12px; color: var(--muted-2);
  background: var(--bg-3); border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 999px;
}
.product-actions {
  margin-top: auto; display: flex; flex-direction: column; gap: 10px;
}

/* ===================== WHY ===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.why-card:hover { border-color: rgba(212,175,55,.4); transform: translateY(-4px); }
.why-ico {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(212,175,55,.1); font-size: 24px; margin-bottom: 16px;
}
.why-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 15px; }

/* ===================== PROCESS ===================== */
.process-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.process-line li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color .2s, transform .2s;
}
.process-line li:hover { border-color: rgba(212,175,55,.4); transform: translateY(-4px); }
.step-num {
  display: block; font-size: 34px; font-weight: 900; margin-bottom: 10px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process-line h4 { font-size: 16.5px; font-weight: 700; }

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background:
    radial-gradient(600px 300px at 15% 50%, rgba(212,175,55,.18), transparent 70%),
    linear-gradient(135deg, #17130a, #100d07);
  border-block: 1px solid var(--line);
  padding: 60px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(23px, 3.5vw, 32px); font-weight: 800; margin-bottom: 8px; }
.cta-inner p { color: var(--muted); font-size: 16px; }

/* ===================== FAQ ===================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(212,175,55,.4); }
.faq summary {
  cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 700;
  padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold-2); font-size: 22px; font-weight: 400;
  transition: transform .2s; flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-block: 56px;
}
.footer-brand .brand-text { flex-direction: row; gap: 6px; align-items: baseline; }
.footer-brand .brand-text strong { font-size: 22px; }
.footer-brand .brand-text em { letter-spacing: 3px; }
.footer-brand > p {
  color: var(--muted-2); font-size: 12px; letter-spacing: 2px; margin: 12px 0;
}
.footer-note { color: var(--muted) !important; font-size: 14px !important; letter-spacing: 0 !important; max-width: 340px; }
.footer-links h5 {
  font-size: 15px; font-weight: 800; margin-bottom: 16px; color: var(--gold-2);
}
.footer-links a {
  display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px;
  transition: color .18s;
}
.footer-links a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom p { text-align: center; color: var(--muted-2); font-size: 13px; }

/* ===================== FLOATING WHATSAPP ===================== */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--wa), var(--wa-dark));
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.4);
  transition: transform .2s;
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 10px 26px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4); }
  70%  { box-shadow: 0 10px 26px rgba(37,211,102,.4), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .products-grid, .why-grid, .process-line { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .main-nav {
    position: absolute; top: 68px; inset-inline: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 320px; }
  .main-nav a { padding: 15px 22px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-cta .btn-whatsapp span,
  .header-cta .btn-whatsapp { font-size: 13px; padding: 9px 14px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .why-grid, .process-line { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 70px 0 60px; }
  .cta-inner { flex-direction: column; text-align: center; align-items: center; }
}
@media (max-width: 420px) {
  .brand-text em { display: none; }
}
