/* === base.css === */

/* ══════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════ */
:root {
  --g:     #99ca3c;
  --gd:    rgba(153,202,60,0.11);
  --black: #0d0e0c;
  --dark:  #111310;
  --card:  #181a15;
  --bdr:   #252820;
  --text:  #f0f2ea;
  --muted: #7a8070;
  --dim:   #3a3f32;
}

/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: none;
}

/* Arabic font override */
html[lang="ar"] body,
html[lang="ar"] .btn-p,
html[lang="ar"] .btn-g,
html[lang="ar"] .nav-links a,
html[lang="ar"] .hero h1,
html[lang="ar"] .sec-title,
html[lang="ar"] .sc-text h2,
html[lang="ar"] .cta-section h2,
html[lang="ar"] .step h3,
html[lang="ar"] .fc h3 {
  font-family: 'Cairo', sans-serif;
}

/* ══════════════════════════════════════
   LANGUAGE SWITCHER
══════════════════════════════════════ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--bdr);
  border-radius: 100px;
  padding: 3px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: 'Satoshi', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 5px 11px;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.lang-btn.active {
  background: var(--g);
  color: var(--black);
}
.lang-btn:hover:not(.active) {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

/* ══════════════════════════════════════
   PHONE FRAME
══════════════════════════════════════ */
.phone {
  position: relative;
  background: #040506;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.13);
  box-shadow:
    0 0 0 1px rgba(153,202,60,0.07),
    inset 0 2px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.4);
  overflow: hidden;
  flex-shrink: 0;
  will-change: transform;
}
.phone::before {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 9px;
  width: 108px;
  height: 28px;
  background: #040506;
  border-radius: 15px;
  z-index: 10;
}
.phone img { display: block; width: 100%; border-radius: 48px; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--g); color: var(--black);
  padding: 15px 32px; border-radius: 100px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.1px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-p:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(153,202,60,0.4); }
.btn-g {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--bdr); color: var(--text);
  background: transparent; padding: 14px 28px; border-radius: 100px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-g:hover { border-color: var(--g); background: var(--gd); }

/* ══════════════════════════════════════
   SECTION LAYOUT
══════════════════════════════════════ */
section { padding: 96px 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.sec-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--g); margin-bottom: 12px;
}
html[lang="ar"] .sec-label {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 1px;
}
.sec-title {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -1.5px; text-transform: uppercase;
}
html[lang="ar"] .sec-title {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0; text-transform: none;
  line-height: 1.2;
}
.sec-sub {
  font-size: 16px; font-weight: 400; color: var(--muted);
  max-width: 500px; line-height: 1.68; letter-spacing: -0.1px;
  margin-top: 12px;
}
html[lang="ar"] .sec-sub { letter-spacing: 0; line-height: 1.8; }

