@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,500;0,9..40,700;1,9..40,300&display=swap');

:root {
  --navy: #050010;
  --navy-mid: #0A0020;
  --navy-card: #160040;
  --gold: #F5A623;
  --gold-light: #FFCF72;
  --white: #F0EAFF;
  --muted: #A890D0;
  --border: rgba(245,166,35,.18);
  --radius: 10px;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', 'IBM Plex Sans Arabic', sans-serif; background: var(--navy); color: var(--white); line-height: 1.65; font-size: 16px; }
html[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', 'DM Sans', sans-serif; }

nav { position: sticky; top: 0; z-index: 100; background: rgba(11,31,58,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 5%; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-size: 1.5rem; font-weight: 700; color: var(--white); text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .875rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-cta { background: var(--gold); color: var(--navy); border: none; border-radius: 6px; padding: .5rem 1.25rem; font-weight: 700; font-size: .875rem; cursor: pointer; text-decoration: none; transition: background .2s; }
.nav-cta:hover { background: var(--gold-light); }
.lang-btns { display: flex; gap: .4rem; }
.lang-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: 4px; padding: .25rem .55rem; font-size: .75rem; cursor: pointer; transition: all .2s; }
.lang-btn.active { border-color: var(--gold); color: var(--gold); }

.breadcrumb { padding: .75rem 5%; font-size: .78rem; color: var(--muted); border-bottom: 1px solid var(--border); max-width: 100%; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

.page-hero { padding: 4.5rem 5% 3.5rem; max-width: var(--max); margin: 0 auto; }
.page-hero .eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--gold); background: rgba(200,168,75,.1); border: 1px solid var(--border); border-radius: 20px; padding: .3rem .9rem; margin-bottom: 1.5rem; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; max-width: 760px; margin-bottom: 1.25rem; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .lead { font-size: 1.05rem; color: var(--muted); max-width: 640px; margin-bottom: 2rem; line-height: 1.7; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--border); align-items: center; }
.stat-val { font-size: 1.9rem; font-weight: 700; color: var(--gold); }
.stat-lab { font-size: .78rem; color: var(--muted); margin-top: .2rem; }

section { padding: 3.5rem 5%; max-width: var(--max); margin: 0 auto; }
.section-label { font-size: .72rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .6rem; display: block; }
.section-title { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; margin-bottom: .9rem; }
.section-sub { color: var(--muted); max-width: 560px; line-height: 1.7; margin-bottom: 2.5rem; }

.cards { display: grid; gap: 1.25rem; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card { background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; transition: border-color .25s, transform .2s; }
.card:hover { border-color: rgba(200,168,75,.5); transform: translateY(-3px); }
.card-icon { font-size: 1.7rem; margin-bottom: .9rem; }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .875rem; line-height: 1.65; }

.pricing-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.pricing-table th { background: var(--navy-card); color: var(--gold); padding: .9rem 1.2rem; text-align: start; font-weight: 600; font-size: .85rem; }
.pricing-table td { padding: .9rem 1.2rem; border-top: 1px solid var(--border); font-size: .875rem; color: var(--muted); }
.pricing-table tr:hover td { background: rgba(200,168,75,.04); color: var(--white); }
.price-val { font-weight: 700; color: var(--white); }

.faq-list { list-style: none; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.faq-q { font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .95rem; }
.faq-q::after { content: '+'; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { color: var(--muted); font-size: .875rem; line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; }
.faq-item.open .faq-a { max-height: 400px; padding-top: .65rem; }

.cta-band { background: linear-gradient(135deg, rgba(200,168,75,.1), rgba(11,31,58,0)); border: 1px solid var(--border); border-radius: 14px; padding: 3rem 2.5rem; text-align: center; margin: 1rem 0; }
.cta-band h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .6rem; }
.cta-band p { color: var(--muted); margin-bottom: 1.75rem; max-width: 480px; margin-inline: auto; line-height: 1.65; }
.btn-gold { display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: var(--navy); font-weight: 700; border-radius: 7px; padding: 0 2rem; text-decoration: none; transition: background .2s; height: 3.2rem; font-size: .95rem; text-align: center; align-self: flex-end; margin-bottom: .4rem; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { display: inline-block; border: 1px solid var(--gold); color: var(--gold); font-weight: 600; border-radius: 7px; padding: .75rem 2rem; text-decoration: none; margin-inline-start: 1rem; transition: all .2s; }
.btn-outline:hover { background: rgba(200,168,75,.1); }

footer { background: #070F1C; border-top: 1px solid var(--border); padding: 3rem 5% 2rem; margin-top: 4rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
footer h4 { color: var(--gold); font-size: .82rem; font-weight: 600; margin-bottom: .9rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: .5rem; }
footer ul a { color: var(--muted); text-decoration: none; font-size: .82rem; }
footer ul a:hover { color: var(--gold); }
.footer-bottom { max-width: var(--max); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); }
.footer-logo { font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer-logo span { color: var(--gold); }

.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; width: 54px; height: 54px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.45); text-decoration: none; transition: transform .2s; animation: waPulse 2.5s infinite; }
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.45)}50%{box-shadow:0 4px 32px rgba(37,211,102,.7),0 0 0 10px rgba(37,211,102,.08)} }

.blog-card { background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .2s; text-decoration: none; color: inherit; display: block; }
.blog-card:hover { border-color: rgba(200,168,75,.5); transform: translateY(-3px); }
.blog-card-body { padding: 1.4rem; }
.blog-card-tag { font-size: .68rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .6rem; display: block; }
.blog-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; line-height: 1.4; }
.blog-card p { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.blog-card-meta { font-size: .73rem; color: var(--muted); margin-top: .9rem; }

.divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }

}.nav-links{display:none}.hero-stats{gap:1.5rem}}
@media(max-width:480px){.footer-inner{grid-template-columns:1fr}.cta-band{padding:2rem 1.25rem}.btn-outline{margin-inline-start:0;margin-top:.6rem;display:block;text-align:center}}

