/* ==========================================================
   EYAZO — Design tokens
   ========================================================== */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@600;700;800;900&family=Tajawal:wght@400;500;700&display=swap");

:root {
  --bg: #08080a;
  --bg-soft: #0e0d10;
  --surface: #151319;
  --surface-2: #1c1a21;
  --border: rgba(201, 162, 75, 0.16);
  --border-soft: rgba(255, 255, 255, 0.07);
  --gold: #c9a24b;
  --gold-soft: #e6c877;
  --gold-dim: rgba(201, 162, 75, 0.5);
  --text: #f2efe9;
  --text-dim: #a49f97;
  --text-faint: #6c6862;
  --whatsapp: #29c26a;
  --danger: #d97e6b;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --max: 1180px;
  --font-display: "Cairo", "Tajawal", sans-serif;
  --font-body: "Tajawal", "Cairo", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  direction: rtl;
  text-align: right;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(201, 162, 75, 0.09), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(201, 162, 75, 0.05), transparent 60%);
}

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.section { padding: 108px 0; position: relative; z-index: 1; }
.section--tight { padding: 88px 0; }
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .container { padding: 0 20px; }
}

.eyebrow-label { color: var(--gold); font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; }

.gold-text { color: var(--gold-soft); }
.divider-flare {
  width: 64px; height: 3px; border-radius: 3px; margin-bottom: 18px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 70%);
  color: #171208;
  box-shadow: 0 10px 30px -12px rgba(201, 162, 75, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(201, 162, 75, 0.7); }
.btn-ghost { background: rgba(255,255,255,0.02); border-color: var(--border-soft); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold-dim); background: rgba(201,162,75,0.06); }
.btn-whatsapp {
  background: var(--whatsapp); color: #05170c;
  box-shadow: 0 10px 30px -14px rgba(41, 194, 106, 0.65);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(41, 194, 106, 0.75); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 11px 20px; font-size: 0.92rem; }

/* ==========================================================
   Navigation
   ========================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: 34px; border-radius: 8px; object-fit: cover; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 0.96rem; color: var(--text-dim);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.045); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-soft); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--text); }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn span.btn-label-full { display: none; }
}

.mobile-menu {
  position: fixed; inset: 82px 0 0 0; z-index: 55;
  background: rgba(6,6,8,0.98); backdrop-filter: blur(10px);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  display: flex; flex-direction: column; padding: 20px;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a { padding: 16px 8px; font-size: 1.1rem; font-weight: 700; border-bottom: 1px solid var(--border-soft); }
.mobile-menu .btn { margin-top: 20px; }

/* ==========================================================
   Hero
   ========================================================== */
