/* ===== RAFD SMART PLATFORM — MOBILE-FIRST CSS ===== */
/* Colors: #0A1628 (navy) + #0B5D3B (green) + #C9A24B (gold) */
@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: #0A1628;
  --primary-light: #123554;
  --accent: #0B5D3B;
  --accent-light: #16A870;
  --gold: #C9A24B;
  --gold-light: #E9CD8A;
  --dark: #0A1628;
  --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(10,22,40,.35); }
.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,
.nav-links .mobile-nav-lang { 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-open .mobile-nav-lang { display: list-item; padding: .5rem 0; }
.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: #0B5D3B; font-weight: 800; }
@media (min-width: 1024px) {
  .nav-links .mobile-nav-login,
  .nav-links .mobile-nav-sep,
  .nav-links .mobile-nav-lang { 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, #050B14 0%, #0A1628 55%, #050B14 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); animation: glowPulse 8s ease-in-out infinite; }
.glow-1 { width: 420px; height: 420px; background: rgba(201,162,75,.16); top: -80px; right: -80px; }
.glow-2 { width: 320px; height: 320px; background: rgba(11,93,59,.22); bottom: -60px; left: -60px; animation-delay: -2.5s; }
.glow-3 { width: 200px; height: 200px; background: rgba(22,168,112,.12); top: 40%; left: 30%; animation-delay: -5s; }
@keyframes glowPulse { 0%,100% { transform: scale(1) translate(0,0); opacity: 1; } 50% { transform: scale(1.18) translate(10px,-10px); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .hero-glow { animation: none; } }
.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(201,162,75,.1); border: 1px solid rgba(201,162,75,.28); color: #E9CD8A; font-size: .78rem; font-weight: 700; padding: .4rem .9rem; border-radius: 20px; margin-bottom: 1rem; }
.badge-dot { width: 7px; height: 7px; background: #C9A24B; 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, #E9CD8A 0%, #16A870 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: #9FB4C4; 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(10,22,40,.35); }
.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: #E9CD8A; font-family: var(--font-heading); line-height: 1.2; white-space: nowrap; direction: rtl; }
.stat-label { font-size: .72rem; color: #7C93A8; font-weight: 600; line-height: 1.3; text-align: center; white-space: nowrap; }
.stat-divider { display: none; }
.hero-visual { display: flex; justify-content: center; width: 100%; margin-top: .5rem; }

/* ===== HERO SCORE CARD ===== */
.score-stack { position: relative; width: 100%; max-width: 380px; padding: 1.25rem 0 1.5rem; animation: cardFloat 6s ease-in-out infinite; }
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .score-stack { animation: none; } }
.score-layer { position: absolute; inset: 1.25rem .5rem 1.5rem; border-radius: 22px; }
.score-layer.layer-1 { background: linear-gradient(160deg, #16A870, #0B5D3B); transform: rotate(-5deg) translateY(6px); z-index: 1; }
.score-layer.layer-2 { background: linear-gradient(160deg, #0B5D3B, #063321); transform: rotate(-10deg) translateY(14px); z-index: 0; }
.score-card { position: relative; z-index: 2; background: #fff; border-radius: 22px; padding: 1.5rem; box-shadow: 0 30px 70px rgba(0,0,0,.5); overflow: hidden; }
.score-card::before { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 40px; height: 40px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); clip-path: polygon(100% 0, 0 0, 100% 100%); z-index: 2; }
.sc-top { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.sc-avatar { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--accent-light), var(--accent)); color: #fff; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-person { display: flex; flex-direction: column; gap: .1rem; }
.sc-name { font-weight: 800; font-size: .95rem; color: var(--primary); }
.sc-role { font-size: .75rem; color: var(--muted); }
.sc-verdict { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--bg); border-radius: 14px; padding: .85rem 1rem; margin-bottom: 1.25rem; }
.sc-verdict-text { display: flex; flex-direction: column; gap: .35rem; }
.sc-verdict-badge { display: inline-flex; align-items: center; gap: .3rem; background: rgba(11,93,59,.12); color: var(--accent); font-size: .78rem; font-weight: 800; padding: .25rem .65rem; border-radius: 20px; width: fit-content; transition: background .3s, color .3s; }
.sc-verdict-badge.fail { background: rgba(239,68,68,.25); color: #ffd2d2; }
.sc-avatar.fail { background: linear-gradient(135deg, #f87171, #ef4444); }
.sc-ring.fail { background: conic-gradient(#ef4444 calc(var(--p) * 1%), #e5e9ee 0); }
.score-card { transition: opacity .35s ease; }
.score-card.sc-swap { opacity: 0; }
.sc-verdict-sub { font-size: .72rem; color: var(--muted); line-height: 1.5; max-width: 190px; }
.sc-ring { --p: 88; width: 68px; height: 68px; border-radius: 50%; background: conic-gradient(var(--accent-light) calc(var(--p) * 1%), #e5e9ee 0); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-ring-inner { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px var(--border); }
.sc-ring-num { font-size: 1.2rem; font-weight: 900; color: var(--primary); line-height: 1.1; }
.sc-ring-max { font-size: .55rem; color: var(--muted); font-weight: 600; }
.sc-breakdown { margin-bottom: 1.1rem; }
.sc-bd-title { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; font-weight: 800; color: var(--primary); margin-bottom: .75rem; }
.sc-bd-note { font-size: .68rem; color: var(--muted); font-weight: 500; }
.sc-bd-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.sc-bd-lbl { font-size: .74rem; color: var(--muted); width: 92px; flex-shrink: 0; }
.sc-bd-track { flex: 1; height: 6px; border-radius: 4px; background: #e5e9ee; overflow: hidden; }
.sc-bd-fill { position: relative; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #8a97a8 0%, var(--gold) 45%, var(--accent-light) 100%); transition: width 1.1s cubic-bezier(.16,1,.3,1); overflow: hidden; }
.sc-bd-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%); background-size: 60% 100%; background-repeat: no-repeat; animation: barTicker 2.6s linear infinite; }
@keyframes barTicker { 0% { background-position: -60% 0; } 100% { background-position: 160% 0; } }
@media (prefers-reduced-motion: reduce) { .sc-bd-fill::after { animation: none; } }
.sc-bd-val { font-size: .78rem; font-weight: 800; color: var(--primary); width: 42px; text-align: end; flex-shrink: 0; }
.sc-bd-val small { font-weight: 600; color: var(--muted); }
.sc-total { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px dashed var(--border); font-size: .82rem; font-weight: 800; color: var(--primary); }
.sc-total-val { font-size: 1.1rem; color: var(--gold); }
.sc-total-val small { font-size: .65rem; font-weight: 700; color: var(--muted); }

/* Rejected-example theme: whole card goes dark navy, bars go red/gold/green */
.score-card.fail { background: linear-gradient(160deg, #0A1628 0%, #050B14 100%); }
.score-card.fail .sc-name { color: #fff; }
.score-card.fail .sc-role { color: rgba(255,255,255,.65); }
.score-card.fail .sc-verdict { background: rgba(0,0,0,.18); }
.score-card.fail .sc-verdict-sub { color: rgba(255,255,255,.7); }
.score-card.fail .sc-ring-num { color: #fff; }
.score-card.fail .sc-ring-max { color: rgba(255,255,255,.6); }
.score-card.fail .sc-ring-inner { background: #0A1628; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.score-card.fail .sc-bd-title { color: #fff; }
.score-card.fail .sc-bd-note { color: rgba(255,255,255,.55); }
.score-card.fail .sc-bd-lbl { color: rgba(255,255,255,.7); }
.score-card.fail .sc-bd-val { color: #fff; }
.score-card.fail .sc-bd-val small { color: rgba(255,255,255,.55); }
.score-card.fail .sc-bd-track { background: rgba(255,255,255,.15); }
.score-card.fail .sc-bd-fill { background: linear-gradient(90deg, #ef4444 0%, #f59e0b 55%, #16A870 100%); }
.score-card.fail .sc-total { color: #fff; border-top-color: rgba(255,255,255,.25); }
.score-card.fail .sc-total-val { color: #ff8080; }
.score-card.fail .sc-total-val small { color: rgba(255,255,255,.55); }

/* ===== MACBOOK MOCKUP ===== */
.browser-frame{border-radius:16px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.45),0 0 20px rgba(201,162,75,.3);background:#fff;width:100%;border:2.5px solid #C9A24B}
.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,#123554 0%,#0A1628 50%,#123554 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,#0B5D3B,#16A870); }
.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 { display: inline-flex; align-items: center; gap: .4rem; 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; }
.trusted-item .icon { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== SCROLL REVEAL ===== */
.reveal-init { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal-init.reveal-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; transition: none; }
}

/* ===== SECTIONS COMMON ===== */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-tag { display: inline-block; background: rgba(11,93,59,.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; }
.how-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.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); overflow: hidden; box-shadow: 0 4px 20px rgba(10,22,40,.06); }
.how-step::before { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 30px; height: 30px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.how-step:active { transform: scale(.99); }
.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; }
.step-visual { position: relative; width: 68px; margin: 0 auto .9rem; }
.step-icon { width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.step-icon .icon { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-num { position: absolute; top: -6px; inset-inline-start: -6px; width: 26px; height: 26px; background: #fff; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 900; color: var(--primary); box-shadow: 0 2px 8px rgba(10,22,40,.2); }

.how-step-1 { background: linear-gradient(160deg, #4a9de8, #1d6fc4); }
.how-step-2 { background: linear-gradient(160deg, var(--primary-light), var(--primary)); }
.how-step-3 { background: linear-gradient(160deg, var(--gold-light), var(--gold)); }
.how-step-4 { background: linear-gradient(160deg, var(--accent-light), var(--accent)); }
.how-step-1 .step-title, .how-step-2 .step-title, .how-step-3 .step-title, .how-step-4 .step-title { color: #fff; }
.how-step-1 .step-desc, .how-step-2 .step-desc, .how-step-3 .step-desc, .how-step-4 .step-desc { color: rgba(255,255,255,.88); }
.how-step-1 .step-icon, .how-step-2 .step-icon, .how-step-3 .step-icon, .how-step-4 .step-icon { background: #fff; }
.how-step-1 .step-icon .icon { stroke: #1d6fc4; }
.how-step-2 .step-icon .icon { stroke: var(--primary); }
.how-step-3 .step-icon .icon { stroke: var(--gold); }
.how-step-4 .step-icon .icon { stroke: var(--accent); }

/* ===== FEATURES ===== */
.features-section { padding: 3.5rem 0; background: linear-gradient(160deg, #f0fdf4 0%, #dcfce7 100%); }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feature-card { display: flex; align-items: flex-start; gap: 1rem; background: var(--white); border-radius: 14px; padding: 1.1rem; border-inline-start: 3px solid var(--gold); transition: all .3s; box-shadow: 0 4px 20px rgba(10,22,40,.05); }
.feature-card:hover { border-inline-start-color: var(--accent-light); box-shadow: 0 10px 30px rgba(10,22,40,.1); transform: translateY(-2px); }
.feature-card:active { transform: scale(.99); }
.feature-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.feature-icon .icon { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon-1 { background: linear-gradient(135deg, var(--accent-light), var(--accent)); }
.feature-icon-2 { background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.feature-icon-3 { background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.feature-icon-4 { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.feature-icon-5 { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.feature-icon-6 { background: linear-gradient(135deg, var(--gold), var(--accent)); }
.feature-text { min-width: 0; flex: 1; }
.feature-title { font-size: .9rem; font-weight: 800; color: var(--dark); margin-bottom: .3rem; 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, #fbf8f0 0%, #f5edd6 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; position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(10,22,40,.05); }
.sector-card::before { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 30px; height: 30px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.sector-card:hover { border-color: rgba(201,162,75,.4); box-shadow: 0 10px 30px rgba(10,22,40,.1); transform: translateY(-3px); }
.sector-card:active { transform: scale(.98); }
.sector-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto .6rem; }
.sector-icon .icon { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sector-icon-1 { background: linear-gradient(135deg, var(--accent-light), var(--accent)); }
.sector-icon-2 { background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.sector-icon-3 { background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.sector-icon-4 { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.sector-icon-5 { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.sector-icon-6 { background: linear-gradient(135deg, var(--gold), var(--accent)); }
.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(11,93,59,.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::before { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 36px; height: 36px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); clip-path: polygon(100% 0, 0 0, 100% 100%); z-index: 2; }
.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,#f0f7f3,#e3f0e8); border-color: #7cc9a3; }
.price-card-blue .price-visual { background: rgba(11,93,59,.06); border-color: rgba(22,168,112,.3); }
.price-card-purple { background: linear-gradient(160deg,#fbf7ec,#f5ecd2); border-color: #d8b869; }
.price-card-purple .price-visual { background: rgba(201,162,75,.08); border-color: rgba(201,162,75,.3); }
.price-card-gold { background: linear-gradient(160deg,#0B1119,#000); border-color: #C9A24B; }
.price-card-gold .price-visual { background: rgba(201,162,75,.06); border-color: rgba(201,162,75,.3); }
.price-card-gold .price-plan,
.price-card-gold .price-amount,
.price-card-gold .price-features li { color: #F3EFE4; }
.price-card-gold .price-desc,
.price-card-gold .price-period { color: #8FA39B; }
.price-card-gold .price-features li::before { color: #C9A24B; }
/* Popular = بلس (gold) */
.price-card.popular { border-color: #C9A24B; box-shadow: 0 12px 40px rgba(201,162,75,.22); }
.popular-badge { position: absolute; top: 16px; left: 16px; background: linear-gradient(135deg,#C9A24B,#E9CD8A); color: #050708; 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,#C9A24B,#E9CD8A); color: #050708; box-shadow: 0 4px 16px rgba(201,162,75,.35); }
.btn-price.purple:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,162,75,.5); filter: brightness(1.05); }
.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:#0A1628;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,#16A870,#0A1628)}
.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: #0B5D3B; color: #fff; border: none; }
.btn-price.outline:hover { background: #0A4D30; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(11,93,59,.35); }
.btn-price.solid { background: #0B5D3B; color: #fff; }
.btn-price.solid:hover { background: #0A4D30; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(11,93,59,.35); }
.btn-price.gold { background: linear-gradient(135deg, #C9A24B, #E9CD8A); color: #050708; box-shadow: 0 4px 16px rgba(201,162,75,.35); }
.btn-price.gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,162,75,.5); filter: brightness(1.05); }

/* ===== 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); }

/* ===== GOVERNANCE / PARTNERSHIP BADGES ===== */
.gov-badges-row { flex-direction: column; }
.gov-badge-card { flex-direction: column; text-align: center; }
.gov-badge-card img { margin: 0 auto; }
.gov-tags { justify-content: center; }

/* ===== TABLET (min-width: 640px) ===== */
@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
  .gov-badges-row { flex-direction: row; }
  .gov-badge-card { flex-direction: row; text-align: right; }
  .gov-badge-card img { margin: 0; }
  .gov-tags { justify-content: flex-start; }
  .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); }
  .features-grid { 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; margin-top: 0; }
  .score-stack { max-width: 420px; transition: transform .5s ease; }
  .score-stack:hover { transform: translateY(-4px); }
  .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; }
}
