@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root{
  --bg:#ffffff;
  --bg-soft:#f7f6f4;
  --card:#ffffff;
  --ink:#1c1b19;
  --muted:#6f6b66;
  --line:#ece8e3;
  --gold:#8b5a1b;
  --gold-2:#b37a2a;
  --shadow: 0 18px 50px rgba(0,0,0,.08);
  --radius:18px;
  --radius-lg:26px;
  --max:1180px;
  --ease:cubic-bezier(.2,.9,.2,1);
}

html[data-theme="dark"]{
  --bg:#0c0c0d;
  --bg-soft:#121214;
  --card:#141417;
  --ink:#f3f1ed;
  --muted:#b7b1aa;
  --line:#242326;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:"Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background:var(--bg);
  color:var(--ink);
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:"Space Grotesk","Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing:.2px;
}

html[lang="ar"] body{
  font-family:"Cairo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4{
  font-family:"Cairo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* ===== Topbar / Nav ===== */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
}
html[data-theme="dark"] .topbar{
  background:#111114;
  border-bottom:1px solid var(--line);
}

.nav{
  display:grid;
  grid-template-columns:1fr auto 1fr auto;
  align-items:center;
  gap:14px;
  padding:10px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.mark{
  width:38px;height:38px;border-radius:12px;
  border:1px solid var(--line);
  display:grid;place-items:center;
  background:var(--bg-soft);
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  font-weight:900;
}
.mark span{color:var(--gold)}
.name{
  font-weight:900;
  letter-spacing:.4px;
}

.nav-left{
  display:flex;
  align-items:center;
  gap:10px;
  justify-self:start;
}

.download-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  height:32px;
  padding:0 14px;
  border:1px solid #6f460f;
  background:#8b5a1b;
  color:#101010;
  font-weight:800;
  font-size:14px;
}
.lang-switch-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:32px;
  padding:0 10px;
  border:1px solid #9f9f9f;
  color:#5b5b5b;
  background:#fff;
  font-weight:700;
  font-size:12px;
}

.brand-logo{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.brand-logo img{
  width:42px;
  height:42px;
  object-fit:contain;
  display:block;
}

.nav-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:34px;
  justify-self:center;
}
.nav-links li{margin:0;padding:0}
.nav-links a{
  font-weight:600;
  font-size:14px;
  color:#3e3e3e;
  position:relative;
  padding:4px 2px;
}
.nav-links a:hover{color:#7a4d13}
.nav-links a::after{
  content:"";
  position:absolute;
  left:2px;
  right:2px;
  bottom:1px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--gold),var(--gold-2));
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .25s var(--ease);
}
.nav-links a:hover::after{transform:scaleX(1)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  transition:transform .12s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:active{transform:translateY(1px)}

.btn-ghost{
  background:transparent;
  border-color:var(--line);
  color:var(--ink);
}

.btn-gold{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#fff;
  border-color:rgba(0,0,0,.08);
  box-shadow:0 18px 45px rgba(139,90,27,.22);
}

.hamburger{
  display:none;
  width:42px;height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background:var(--bg-soft);
  font-weight:900;
  cursor:pointer;
}

/* Mobile panel (IMPORTANT: hidden by default) */
.mobile-panel{
  display:none;
  padding:10px 0 14px;
  border-top:1px solid var(--line);
}
.mobile-panel ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.mobile-panel a{
  display:block;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid var(--line);
  background:var(--bg-soft);
  font-weight:900;
  color:var(--ink);
}
.mobile-panel.open{display:block}

/* ===== Hero ===== */
.hero{
  padding:54px 0 30px;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  padding:10px 0;
  align-items:center;
}
.hero-copy{
  display:grid;
  gap:14px;
}
.hero-title{
  font-size:46px;
  line-height:1.08;
  margin:0;
}
.hero-sub{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.9;
  max-width:70ch;
}
.store-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:10px;
}
.store-badge{
  min-width:210px;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid var(--line);
  background:var(--bg-soft);
  display:flex;
  align-items:center;
  gap:10px;
}
.store-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.store-badge small{color:var(--muted);font-weight:800}
.store-badge strong{font-weight:900}
.store-icon{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:8px;
  flex:0 0 auto;
}
.store-icon svg{
  width:20px;
  height:20px;
  display:block;
}
.hero-media{
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--bg-soft);
  box-shadow:var(--shadow);
  max-height:430px;
}
.hero-media img{
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:cover;
  filter:grayscale(100%);
}
.hero-cover{
  position:relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55)),
    url("/images/Landing/584b5bc7f833fe7f5ad0ce014a29788462d83352.jpg");
  background-size:cover;
  background-position:center;
  padding:72px 0 78px;
}
.hero-cover .hero-inner{
  grid-template-columns:1fr;
  min-height:440px;
  place-items:center;
}
.hero-copy-center{
  max-width:760px;
  text-align:center;
}
.hero-cover .hero-title{
  color:#fff;
  font-size:64px;
}
.hero-cover .hero-sub{
  color:rgba(255,255,255,.9);
  max-width:unset;
}
.hero-cover .store-row{
  justify-content:center;
  margin-top:24px;
}
.hero-cover .store-badge{
  min-width:260px;
  justify-content:center;
  border-radius:22px;
  padding:16px 20px;
}
.store-badge-dark{
  background:#111;
  border-color:rgba(255,255,255,.35);
}
.store-badge-dark .store-icon{
  color:#fff;
}
.store-badge-dark small,
.store-badge-dark strong{
  color:#fff;
}