.hero { padding: 74px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.hero-kicker img { height: 30px; width: 30px; border-radius: 7px; object-fit: cover; }
.hero-kicker span { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em; color: var(--gold-soft); }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  background: linear-gradient(180deg, #fff, var(--text) 55%, var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: clamp(1.15rem, 2vw, 1.5rem); margin-top: 20px; }
.hero-desc { margin-top: 20px; font-size: 1.06rem; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero-visual { position: relative; height: 420px; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 14px 18px; border-radius: var(--radius-m);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
  animation: float 7s ease-in-out infinite;
  backdrop-filter: blur(6px);
}
.chip .chip-icon { width: 30px; height: 30px; border-radius: 9px; background: rgba(201,162,75,0.12); display:flex; align-items:center; justify-content:center; color: var(--gold-soft); flex-shrink:0; }
.chip .chip-icon svg { width: 16px; height: 16px; }
.chip strong { display:block; font-size: 0.98rem; font-family: var(--font-display); }
.chip small { color: var(--text-faint); font-size: 0.78rem; }
.chip-a { top: 4%; right: 6%; animation-delay: 0s; }
.chip-b { top: 40%; right: 30%; animation-delay: 1.2s; }
.chip-c { top: 66%; right: 2%; animation-delay: 2.4s; }
.chip-d { top: 18%; right: 58%; animation-delay: .6s; }
.chip-e { top: 82%; right: 44%; animation-delay: 1.8s; }
.hero-ring {
  position: absolute; inset: 8% 18%; border-radius: 50%;
  border: 1px dashed var(--border);
  animation: spin 40s linear infinite;
}
@keyframes float { 0%,100% { transform: translateY(0px);} 50% { transform: translateY(-14px);} }
@keyframes spin { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }
@media (max-width: 980px) { .hero-visual { height: 300px; margin-top: 10px; } }
@media (max-width: 560px) {
  .hero-visual { height: 260px; }
  .chip { padding: 10px 12px; }
  .chip strong { font-size: 0.82rem; }
}

/* ==========================================================
   Why cards
   ========================================================== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.why-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 30px 24px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.why-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: 0 24px 40px -26px rgba(201,162,75,0.35); }
.why-card .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(201,162,75,0.1); color: var(--gold-soft); display:flex; align-items:center; justify-content:center; margin-bottom: 18px; }
.why-card .ic svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.why-card p { font-size: 0.95rem; }

/* ==========================================================
   Platform cards
   ========================================================== */
.grid-platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .grid-platforms { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid-platforms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .grid-platforms { grid-template-columns: 1fr; } }

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.platform-card:hover { transform: translateY(-5px); border-color: var(--gold-dim); background: var(--surface-2); }
.platform-card .p-icon { width: 50px; height: 50px; border-radius: 13px; background: rgba(201,162,75,0.1); color: var(--gold-soft); display:flex; align-items:center; justify-content:center; }
.platform-card .p-icon svg { width: 24px; height: 24px; }
.platform-card h3 { font-family: var(--font-display); font-size: 1.12rem; }
.platform-card p { font-size: 0.9rem; min-height: 44px; }
.platform-card .p-link { margin-top: auto; display: flex; align-items: center; gap: 8px; color: var(--gold-soft); font-weight: 700; font-size: 0.92rem; }
.platform-card .p-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.platform-card:hover .p-link svg { transform: translateX(-4px); }

/* ==========================================================
   Trust section
   ========================================================== */
.trust-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .trust-wrap { grid-template-columns: 1fr; gap: 34px; } }
.trust-copy p { font-size: 1.02rem; margin-bottom: 18px; }
.trust-points { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.trust-point { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.trust-point .ic { width: 30px; height: 30px; border-radius: 50%; background: rgba(201,162,75,0.12); color: var(--gold-soft); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.trust-point .ic svg { width: 15px; height: 15px; }
.trust-panel {
  background: linear-gradient(160deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 44px 34px;
  text-align: center;
}
.trust-number { font-family: var(--font-display); font-size: 3.4rem; font-weight: 900; color: var(--gold-soft); }
.trust-panel span { display:block; color: var(--text-dim); margin-top: 8px; }
.trust-panel .rule { height: 1px; background: var(--border-soft); margin: 26px 0; }

/* ==========================================================
   Contact
   ========================================================== */
.contact-box {
  background: linear-gradient(150deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 56px 40px;
  text-align: center;
}
.contact-box h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.contact-box p { max-width: 520px; margin: 0 auto 30px; font-size: 1.02rem; }
.contact-number { font-family: var(--font-display); direction: ltr; display:inline-block; font-weight: 800; letter-spacing: .04em; color: var(--gold-soft); margin-bottom: 26px; font-size: 1.15rem; }

/* ==========================================================
   Footer
   ========================================================== */
.footer { border-top: 1px solid var(--border-soft); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 780px) { .footer-top { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 320px; font-size: 0.94rem; }
.footer h4 { font-size: 0.98rem; margin-bottom: 16px; color: var(--text); }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--text-dim); font-size: 0.94rem; transition: color .25s var(--ease); }
.footer-links a:hover { color: var(--gold-soft); }
.footer-platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-platforms a { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-soft); display:flex; align-items:center; justify-content:center; color: var(--text-dim); transition: color .25s var(--ease), border-color .25s var(--ease); }
.footer-platforms a svg { width: 17px; height: 17px; }
.footer-platforms a:hover { color: var(--gold-soft); border-color: var(--gold-dim); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 26px; text-align: center; color: var(--text-faint); font-size: 0.88rem; }

/* ==========================================================
   Floating WhatsApp button
   ========================================================== */
.fab-whatsapp {
  position: fixed; bottom: 24px; left: 24px; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  background: var(--whatsapp); color: #05170c;
  padding: 14px 20px; border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(41,194,106,0.55);
  font-weight: 700; font-size: 0.95rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.fab-whatsapp svg { width: 22px; height: 22px; flex-shrink: 0; }
.fab-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -8px rgba(41,194,106,0.65); }
@media (max-width: 560px) {
  .fab-whatsapp { bottom: 16px; left: 16px; padding: 14px; }
  .fab-whatsapp .fab-label { display: none; }
}

/* ==========================================================
   Page hero (inner pages)
   ========================================================== */
.page-hero { padding: 60px 0 20px; text-align: center; }
.page-hero .eyebrow-label { justify-content: center; display:flex; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { max-width: 560px; margin: 14px auto 0; }

/* ==========================================================
   Services page
   ========================================================== */
.service-header {
  display: flex; align-items: center; gap: 20px; margin-bottom: 46px; flex-wrap: wrap;
}
.service-header .p-icon-lg { width: 66px; height: 66px; border-radius: 18px; background: rgba(201,162,75,0.1); color: var(--gold-soft); display:flex; align-items:center; justify-content:center; }
.service-header .p-icon-lg svg { width: 32px; height: 32px; }
.service-header h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.service-header p { margin-top: 6px; max-width: 480px; }

.platform-switch { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 46px; }
.platform-switch a {
  padding: 9px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 600;
  border: 1px solid var(--border-soft); color: var(--text-dim);
  transition: all .25s var(--ease);
}
.platform-switch a:hover { border-color: var(--gold-dim); color: var(--text); }
.platform-switch a.active { background: var(--gold); border-color: var(--gold); color: #171208; }

.service-note {
  display:flex; gap: 12px; align-items:flex-start; background: rgba(201,162,75,0.06);
  border: 1px solid var(--border); border-radius: var(--radius-m); padding: 16px 18px; margin-bottom: 30px;
  font-size: 0.92rem; color: var(--text-dim);
}
.service-note svg { width: 18px; height: 18px; color: var(--gold-soft); flex-shrink: 0; margin-top: 2px; }

.service-table { width: 100%; border-collapse: separate; border-spacing: 0 12px; }
.service-table thead th { text-align: start; font-size: 0.85rem; color: var(--text-faint); font-weight: 700; padding: 0 22px 4px; }
.service-table tbody tr {
  background: var(--surface); border: 1px solid var(--border-soft);
}
.service-table tbody td { padding: 20px 22px; }
.service-table tbody tr td:first-child { border-radius: var(--radius-m) 0 0 var(--radius-m); }
.service-table tbody tr td:last-child { border-radius: 0 var(--radius-m) var(--radius-m) 0; }
.service-table .s-name { font-weight: 700; font-family: var(--font-display); }
.service-table .s-price { color: var(--gold-soft); font-weight: 800; font-family: var(--font-display); white-space: nowrap; }
.service-table .s-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

@media (max-width: 760px) {
  .service-table thead { display: none; }
  .service-table, .service-table tbody, .service-table tr, .service-table td { display: block; width: 100%; }
  .service-table tbody tr { border-radius: var(--radius-m); padding: 20px; margin-bottom: 14px; }
  .service-table tbody td { padding: 6px 0; border-radius: 0 !important; }
  .service-table .s-actions { justify-content: flex-start; margin-top: 12px; }
}

.discount-banner {
  margin-top: 50px; text-align: center;
  background: linear-gradient(150deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: 44px 30px;
}
.discount-banner h3 { font-size: 1.4rem; margin-bottom: 14px; }
.discount-banner p { max-width: 560px; margin: 0 auto 24px; }

.policy-box {
  margin-top: 24px; display: flex; gap: 16px; align-items: flex-start;
  background: rgba(217, 126, 107, 0.07); border: 1px solid rgba(217, 126, 107, 0.28);
  border-radius: var(--radius-m); padding: 24px 26px;
}
.policy-box .ic { color: var(--danger); flex-shrink: 0; margin-top: 2px; }
.policy-box .ic svg { width: 22px; height: 22px; }
.policy-box h4 { font-size: 1.02rem; margin-bottom: 8px; }
.policy-box p { font-size: 0.92rem; }
.policy-box strong { color: var(--text); font-weight: 700; }

/* ==========================================================
   Portfolio / gallery
   ========================================================== */
.gallery { columns: 3 220px; column-gap: 16px; }
@media (max-width: 720px) { .gallery { columns: 2 160px; } }
.gallery figure {
  break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius-m);
  overflow: hidden; border: 1px solid var(--border-soft); cursor: zoom-in;
  position: relative;
}
.gallery figure img { width: 100%; display: block; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery-empty {
  text-align: center; padding: 70px 20px; border: 1px dashed var(--border-soft);
  border-radius: var(--radius-l); color: var(--text-dim);
}

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(4,4,5,0.94);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(90vw, 900px); max-height: 86vh; border-radius: var(--radius-m); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 22px; left: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-soft); color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg { width: 20px; height: 20px; }

/* Focus visibility */
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.fade-in { animation: fadeIn .7s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }
