/* ============================================
   DESIGN TOKENS  (palette taken from reference)
   ============================================ */
:root {
  --primary: #44538F;
  --primary-hover: #5667B1;
  --primary-dark: #334073;
  --primary-light: #EEF1FA;
  --bg: #F5F6FB;
  --section-alt: #FFFFFF;
  --card-bg: #FFFFFF;
  --card-hover-bg: #FAFBFF;
  --heading: #33415C;
  --body-text: #6B7280;
  --muted: #9AA3B2;
  --border: #E6EAF2;
  --success: #3CB878;
  --warning: #F5B642;
  --danger: #E25555;
  --info: #5AA7FF;

  --font-primary: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-secondary: 'Inter', 'Segoe UI', Arial, sans-serif;

  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --shadow-hover: 0 25px 60px rgba(0,0,0,0.15);

  --r-btn: 12px;
  --r-card: 20px;
  --r-input: 12px;
  --r-widget: 18px;
  --r-container: 24px;
}
html[dir="rtl"] {
  --font-primary: 'Cairo', 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-secondary: 'Cairo', 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* ============================================ BASE ============================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-secondary);
  font-size: 18px; font-weight: 400; line-height: 1.65;
  color: var(--body-text); background-color: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-primary); color: var(--heading); letter-spacing: -0.02em; line-height: 1.2; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-hover); }
.container-xxl { max-width: 1320px; }
::selection { background: var(--primary-light); color: var(--primary-dark); }

/* ============================================ BUTTONS ============================================ */
.btn-primary-custom {
  background: var(--primary); color: #fff; font-family: var(--font-primary);
  font-weight: 600; font-size: 16px; padding: 14px 28px; border-radius: var(--r-btn);
  border: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s cubic-bezier(.4,0,.2,1); box-shadow: 0 6px 16px rgba(68,83,143,.25);
}
.btn-primary-custom:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(68,83,143,.32); }
.btn-primary-custom:active { transform: translateY(0); }
.btn-secondary-custom {
  background: #fff; color: var(--primary); font-family: var(--font-primary);
  font-weight: 600; font-size: 16px; padding: 13px 27px; border: 1px solid var(--primary);
  border-radius: var(--r-btn); display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.btn-secondary-custom:hover { background: var(--primary-light); color: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--heading); font-family: var(--font-primary);
  font-weight: 500; font-size: 16px; padding: 10px 16px; border-radius: var(--r-btn);
  border: none; transition: color .2s ease;
}
.btn-ghost:hover { color: var(--primary); }