/* ===== Sections / Typography helpers ===== */
.section-soft{
  background:var(--bg-soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:42px 0;
}
#features, #contact{
  padding:42px 0;
}
.kicker{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  color:var(--gold);
  letter-spacing:.6px;
  text-transform:uppercase;
  margin-bottom:10px;
}
.h2{
  margin:0 0 10px;
  font-size:30px;
}
.p{
  margin:0;
  color:var(--muted);
  line-height:1.9;
  font-size:14px;
}
.card{
  border-radius:18px;
  border:1px solid var(--line);
  background:var(--card);
  box-shadow:0 12px 40px rgba(0,0,0,.06);
}

/* ===== About ===== */
.about-shell{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
  padding:22px 0;
}
.about-media{
  position:relative;
  border-radius:0;
  overflow:hidden;
  border:0;
  box-shadow:none;
  background:transparent;
  min-height:420px;
}
.about-media img{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
  object-position:30% center;
  filter:grayscale(100%);
}
.about-content .kicker{margin-bottom:16px}
.about-content .h2{
  margin-bottom:20px;
  font-size:52px;
  line-height:1.2;
}
.about-content .p{
  max-width:560px;
  font-size:29px;
  line-height:1.9;
  color:#69645f;
}

/* ===== Features ===== */
.features-head{
  text-align:center;
  margin-bottom:34px;
}
.features-wrap{
  display:grid;
  grid-template-columns:1fr 320px 1fr;
  gap:52px;
  align-items:start;
}
.feature-side{
  display:grid;
  gap:28px;
  padding-top:56px;
}
.feature-plain{
  max-width:320px;
}
.feature-badge{
  width:34px;
  height:34px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#101010;
  background:var(--gold);
  margin-bottom:12px;
}
.feature-badge svg{
  width:16px;
  height:16px;
  display:block;
}
.feature-plain h3{
  margin:0 0 10px;
  font-size:20px;
  line-height:1.2;
}
.feature-plain p{
  margin:0;
  color:var(--muted);
  line-height:1.85;
  font-size:14px;
}
.feature-phone{
  display:flex;
  justify-content:center;
}
.feature-phone img{
  width:100%;
  max-width:320px;
  height:auto;
}

/* ===== How ===== */
.how-wrap{
  text-align:center;
}
.how-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:16px;
  margin-top:22px;
  align-items:stretch;
}
.how-panel{
  padding:18px 16px 0;
  border-radius:0;
  border:1px solid var(--line);
  background:#fff;
  min-height:430px;
  display:flex;
  flex-direction:column;
}
.how-copy{
  max-width:280px;
  margin:0 auto;
}
.how-copy h3{
  margin:6px 0 8px;
  font-size:30px;
  line-height:1.25;
  font-weight:800;
}
.how-copy p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}
.how-shot{
  margin-top:auto;
  display:flex;
  justify-content:center;
}
.how-shot-top{
  margin-top:0;
  margin-bottom:12px;
}
.how-shot img{
  width:78%;
  max-width:220px;
  height:auto;
  display:block;
  filter:grayscale(100%);
}

/* ===== CTA ===== */
.cta-box{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  border:1px solid var(--line);
  background:var(--card);
  padding:30px;
}
.cta-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:26px;
  align-items:center;
}
.phones-stack{position:relative;height:340px}
.phone-shot{
  position:absolute;
  width:210px;
  border-radius:34px;
  border:1px solid var(--line);
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  background:#000;
}
html[data-theme="light"] .phone-shot{box-shadow:0 16px 40px rgba(0,0,0,.16)}
.phone-shot img{width:100%;height:auto;display:block;opacity:.98}
.p1{left:0;top:20px;transform:rotate(-7deg)}
.p2{left:120px;top:0;transform:rotate(2deg)}
.p3{left:240px;top:26px;transform:rotate(9deg)}

/* ===== Contact ===== */
.contact-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:48px;
  align-items:start;
}

.contact-form-wrap{
  border:1px solid var(--line);
  background:var(--bg);
  padding:28px;
}
.contact-form-title{
  margin:0 0 18px;
  font-size:44px;
  line-height:1.1;
  font-weight:800;
}

.contact-grid2{grid-template-columns:1fr 1fr;gap:14px}
.field{display:block}
.mt12{margin-top:12px}

label{display:block;font-size:13px;color:var(--muted);margin-bottom:8px;font-weight:700}
input,textarea,select{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:0;
  background:#fff;
  color:var(--ink);
  outline:none;
}
textarea{min-height:98px;resize:vertical}

.phone-row{
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  background:#fff;
}
.phone-row .country-code{
  padding:0 12px;
  min-width:74px;
  text-align:center;
  color:var(--muted);
  border-left:1px solid var(--line);
  font-weight:700;
}
.phone-row input{
  border:0;
  border-radius:0;
}

.form-submit{
  margin-top:14px;
  display:flex;
  justify-content:flex-end;
}
.contact-send{
  min-width:220px;
  border-radius:0;
  font-size:16px;
  padding:12px 18px;
}

.contact-info{padding-top:6px}
.contact-title-main{margin:0 0 10px;font-size:42px;line-height:1.15}
.contact-subtitle{margin:0 0 10px;font-size:30px;color:var(--gold);font-weight:800}
.contact-desc{margin:0 0 22px;line-height:2;color:var(--muted)}

.contact-line{
  border:1px solid var(--line);
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  background:transparent;
}
.contact-line .value a{color:var(--ink);font-weight:600}
.contact-line .icon{font-size:18px;color:var(--gold)}

.alert{
  padding:12px 14px;
  border-radius:6px;
  border:1px solid rgba(46, 204, 113, .35);
  background:rgba(46, 204, 113, .12);
  margin-bottom:12px;
  font-weight:700;
  font-size:13px;
}

/* ===== Footer ===== */
footer{
  background:#0c0c0d;
  border-top:1px solid rgba(255,255,255,.08);
  padding:28px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  gap:18px;
  align-items:start;
  color:rgba(255,255,255,.85);
}
.footer-grid h5{
  margin:0 0 10px;
  font-size:13px;
  font-weight:900;
  color:rgba(255,255,255,.92);
}
.footer-grid ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.footer-grid a{color:rgba(255,255,255,.75)}
.footer-grid a:hover{color:#fff}
.divider{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.65);
  font-size:12px;
  text-align:center;
}
.socials{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.social{
  width:34px;height:34px;border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  display:grid;place-items:center;
  color:var(--gold-2);
  background:rgba(255,255,255,.04);
}

/* ===== RTL tweaks ===== */
html[dir="rtl"] .nav-links{
  direction:rtl;
}
html[dir="rtl"] .store-badge{
  flex-direction:row-reverse;
}
html[dir="rtl"] .feature-plain{
  text-align:right;
}
html[dir="rtl"] .feature-side .feature-badge{
  margin-left:auto;
}
html[dir="rtl"] .feature-side-primary{
  order:3;
}
html[dir="rtl"] .feature-phone{
  order:2;
}
html[dir="rtl"] .feature-side-secondary{
  order:1;
}
html[dir="rtl"] .info-box{flex-direction:row-reverse}
html[dir="rtl"] .contact-info{order:1}
html[dir="rtl"] .contact-form-wrap{order:2}
html[dir="rtl"] .contact-subtitle,
html[dir="rtl"] .contact-title-main,
html[dir="rtl"] .contact-desc,
html[dir="rtl"] .contact-form-title,
html[dir="rtl"] .contact-form label{
  text-align:right;
}
html[dir="rtl"] .about-content{
  text-align:right;
}
html[dir="rtl"] .how-grid{
  direction:rtl;
}
html[dir="rtl"] .how-copy{
  text-align:center;
}

/* ===== Responsive ===== */
@media (max-width: 1020px){
  .hero-inner{grid-template-columns:1fr}
  .hero-media{max-height:360px}
  .hero-media img{min-height:360px}
  .hero-cover .hero-title{font-size:44px}
  .hero-cover .hero-inner{min-height:360px}
  .nav-links{gap:20px}
  .nav-links a{font-size:18px}
  .features-wrap{grid-template-columns:1fr;gap:22px}
  .feature-side{
    padding-top:0;
    gap:20px;
  }
  .feature-plain{max-width:unset}
  .feature-plain h3{font-size:20px}
  .feature-plain p{font-size:14px}
  .feature-phone{order:-1}
  .feature-phone img{max-width:300px}
  .cta-grid{grid-template-columns:1fr}
  .about-shell{grid-template-columns:1fr}
  .about-media{min-height:320px}
  .about-media img{min-height:320px}
  .contact-grid{grid-template-columns:1fr}
  .how-grid{grid-template-columns:1fr}
  .how-panel{min-height:auto;padding:16px}
  .how-copy h3{font-size:22px}
  .how-copy p{font-size:14px}
  .how-shot img{max-width:170px}
}
@media (max-width: 820px){
  .nav{
    grid-template-columns:1fr auto;
  }
  .nav-left{display:none}
  .brand-logo{justify-self:start}
  .brand-logo img{width:38px;height:38px}
  .nav-links{display:none}
  .hamburger{display:inline-grid;place-items:center}
  /* mobile-panel stays hidden unless .open */
  .hero-title{font-size:34px}
  .hero-cover .hero-title{font-size:36px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .how-grid{grid-template-columns:1fr}
}
@media (max-width: 520px){
  .hero-title{font-size:28px}
  .footer-grid{grid-template-columns:1fr}
}
