/* ============================================
   CARMA Website v2 – styles.css
   Theme: Customer App AppColors
   Primary: #FC8D1D | Dark BG: #111215
   Font: Cairo (AR) | Inter (EN)
   Full animations + responsive + dark/light
   ============================================ */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES – DARK (default) ===== */
:root {
  --primary:          #FC8D1D;
  --primary-light:    #FF9E3D;
  --primary-dark:     #D6710A;
  --primary-muted:    rgba(252,141,29,0.12);
  --primary-glow:     rgba(252,141,29,0.28);

  --bg:               #111215;
  --bg2:              #0D0E10;
  --surface:          #1B1D22;
  --surface2:         #24272F;
  --border:           #2E323B;
  --input-bg:         #191B20;

  --text-1:           #F3F4F6;
  --text-2:           #9CA3AF;
  --text-3:           #6B7280;

  --success:          #10B981;
  --error:            #EF4444;
  --info:             #3B82F6;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  --shadow-sm:  0 2px 10px rgba(0,0,0,.35);
  --shadow-md:  0 8px 28px rgba(0,0,0,.45);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.55);
  --shadow-o:   0 8px 32px rgba(252,141,29,.22);

  --nav-h: 82px;
  --ease: cubic-bezier(.4,0,.2,1);
  --t: 0.28s;
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
  --bg:         #F8F9FB;
  --bg2:        #EFF1F5;
  --surface:    #FFFFFF;
  --surface2:   #F1F3F6;
  --border:     #E2E5EA;
  --input-bg:   #F3F5F8;
  --text-1:     #1A1D20;
  --text-2:     #4B5563;
  --text-3:     #9CA3AF;
  --shadow-sm:  0 2px 10px rgba(0,0,0,.08);
  --shadow-md:  0 8px 28px rgba(0,0,0,.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.16);
}

/* ===== RESET ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}

body {
  font-family: 'Cairo', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
body[lang="en"] { font-family: 'Inter', 'Cairo', sans-serif; direction: ltr; text-align: left; }
body[lang="ar"] { font-family: 'Cairo', sans-serif; direction: rtl; text-align: right; }

img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}

::-webkit-scrollbar{width:5px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:99px}
::-webkit-scrollbar-thumb:hover{background:var(--primary)}

.container{max-width:1180px;margin:0 auto;padding:0 1.5rem}
.text-primary{color:var(--primary)}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(17,18,21,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
[data-theme="light"] .navbar { background: rgba(248,249,251,.9); }
.navbar.scrolled { border-bottom-color: var(--border); }

.nav-container {
  max-width: 1180px; margin: 0 auto;
  padding: 0 1.5rem; height: 100%;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}

.nav-logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; padding: .2rem 0; }
.nav-logo img { height: 50px; max-height: 52px; width: auto; object-fit: contain; transition: transform var(--t); }
.nav-logo:hover img { transform: scale(1.05); }
.logo-text { font-size: 1.85rem; font-weight: 900; color: var(--primary); letter-spacing: -1px; }

.nav-links {
  display: flex; align-items: center; gap: .4rem;
  transition: all .3s var(--ease);
}
.nav-link {
  font-size: .88rem; font-weight: 500; color: var(--text-2);
  padding: .4rem .85rem; border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
}
.nav-link:hover,.nav-link.active { color: var(--text-1); background: var(--surface); }

.nav-controls { display: flex; align-items: center; gap: .5rem; }

.nav-ctrl-btn {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: .4rem .8rem;
  transition: all var(--t); cursor: pointer;
}
.nav-ctrl-btn:hover { border-color: var(--primary); color: var(--primary); }
.nav-ctrl-btn svg { width: 15px; height: 15px; }

.nav-btn-primary {
  font-size: .88rem; font-weight: 700; color: #000;
  background: var(--primary); padding: .5rem 1.2rem;
  border-radius: var(--r-md);
  transition: all var(--t);
  display: flex; align-items: center; gap: .4rem;
}
.nav-btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: var(--shadow-o); }

/* User Badge in Nav */
.nav-user-badge {
  display: flex; align-items: center; gap: .6rem;
  background: var(--surface2); border: 1px solid var(--border);
  padding: .32rem .75rem .32rem .4rem; border-radius: 99px;
  transition: all var(--t);
}
.nav-user-badge:hover { border-color: rgba(252,141,29,.4); }
.user-avatar-circle {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000; font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.user-name-text {
  font-size: .85rem; font-weight: 700; color: var(--text-1);
  max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-logout-btn {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); color: var(--text-3);
  border: 1px solid var(--border); transition: all var(--t);
  cursor: pointer;
}
.nav-logout-btn:hover { color: var(--error); border-color: var(--error); background: rgba(239,68,68,.1); }
.nav-logout-btn svg { width: 13px; height: 13px; }

.service-card {
  cursor: pointer;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-sm);
  transition: background var(--t);
}
.hamburger:hover { background: var(--surface); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-size: 1rem; font-weight: 700; color: #000;
  background: var(--primary); padding: .88rem 1.9rem;
  border-radius: var(--r-md); border: none; cursor: pointer;
  transition: all var(--t); text-decoration: none;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background var(--t);
}
.btn-primary:hover::after { background: rgba(255,255,255,.1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-o); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--primary);
  background: transparent; padding: .88rem 1.9rem;
  border-radius: var(--r-md); border: 1.5px solid var(--primary);
  cursor: pointer; transition: all var(--t); text-decoration: none;
}
.btn-outline:hover { background: var(--primary-muted); transform: translateY(-1px); }
.btn-large { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ===== SECTION HELPERS ===== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block; font-size: .78rem; font-weight: 700;
  color: var(--primary); background: var(--primary-muted);
  padding: .28rem 1rem; border-radius: 99px; margin-bottom: .9rem;
  letter-spacing: .4px;
}
.section-title {
  font-size: clamp(1.75rem,4vw,2.75rem); font-weight: 800;
  line-height: 1.22; margin-bottom: .75rem;
}
.section-desc { font-size: 1.03rem; color: var(--text-2); max-width: 540px; margin: 0 auto; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 15% 55%, rgba(252,141,29,.07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 50% at 85% 15%, rgba(252,141,29,.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  max-width: 1180px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; color: var(--primary);
  background: var(--primary-muted); padding: .38rem 1rem;
  border-radius: 99px; margin-bottom: 1.4rem;
  border: 1px solid rgba(252,141,29,.28);
  animation: fadein .6s var(--ease) both;
}
.badge-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.45;transform:scale(.75)} }

.hero-title {
  font-size: clamp(2.4rem,6vw,3.9rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -.5px;
  margin-bottom: 1.2rem;
  animation: slidein .65s var(--ease) .1s both;
}
.hero-sub {
  font-size: 1.08rem; color: var(--text-2);
  line-height: 1.8; margin-bottom: 2rem; max-width: 460px;
  animation: slidein .65s var(--ease) .2s both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem;
  animation: slidein .65s var(--ease) .3s both;
}
.hero-stats {
  display: flex; align-items: center; gap: 1.4rem;
  animation: fadein .65s var(--ease) .4s both;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: .73rem; color: var(--text-3); }
.stat-div { width:1px; height:36px; background: var(--border); }

/* Logo Visual in Hero */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  animation: fadein .8s var(--ease) .2s both;
}
.logo-display {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 320px; height: 320px;
}
.logo-display-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(252,141,29,.18);
  animation: spin 20s linear infinite;
}
.logo-display-ring2 {
  position: absolute; inset: 20px; border-radius: 50%;
  border: 1px dashed rgba(252,141,29,.1);
  animation: spin 15s linear infinite reverse;
}
.logo-display-glow {
  position: absolute; inset: 40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(252,141,29,.1) 0%, transparent 70%);
  animation: breathe 3s ease-in-out infinite;
}
.logo-display img {
  width: 180px; height: 180px; object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 24px rgba(252,141,29,.35));
  animation: float-logo 4s ease-in-out infinite;
}
.logo-display-fallback {
  font-size: 3.5rem; font-weight: 900; color: var(--primary);
  position: relative; z-index: 1;
  text-shadow: 0 0 40px rgba(252,141,29,.4);
  animation: float-logo 4s ease-in-out infinite;
}
.hero-float {
  position: absolute;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: .5rem .9rem;
  font-size: .78rem; font-weight: 600;
  display: flex; align-items: center; gap: .4rem;
  box-shadow: var(--shadow-md); white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.hero-float.f1 { top: 15%; right: -10px; animation-delay: 0s; }
.hero-float.f2 { bottom: 20%; left: -10px; animation-delay: 1.5s; }
.hero-float-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float-logo { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-10px) scale(1.02)} }
@keyframes spin { to{transform:rotate(360deg)} }
@keyframes breathe { 0%,100%{opacity:.5;transform:scale(1)} 50%{opacity:1;transform:scale(1.08)} }
@keyframes fadein { from{opacity:0} to{opacity:1} }
@keyframes slidein { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideup { from{opacity:0;transform:translateY(32px)} to{opacity:1;transform:translateY(0)} }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-size: .73rem; color: var(--text-3);
  animation: fadein 1s var(--ease) .6s both;
}
.scroll-caret {
  width: 18px; height: 18px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg);
  animation: caret 2s infinite;
}
@keyframes caret { 0%,100%{opacity:.4;transform:rotate(45deg) translateY(0)} 50%{opacity:1;transform:rotate(45deg) translateY(5px)} }

