/* ── Landing Page Styles ── */
:root {
  --primary: #f97316;
  --primary-light: #fb923c;
  --bg: #0f1117;
  --surface: #1a1d27;
  --surface2: #22263a;
  --border: #2e3249;
  --text: #e2e8f0;
  --text-muted: #8892b0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
[dir="rtl"] body { font-family: 'Segoe UI', 'Cairo', 'Tajawal', system-ui, sans-serif; }

a { text-decoration: none; color: inherit; }

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(15,17,23,0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.nav-icon { width: 32px; height: 32px; border-radius: 8px; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switcher, .lang-switcher-auth {
  display: flex;
  gap: 0.3rem;
  background: var(--surface2);
  border-radius: 8px;
  padding: 3px;
  border: 1px solid var(--border);
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--primary);
  color: #fff;
}

.btn-nav-login {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.15s;
}
.btn-nav-login:hover { border-color: var(--primary); color: var(--primary); }

/* HERO */
.hero {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--primary);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.highlight { color: var(--primary); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.btn-try {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  box-shadow: 0 0 32px rgba(249,115,22,0.35);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}
.btn-try:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(249,115,22,0.5);
}
.hero-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FEATURES */
.features {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feat-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}
.feat-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feat-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, rgba(249,115,22,0.1) 0%, rgba(249,115,22,0.05) 100%);
  border-top: 1px solid rgba(249,115,22,0.2);
  border-bottom: 1px solid rgba(249,115,22,0.2);
  text-align: center;
  padding: 5rem 1.5rem;
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.cta-banner p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; }

/* FOOTER */
.footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