/* ============================================ NAVBAR ============================================ */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; background: transparent; transition: all .35s cubic-bezier(.4,0,.2,1); }
.site-nav.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 4px 24px rgba(0,0,0,.06); padding: 14px 0; border-bottom: 1px solid rgba(230,234,242,.6); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-primary); font-weight: 700; font-size: 22px; color: var(--heading); letter-spacing: -0.02em; }
.brand:hover { color: var(--primary); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px; box-shadow: 0 4px 12px rgba(68,83,143,.3); }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-primary); font-weight: 500; font-size: 16px; color: var(--heading); padding: 10px 16px; border-radius: 8px; transition: all .2s ease; }
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; background: rgba(255,255,255,.7); border: 1px solid var(--border); border-radius: 999px; padding: 4px; position: relative; cursor: pointer; user-select: none; height: 38px; }
.site-nav.scrolled .lang-switch { background: #fff; }
.lang-switch button { background: transparent; border: none; font-family: var(--font-primary); font-weight: 600; font-size: 13px; color: var(--muted); padding: 6px 14px; border-radius: 999px; position: relative; z-index: 2; transition: color .3s ease; letter-spacing: .02em; }
.lang-switch button.active { color: #fff; }
.lang-slider { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--primary); border-radius: 999px; transition: transform .35s cubic-bezier(.4,0,.2,1); z-index: 1; }
html[dir="rtl"] .lang-slider { transform: none; }
.mobile-toggle { display: none; background: transparent; border: 1px solid var(--border); width: 42px; height: 42px; border-radius: 10px; color: var(--heading); font-size: 20px; align-items: center; justify-content: center; }
/* Arabic only: bold navigation menu */
html[dir="rtl"] .nav-links a,
html[dir="rtl"] .nav-dropdown-toggle,
html[dir="rtl"] .mobile-menu .mm-group,
html[dir="rtl"] .mobile-menu .mm-sub { font-weight: 700; }
.mobile-menu { position: fixed; top: 0; left: 0; right: 0; background: #fff; z-index: 999; padding: 90px 24px 32px; transform: translateY(-100%); transition: transform .4s cubic-bezier(.4,0,.2,1); box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; padding: 14px 0; font-family: var(--font-primary); font-weight: 500; font-size: 18px; color: var(--heading); border-bottom: 1px solid var(--border); }
.mobile-menu .btn-primary-custom { width: 100%; justify-content: center; margin-top: 16px; }

/* ============================================ HERO ============================================ */
.hero { padding: 180px 0 120px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.hero::before { content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(68,83,143,.08) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(86,103,177,.06) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); color: var(--primary); font-family: var(--font-primary); font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; letter-spacing: .02em; }
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(60,184,120,.2); }
.hero h1 { font-size: 64px; font-weight: 700; line-height: 1.08; margin-bottom: 24px; color: var(--heading); }
.hero h1 .accent { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 20px; color: var(--body-text); line-height: 1.6; margin-bottom: 36px; max-width: 540px; }
html[dir="rtl"] .hero p.lead { margin-left: auto; margin-right: 0; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-trust .ht { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-primary); font-weight: 600; font-size: 14px; color: var(--heading); }
.hero-trust .ht i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; background: var(--primary-light); color: var(--primary); }
.hero-trust .ht:nth-child(2) i { background: #E7F8EF; color: var(--success); }
.hero-trust .ht:nth-child(3) i { background: #FEF3DC; color: #B17B0E; }

/* ============================================ DASHBOARD MOCKUP ============================================ */
.hero-visual { position: relative; perspective: 1500px; }
.dashboard-mock { background: #fff; border-radius: var(--r-container); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); font-family: var(--font-secondary); position: relative; transform: rotateY(-2deg) rotateX(2deg); transition: transform .6s ease; }
.dashboard-mock:hover { transform: rotateY(0) rotateX(0); }
.dash-topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); background: #fff; }
.dash-topbar .traffic { display: flex; gap: 6px; }
.dash-topbar .traffic span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.dash-topbar .traffic span:nth-child(1) { background: #FF6058; }
.dash-topbar .traffic span:nth-child(2) { background: #FFBE2E; }
.dash-topbar .traffic span:nth-child(3) { background: #29C940; }
.dash-topbar .search { flex: 1; max-width: 280px; margin: 0 16px; background: var(--bg); border-radius: 8px; padding: 7px 12px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dash-topbar .user-chip { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--heading); }
.dash-topbar .user-chip .av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#44538F,#5667B1); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 11px; }
.dash-body { display: flex; min-height: 460px; }
.dash-sidebar { width: 200px; background: var(--primary); border-right: 1px solid rgba(255,255,255,.10); padding: 16px 12px; }
html[dir="rtl"] .dash-sidebar { border-right: none; border-left: 1px solid rgba(255,255,255,.10); }
.dash-sidebar .nav-item { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 8px; font-size: 12.5px; color: rgba(255,255,255,.78); margin-bottom: 1px; font-family: var(--font-primary); font-weight: 500; }
.dash-sidebar .nav-item i { font-size: 14px; color: rgba(255,255,255,.65); }
.dash-sidebar .nav-item.active { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }
.dash-sidebar .nav-item.active i { color: #fff; }
.dash-sidebar .label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); font-weight: 600; padding: 14px 12px 6px; font-family: var(--font-primary); }
.dash-main { flex: 1; padding: 20px; background: #fff; }
.dash-greeting { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.dash-greeting h3 { font-size: 18px; font-weight: 700; margin-bottom: 2px; color: var(--heading); }
.dash-greeting p { font-size: 12px; color: var(--muted); margin: 0; }
.dash-greeting .pill { background: var(--primary-light); color: var(--primary); padding: 5px 10px; border-radius: 8px; font-size: 11px; font-weight: 600; font-family: var(--font-primary); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.dash-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--r-widget); padding: 12px 14px; }
.dash-stat .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dash-stat .top i { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; }
.dash-stat:nth-child(1) .top i { background: var(--primary-light); color: var(--primary); }
.dash-stat:nth-child(2) .top i { background: #E7F8EF; color: var(--success); }
.dash-stat:nth-child(3) .top i { background: #FEF3DC; color: var(--warning); }
.dash-stat .top .change { font-size: 10px; font-weight: 600; font-family: var(--font-primary); }
.dash-stat .top .change.up { color: var(--success); }
.dash-stat .val { font-size: 20px; font-weight: 700; color: var(--heading); font-family: var(--font-primary); line-height: 1; }
.dash-stat .lbl { font-size: 11px; color: var(--muted); margin-top: 4px; }
.dash-chart { background: #fff; border: 1px solid var(--border); border-radius: var(--r-widget); padding: 14px; margin-bottom: 14px; }
.dash-chart .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.dash-chart h4 { font-size: 13px; font-weight: 600; margin: 0; color: var(--heading); }
.dash-chart .legend { display: flex; gap: 10px; font-size: 10px; color: var(--muted); }
.dash-chart .legend span { display: inline-flex; align-items: center; gap: 4px; }
.dash-chart .legend .d1 { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: inline-block; }
.dash-chart .legend .d2 { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; }
.chart-svg { width: 100%; height: 120px; }
.dash-activity { background: #fff; border: 1px solid var(--border); border-radius: var(--r-widget); padding: 14px; }
.dash-activity h4 { font-size: 13px; font-weight: 600; margin: 0 0 10px; color: var(--heading); }
.activity-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 11px; }
.activity-row:last-child { border-bottom: none; padding-bottom: 0; }
.activity-row .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 600; flex-shrink: 0; font-family: var(--font-primary); }
.activity-row .av.c1 { background: linear-gradient(135deg,#44538F,#5667B1); }
.activity-row .av.c2 { background: linear-gradient(135deg,#3CB878,#5DD89A); }
.activity-row .av.c3 { background: linear-gradient(135deg,#F5B642,#FFCB6B); }
.activity-row .name { font-weight: 600; color: var(--heading); font-family: var(--font-primary); }
.activity-row .desc { color: var(--muted); font-size: 10px; }
.activity-row .time { margin-inline-start: auto; color: var(--muted); font-size: 10px; }
.float-card { position: absolute; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; z-index: 2; border: 1px solid var(--border); animation: float 6s ease-in-out infinite; }
.float-card.f1 { top: 60px; left: -30px; animation-delay: 0s; }
.float-card.f2 { bottom: 50px; right: -20px; animation-delay: 3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float-card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.float-card.f1 .ic { background: var(--primary-light); color: var(--primary); }
.float-card.f2 .ic { background: #E7F8EF; color: var(--success); }
.float-card .t1 { font-family: var(--font-primary); font-weight: 600; color: var(--heading); font-size: 14px; line-height: 1.2; }
.float-card .t2 { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ============================================ INDUSTRY BAR ============================================ */
.logo-bar { padding: 60px 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-bar .label { text-align: center; font-family: var(--font-primary); font-weight: 500; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 32px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: center; }
.logo-item { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; font-family: var(--font-primary); font-weight: 600; font-size: 15px; color: var(--muted); opacity: .8; transition: all .3s ease; letter-spacing: -0.01em; }
.logo-item:hover { opacity: 1; color: var(--primary); transform: translateY(-2px); }
.logo-item i { font-size: 22px; }

/* ============================================ SECTIONS ============================================ */
section { padding: 100px 0; }
.section-eyebrow { display: inline-block; font-family: var(--font-primary); font-weight: 600; font-size: 14px; color: var(--primary); background: var(--primary-light); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; letter-spacing: .02em; }
.section-title { font-size: 44px; font-weight: 700; line-height: 1.15; margin-bottom: 18px; color: var(--heading); }
.section-lead { font-size: 19px; color: var(--body-text); line-height: 1.6; max-width: 680px; margin: 0 auto; }
.section-header.center { text-align: center; margin-bottom: 64px; }
.section-header.center .section-lead { margin-left: auto; margin-right: auto; }

/* ============================================ STATS ============================================ */
.stats { padding: 80px 0; background: #fff; }
.stat-card { text-align: center; padding: 24px; }
.stat-card .num { font-family: var(--font-primary); font-weight: 700; font-size: 56px; line-height: 1; color: var(--primary); letter-spacing: -0.03em; margin-bottom: 12px; }
.stat-card .lbl { font-size: 16px; color: var(--body-text); font-family: var(--font-primary); font-weight: 500; }

/* ============================================ FEATURES GRID ============================================ */
.features { background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--card-bg); border-radius: var(--r-card); padding: 36px 32px; box-shadow: var(--shadow-sm); transition: all .3s cubic-bezier(.4,0,.2,1); border: 1px solid transparent; cursor: default; position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-hover)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
html[dir="rtl"] .feature-card::before { transform-origin: right; }
.feature-card:hover { background: var(--card-hover-bg); transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--border); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 64px; height: 64px; background: var(--primary-light); color: var(--primary); border-radius: 16px; display: grid; place-items: center; font-size: 30px; margin-bottom: 24px; transition: all .3s ease; }
.feature-card:hover .feature-icon { background: var(--primary); color: #fff; transform: scale(1.05); }
.feature-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; color: var(--heading); }
.feature-card p { font-size: 16px; color: var(--body-text); line-height: 1.6; margin: 0; }

/* ============================================ FEATURE DETAIL ============================================ */
.feature-detail { background: #fff; }
.feature-detail.alt { background: var(--bg); }
.feat-text h2 { font-size: 40px; font-weight: 700; line-height: 1.15; margin-bottom: 20px; color: var(--heading); }
.feat-text p.lead-text { font-size: 18px; color: var(--body-text); margin-bottom: 28px; line-height: 1.65; }
.feat-checks { list-style: none; padding: 0; margin: 0 0 32px; }
.feat-checks li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: 16px; color: var(--heading); font-family: var(--font-primary); font-weight: 500; }
.feat-checks li i { width: 24px; height: 24px; background: var(--success); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.mock-card { background: #fff; border-radius: var(--r-container); box-shadow: var(--shadow-lg); padding: 24px; border: 1px solid var(--border); position: relative; }

/* directory */
.directory-mock .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.directory-mock .head h4 { font-family: var(--font-primary); font-weight: 700; font-size: 18px; margin: 0; color: var(--heading); }
.directory-mock .head .pill { background: var(--primary); color: #fff; font-size: 12px; padding: 6px 12px; border-radius: 8px; font-family: var(--font-primary); font-weight: 600; }
.directory-mock .filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.directory-mock .filters .chip { font-size: 12px; padding: 6px 12px; border-radius: 8px; background: var(--bg); color: var(--body-text); font-family: var(--font-primary); font-weight: 500; }
.directory-mock .filters .chip.active { background: var(--primary-light); color: var(--primary); }
.emp-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.emp-row:last-child { border-bottom: none; }
.emp-row .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-primary); font-weight: 600; font-size: 14px; }
.emp-row .av.c1 { background: linear-gradient(135deg,#44538F,#5667B1); }
.emp-row .av.c2 { background: linear-gradient(135deg,#3CB878,#5DD89A); }
.emp-row .av.c3 { background: linear-gradient(135deg,#F5B642,#FFCB6B); }
.emp-row .av.c4 { background: linear-gradient(135deg,#E25555,#F37878); }
.emp-row .av.c5 { background: linear-gradient(135deg,#5AA7FF,#85BFFF); }
.emp-row .name { font-family: var(--font-primary); font-weight: 600; color: var(--heading); font-size: 14px; line-height: 1.3; }
.emp-row .role { font-size: 12px; color: var(--muted); }
.emp-row .dept { font-size: 11px; padding: 4px 10px; border-radius: 6px; background: var(--bg); color: var(--body-text); font-family: var(--font-primary); font-weight: 500; }
.emp-row .status { font-size: 11px; padding: 4px 10px; border-radius: 6px; font-family: var(--font-primary); font-weight: 600; }
.emp-row .status.active { background: #E7F8EF; color: var(--success); }
.emp-row .status.leave { background: #FEF3DC; color: #B17B0E; }

/* payroll */
.payroll-mock .head h4 { font-family: var(--font-primary); font-weight: 700; font-size: 18px; margin: 0 0 4px; color: var(--heading); }
.payroll-mock .head p { font-size: 13px; color: var(--muted); margin: 0; }
.payroll-mock .head { margin-bottom: 20px; }
.payroll-amount { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); color: #fff; padding: 24px; border-radius: var(--r-widget); margin-bottom: 20px; position: relative; overflow: hidden; }
.payroll-amount::before { content: ""; position: absolute; top: -50%; right: -20%; width: 200px; height: 200px; background: rgba(255,255,255,.1); border-radius: 50%; }
.payroll-amount .lbl { font-size: 12px; opacity: .85; margin-bottom: 6px; }
.payroll-amount .amt { font-family: var(--font-primary); font-weight: 700; font-size: 34px; letter-spacing: -0.02em; line-height: 1; margin-bottom: 12px; }
.payroll-amount .meta { display: flex; gap: 16px; font-size: 12px; position: relative; z-index: 1; }
.payroll-amount .meta span { opacity: .9; }
.payroll-amount .meta strong { font-family: var(--font-primary); font-weight: 600; }
.payroll-runs h5 { font-family: var(--font-primary); font-weight: 600; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.payroll-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px; background: var(--bg); border-radius: 10px; margin-bottom: 8px; }
.payroll-row .info .t { font-family: var(--font-primary); font-weight: 600; color: var(--heading); font-size: 13px; }
.payroll-row .info .s { font-size: 11px; color: var(--muted); }
.payroll-row .amount { font-family: var(--font-primary); font-weight: 700; color: var(--heading); font-size: 14px; }
.payroll-row .status { font-size: 11px; padding: 4px 10px; border-radius: 6px; font-family: var(--font-primary); font-weight: 600; }
.payroll-row .status.paid { background: #E7F8EF; color: var(--success); }
.payroll-row .status.pending { background: #FEF3DC; color: #B17B0E; }
.payroll-row .status.scheduled { background: var(--primary-light); color: var(--primary); }

/* time */
.time-mock { padding: 28px 24px; }
.time-mock .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.time-mock h4 { font-family: var(--font-primary); font-weight: 700; font-size: 18px; margin: 0; color: var(--heading); }
.clock-card { background: linear-gradient(135deg, #EEF1FA 0%, #F8FAFF 100%); border: 1px solid var(--border); border-radius: var(--r-widget); padding: 20px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; }
.clock-card .lbl { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.clock-card .clock { font-family: var(--font-primary); font-weight: 700; font-size: 30px; color: var(--heading); letter-spacing: -0.02em; line-height: 1; }
.clock-card .live { font-size: 11px; color: var(--success); font-weight: 600; margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; }
.clock-card .live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(60,184,120,.2); }
.clock-card .btn-clock { background: var(--primary); color: #fff; border: none; border-radius: 10px; padding: 12px 18px; font-family: var(--font-primary); font-weight: 600; font-size: 13px; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week-grid .day { text-align: center; padding: 10px 4px; border-radius: 10px; background: var(--bg); }
.week-grid .day .d { font-size: 10px; color: var(--muted); font-family: var(--font-primary); font-weight: 600; text-transform: uppercase; }
.week-grid .day .h { font-size: 13px; color: var(--heading); font-family: var(--font-primary); font-weight: 700; margin-top: 6px; }
.week-grid .day.on { background: var(--primary-light); }
.week-grid .day.on .h { color: var(--primary); }
.week-grid .day.off .h { color: var(--muted); font-weight: 500; }

/* analytics */
.analytics-mock .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.analytics-mock .head h4 { font-family: var(--font-primary); font-weight: 700; font-size: 18px; margin: 0; color: var(--heading); }
.analytics-mock .range { display: flex; gap: 4px; background: var(--bg); padding: 4px; border-radius: 8px; }
.analytics-mock .range button { border: none; background: transparent; font-size: 11px; font-family: var(--font-primary); font-weight: 600; color: var(--muted); padding: 5px 10px; border-radius: 6px; }
.analytics-mock .range button.active { background: #fff; color: var(--primary); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { border: 1px solid var(--border); border-radius: var(--r-widget); padding: 14px; }
.kpi .lbl { font-size: 11px; color: var(--muted); }
.kpi .val { font-family: var(--font-primary); font-weight: 700; font-size: 22px; color: var(--heading); line-height: 1; margin: 6px 0; }
.kpi .chg { font-size: 11px; font-weight: 600; font-family: var(--font-primary); }
.kpi .chg.up { color: var(--success); }
.kpi .chg.down { color: var(--danger); }
.donut-wrap { display: flex; align-items: center; gap: 18px; border: 1px solid var(--border); border-radius: var(--r-widget); padding: 16px; }
.donut-legend { display: grid; gap: 8px; font-size: 12px; }
.donut-legend .row { display: flex; align-items: center; gap: 8px; color: var(--body-text); }
.donut-legend .row .sw { width: 10px; height: 10px; border-radius: 3px; }

/* ============================================ INTEGRATIONS ============================================ */
.integrations { background: #fff; }
.integration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.integration-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 22px; text-align: center; transition: all .3s ease; }
.integration-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.integration-card .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 26px; margin: 0 auto 16px; }
.integration-card h4 { font-family: var(--font-primary); font-weight: 600; font-size: 16px; color: var(--heading); margin-bottom: 6px; }
.integration-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ============================================ ROLE CARDS (was testimonials) ============================================ */
.testimonials { background: var(--bg); }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card { background: #fff; border-radius: var(--r-card); padding: 36px 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: all .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.role-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); background: var(--card-hover-bg); }
.role-card .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; color: #fff; margin-bottom: 20px; }
.role-card:nth-child(1) .ic { background: linear-gradient(135deg,#44538F,#5667B1); }
.role-card:nth-child(2) .ic { background: linear-gradient(135deg,#3CB878,#5DD89A); }
.role-card:nth-child(3) .ic { background: linear-gradient(135deg,#F5B642,#FFCB6B); }
.role-card h3 { font-family: var(--font-primary); font-weight: 600; font-size: 20px; color: var(--heading); margin-bottom: 6px; }
.role-card .role-sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; font-family: var(--font-primary); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.role-card p { font-size: 16px; color: var(--body-text); line-height: 1.6; margin: 0; }

/* ============================================ PRICING ============================================ */
.pricing { background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 40px 32px; display: flex; flex-direction: column; transition: all .3s cubic-bezier(.4,0,.2,1); position: relative; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.price-card.featured { background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%); border-color: var(--primary); color: #fff; transform: scale(1.02); box-shadow: var(--shadow-lg); }
.price-card.featured:hover { transform: scale(1.02) translateY(-6px); }
.price-card .badge-pop { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--warning); color: #fff; font-family: var(--font-primary); font-weight: 600; font-size: 12px; padding: 6px 14px; border-radius: 999px; letter-spacing: .04em; }
.price-card .tier-name { font-family: var(--font-primary); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 12px; }
.price-card.featured .tier-name { color: rgba(255,255,255,.85); }
.price-card .tier-desc { font-size: 14px; color: var(--body-text); margin-bottom: 24px; min-height: 42px; }
.price-card.featured .tier-desc { color: rgba(255,255,255,.85); }
.price-card .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-card .price .amt { font-family: var(--font-primary); font-weight: 700; font-size: 40px; color: var(--heading); line-height: 1; letter-spacing: -0.02em; }
.price-card.featured .price .amt { color: #fff; }
.price-card .price-note { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.price-card.featured .price-note { color: rgba(255,255,255,.7); }
.price-features { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--heading); font-family: var(--font-secondary); }
.price-card.featured .price-features li { color: #fff; }
.price-features li i { color: var(--success); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.price-card.featured .price-features li i { color: #5DD89A; }
.price-btn { display: block; text-align: center; padding: 14px 24px; border-radius: var(--r-btn); font-family: var(--font-primary); font-weight: 600; font-size: 15px; background: var(--primary-light); color: var(--primary); transition: all .25s ease; border: none; width: 100%; }
.price-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.price-card.featured .price-btn { background: #fff; color: var(--primary); }
.price-card.featured .price-btn:hover { background: var(--primary-light); color: var(--primary-dark); }
.price-disclaimer { text-align: center; max-width: 640px; margin: 40px auto 0; font-size: 14px; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-widget); padding: 16px 22px; }
.price-disclaimer i { color: var(--primary); margin-inline-end: 6px; }

/* ============================================ FAQ ============================================ */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); margin-bottom: 14px; overflow: hidden; transition: all .3s ease; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.faq-q { padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-family: var(--font-primary); font-weight: 600; font-size: 17px; color: var(--heading); user-select: none; }
.faq-q .toggle { width: 32px; height: 32px; background: var(--primary-light); color: var(--primary); border-radius: 8px; display: grid; place-items: center; font-size: 16px; transition: transform .35s ease; flex-shrink: 0; }
.faq-item.open .toggle { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.faq-a-inner { padding: 0 28px 24px; font-size: 16px; color: var(--body-text); line-height: 1.7; }

/* ============================================ CTA ============================================ */
.cta-section { padding: 60px 0 100px; background: #fff; }
.cta-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: var(--r-container); padding: 80px 60px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-card::before, .cta-card::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta-card::before { top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%); }
.cta-card::after { bottom: -150px; left: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(86,103,177,.3) 0%, transparent 70%); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: 48px; font-weight: 700; color: #fff; margin-bottom: 18px; line-height: 1.15; }
.cta-card p { font-size: 19px; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-card .btn-primary-custom { background: #fff; color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.cta-card .btn-primary-custom:hover { background: var(--primary-light); color: var(--primary-dark); }
.cta-card .btn-secondary-custom { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.cta-card .btn-secondary-custom:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.cta-meta { display: flex; gap: 32px; justify-content: center; margin-top: 32px; font-size: 14px; color: rgba(255,255,255,.8); flex-wrap: wrap; }
.cta-meta span i { margin-inline-end: 6px; color: #5DD89A; }

/* ============================================ FOOTER ============================================ */
footer.site-footer { background: #fff; padding: 80px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 15px; color: var(--body-text); line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; color: var(--body-text); font-size: 16px; transition: all .25s ease; }
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-col h5 { font-family: var(--font-primary); font-weight: 600; font-size: 14px; color: var(--heading); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .04em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 15px; color: var(--body-text); font-family: var(--font-secondary); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--primary); }

/* ============================================ REVEAL ============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================ RESPONSIVE ============================================ */
@media (max-width: 991px){
  .nav-links, .nav-actions .btn-ghost, .nav-actions .btn-primary-custom { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding: 130px 0 80px; }
  .hero h1 { font-size: 44px; }
  .section-title { font-size: 34px; }
  .feature-grid, .integration-grid, .role-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-detail .row { flex-direction: column-reverse; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .price-card.featured { transform: none; }
  .cta-card { padding: 56px 28px; }
  .cta-card h2 { font-size: 34px; }
}
@media (min-width: 992px){
  .feature-detail .mock-side { padding-inline-start: 20px; }
}
@media (max-width: 575px){
  .dash-sidebar { display: none; }
  .hero h1 { font-size: 36px; }
  .stat-card .num { font-size: 42px; }
}

/* ============================================================================
   ====================  CONTENT-PAGE COMPONENTS  =============================
   (shared across platform, solutions, security, etc.)
   ============================================================================ */

/* ---------- BRAND LOGO IMAGES ---------- */
.brand-logo { height: 96px; width: auto; display: block; transition: height .35s ease; }
.site-nav.scrolled .brand-logo { height: 74px; }
.footer-logo { height: 50px; width: auto; display: block; margin-bottom: 18px; }

/* ---------- DROPDOWN NAV ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; font-family: var(--font-primary); font-weight: 500; font-size: 16px; color: var(--heading); padding: 10px 16px; border-radius: 8px; transition: all .2s ease; background: transparent; border: none; }
.nav-dropdown-toggle .bi-chevron-down { font-size: 11px; transition: transform .25s ease; }
.nav-dropdown:hover > .nav-dropdown-toggle { color: var(--primary); background: var(--primary-light); }
.nav-dropdown:hover > .nav-dropdown-toggle .bi-chevron-down { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 280px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s cubic-bezier(.4,0,.2,1); z-index: 60; }
.nav-dropdown-menu.wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-dropdown:hover > .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--heading); transition: background .2s ease; }
.nav-dropdown-menu a:hover { background: var(--primary-light); }
.nav-dropdown-menu a i { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 16px; }
.nav-dropdown-menu a:hover i { background: var(--primary); color: #fff; }
.nav-dropdown-menu a > span { display: flex; flex-direction: column; }
.nav-dropdown-menu .dd-t { display: block; font-family: var(--font-primary); font-weight: 600; font-size: 14px; color: var(--heading); line-height: 1.25; }
.nav-dropdown-menu .dd-d { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.35; }

/* ---------- PAGE HERO (sub-page header) ---------- */
.page-hero { padding: 156px 0 76px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 55%, #fff 100%); }
.page-hero::before { content: ""; position: absolute; top: -200px; inset-inline-end: -160px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(68,83,143,.12) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.page-hero::after { content: ""; position: absolute; bottom: -160px; inset-inline-start: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(60,184,120,.08) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.page-hero .inner { position: relative; z-index: 1; max-width: 900px; }
.page-hero .crumb { font-family: var(--font-primary); font-weight: 600; font-size: 13px; color: var(--primary); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px; }
.page-hero .crumb a { color: var(--muted); }
.page-hero .crumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: 52px; font-weight: 700; line-height: 1.1; margin-bottom: 20px; color: var(--heading); }
.page-hero h1 .accent { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero p.lead { font-size: 20px; color: var(--body-text); line-height: 1.65; max-width: 780px; margin-bottom: 0; }
.page-hero .hero-ctas { margin-top: 34px; margin-bottom: 0; }

/* ---------- INTRO / NARROW TEXT ---------- */
.narrow { max-width: 840px; margin-inline: auto; }
.intro-text { font-size: 19px; color: var(--body-text); line-height: 1.75; }
.intro-text p { margin-bottom: 18px; }
.intro-text p:last-child { margin-bottom: 0; }
.bg-soft { background: var(--bg); }
.bg-white { background: #fff; }

/* ---------- CAPABILITY CHECKLIST (2-col) ---------- */
.cap-label { font-family: var(--font-primary); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: 14px; }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 32px; list-style: none; padding: 0; margin: 0; }
.cap-grid.one-col { grid-template-columns: 1fr; }
.cap-grid li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: 16px; color: var(--heading); font-family: var(--font-primary); font-weight: 500; line-height: 1.45; }
.cap-grid li i { color: var(--success); font-size: 17px; margin-top: 3px; flex-shrink: 0; }

/* ---------- TOPIC BLOCK (module / capability card) ---------- */
.topic-block { padding: 38px 36px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-sm); transition: all .3s cubic-bezier(.4,0,.2,1); height: 100%; }
.topic-block:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); transform: translateY(-4px); }
.topic-block .topic-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 27px; margin-bottom: 22px; transition: all .3s ease; }
.topic-block:hover .topic-icon { background: var(--primary); color: #fff; }
.topic-block h3 { font-size: 23px; margin-bottom: 6px; }
.topic-block .topic-sub { font-family: var(--font-primary); font-weight: 600; color: var(--primary); font-size: 15px; margin-bottom: 14px; }
.topic-block > p { font-size: 16px; color: var(--body-text); line-height: 1.65; margin-bottom: 18px; }
.topic-block .impact { margin-top: 18px; padding: 14px 18px; background: var(--bg); border-radius: 12px; font-size: 14.5px; color: var(--body-text); line-height: 1.55; border-inline-start: 3px solid var(--success); }
.topic-block .impact strong { color: var(--heading); font-family: var(--font-primary); font-weight: 600; }

/* ---------- SPLIT FEATURE ROW (alternating) ---------- */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-row + .split-row { margin-top: 90px; }
.split-row .split-visual { background: linear-gradient(150deg, var(--primary-light), #fff); border: 1px solid var(--border); border-radius: var(--r-container); padding: 40px; box-shadow: var(--shadow-sm); min-height: 280px; display: flex; flex-direction: column; justify-content: center; }
.split-eyebrow { display: inline-block; font-family: var(--font-primary); font-weight: 600; font-size: 13px; color: var(--primary); background: var(--primary-light); padding: 5px 13px; border-radius: 999px; margin-bottom: 16px; }
.split-row h2 { font-size: 32px; line-height: 1.2; margin-bottom: 14px; }
.split-row p { font-size: 16.5px; color: var(--body-text); line-height: 1.7; margin-bottom: 22px; }

/* ---------- PROCESS STEPS ---------- */
.process-list { display: grid; gap: 18px; }
.process-step { display: grid; grid-template-columns: auto 1fr; gap: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px 34px; box-shadow: var(--shadow-sm); transition: all .3s ease; }
.process-step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--primary-light); }
.process-num { width: 56px; height: 56px; border-radius: 15px; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; font-family: var(--font-primary); font-weight: 700; font-size: 22px; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(68,83,143,.28); }
.process-step h3 { font-size: 21px; margin-bottom: 3px; }
.process-step .step-sub { color: var(--primary); font-weight: 600; font-family: var(--font-primary); font-size: 14px; margin-bottom: 12px; }
.process-step .step-body { color: var(--body-text); font-size: 15.5px; line-height: 1.65; }
.process-step .outcome { margin-top: 14px; font-size: 14px; color: var(--body-text); padding-top: 12px; border-top: 1px dashed var(--border); }
.process-step .outcome strong { color: var(--heading); font-family: var(--font-primary); }

/* ---------- COMPARISON TABLE ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-card); }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; min-width: 560px; }
.compare-table th, .compare-table td { padding: 16px 24px; text-align: start; font-size: 16px; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-family: var(--font-primary); font-weight: 700; color: var(--heading); background: var(--bg); font-size: 15px; }
.compare-table thead th:last-child { color: var(--primary); }
.compare-table td:first-child { color: var(--body-text); }
.compare-table td:last-child { color: var(--heading); font-weight: 600; font-family: var(--font-primary); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:last-child::before { content: "\2713"; color: var(--success); font-weight: 700; margin-inline-end: 10px; }

/* ---------- CHECK PILLS ("why choose" lists) ---------- */
.check-pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.check-pills.cols-1 { grid-template-columns: 1fr; }
.check-pills li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 15px 18px; font-family: var(--font-primary); font-weight: 500; color: var(--heading); font-size: 15px; transition: all .25s ease; }
.check-pills li:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.check-pills li i { color: var(--success); font-size: 18px; flex-shrink: 0; }

/* ---------- USE-CASE / INDUSTRY CARD ---------- */
.usecase-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 32px 30px; box-shadow: var(--shadow-sm); transition: all .3s cubic-bezier(.4,0,.2,1); height: 100%; }
.usecase-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); border-color: var(--primary-light); }
.usecase-card .uc-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 25px; margin-bottom: 20px; }
.usecase-card:hover .uc-icon { background: var(--primary); color: #fff; }
.usecase-card h3 { font-size: 21px; margin-bottom: 8px; }
.usecase-card .uc-tag { font-family: var(--font-primary); font-weight: 600; font-size: 13.5px; color: var(--primary); margin-bottom: 14px; }
.usecase-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.usecase-card ul li { font-size: 14.5px; color: var(--body-text); padding: 5px 0 5px 22px; padding-inline-start: 22px; padding-inline-end: 0; position: relative; }
.usecase-card ul li::before { content: "\2022"; color: var(--primary); position: absolute; inset-inline-start: 4px; font-weight: 700; }
.usecase-card .uc-impact { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; }

/* ---------- RESULT / CLOSING BANNER ---------- */
.result-banner { background: linear-gradient(135deg, var(--primary-light), #fff); border: 1px solid var(--border); border-radius: var(--r-container); padding: 56px 48px; text-align: center; }
.result-banner .result-line { font-family: var(--font-primary); font-weight: 700; font-size: 26px; color: var(--heading); line-height: 1.4; }
.result-banner .result-line span { color: var(--primary); }
.result-banner p { font-size: 18px; color: var(--body-text); margin: 14px auto 0; max-width: 720px; }

/* ---------- VISION / ROADMAP COLUMNS ---------- */
.roadmap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.roadmap-col { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 36px; box-shadow: var(--shadow-sm); }
.roadmap-col.future { background: linear-gradient(160deg, var(--primary-dark), var(--primary)); border: none; color: #fff; }
.roadmap-col h3 { font-size: 22px; margin-bottom: 6px; }
.roadmap-col.future h3 { color: #fff; }
.roadmap-col .rc-sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.roadmap-col.future .rc-sub { color: rgba(255,255,255,.75); }
.roadmap-col ul { list-style: none; padding: 0; margin: 0; }
.roadmap-col li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-family: var(--font-primary); font-weight: 500; font-size: 15.5px; color: var(--heading); border-bottom: 1px solid var(--border); }
.roadmap-col li:last-child { border-bottom: none; }
.roadmap-col li i { color: var(--success); font-size: 17px; }
.roadmap-col.future li { color: #fff; border-color: rgba(255,255,255,.14); }
.roadmap-col.future li i { color: #6FE0A6; }

/* ---------- CONTACT FORM ---------- */
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 40px; box-shadow: var(--shadow-md); }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--font-primary); font-weight: 600; font-size: 14px; color: var(--heading); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--r-input); font-family: var(--font-secondary); font-size: 16px; color: var(--heading); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.contact-aside .ca-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-aside .ca-item i { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contact-aside .ca-item h4 { font-size: 17px; margin-bottom: 4px; }
.contact-aside .ca-item p { font-size: 15px; color: var(--body-text); margin: 0; }

/* ---------- MOBILE MENU GROUP HEADINGS ---------- */
.mobile-menu .mm-group { font-family: var(--font-primary); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 20px 0 4px; border-bottom: none; }
.mobile-menu .mm-sub { padding-inline-start: 8px; font-size: 16px; }

/* ============================================ CONTENT-PAGE RESPONSIVE ============================================ */
@media (max-width: 991px) {
  .nav-links { display: none; }
  .split-row { grid-template-columns: 1fr; gap: 32px; }
  .split-row + .split-row { margin-top: 56px; }
  .roadmap-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .page-hero { padding: 130px 0 56px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero p.lead { font-size: 18px; }
  .cap-grid { grid-template-columns: 1fr; }
  .check-pills { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .result-banner { padding: 40px 24px; }
  .result-banner .result-line { font-size: 21px; }
  .contact-form { padding: 28px 22px; }
}

/* ---------- RTL: fix icon-based list alignment ---------- */
[dir=rtl] .cap-grid li,
[dir=rtl] .check-pills li {
  direction: rtl;
  text-align: right;
}

/* ---------- RTL: flip directional arrows in buttons ---------- */
[dir=rtl] .btn-primary-custom .bi-arrow-right,
[dir=rtl] .btn-secondary-custom .bi-arrow-right {
  transform: scaleX(-1);
}