.analysis-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;margin-top:1.5rem}
.analysis-card{background:rgba(255,255,255,.04);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem}
.analysis-card .icon{font-size:1.8rem;margin-bottom:.75rem}
.analysis-card h3{font-size:1rem;font-weight:700;margin-bottom:.6rem;color:var(--white)}
.analysis-card p{color:var(--muted);font-size:.85rem;line-height:1.65}
.analysis-card .highlight{color:var(--gold);font-weight:700}

/* ===== UNIFIED NAV ===== */
nav{position:fixed;top:36px;left:0;right:0;z-index:100;background:rgba(5,0,16,0.95);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,0.06);padding:0 5%}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:68px;gap:1rem}
.nav-logo{font-size:1.5rem;font-weight:800;color:var(--white);text-decoration:none;letter-spacing:-.02em}
.nav-logo span{color:var(--gold)}
.nav-links{display:flex;gap:1.5rem;list-style:none;align-items:center}
.nav-links a{color:rgba(255,255,255,.7);text-decoration:none;font-size:.88rem;font-weight:500;transition:color .2s;white-space:nowrap}
.nav-links a:hover,.nav-links a.active{color:var(--gold)}
.nav-right{display:flex;align-items:center;gap:.75rem}
.lang-btns{display:flex;gap:.25rem}
.lang-btn{background:transparent;border:1px solid var(--border);color:rgba(255,255,255,.6);padding:.25rem .6rem;border-radius:4px;font-size:.78rem;cursor:pointer;transition:all .2s}
.lang-btn.active{background:var(--gold);color:#0a0a0a;border-color:var(--gold);font-weight:700}
.nav-cta{background:var(--gold);color:var(--navy);border:none;border-radius:6px;padding:.5rem 1.25rem;font-weight:700;font-size:.875rem;cursor:pointer;text-decoration:none;transition:background .2s;white-space:nowrap}
.nav-cta:hover{background:var(--gold-light)}
.nav-dropdown{position:relative}
.nav-dropdown>a{cursor:pointer}
.dropdown-menu{display:none;position:absolute;top:calc(100% + 8px);right:0;background:rgba(10,0,32,.97);backdrop-filter:blur(16px);border:1px solid rgba(245,166,35,.2);border-radius:10px;min-width:220px;padding:.5rem 0;list-style:none;z-index:999;box-shadow:0 8px 32px rgba(0,0,0,.4)}
html[dir="ltr"] .dropdown-menu{right:auto;left:0}
.dropdown-menu li a{display:block;padding:.65rem 1.2rem;color:rgba(240,234,255,.8);font-size:.85rem;text-decoration:none;transition:background .15s,color .15s;white-space:nowrap}
.dropdown-menu li a:hover{background:rgba(245,166,35,.1);color:var(--gold)}
.nav-dropdown:hover .dropdown-menu{display:block}
.dropdown-menu li+li{border-top:1px solid rgba(255,255,255,.05)}
.breadcrumb{padding:110px 5% .5rem;font-size:.8rem;color:var(--muted)}
.breadcrumb a{color:var(--gold);text-decoration:none}
}

/* ===== MOBILE MENU ===== */

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5,0,16,.98);
  z-index: 150;
  flex-direction: column;
  padding: 100px 2rem 2rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: block;
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .mobile-section-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 1.25rem;
  margin-bottom: .25rem;
  display: block;
}
.mobile-nav .mobile-sub a {
  padding: .6rem 0 .6rem 1rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mobile-nav .mobile-cta {
  margin-top: 1.5rem;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: 8px;
  padding: .9rem 1.5rem !important;
  text-align: center;
  font-weight: 700 !important;
  border-bottom: none !important;
}
.mobile-lang {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}
.mobile-lang button {
  background: transparent;
  border: 1px solid var(--border);
  color: rgba(255,255,255,.6);
  padding: .4rem 1rem;
  border-radius: 4px;
  font-size: .85rem;
  cursor: pointer;
}
.mobile-lang button.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}

@media(max-width:768px) {
    .nav-links { display: none !important; }
  .nav-right { display: none !important; }
  .nav-inner { justify-content: space-between; }
}

/* ===== MOBILE MENU ===== */
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:.4rem;background:none;border:none;z-index:9999;flex-shrink:0}
.hamburger span{display:block;width:22px;height:2px;background:#F0EAFF;border-radius:2px;transition:all .3s}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media only screen and (max-width:768px){
  .hamburger{display:flex!important}
  .nav-links{display:none!important}
  .nav-cta{display:none!important}
  .hide-mobile{display:none!important}
  .lang-btns{display:none!important}
  .lang-toggle{display:none!important}
  .nav-right{gap:.5rem!important}
  .services-grid{grid-template-columns:1fr!important}
  .steps{grid-template-columns:1fr!important}
  .hero-stats{gap:1rem!important;flex-wrap:wrap!important}
  .frow{grid-template-columns:1fr!important}
  .footer-inner{grid-template-columns:1fr!important}
  .analysis-grid{grid-template-columns:1fr!important}
  .device-grid{grid-template-columns:1fr!important}
  .plans-grid{grid-template-columns:1fr!important}
  .consult-grid{grid-template-columns:1fr!important}
  .feasibility-grid{grid-template-columns:1fr!important}
  .dev-grid{grid-template-columns:1fr!important}
  .photos-grid{grid-template-columns:1fr!important}
  .page-hero{padding:4rem 4% 2.5rem!important}
  section{padding:2.5rem 4%!important}
}