/* ===== SERVICES ===== */
.services-section { padding: 6rem 0; }
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem;
}
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem 1.6rem;
  transition: all var(--t); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg,var(--primary),var(--primary-light));
  opacity: 0; transition: opacity var(--t);
}
.service-card:hover { border-color: rgba(252,141,29,.5); transform: translateY(-6px); box-shadow: var(--shadow-md),0 0 20px rgba(252,141,29,.08); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: rgba(252,141,29,.4); background: linear-gradient(135deg,var(--surface),rgba(252,141,29,.04)); }
.featured-tag {
  position: absolute; top: 1rem;
  font-size: .72rem; font-weight: 700; color: #000;
  background: var(--primary); padding: .2rem .7rem; border-radius: 99px;
}
body[lang="ar"] .featured-tag { left: 1rem; }
body[lang="en"] .featured-tag { right: 1rem; }

.svc-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.svc-icon-wrap svg { width: 26px; height: 26px; }
.ic-maintenance { background: rgba(252,141,29,.12); color: var(--primary); }
.ic-wash        { background: rgba(59,130,246,.12);  color: #3B82F6; }
.ic-acc         { background: rgba(16,185,129,.12);  color: #10B981; }
.ic-emergency   { background: rgba(239,68,68,.12);   color: #EF4444; }
.ic-tow         { background: rgba(245,158,11,.12);  color: #F59E0B; }

.service-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .5rem; }
.service-card p  { font-size: .88rem; color: var(--text-2); line-height: 1.65; }

/* ===== HOW IT WORKS ===== */
.how-section { padding: 5.5rem 0; background: var(--surface); }
.steps-row {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem;
  position: relative; margin-top: .5rem;
}
.steps-row::before {
  content: '';
  position: absolute; top: 28px;
  height: 2px; background: var(--border);
  z-index: 0;
}
body[lang="ar"] .steps-row::before { right: 10%; left: 10%; }
body[lang="en"] .steps-row::before { left: 10%; right: 10%; }

.step-item { text-align: center; padding: 1.4rem 1rem; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #000;
  font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; box-shadow: 0 4px 16px rgba(252,141,29,.3);
  transition: transform var(--t), box-shadow var(--t);
}
.step-item:hover .step-num { transform: scale(1.1); box-shadow: 0 6px 24px rgba(252,141,29,.4); }
.step-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.step-item p  { font-size: .85rem; color: var(--text-2); }

/* ===== DOWNLOAD ===== */
.download-section { padding: 5.5rem 0; }
.download-card {
  background: linear-gradient(135deg,var(--surface),var(--surface2));
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 3.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute; top: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle,rgba(252,141,29,.1) 0%,transparent 70%);
}
body[lang="ar"] .download-card::before { left: -80px; }
body[lang="en"] .download-card::before { right: -80px; }

.download-text h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: .4rem; }
.download-text p  { font-size: .97rem; color: var(--text-2); line-height: 1.6; }
.download-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.dl-btn {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.5rem; border-radius: var(--r-md);
  border: 1.5px solid var(--border); background: var(--input-bg);
  color: var(--text-1); cursor: pointer;
  transition: all var(--t); font-family: inherit; min-width: 148px;
}
.dl-btn:hover { border-color: var(--primary); background: var(--primary-muted); transform: translateY(-2px); }
.dl-btn.apk { border-color: var(--primary); background: var(--primary); color: #000; }
.dl-btn.apk:hover { background: var(--primary-light); color: #000; }
.dl-btn.provider { border-color: #00B4D8; background: var(--input-bg); color: var(--text-1); }
.dl-btn.provider:hover { background: rgba(0,180,216,.14); border-color: #00B4D8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,180,216,.22); }
.dl-btn.provider .dl-btn-icon svg { color: #00B4D8; }
.dl-btn-icon { flex-shrink: 0; }
.dl-btn-icon svg { width: 26px; height: 26px; }
.dl-btn-text { display: flex; flex-direction: column; }
body[lang="ar"] .dl-btn-text { align-items: flex-end; }
body[lang="en"] .dl-btn-text { align-items: flex-start; }
.dl-btn-text small { font-size: .68rem; opacity: .75; }
.dl-btn-text strong { font-size: .92rem; font-weight: 700; }

/* ===== FOOTER ===== */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-brand img { height: 38px; width: auto; margin-bottom: .9rem; object-fit: contain; }
.footer-logo-txt { font-size: 1.7rem; font-weight: 900; color: var(--primary); display: none; }
.footer-brand p { font-size: .88rem; color: var(--text-3); line-height: 1.6; }
.footer-links-col h5 {
  font-size: .82rem; font-weight: 700; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .4px; margin-bottom: .9rem;
}
.footer-links-col a {
  display: block; font-size: .88rem; color: var(--text-3);
  margin-bottom: .55rem; transition: color var(--t);
}
.footer-links-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.4rem; text-align: center; font-size: .83rem; color: var(--text-3); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: calc(var(--nav-h) + 4.5rem) 0 4rem; text-align: center;
  background: radial-gradient(ellipse 50% 55% at 50% 0%,rgba(252,141,29,.06) 0%,transparent 65%);
}
.page-hero h1 { font-size: clamp(2.1rem,5vw,3.4rem); font-weight: 900; margin: .5rem 0 .75rem; }
.page-hero p  { font-size: 1.03rem; color: var(--text-2); }

/* ===== ABOUT ===== */
.about-story { padding: 5rem 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.story-text h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: 1.1rem; }
.story-lead { font-size: 1.08rem; font-weight: 500; line-height: 1.75; margin-bottom: .9rem; }
.story-text p { font-size: .93rem; color: var(--text-2); line-height: 1.8; margin-bottom: .75rem; }

.about-cards { display: flex; flex-direction: column; gap: 1rem; }
.about-card {
  padding: 1.3rem 1.5rem; border-radius: var(--r-lg);
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid var(--border);
  transition: all var(--t);
}
.about-card:hover { border-color: rgba(252,141,29,.4); transform: translateX(-4px); }
body[lang="en"] .about-card:hover { transform: translateX(4px); }
.about-card-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
/* remove emoji – use SVG icons instead */
.about-card-icon svg { width: 32px; height: 32px; }
.about-card h4 { font-size: .97rem; font-weight: 700; margin-bottom: .15rem; }
.about-card p  { font-size: .83rem; color: var(--text-2); }
.ac-orange { background: var(--primary-muted); border-color: rgba(252,141,29,.25); }
.ac-dark   { background: var(--surface2); }
.ac-glass  { background: rgba(255,255,255,.02); }

.mission-section { padding: 5rem 0; background: var(--surface); }
.mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.mission-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem 1.5rem; text-align: center;
  transition: all var(--t);
}
.mission-card:hover { border-color: rgba(252,141,29,.4); transform: translateY(-4px); }
.mission-icon { margin-bottom: .9rem; }
.mission-icon svg { width: 44px; height: 44px; color: var(--primary); margin: 0 auto; }
.mission-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .5rem; }
.mission-card p  { font-size: .88rem; color: var(--text-2); line-height: 1.65; }

.team-section { padding: 5rem 0; }

/* ===== FOR YOU ===== */
.features-section { padding: 5rem 0; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem;
  display: flex; gap: 1.3rem; align-items: flex-start;
  transition: all var(--t); position: relative;
}
.feat-card:hover { border-color: rgba(252,141,29,.4); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat-card.featured-feat { border-color: rgba(252,141,29,.4); background: linear-gradient(135deg,var(--surface),rgba(252,141,29,.05)); grid-column: 1/-1; }
.feat-new-badge {
  position: absolute; top: 1rem;
  font-size: .72rem; font-weight: 700; color: #000;
  background: var(--primary); padding: .22rem .75rem; border-radius: 99px;
}
body[lang="ar"] .feat-new-badge { left: 1rem; }
body[lang="en"] .feat-new-badge { right: 1rem; }
.feat-icon { font-size: 2rem; flex-shrink: 0; margin-top: .2rem; line-height: 1; }
.feat-icon svg { width: 36px; height: 36px; color: var(--primary); }
.feat-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .45rem; }
.feat-body p  { font-size: .88rem; color: var(--text-2); line-height: 1.65; margin-bottom: .9rem; }
.feat-list { display: flex; flex-direction: column; gap: .3rem; }
.feat-list li { font-size: .83rem; color: var(--text-2); display: flex; align-items: center; gap: .4rem; }
.feat-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
body[lang="en"] .feat-list li::before { order: -1; }

.cta-section { padding: 5rem 0; }
.cta-card {
  background: linear-gradient(135deg,var(--primary),var(--primary-dark));
  border-radius: var(--r-xl); padding: 4rem 3rem; text-align: center; color: #000;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px; background: rgba(255,255,255,.1); border-radius: 50%;
}
.cta-card h2 { font-size: 2rem; font-weight: 800; margin-bottom: .4rem; }
.cta-card p  { font-size: .97rem; opacity: .85; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn-primary { background: #000; color: #fff; }
.cta-actions .btn-primary:hover { background: #111; }
.cta-actions .btn-outline { border-color: #000; color: #000; }
.cta-actions .btn-outline:hover { background: rgba(0,0,0,.1); }

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem;
  position: relative;
}
.auth-page::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 20%, rgba(252,141,29,.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(252,141,29,.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Auth Tab Switcher */
.auth-switcher {
  display: flex; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: .3rem; gap: .3rem;
  margin-bottom: 2rem; position: relative; z-index: 1;
}
.auth-tab {
  flex: 1; text-align: center;
  font-size: .95rem; font-weight: 600; color: var(--text-2);
  padding: .65rem 2rem; border-radius: calc(var(--r-lg) - 2px);
  cursor: pointer; transition: all var(--t); border: none; background: none;
  font-family: inherit;
}
.auth-tab.active { background: var(--primary); color: #000; }

/* Auth Container with Slide Animation */
.auth-container {
  width: 100%; max-width: 440px;
  position: relative; z-index: 1;
  animation: slideup .4s var(--ease) both;
}

.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.auth-card-header {
  padding: 2.4rem 2rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, var(--surface2), var(--surface));
}
.auth-logo { height: 52px; width: auto; margin: 0 auto .9rem; object-fit: contain; }
.auth-logo-txt { font-size: 1.9rem; font-weight: 900; color: var(--primary); display: none; }
.auth-card-header h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .2rem; }
.auth-card-header p  { font-size: .9rem; color: var(--text-2); }

.auth-panels { position: relative; overflow: hidden; }
.auth-panel {
  padding: 2rem;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.auth-panel.hidden {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
}
body[lang="ar"] .auth-panel.hidden.slide-out { transform: translateX(40px); }
body[lang="ar"] .auth-panel.hidden.slide-in  { transform: translateX(-40px); }
body[lang="en"] .auth-panel.hidden.slide-out { transform: translateX(-40px); }
body[lang="en"] .auth-panel.hidden.slide-in  { transform: translateX(40px); }

/* Auth Form */
.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .87rem; font-weight: 600; color: var(--text-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-ic {
  position: absolute;
  font-size: .95rem; pointer-events: none; z-index: 1;
  line-height: 1; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 100%;
}
body[lang="ar"] .input-ic { right: 0; }
body[lang="en"] .input-ic { left: 0; }
.input-ic svg { width: 17px; height: 17px; color: var(--text-3); }

.input-wrap input {
  width: 100%; background: var(--input-bg); border: 1.5px solid var(--border);
  border-radius: var(--r-md); font-size: .93rem; font-family: inherit;
  color: var(--text-1);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
body[lang="ar"] .input-wrap input { padding: .88rem 2.7rem .88rem 1rem; direction: rtl; }
body[lang="en"] .input-wrap input { padding: .88rem 1rem .88rem 2.7rem; direction: ltr; }
.input-wrap input::placeholder { color: var(--text-3); }
.input-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-muted); }

.pass-toggle {
  position: absolute; cursor: pointer; opacity: .55;
  display: flex; align-items: center; justify-content: center; width: 40px; height: 100%;
  transition: opacity var(--t);
}
body[lang="ar"] .pass-toggle { left: 0; }
body[lang="en"] .pass-toggle { right: 0; }
.pass-toggle:hover { opacity: 1; }
.pass-toggle svg { width: 17px; height: 17px; color: var(--text-2); }

.form-row-opts {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.remember-wrap { display: flex; align-items: center; gap: .4rem; cursor: pointer; color: var(--text-2); }
.remember-wrap input[type="checkbox"] { accent-color: var(--primary); width: 15px; height: 15px; }
.forgot-link { color: var(--primary); font-weight: 600; font-size: .85rem; transition: opacity var(--t); }
.forgot-link:hover { opacity: .75; }

/* Error message */
.auth-error {
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3);
  border-radius: var(--r-sm); padding: .65rem 1rem;
  font-size: .85rem; color: var(--error);
  display: none; align-items: center; gap: .5rem;
}
.auth-error.show { display: flex; }
.auth-error svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Success message */
.auth-success {
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--r-sm); padding: .65rem 1rem;
  font-size: .85rem; color: var(--success);
  display: none; align-items: center; gap: .5rem;
}
.auth-success.show { display: flex; }

/* Loading state */
.btn-primary.loading { opacity: .7; cursor: not-allowed; pointer-events: none; }
.btn-primary.loading::before {
  content: ''; width: 18px; height: 18px;
  border: 2px solid rgba(0,0,0,.3); border-top-color: #000;
  border-radius: 50%; animation: spin2 .7s linear infinite;
}
@keyframes spin2 { to{transform:rotate(360deg)} }

.auth-divider { display: flex; align-items: center; gap: .8rem; color: var(--text-3); font-size: .83rem; }
.auth-divider::before,.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.app-notice {
  display: flex; align-items: flex-start; gap: .9rem;
  background: var(--primary-muted); border: 1px solid rgba(252,141,29,.28);
  border-radius: var(--r-md); padding: 1.1rem;
}
.app-notice-ic { flex-shrink: 0; }
.app-notice-ic svg { width: 22px; height: 22px; color: var(--primary); }
.app-notice-text strong { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .2rem; }
.app-notice-text p { font-size: .8rem; color: var(--text-2); line-height: 1.4; }

.auth-footer-link {
  text-align: center; font-size: .88rem; color: var(--text-2); padding-top: .5rem;
}
.auth-footer-link a { color: var(--primary); font-weight: 700; }
.auth-footer-link a:hover { text-decoration: underline; }

/* ===== APP SERVICES MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2.5rem 2rem;
  max-width: 400px; width: 100%; text-align: center;
  transform: scale(.92) translateY(20px);
  transition: transform .28s var(--ease);
}
.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }
.modal-box-ic { margin-bottom: 1rem; }
.modal-box-ic svg { width: 52px; height: 52px; color: var(--primary); margin: 0 auto; }
.modal-box h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: .5rem; }
.modal-box p  { font-size: .92rem; color: var(--text-2); line-height: 1.65; margin-bottom: 1.5rem; }
.modal-actions { display: flex; gap: .8rem; flex-direction: column; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-visual { order: -1; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-float.f1 { right: 0; }
  .hero-float.f2 { left: 0; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .steps-row { grid-template-columns: repeat(2,1fr); }
  .steps-row::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .story-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-card.featured-feat { grid-column: auto; }
}

@media(max-width:768px) {
  .nav-logo img { height: 42px; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem; flex-direction: column; align-items: flex-start; gap: .25rem;
    transform: translateY(-110%); opacity: 0; transition: all .3s var(--ease); z-index: 999;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-link,.nav-btn-primary { width: 100%; padding: .75rem 1rem; }
  .nav-controls { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .download-card { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .logo-display { width: 220px; height: 220px; }
  .logo-display img { width: 120px; height: 120px; }
  .hero-float { display: none; }
  .cta-card { padding: 2.5rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .auth-page { padding: calc(var(--nav-h) + 1.5rem) 1rem 2rem; }
}

@media(max-width:480px) {
  .steps-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,.hero-actions .btn-outline { width: 100%; justify-content: center; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.3rem; }
  .download-btns { flex-direction: column; }
  .dl-btn { min-width: unset; width: 100%; }
  .auth-tab { padding: .6rem 1.2rem; font-size: .88rem; }
}
