/* ===== RAFD SMART PLATFORM — MOBILE-FIRST CSS ===== */
/* Colors: #1a3a4a (dark blue) + #4a9d6f (green) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

@font-face { font-family: 'ThmanyahSans'; src: url('/fonts/thmanyah-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'ThmanyahSans'; src: url('/fonts/thmanyah-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'ThmanyahSans'; src: url('/fonts/thmanyah-Medium.otf') format('opentype'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'ThmanyahSans'; src: url('/fonts/thmanyah-Bold.otf') format('opentype'); font-weight: 700 900; font-display: swap; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { -webkit-user-select: none; user-select: none; }
input, textarea, select, [contenteditable] { -webkit-user-select: text; user-select: text; }

:root {
  --primary: #1a3a4a;
  --primary-light: #2d5a6e;
  --accent: #4a9d6f;
  --accent-light: #5bb882;
  --dark: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --font-heading: 'ThmanyahSans', sans-serif;
  --font-body: 'ThmanyahSans', sans-serif;
  --font-en: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); direction: rtl; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: geometricPrecision; font-synthesis: none; font-feature-settings: 'calt' 1, 'liga' 1, 'ss01' 1, 'salt' 1, 'kern' 1; font-variant-ligatures: common-ligatures contextual; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ===== HEADINGS ===== */
h1, h2, h3, .hero-title, .section-title, .cta-title, .step-title, .feature-title, .sector-name, .price-plan {
  font-family: var(--font-heading);
  font-weight: 800;
  font-feature-settings: 'calt' 1, 'liga' 1, 'ss01' 1, 'salt' 1, 'kern' 1;
  letter-spacing: -0.02em;
}

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; right: 0; left: 0; z-index: 1000; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: all .3s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-logo { height: 88px; width: auto; max-width: 220px; object-fit: contain; filter: contrast(1.05) drop-shadow(0 2px 6px rgba(0,0,0,.10)); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.35rem; font-weight: 700; color: var(--primary); line-height: 1.2; font-family: var(--font-heading); letter-spacing: -.02em; }
.brand-tagline { font-size: .7rem; color: var(--muted); font-weight: 600; font-family: var(--font-body); }
.nav-links { display: none; list-style: none; gap: 1.5rem; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .9rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: none; align-items: center; gap: .75rem; }
.btn-ghost { color: var(--primary); text-decoration: none; font-size: .85rem; font-weight: 600; padding: .45rem .9rem; border-radius: 8px; transition: all .2s; }
.btn-ghost:hover { background: var(--bg); }
.btn-primary-sm { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; text-decoration: none; font-size: .85rem; font-weight: 700; padding: .55rem 1.1rem; border-radius: 10px; transition: all .2s; white-space: nowrap; }
.btn-primary-sm:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,58,74,.25); }
.hamburger { display: flex; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--primary); padding: .4rem; align-items: center; justify-content: center; border-radius: 8px; transition: background .2s; }
.hamburger:hover { background: var(--bg); }
.lang-toggle { background: none; border: 1.5px solid var(--border); border-radius: 8px; padding: .35rem .8rem; font-size: .78rem; font-weight: 700; color: var(--primary); cursor: pointer; transition: all .2s; font-family: var(--font-heading); white-space: nowrap; }
.lang-toggle:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.login-dropdown-wrap { position: relative; }
.login-drop { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,.14); min-width: 200px; overflow: hidden; z-index: 999; }
.login-drop.open { display: block; }
.login-drop-item { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; color: #1e293b; text-decoration: none; transition: background .15s; }
.login-drop-item:hover { background: #f8fafc; }
.login-drop-item + .login-drop-item { border-top: 1px solid #f1f5f9; }

/* روابط الدخول في القائمة على الجوال فقط */
.nav-links .mobile-nav-login,
.nav-links .mobile-nav-sep { display: none; }
.nav-links.mobile-open .mobile-nav-login { display: list-item; }
.nav-links.mobile-open .mobile-nav-sep { display: list-item; border-top: 1px solid #e2e8f0; margin: .4rem 0; list-style: none; }
.nav-links .mobile-nav-login a { display: block; padding: .7rem 0; color: var(--primary); font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav-links .mobile-nav-cta a { color: #4a9d6f; font-weight: 800; }
@media (min-width: 1024px) {
  .nav-links .mobile-nav-login,
  .nav-links .mobile-nav-sep { display: none !important; }
}

/* Mobile nav menu */
.mobile-menu { display: none; position: fixed; top: 60px; right: 0; left: 0; background: #fff; border-bottom: 1px solid var(--border); z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,.1); padding: 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin-bottom: 1rem; }
.mobile-menu ul li { border-bottom: 1px solid var(--bg); }
.mobile-menu ul li a { display: block; padding: .85rem .5rem; color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 600; }
.mobile-menu-actions { display: flex; gap: .75rem; }
.mobile-menu-actions a { flex: 1; text-align: center; padding: .75rem; border-radius: 10px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.mobile-menu-actions .m-login { background: var(--bg); color: var(--primary); border: 1.5px solid var(--border); }
.mobile-menu-actions .m-signup { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }

/* ===== HERO ===== */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 60px; position: relative; overflow: hidden; background: linear-gradient(135deg, #050d1f 0%, #0a1a3e 55%, #061020 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.glow-1 { width: 420px; height: 420px; background: rgba(37,99,235,.18); top: -80px; right: -80px; }
.glow-2 { width: 320px; height: 320px; background: rgba(139,92,246,.14); bottom: -60px; left: -60px; }
.glow-3 { width: 200px; height: 200px; background: rgba(16,185,129,.1); top: 40%; left: 30%; }
.hero-inner { display: flex; flex-direction: column; gap: 2rem; align-items: center; padding: 2.5rem 0; text-align: center; position: relative; z-index: 1; width: 100%; }
.hero-content { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; }

.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.25); color: #38bdf8; font-size: .78rem; font-weight: 700; padding: .4rem .9rem; border-radius: 20px; margin-bottom: 1rem; }
.badge-dot { width: 7px; height: 7px; background: #38bdf8; border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.hero-title { font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1.55; margin-bottom: 1rem; font-family: 'ThmanyahSans', sans-serif; text-align: center; width: 100%; overflow: visible; font-feature-settings: 'calt' 1, 'liga' 1, 'ss01' 1; }
.ht-center { display: block; text-align: center; font-feature-settings: 'calt' 1, 'liga' 1, 'ss01' 1, 'ss02' 1, 'salt' 1; }
.gradient-text { background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; padding-bottom: 0.15em; line-height: 1.6; font-feature-settings: 'calt' 1, 'liga' 1, 'ss01' 1, 'ss02' 1, 'salt' 1; }
.ht-center.gradient-text { display: block; }
.hero-desc { font-size: .95rem; color: #7aa8cc; line-height: 1.85; margin-bottom: 1.5rem; max-width: 480px; text-align: center; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; flex-direction: column; gap: .85rem; width: 100%; max-width: 340px; margin-bottom: 2rem; margin-left: auto; margin-right: auto; }
.btn-hero-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; text-decoration: none; font-size: 1rem; font-weight: 700; padding: 1rem 1.5rem; border-radius: 14px; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: .5rem; box-shadow: 0 6px 20px rgba(26,58,74,.25); }
.btn-hero-primary:active { transform: scale(.98); }
.btn-hero-ghost { background: rgba(255,255,255,.9); color: var(--primary); text-decoration: none; font-size: 1rem; font-weight: 700; padding: 1rem 1.5rem; border-radius: 14px; border: 2px solid var(--border); transition: all .2s; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-hero-ghost:active { background: #fff; border-color: var(--primary); }
.play-icon { font-size: .9rem; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; width: 100%; max-width: 400px; margin-left: auto; margin-right: auto; }
.stat { text-align: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .85rem .5rem; display: flex; flex-direction: column; align-items: center; gap: .2rem; backdrop-filter: blur(8px); }
.stat-num { display: flex; align-items: center; justify-content: center; gap: .2rem; font-size: 1.5rem; font-weight: 900; color: #38bdf8; font-family: var(--font-heading); line-height: 1.2; white-space: nowrap; direction: rtl; }
.stat-label { font-size: .72rem; color: #4a7aaa; font-weight: 600; line-height: 1.3; text-align: center; white-space: nowrap; }
.stat-divider { display: none; }
.hero-visual { display: none; }

/* ===== MACBOOK MOCKUP ===== */
.browser-frame{border-radius:16px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.45),0 0 20px rgba(201,168,76,.3);background:#fff;width:100%;border:2.5px solid #C9A84C}
.browser-bar{display:flex;align-items:center;gap:.5rem;background:#f1f5f9;padding:.6rem 1rem;border-bottom:1px solid #e2e8f0}
.browser-url{flex:1;background:#fff;border-radius:6px;padding:.25rem .75rem;font-size:.75rem;color:#64748b;font-family:var(--font-heading);border:1px solid #e2e8f0;direction:ltr}

/* ===== DASHBOARD MOCKUP ===== */
.dashboard-mockup { background: #fff; border-radius: 0; box-shadow: none; overflow: hidden; width: 100%; max-width: none; border: none; }
.mockup-bar { background: #f1f5f9; padding: .75rem 1rem; display: flex; align-items: center; gap: .4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #28ca41; }
.mockup-url { font-size: .75rem; color: var(--muted); margin-right: auto; font-family: monospace; }
.mockup-body { display: flex; height: 400px; }
.mockup-sidebar { width: 60px; background: linear-gradient(160deg,#1e3a5f 0%,#0f2040 50%,#1e3a5f 100%); display: flex; flex-direction: column; align-items: center; padding: 1rem .5rem; gap: 1rem; }
.ms-logo { width: 36px; height: 36px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 1rem; }
.ms-item { font-size: 1.3rem; cursor: pointer; opacity: .5; transition: opacity .2s; }
.ms-item.active { opacity: 1; }
.mockup-content { flex: 1; overflow: hidden; position: relative; height: 100%; }
/* ---- Mockup slideshow (3 screens × 4s each, 12s cycle) ---- */
.mock-slide { position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 1.2rem; overflow: hidden; opacity: 0; box-sizing: border-box; }
.mock-slide-1 { animation: mockFade1 12s ease-in-out infinite; }
.mock-slide-2 { animation: mockFade2 12s ease-in-out infinite; }
.mock-slide-3 { animation: mockFade3 12s ease-in-out infinite; }
@keyframes mockFade1 {
  0%,28%  { opacity:1; transform:translateY(0); }
  33%,97% { opacity:0; transform:translateY(-8px); }
  100%    { opacity:1; transform:translateY(0); }
}
@keyframes mockFade2 {
  0%,28%  { opacity:0; transform:translateY(8px); }
  33%,61% { opacity:1; transform:translateY(0); }
  66%,100%{ opacity:0; transform:translateY(-8px); }
}
@keyframes mockFade3 {
  0%,61%  { opacity:0; transform:translateY(8px); }
  66%,95% { opacity:1; transform:translateY(0); }
  100%    { opacity:0; transform:translateY(-8px); }
}
/* ---- Slide 3: AI Evaluation ---- */
.ms3-candidate { background:#f0fdf4; border:1px solid #bbf7d0; border-radius:10px; padding:.65rem .8rem; margin-bottom:.75rem; }
.ms3-info { display:flex; align-items:center; justify-content:space-between; margin-bottom:.4rem; }
.ms3-name { font-size:.9rem; font-weight:700; color:#0f172a; }
.ms3-status { font-size:.72rem; font-weight:700; padding:.2rem .55rem; border-radius:6px; }
.ms3-status.green { background:#dcfce7; color:#166534; }
.ms3-score-row { display:flex; align-items:center; gap:.6rem; }
.ms3-bar-track { flex:1; background:#dcfce7; border-radius:6px; height:10px; overflow:hidden; }
.ms3-bar-fill { height:100%; border-radius:6px; background:linear-gradient(90deg,#10b981,#34d399); }
.ms3-score-num { font-size:1.1rem; font-weight:900; color:#059669; white-space:nowrap; }
.ms3-score-num small { font-size:.65em; color:#6b7280; font-weight:600; }
.ms3-criteria { display:flex; flex-direction:column; gap:.45rem; margin-bottom:.7rem; }
.ms3-cr-row { display:flex; align-items:center; gap:.5rem; }
.ms3-cr-lbl { font-size:.65rem; color:#475569; font-weight:700; min-width:42px; text-align:right; flex-shrink:0; }
.ms3-ai-rec { display:flex; align-items:center; gap:.5rem; background:#fefce8; border:1px solid #fde68a; border-radius:8px; padding:.5rem .7rem; }
.ms3-ai-icon { font-size:1rem; flex-shrink:0; }
.ms3-ai-rec span { font-size:.68rem; color:#92400e; font-weight:700; line-height:1.4; }
/* ---- Slide 2: Statistics ---- */
.ms2-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:.4rem; margin-bottom:.7rem; }
.ms2-kpi { border-radius:8px; padding:.65rem .25rem; text-align:center; }
.ms2-kpi-blue  { background:linear-gradient(135deg,#eff6ff,#dbeafe); border:1px solid #bfdbfe; }
.ms2-kpi-green { background:linear-gradient(135deg,#f0fdf4,#dcfce7); border:1px solid #bbf7d0; }
.ms2-kpi-red   { background:linear-gradient(135deg,#fef2f2,#fee2e2); border:1px solid #fecaca; }
.ms2-kpi-amber { background:linear-gradient(135deg,#fffbeb,#fef3c7); border:1px solid #fde68a; }
.ms2-kpi-num { font-size:1.1rem; font-weight:900; color:#0f172a; line-height:1.1; }
.ms2-kpi-lbl { font-size:.57rem; color:#64748b; font-weight:600; margin-top:.15rem; }
/* Donut + body */
.ms2-body { display:flex; gap:.8rem; align-items:flex-start; margin-bottom:.7rem; }
.ms2-donut-wrap { display:flex; flex-direction:column; align-items:center; gap:.5rem; flex-shrink:0; }
.ms2-donut { width:80px; height:80px; border-radius:50%; background:conic-gradient(#10b981 0% 64%, #ef4444 64% 91%, #f59e0b 91% 100%); position:relative; }
.ms2-donut::after { content:'64%'; position:absolute; inset:14px; background:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.68rem; font-weight:900; color:#10b981; }
.ms2-donut-legend { display:flex; flex-direction:column; gap:.28rem; }
.ms2-legend-item { display:flex; align-items:center; gap:.3rem; font-size:.62rem; color:#334155; font-weight:600; }
.ms2-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; }
/* Sector bars */
.ms2-sectors { flex:1; }
.ms2-sec-title { font-size:.65rem; font-weight:700; color:#334155; margin-bottom:.45rem; }
.ms2-sec-row { display:flex; align-items:center; gap:.4rem; margin-bottom:.38rem; }
.ms2-sec-lbl { font-size:.62rem; color:#64748b; font-weight:600; min-width:34px; text-align:right; flex-shrink:0; }
.ms2-sec-track { flex:1; background:#f1f5f9; border-radius:4px; height:8px; overflow:hidden; }
.ms2-sec-fill { height:100%; border-radius:4px; }
.ms2-sec-pct { font-size:.58rem; color:#94a3b8; font-weight:700; min-width:18px; text-align:left; flex-shrink:0; }
/* Footer row */
.ms2-footer { display:grid; grid-template-columns:repeat(3,1fr); gap:.4rem; border-top:1px solid #f1f5f9; padding-top:.6rem; }
.ms2-footer-item { text-align:center; }
.ms2-f-lbl { display:block; font-size:.56rem; color:#94a3b8; font-weight:600; margin-bottom:.1rem; }
.ms2-f-val { font-size:.95rem; font-weight:900; }
.ms2-f-val small { font-size:.6em; font-weight:600; color:#94a3b8; }
.mc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mc-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.mc-badge { background: var(--accent); color: #fff; font-size: .85rem; font-weight: 700; padding: .25rem .7rem; border-radius: 8px; }
.mc-cards { display: flex; flex-direction: column; gap: .65rem; margin-bottom: .8rem; }
.mc-card { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-radius: 10px; font-size: 1rem; }
.mc-card.accepted { background: #f0fdf4; border: 1px solid #bbf7d0; }
.mc-card.rejected { background: #fef2f2; border: 1px solid #fecaca; }
.mc-card.processing { background: #fffbeb; border: 1px solid #fde68a; }
.mc-name { font-weight: 600; color: var(--dark); }
.mc-score { font-weight: 700; color: var(--muted); }
.mc-status { font-size: .9rem; font-weight: 700; padding: .2rem .65rem; border-radius: 6px; }
.mc-status.green { background: #dcfce7; color: #166534; }
.mc-status.red { background: #fee2e2; color: #991b1b; }
.mc-status.yellow { background: #fef3c7; color: #92400e; }
.mc-chart { display: flex; align-items: flex-end; gap: .25rem; height: 50px; }
.chart-bar { flex: 1; background: #e2e8f0; border-radius: 3px 3px 0 0; display: flex; align-items: flex-end; justify-content: center; }
.chart-bar.active { background: linear-gradient(180deg, var(--accent), var(--primary)); }
.chart-bar span { font-size: .5rem; color: var(--muted); margin-bottom: -14px; }

/* ===== TRUSTED ===== */
.trusted { padding: 2rem 0; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.trusted-label { text-align: center; font-size: .75rem; color: var(--muted); font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.trusted-logos { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; padding: 0 .5rem; }
.trusted-item { font-size: .82rem; color: var(--muted); font-weight: 600; padding: .5rem 1rem; background: #fff; border: 1px solid var(--border); border-radius: 10px; white-space: nowrap; }

/* ===== SECTIONS COMMON ===== */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-tag { display: inline-block; background: rgba(74,157,111,.1); color: var(--accent); font-size: .78rem; font-weight: 700; padding: .35rem .9rem; border-radius: 20px; margin-bottom: .75rem; }
.section-title { font-size: 1.75rem; font-weight: 900; color: var(--dark); margin-bottom: .75rem; line-height: 1.3; font-family: var(--font-heading); }
.section-desc { font-size: .9rem; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.8; }

/* ===== HOW IT WORKS ===== */
.how-section { padding: 3.5rem 0; background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 100%); }
.how-steps { display: flex; flex-direction: column; gap: 1rem; }
.how-step { text-align: center; padding: 1.5rem 1.25rem; border-radius: 16px; border: 1px solid var(--border); transition: all .3s; position: relative; background: var(--bg); }
.how-step:active { transform: scale(.99); }
.step-num { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 900; color: #fff; margin: 0 auto .75rem; }
.step-title { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: .4rem; font-family: var(--font-heading); }
.step-desc { font-size: .85rem; color: var(--muted); line-height: 1.7; }

/* ===== FEATURES ===== */
.features-section { padding: 3.5rem 0; background: linear-gradient(160deg, #f0fdf4 0%, #dcfce7 100%); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature-card { background: var(--white); border-radius: 16px; padding: 1.25rem; border: 1px solid var(--border); transition: all .3s; }
.feature-card:active { transform: scale(.99); }
.feature-icon { width: 46px; height: 46px; background: linear-gradient(135deg, rgba(26,58,74,.08), rgba(74,157,111,.1)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .75rem; }
.feature-title { font-size: .9rem; font-weight: 800; color: var(--dark); margin-bottom: .35rem; font-family: var(--font-heading); }
.feature-desc { font-size: .8rem; color: var(--muted); line-height: 1.6; }

/* ===== SECTORS ===== */
.sectors-section { padding: 3.5rem 0; background: linear-gradient(160deg, #faf5ff 0%, #ede9fe 100%); }
.sectors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sector-card { background: linear-gradient(135deg, var(--bg), #fff); border-radius: 16px; padding: 1.25rem; border: 1px solid var(--border); text-align: center; transition: all .3s; cursor: pointer; }
.sector-card:active { transform: scale(.98); }
.sector-icon { font-size: 2rem; margin-bottom: .6rem; }
.sector-name { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: .35rem; font-family: var(--font-heading); }
.sector-desc { font-size: .78rem; color: var(--muted); line-height: 1.6; }

/* ===== DEMO SECTION ===== */
.demo-section { padding: 3.5rem 0; background: linear-gradient(160deg, var(--primary) 0%, #0f2535 60%, #1a4a3a 100%); color: #fff; }
.demo-inner { display: flex; flex-direction: column; gap: 2rem; }
.demo-text .section-tag { background: rgba(255,255,255,.15); color: #fff; }
.demo-text .section-title { color: #fff; }
.demo-text .section-desc { color: rgba(255,255,255,.75); text-align: center; margin: 0 0 1.5rem; }
.demo-steps-list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.75rem; }
.demo-step-item { display: flex; align-items: center; gap: .85rem; }
.dsi-num { width: 30px; height: 30px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; flex-shrink: 0; }
.dsi-text { font-size: .88rem; color: rgba(255,255,255,.85); }
.btn-demo-cta { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: #fff; text-decoration: none; font-size: 1rem; font-weight: 700; padding: 1rem 1.75rem; border-radius: 14px; display: inline-flex; align-items: center; gap: .5rem; transition: all .2s; box-shadow: 0 6px 20px rgba(74,157,111,.35); }
.btn-demo-cta:active { transform: scale(.98); }
.demo-terminal { background: #0d1117; border-radius: 14px; overflow: hidden; }
.dt-header { background: #1c2128; padding: .65rem .9rem; display: flex; align-items: center; gap: .45rem; }
.dt-dot { width: 11px; height: 11px; border-radius: 50%; }
.dt-dot.r { background: #ff5f57; } .dt-dot.y { background: #ffbd2e; } .dt-dot.g { background: #28ca41; }
.dt-title { color: #8b949e; font-size: .72rem; margin-right: auto; font-family: monospace; }
.dt-body { padding: 1rem; }
.dt-line { font-family: 'Courier New', monospace; font-size: .78rem; color: #e6edf3; margin-bottom: .55rem; line-height: 1.5; }
.dt-line .g { color: #10b981; } .dt-line .y { color: #f59e0b; } .dt-line .b { color: #60a5fa; }

/* ===== PRICING ===== */
.pricing-section { padding: 3.5rem 0; background: var(--bg); }
.pricing-grid { display: flex; flex-direction: column; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
/* New split price card */
.price-card { background: var(--white); border-radius: 22px; border: 1.5px solid var(--border); transition: all .3s; position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
/* Card color themes */
.price-card-blue { background: linear-gradient(160deg,#f0f4ff,#e8eeff); border-color: #93c5fd; }
.price-card-blue .price-visual { background: rgba(219,234,254,.4); border-color: rgba(147,197,253,.4); }
.price-card-purple { background: linear-gradient(160deg,#f5f3ff,#ede9fe); border-color: #a78bfa; }
.price-card-purple .price-visual { background: rgba(237,233,254,.5); border-color: rgba(167,139,250,.3); }
.price-card-gold { background: linear-gradient(160deg,#fffbeb,#fef3c7); border-color: #fbbf24; }
.price-card-gold .price-visual { background: rgba(254,243,199,.6); border-color: rgba(251,191,36,.3); }
/* Popular = برو (gold) */
.price-card.popular { border-color: #c8920e; box-shadow: 0 12px 40px rgba(184,120,10,.22); }
.popular-badge { position: absolute; top: 16px; left: 16px; background: linear-gradient(135deg,#b8780a,#e0a020,#c8920e); color: #fff; font-size: .7rem; font-weight: 700; padding: .28rem .85rem; border-radius: 20px; white-space: nowrap; z-index:2; }
.btn-price.purple { background: linear-gradient(135deg,#7c3aed,#a855f7); color: #fff; box-shadow: 0 4px 16px rgba(124,58,237,.35); }
.btn-price.purple:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,.5); filter: brightness(1.08); }
.price-text { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.price-visual { background: #f8fafc; border-top: 1.5px solid var(--border); padding: 1rem; display: flex; align-items: center; justify-content: center; min-height: 160px; overflow: hidden; }
.price-visual .pv-window { transform: scale(0.72); transform-origin: center center; }
.price-plan { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .06em; }
.price-amount { font-size: 2.4rem; font-weight: 900; color: var(--dark); font-family: var(--font-heading); }
/* Wireframe mockup inside price-visual */
.pv-window{background:#fff;border-radius:12px;border:1.5px solid #e2e8f0;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.08);width:100%;max-width:340px}
.pv-bar{background:#f1f5f9;padding:.45rem .75rem;display:flex;align-items:center;gap:.35rem;border-bottom:1px solid #e2e8f0}
.pv-bar i{width:8px;height:8px;border-radius:50%;background:#e2e8f0;display:inline-block;flex-shrink:0}
.pv-bar i:first-child{background:#fca5a5}.pv-bar i:nth-child(2){background:#fde68a}.pv-bar i:nth-child(3){background:#bbf7d0}
.pv-url{flex:1;background:#fff;border:1px solid #e2e8f0;border-radius:5px;height:16px;margin:0 .4rem}
.pv-inner{padding:.75rem;display:flex;gap:.6rem}
.pv-sidebar-mini{width:28px;background:#1a3a4a;border-radius:6px;display:flex;flex-direction:column;align-items:center;padding:.5rem .3rem;gap:.5rem;flex-shrink:0}
.pv-sidebar-mini span{width:14px;height:3px;background:rgba(255,255,255,.25);border-radius:2px;display:block}
.pv-sidebar-mini span.active{background:rgba(255,255,255,.8)}
.pv-content-area{flex:1;display:flex;flex-direction:column;gap:.45rem}
.pv-line{height:6px;background:#e2e8f0;border-radius:3px}.pv-line.short{width:55%}.pv-line.accent{background:#bbf7d0}.pv-line.blue{background:#bae6fd}
.pv-card-row{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;padding:.4rem .6rem;display:flex;align-items:center;gap:.4rem}
.pv-card-row.red{background:#fef2f2;border-color:#fecaca}
.pv-card-row.yellow{background:#fffbeb;border-color:#fde68a}
.pv-avatar{width:16px;height:16px;border-radius:50%;background:#c7d2fe;flex-shrink:0}
.pv-card-lines{flex:1;display:flex;flex-direction:column;gap:3px}
.pv-card-lines span{height:4px;background:#d1d5db;border-radius:2px;display:block}.pv-card-lines span:last-child{width:50%}
.pv-badge{font-size:8px;font-weight:700;background:#dcfce7;color:#166534;padding:1px 5px;border-radius:3px;flex-shrink:0}
.pv-badge.r{background:#fee2e2;color:#991b1b}.pv-badge.y{background:#fef3c7;color:#92400e}
.pv-chart-row{display:flex;align-items:flex-end;gap:3px;height:36px;padding-top:.25rem}
.pv-bar-c{flex:1;border-radius:3px 3px 0 0;background:#e2e8f0}.pv-bar-c.a{background:linear-gradient(180deg,#4a9d6f,#1a3a4a)}
.pv-stats-row{display:flex;gap:.4rem}
.pv-stat-box{flex:1;background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px;height:32px}
.price-period { font-size: .82rem; color: var(--muted); }
.price-desc { font-size: .82rem; color: var(--muted); margin: .85rem 0 1.25rem; line-height: 1.6; }
.price-features { list-style: none; margin-bottom: 1.75rem; }
.price-features li { display: flex; align-items: center; gap: .65rem; font-size: .82rem; color: var(--text); margin-bottom: .55rem; }
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.btn-price { display: block; text-align: center; padding: .85rem; border-radius: 12px; font-family: var(--font-body); font-size: .9rem; font-weight: 700; text-decoration: none; transition: all .2s; cursor: pointer; border: none; }
.btn-price.outline { background: #1a3a4a; color: #fff; border: none; }
.btn-price.outline:hover { background: #0f2030; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,32,48,.35); }
.btn-price.solid { background: #1a3a4a; color: #fff; }
.btn-price.solid:hover { background: #0f2030; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,32,48,.35); }
.btn-price.gold { background: linear-gradient(135deg, #b8780a, #e0a020, #c8920e); color: #fff; box-shadow: 0 4px 16px rgba(184,120,10,.35); }
.btn-price.gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(184,120,10,.5); filter: brightness(1.08); }

/* ===== CTA ===== */
.cta-section { padding: 3.5rem 0; background: var(--white); }
.cta-box { background: linear-gradient(160deg, var(--primary), var(--primary-light), #1a4a3a); border-radius: 20px; padding: 2.5rem 1.5rem; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -40%; right: -10%; width: 200px; height: 200px; background: rgba(255,255,255,.05); border-radius: 50%; }
.cta-title { font-size: 1.75rem; font-weight: 900; margin-bottom: .75rem; position: relative; font-family: var(--font-heading); }
.cta-desc { font-size: .9rem; opacity: .8; margin-bottom: 1.75rem; position: relative; line-height: 1.7; }
.cta-actions { display: flex; flex-direction: column; gap: .85rem; position: relative; }
.btn-cta-white { background: #fff; color: var(--primary); text-decoration: none; font-size: .95rem; font-weight: 700; padding: .95rem 1.5rem; border-radius: 12px; transition: all .2s; display: block; }
.btn-cta-white:active { transform: scale(.98); }
.btn-cta-outline { background: transparent; color: #fff; text-decoration: none; font-size: .95rem; font-weight: 700; padding: .95rem 1.5rem; border-radius: 12px; border: 2px solid rgba(255,255,255,.4); transition: all .2s; display: block; }
.btn-cta-outline:active { border-color: #fff; background: rgba(255,255,255,.1); }

/* ===== PHONE WITH COUNTRY CODE ===== */
.phone-wrap { display: flex; gap: 0; }
.phone-wrap select.cc-select { background: var(--bg); border: 1.5px solid var(--border); border-left: none; border-radius: 10px 0 0 10px; padding: .55rem .5rem; font-family: var(--font-en); font-size: .8rem; font-weight: 600; color: var(--primary); cursor: pointer; outline: none; flex-shrink: 0; direction: ltr; }
.phone-wrap input { border-radius: 0 10px 10px 0 !important; flex: 1; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 2.5rem 0 1.5rem; }
.footer-grid { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; }
.footer-brand .brand-tagline { color: rgba(255,255,255,.5); }
.footer-desc { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.8; margin-top: .75rem; }
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: .85rem; font-family: var(--font-heading); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; align-items: center; text-align: center; }
.footer-copy { font-size: .78rem; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .78rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

/* ===== DEMO JOBS PAGE NAV ===== */
.nav { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 0 1rem; height: 60px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(0,0,0,.06); }

/* ===== TABLET (min-width: 640px) ===== */
@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
  .hero-title { font-size: 2.8rem; }
  .hero-cta { flex-direction: row; max-width: 100%; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: 100%; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { max-width: 900px; flex-direction: column; }
  .price-card { grid-template-columns: 1fr; }
  .price-visual { min-height: 200px; }
  .cta-actions { flex-direction: row; justify-content: center; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: right; }
}

/* ===== DESKTOP (min-width: 1024px) ===== */
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
  .nav-inner { height: 90px; padding: 0 2rem; }
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .hamburger { display: none; }
  .hero-inner { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 3rem; align-items: center; padding: 4rem 0; text-align: right; }
  .hero-content { align-items: flex-start; text-align: right; padding: 0; width: auto; }
  .hero-cta { justify-content: flex-start; margin-left: 0; margin-right: 0; width: auto; max-width: none; flex-direction: row; }
  .hero-stats { display: flex; align-items: flex-start; gap: 1.5rem; max-width: none; margin-left: 0; margin-right: 0; }
  .hero-stats .stat { background: transparent; border: none; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; }
  .stat-divider { display: block; width: 1px; height: 40px; background: var(--border); }
  .hero-badge { display: inline-flex; }
  .hero-visual { display: flex; justify-content: center; align-items: center; perspective: 1400px; }
  .hero-visual .browser-frame { transform: scale(0.78); transform-origin: center center; transition: transform .5s ease; box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 18px rgba(201,168,76,.22); }
  .hero-visual .browser-frame:hover { transform: scale(0.8); }
  .hero-title { font-size: 2.8rem; text-align: right; line-height: 1.4; }
  .hero-title .ht-center { text-align: right; }
  .hero-desc { text-align: right; margin-left: 0; margin-right: 0; max-width: 100%; }
  .section-title { font-size: 2.5rem; }
  .section-header { margin-bottom: 4rem; }
  .how-section { padding: 6rem 0; }
  .how-steps { grid-template-columns: repeat(4, 1fr); }
  .how-step { padding: 2rem 1.5rem; }
  .features-section { padding: 6rem 0; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .sectors-section { padding: 6rem 0; }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .demo-section { padding: 6rem 0; }
  .demo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .demo-text .section-desc { text-align: right; margin: 0 0 2rem; }
  .pricing-section { padding: 6rem 0; }
  .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1100px; flex-direction: unset; }
  .price-card { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .price-text { padding: 2rem; flex: 1; }
  .price-visual { border-top: 1.5px solid rgba(0,0,0,.07); border-right: none; }
  .cta-section { padding: 6rem 0; }
  .cta-box { padding: 4rem; }
  .cta-title { font-size: 2.5rem; }
  .footer { padding: 4rem 0 2rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
}
