/* ============================================================
   Manseb | منصب — Premium Landing Page Stylesheet
   Pure CSS, no JS. Works for both AR (RTL) and EN (LTR).
   ============================================================ */

:root {
  --teal-primary: #0F828C;
  --teal-deep: #0B5F66;
  --teal-darker: #084046;
  --teal-soft: #E6F2F3;
  --teal-glow: rgba(15, 130, 140, 0.18);

  --navy: #0E1B2C;
  --ink: #1A2B3C;
  --muted: #5B6B7B;
  --line: #E4E9EE;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FA;
  --bg-tint: #F1F6F7;

  --oman-red: #C8102E;
  --oman-green: #007A33;
  --oman-white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(14, 27, 44, 0.06), 0 1px 3px rgba(14, 27, 44, 0.04);
  --shadow-md: 0 6px 18px rgba(14, 27, 44, 0.08), 0 2px 6px rgba(14, 27, 44, 0.04);
  --shadow-lg: 0 18px 45px rgba(14, 27, 44, 0.12), 0 6px 14px rgba(14, 27, 44, 0.05);
  --shadow-teal: 0 18px 40px rgba(15, 130, 140, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;

  --container: 1180px;

  --font-ar: "Tajawal", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body[dir="ltr"] { font-family: var(--font-en); line-height: 1.65; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
  color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(15,130,140,0.35); }

.btn-ghost {
  background: rgba(255,255,255,0.85);
  color: var(--teal-deep);
  border: 1.5px solid var(--teal-primary);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--teal-primary); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Navbar (Omani Heritage Style) ---------- */
:root {
  --oman-gold: #C8A24B;
  --oman-gold-soft: #E9D8A6;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 100%);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(11, 95, 102, 0.04);
}

/* Omani flag accent strip on top: red | white | green with gold separators */
.nav::before {
  content: "";
  display: block;
  height: 4px;
  background:
    linear-gradient(90deg,
      var(--oman-red) 0%,
      var(--oman-red) 33.33%,
      #ffffff 33.33%,
      #ffffff 66.66%,
      var(--oman-green) 66.66%,
      var(--oman-green) 100%);
  position: relative;
}

/* Subtle Omani geometric (eight-point star) pattern behind navbar */
.nav::after {
  content: "";
  position: absolute;
  inset: 4px 0 0 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 25% 50%, var(--teal-deep) 1px, transparent 2px),
    radial-gradient(circle at 75% 50%, var(--oman-gold) 1px, transparent 2px);
  background-size: 28px 28px, 28px 28px;
  background-position: 0 0, 14px 14px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  color: var(--teal-deep);
  position: relative;
}
.brand img { height: 38px; width: auto; }
.brand-text { letter-spacing: 0.02em; }

/* Khanjar (Omani dagger) emblem next to logo */
.brand-khanjar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--oman-gold) 0%, var(--oman-gold-soft) 100%);
  box-shadow: 0 2px 8px rgba(200, 162, 75, 0.35), inset 0 0 0 1.5px rgba(255,255,255,0.6);
  color: var(--teal-darker);
  flex-shrink: 0;
}
.brand-khanjar svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 8px 2px;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-primary) 0%, var(--oman-gold) 100%);
  border-radius: 2px;
  transition: width var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--teal-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  transition: all var(--dur) var(--ease);
}
.lang-switch:hover {
  border-color: var(--oman-gold);
  color: var(--teal-primary);
  box-shadow: 0 4px 14px rgba(200, 162, 75, 0.18);
  transform: translateY(-1px);
}
.lang-switch svg { width: 14px; height: 14px; }

.menu-toggle { display: none; }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-primary);
  background: var(--teal-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.section-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16.5px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 110px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(15,130,140,0.10), transparent 60%),
    linear-gradient(180deg, #FAFCFC 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  animation: float 11s ease-in-out infinite alternate;
}
.hero::before {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(15,130,140,0.35), transparent 70%);
  top: -80px; inset-inline-start: -80px;
}
.hero::after {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(11,95,102,0.25), transparent 70%);
  bottom: -120px; inset-inline-end: -120px;
  animation-delay: -4s;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("/assets/oman-pattern.svg");
  background-size: 220px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-deep);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--oman-red); box-shadow: 0 0 0 4px rgba(200,16,46,0.15); }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--teal-primary), var(--teal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.85;
}
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 40px;
  display: flex;
  gap: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats .stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--teal-deep);
}
.hero-stats .stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---- Phone Mockup ---- */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.phone {
  position: relative;
  width: 290px;
  height: 590px;
  background: linear-gradient(160deg, #1a2b3c, #0e1b2c);
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 50px 100px -30px rgba(15,130,140,0.4);
  transform: rotate(-3deg);
  animation: tilt 7s ease-in-out infinite alternate;
}
.phone::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #0a1422;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}
.phone.phone-image {
  background: transparent;
  box-shadow: none;
  padding: 0;
  height: auto;
  animation: none;
  transform: none;
}
.phone.phone-image::before {
  display: none;
}
.phone.phone-image img {
  width: 100%;
  display: block;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #F8FBFB, #EAF2F3);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  padding: 44px 16px 16px;
}
.phone-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.phone-header .ph-logo {
  font-weight: 800; color: var(--teal-deep); font-size: 14px;
}
.phone-header .ph-bell {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; color: var(--teal-primary); font-size: 14px;
}
.phone-search {
  background: #fff; border-radius: 12px; padding: 10px 12px;
  font-size: 11px; color: var(--muted); margin-bottom: 14px;
  box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 8px;
}
.phone-search::before {
  content: "⌕"; color: var(--teal-primary); font-weight: 800;
}
.job-card {
  background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
  display: flex; gap: 10px;
  border: 1px solid rgba(15,130,140,0.08);
}
.job-card .ji {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-soft), #fff);
  display: grid; place-items: center;
  color: var(--teal-primary); font-weight: 800; font-size: 14px;
  flex-shrink: 0;
}
.job-card .jt { font-size: 12px; font-weight: 700; color: var(--navy); }
.job-card .jc { font-size: 10px; color: var(--muted); margin-top: 2px; }
.job-card .jm {
  display: inline-block; margin-top: 6px;
  font-size: 9px; font-weight: 700; color: var(--teal-primary);
  background: var(--teal-soft); padding: 3px 8px; border-radius: 999px;
}
.phone-tab {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: #fff; padding: 12px 18px;
  display: flex; justify-content: space-around;
  border-top: 1px solid var(--line);
}
.phone-tab span {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--bg-tint);
}
.phone-tab span.active { background: var(--teal-primary); }

@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-30px) translateX(20px); }
}
@keyframes tilt {
  0% { transform: rotate(-3deg) translateY(0); }
  100% { transform: rotate(-1deg) translateY(-12px); }
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 18px;
}
.trust-label {
  font-size: 13px; font-weight: 700; color: var(--muted);
  letter-spacing: 0.05em;
}
.trust-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.trust-pill {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  transition: all var(--dur) var(--ease);
}
.trust-pill:hover { border-color: var(--teal-primary); color: var(--teal-primary); transform: translateY(-2px); }

/* ---------- App Download ---------- */
.app-section {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-primary) 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.app-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("/assets/oman-pattern.svg");
  background-size: 180px;
  opacity: 0.07;
}
.app-section .section-title { color: #fff; }
.app-section .eyebrow { background: rgba(255,255,255,0.15); color: #fff; }
.app-section .section-sub { color: rgba(255,255,255,0.85); }

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.store-badges {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-top: 36px; position: relative; z-index: 1;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff;
  padding: 12px 22px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-width: 200px;
}
.store-badge:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.3); }
.store-badge svg { width: 30px; height: 30px; flex-shrink: 0; }
.store-badge .sb-text { text-align: start; line-height: 1.2; }
.store-badge .sb-small { font-size: 10px; opacity: 0.85; font-weight: 500; }
.store-badge .sb-big { font-size: 17px; font-weight: 700; }
.app-caption {
  margin-top: 20px; font-size: 13px;
  color: rgba(255,255,255,0.75); position: relative; z-index: 1;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute;
  top: 0; inset-inline-start: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-deep));
  transform: scaleX(0);
  transform-origin: inset-inline-start;
  transition: transform var(--dur) var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-primary);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-soft), #fff);
  border: 1px solid rgba(15,130,140,0.15);
  display: grid; place-items: center;
  color: var(--teal-primary);
  margin-bottom: 20px;
  transition: transform var(--dur) var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-title {
  font-size: 18px; font-weight: 800; color: var(--navy);
  margin-bottom: 10px;
}
.feature-desc { color: var(--muted); font-size: 14.5px; }

/* ---------- How it works ---------- */
.how-section { background: var(--bg-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute;
  top: 38px; inset-inline-start: 16%;
  width: 68%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-primary) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 22px;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-teal);
}
.step h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured {
  background: linear-gradient(180deg, #fff 0%, #FAFEFE 100%);
  border: 2px solid var(--teal-primary);
  box-shadow: var(--shadow-teal);
  transform: translateY(-8px);
}
.plan.featured:hover { transform: translateY(-14px); }
.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--oman-red);
  color: #fff;
  font-size: 12px; font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 14px rgba(200,16,46,0.3);
}
.plan-name { font-size: 14px; font-weight: 800; color: var(--teal-primary); letter-spacing: 0.08em; text-transform: uppercase; }
.plan-price {
  margin-top: 12px;
  font-size: 44px; font-weight: 800; color: var(--navy);
  line-height: 1;
}
.plan-price small { font-size: 15px; font-weight: 600; color: var(--muted); margin-inline-start: 6px; }
.plan-tag { margin-top: 8px; color: var(--muted); font-size: 14px; }
.plan-features {
  list-style: none;
  margin: 26px 0;
  padding: 0;
  flex: 1;
}
.plan-features li {
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
  display: flex; gap: 10px; align-items: flex-start;
}
.plan-features li::before {
  content: "✓";
  color: var(--teal-primary);
  font-weight: 800;
  flex-shrink: 0;
}
.plan-features li:last-child { border-bottom: none; }
.plan .btn { width: 100%; }

/* ---------- About ---------- */
.about-section { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--navy); line-height: 1.25; }
.about-text p { margin-top: 20px; color: var(--muted); font-size: 16.5px; line-height: 1.9; }
.about-points {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.about-points li {
  display: flex; gap: 12px; align-items: center;
  font-weight: 600; color: var(--ink);
}
.about-points li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-primary);
  flex-shrink: 0;
}
.about-visual {
  position: relative;
  background: linear-gradient(160deg, var(--teal-soft), #fff);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  border: 1px solid rgba(15,130,140,0.15);
  overflow: hidden;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.about-visual::before {
  content: ""; position: absolute;
  inset-inline-start: 0; top: 20%;
  width: 8px; height: 60%;
  background: linear-gradient(180deg, var(--oman-red) 0%, var(--oman-red) 33%, #fff 33%, #fff 66%, var(--oman-green) 66%);
  border-radius: 0 4px 4px 0;
}
.about-visual::after {
  content: ""; position: absolute;
  inset: 0;
  background-image: url("/assets/oman-pattern.svg");
  background-size: 180px;
  opacity: 0.08;
}
.about-medallion {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  position: relative;
  z-index: 1;
  border: 8px solid var(--teal-soft);
}
.about-medallion .am-text {
  text-align: center;
}
.about-medallion .am-big {
  font-size: 38px; font-weight: 800;
  color: var(--teal-deep);
  line-height: 1;
}
.about-medallion .am-small {
  margin-top: 8px;
  font-size: 12px; font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.about-generic-image {
  max-width: 100%;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

/* ---------- Oman Trust ---------- */
.oman-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.oman-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  overflow: hidden;
}
.oman-card::before {
  content: "";
  position: absolute;
  top: 0; inset-inline-end: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 80px 80px 0;
  border-color: transparent var(--oman-red) transparent transparent;
  opacity: 0.9;
}
body[dir="ltr"] .oman-card::before {
  border-width: 0 0 80px 80px;
  border-color: transparent transparent var(--oman-red) transparent;
  inset-inline-end: auto;
  right: 0;
}
.oman-card-bg {
  position: absolute;
  inset-inline-end: -40px;
  bottom: -40px;
  width: 360px;
  opacity: 0.18;
  pointer-events: none;
}
.oman-card-bg svg { width: 100%; height: auto; }
.oman-content { position: relative; z-index: 1; max-width: 720px; }
.oman-content h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.oman-flag-line {
  display: inline-flex; gap: 4px; margin-bottom: 18px;
}
.oman-flag-line span {
  width: 30px; height: 4px; border-radius: 2px;
}
.oman-flag-line span:nth-child(1) { background: var(--oman-red); }
.oman-flag-line span:nth-child(2) { background: var(--oman-white); border: 1px solid var(--line); }
.oman-flag-line span:nth-child(3) { background: var(--oman-green); }
.oman-points {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.oman-point {
  padding: 22px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all var(--dur) var(--ease);
}
.oman-point:hover { background: var(--teal-soft); border-color: var(--teal-primary); transform: translateY(-3px); }
.oman-point .op-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: #fff; display: grid; place-items: center;
  color: var(--teal-primary); margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.oman-point .op-icon svg { width: 18px; height: 18px; }
.oman-point h4 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.oman-point p { font-size: 13px; color: var(--muted); }

/* ---------- Benefits split ---------- */
.benefits-section { background: #fff; }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.benefit-panel {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.benefit-panel:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-panel.seekers {
  background: linear-gradient(160deg, #fff, var(--teal-soft));
}
.benefit-panel.companies {
  background: linear-gradient(160deg, var(--navy), #1c2d40);
  color: #fff;
}
.benefit-panel.companies .bp-title { color: #fff; }
.benefit-panel.companies .bp-list li { color: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.12); }
.benefit-panel.companies .bp-list li::before { background: var(--teal-primary); }
.benefit-panel.companies .bp-icon { background: rgba(15,130,140,0.25); color: #fff; }
.bp-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: #fff;
  color: var(--teal-primary);
  display: grid; place-items: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.bp-icon svg { width: 28px; height: 28px; }
.bp-title { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.bp-sub { color: var(--muted); margin-bottom: 24px; font-size: 15px; }
.benefit-panel.companies .bp-sub { color: rgba(255,255,255,0.7); }
.bp-list { list-style: none; }
.bp-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
  display: flex; gap: 12px; align-items: center;
}
.bp-list li::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-primary);
  flex-shrink: 0;
}
.bp-list li:last-child { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq-item[open] { border-color: var(--teal-primary); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--teal-primary);
  font-weight: 600;
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-primary), var(--teal-deep));
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/assets/oman-pattern.svg");
  background-size: 200px;
  opacity: 0.06;
}
.final-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  position: relative; z-index: 1;
}
.final-cta p {
  margin-top: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  position: relative; z-index: 1;
}
.final-cta .hero-cta {
  justify-content: center;
  position: relative;
  z-index: 1;
}
.final-cta .btn-ghost {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.final-cta .btn-ghost:hover { background: #fff; color: var(--teal-deep); }
.final-cta .btn-primary {
  background: #fff;
  color: var(--teal-deep);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.final-cta .btn-primary:hover { background: #f6fafa; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 70px 0 30px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--oman-red) 0%, var(--oman-red) 33%, transparent 33%, transparent 66%, var(--oman-green) 66%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand img { height: 38px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.65); max-width: 320px; }
.footer-col h4 {
  font-size: 14px; font-weight: 800; color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--teal-primary); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover { background: var(--teal-primary); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ---------- Reveal on scroll (with fallback) ---------- */
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    animation: revealIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  @keyframes revealIn {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ============================================================
   Responsive — Global Breakpoints
   ============================================================ */

/* ---- Mobile menu toggle (CSS-only via hidden checkbox) ---- */
.nav-toggle-cb { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.menu-toggle .ico-close { display: none; }
.nav-toggle-cb:checked ~ .menu-toggle .ico-open { display: none; }
.nav-toggle-cb:checked ~ .menu-toggle .ico-close { display: inline-block; }

/* ---- Tablet & below (≤ 980px) ---- */
@media (max-width: 980px) {
  section { padding: 70px 0; }

  /* Hero */
  .hero { padding: 50px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-text { text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .phone-wrap { order: 2; max-width: 320px; margin: 0 auto; }

  /* Grids */
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.featured { transform: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .oman-points { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }

  /* ===== Mobile Navbar ===== */
  .nav-inner { height: 64px; gap: 12px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    color: var(--teal-darker);
    background: #fff;
    flex-shrink: 0;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
    order: -1;
  }
  .menu-toggle:hover { border-color: var(--teal-primary); color: var(--teal-primary); }

  .nav-links {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: #fff;
    flex-direction: column;
    width: 100%;
    padding: 16px 20px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s var(--ease), opacity 0.3s var(--ease);
    opacity: 0;
    z-index: 60;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 15px;
  }
  .nav-links a:hover { background: var(--teal-soft); }
  .nav-links a::after { display: none; }
  .nav-toggle-cb:checked ~ nav .nav-links {
    max-height: 70vh;
    opacity: 1;
    overflow-y: auto;
  }

  /* Compact nav-actions on tablet */
  .nav-actions { gap: 6px; }
  .nav-actions .lang-switch { padding: 8px 12px; font-size: 12px; }
  .nav-actions .btn-sm { padding: 9px 14px; font-size: 13px; }
}

/* ---- Tight tablet / large phone (≤ 768px) ---- */
@media (max-width: 768px) {
  .container { padding-inline: 18px; }
  section { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }

  /* Nav actions: keep only EN flag (icon) + primary CTA on tablet */
  .nav-actions .lang-switch[aria-label] {
    font-size: 0;
    padding: 8px;
    gap: 0;
    width: 38px; height: 38px;
    justify-content: center;
  }
  .nav-actions .lang-switch[aria-label] svg { width: 18px; height: 18px; }
  /* Hide text-only login link on tablet — keep CTA button */
  .nav-actions .lang-switch:not([aria-label]) { display: none; }
  .nav-actions .btn-sm { padding: 9px 14px; font-size: 13px; }

  /* Brand */
  .brand img { height: 32px; }
  .brand-khanjar { width: 26px; height: 26px; }
  .brand-khanjar svg { width: 14px; height: 14px; }

  /* Hero stats stack */
  .hero-stats { gap: 24px; }
  .hero-stats .stat strong { font-size: 22px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }

  /* Buttons full-width on small screens for hero */
  .hero-cta { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; margin-top: 28px; }
  .hero-cta .btn { width: 100%; }

  /* Features single col */
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---- Phone (≤ 480px) ---- */
@media (max-width: 480px) {
  .container { padding-inline: 14px; }
  section { padding: 44px 0; }

  /* Hero */
  .hero { padding: 32px 0 56px; }
  .hero-inner { gap: 36px; }
  .hero-badge { font-size: 12px; padding: 6px 12px; }
  .hero p.lead { font-size: 15.5px; line-height: 1.75; margin-top: 18px; }
  .hero-stats { gap: 18px; padding-top: 20px; margin-top: 28px; }
  .hero-stats .stat strong { font-size: 19px; }
  .hero-stats .stat span { font-size: 11.5px; }
  .phone-wrap { max-width: 260px; }

  /* Buttons */
  .btn { padding: 12px 22px; font-size: 14px; }
  .btn-sm { padding: 8px 14px; font-size: 12.5px; }

  /* Section heads */
  .section-title { font-size: clamp(24px, 7vw, 32px); }
  .section-sub { font-size: 14.5px; }
  .eyebrow { font-size: 11px; padding: 5px 11px; }

  /* Plan cards */
  .pricing-grid { gap: 18px; }

  /* Compact CTA on tiny screens */
  .nav-actions .btn-sm {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 999px;
  }
}

/* ---- Tiny phones (≤ 360px) ---- */
@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  .nav-actions { gap: 4px; }
  .nav-inner { gap: 8px; }
  .brand img { height: 28px; }
  .brand-khanjar { display: none; }
}


/* ============================================================
   Jobs Listing Page
   ============================================================ */

.jobs-hero {
  position: relative;
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(15,130,140,0.10), transparent 60%),
    linear-gradient(180deg, #FAFCFC 0%, #FFFFFF 100%);
  overflow: hidden;
  text-align: center;
}
.jobs-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/assets/oman-pattern.svg");
  background-size: 220px;
  opacity: 0.04;
}
.jobs-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  position: relative;
}
.jobs-hero p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin-inline: auto;
  position: relative;
}

/* ---- Search bar ---- */
.jobs-search {
  margin-top: 36px;
  max-width: 760px;
  margin-inline: auto;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.jobs-search .search-field {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
}
.jobs-search .search-field svg {
  width: 18px; height: 18px; color: var(--teal-primary); flex-shrink: 0;
}
.jobs-search input {
  border: none; background: transparent; outline: none;
  font: inherit; color: var(--ink); width: 100%;
  font-size: 14.5px;
}
.jobs-search input::placeholder { color: var(--muted); }
.jobs-search .btn { border-radius: 12px; }

/* ---- Filter chips ---- */
.jobs-filters {
  padding: 30px 0 10px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 72px;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.92);
}
.filter-chips {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding-bottom: 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--teal-soft) transparent;
}
.filter-chips::-webkit-scrollbar { height: 6px; }
.filter-chips::-webkit-scrollbar-thumb { background: var(--teal-soft); border-radius: 3px; }

.chip {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--teal-primary); color: var(--teal-primary); transform: translateY(-1px); }
.chip.active {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
  color: #fff;
  border-color: var(--teal-primary);
  box-shadow: 0 6px 14px rgba(15,130,140,0.25);
}
.chip .chip-count {
  background: rgba(15,130,140,0.12);
  color: var(--teal-deep);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}
.chip.active .chip-count { background: rgba(255,255,255,0.22); color: #fff; }
.chip svg { width: 14px; height: 14px; }

/* ---- Jobs section ---- */
.jobs-section {
  padding: 50px 0 80px;
  background: var(--bg-soft);
  min-height: 60vh;
}
.jobs-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}
.jobs-count {
  font-size: 15px;
  color: var(--muted);
}
.jobs-count strong { color: var(--navy); font-weight: 800; }
.jobs-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.jobs-sort svg { width: 14px; height: 14px; color: var(--teal-primary); }

/* ---- Jobs grid ---- */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.job-listing {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.job-listing:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-primary);
}
.job-listing-head {
  display: flex; gap: 14px; align-items: flex-start;
}
.job-logo {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-soft), #fff);
  border: 1px solid rgba(15,130,140,0.15);
  display: grid; place-items: center;
  color: var(--teal-deep);
  font-weight: 800; font-size: 16px;
  flex-shrink: 0;
}
.job-listing h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.35;
}
.job-company {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.job-match {
  position: absolute;
  top: 22px;
  inset-inline-end: 22px;
  font-size: 11px;
  font-weight: 800;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.job-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.job-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.job-meta svg { width: 14px; height: 14px; color: var(--teal-primary); flex-shrink: 0; }
.job-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.job-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line);
}
.job-tag.tag-tech { background: #EEF6FF; color: #1E5BAA; border-color: #DDE9F8; }
.job-tag.tag-design { background: #FBEEFF; color: #8A2BB3; border-color: #F2DBFA; }
.job-tag.tag-business { background: #FFF4EC; color: #B05518; border-color: #FBE4D2; }
.job-tag.tag-gov { background: #ECF8F1; color: #1F7A48; border-color: #D8F0E1; }

.job-listing-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}
.job-salary {
  font-size: 14px; font-weight: 800; color: var(--teal-deep);
}
.job-cta {
  font-size: 13px; font-weight: 800; color: var(--teal-primary);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--dur) var(--ease);
}
.job-listing:hover .job-cta { gap: 10px; }
.job-cta svg { width: 14px; height: 14px; }
body[dir="ltr"] .job-cta svg { transform: scaleX(-1); }

/* ---- Empty state when filter has no jobs (relies on CSS only display logic) ---- */
.jobs-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
  display: none;
}
.jobs-empty .empty-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  color: var(--teal-primary);
}
.jobs-empty h3 { color: var(--navy); font-weight: 800; margin-bottom: 8px; }
.jobs-empty p { color: var(--muted); }

/* ---- Pagination ---- */
.jobs-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-weight: 700; color: var(--ink);
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}
.page-btn:hover { border-color: var(--teal-primary); color: var(--teal-primary); }
.page-btn.active {
  background: var(--teal-primary); color: #fff; border-color: var(--teal-primary);
}

/* ============================================================
   Job Details Modal (CSS :target trick — no JS)
   ============================================================ */
.job-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 27, 44, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.job-modal:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.job-modal-card {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 30px 80px rgba(15,130,140,0.2);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s var(--ease);
  position: relative;
}
.job-modal:target .job-modal-card {
  transform: translateY(0) scale(1);
}
.job-modal-head {
  padding: 32px 32px 22px;
  background: linear-gradient(160deg, var(--teal-soft), #fff);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  position: relative;
}
.job-modal-head::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 30%;
  width: 4px;
  height: 40%;
  background: linear-gradient(180deg, var(--oman-red), var(--oman-green));
  border-radius: 0 4px 4px 0;
}
.modal-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.modal-close:hover { background: var(--teal-primary); color: #fff; border-color: var(--teal-primary); transform: rotate(90deg); }
.job-modal-head h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
  padding-inline-end: 50px;
}
.job-modal-head .job-company {
  font-size: 15px;
  color: var(--teal-deep);
  font-weight: 700;
}
.job-modal-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 16px;
}
.job-modal-meta .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.job-modal-meta .pill svg { width: 13px; height: 13px; color: var(--teal-primary); }

.job-modal-body { padding: 28px 32px; }
.job-modal-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin: 22px 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.job-modal-body h3:first-child { margin-top: 0; }
.job-modal-body h3::before {
  content: "";
  width: 4px; height: 18px;
  background: var(--teal-primary);
  border-radius: 2px;
}
.job-modal-body p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.job-modal-body ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.job-modal-body ul li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.job-modal-body ul li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--teal-primary);
  font-weight: 800;
}
.job-modal-foot {
  position: sticky;
  bottom: 0;
  padding: 18px 32px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  display: flex; gap: 12px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.job-modal-foot .btn { flex: 1; }

/* Hide modal content from layout flow when not targeted (keeps DOM clean) */
.job-modal-card * { transition: opacity 0.2s var(--ease); }

/* Responsive */
@media (max-width: 860px) {
  .jobs-grid { grid-template-columns: 1fr; }
  .jobs-search { grid-template-columns: 1fr; }
  .jobs-filters { top: 0; }
}
@media (max-width: 560px) {
  .job-modal { padding: 12px; }
  .job-modal-card { max-height: 92vh; }
  .job-modal-head, .job-modal-body { padding-inline: 22px; }
  .job-modal-foot { padding: 14px 22px; flex-direction: column; }
}

/* ============================================================
   AUTH PAGES — Login, Signup, Forgot, Reset Password
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: var(--bg);
}
body[dir="ltr"] .auth-page { grid-template-columns: 1.05fr 1fr; }

.auth-aside {
  position: relative;
  background:
    radial-gradient(120% 80% at 80% 20%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(80% 60% at 10% 90%, rgba(0,122,51,0.18), transparent 60%),
    linear-gradient(160deg, var(--teal-deep) 0%, var(--teal-darker) 60%, var(--navy) 100%);
  color: #fff;
  padding: 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/oman-pattern.svg");
  background-size: 380px;
  opacity: 0.06;
  pointer-events: none;
}
.auth-aside::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--oman-red) 0%, var(--oman-red) 33%, #fff 33%, #fff 66%, var(--oman-green) 66%, var(--oman-green) 100%);
}
.auth-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.auth-brand img { height: 40px; filter: brightness(0) invert(1); }
.auth-brand-text { font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }

.auth-aside-content { position: relative; z-index: 2; max-width: 460px; }
.auth-aside-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.auth-aside-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,0.2); }
.auth-aside h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.auth-aside h2 span { color: #7DD3DC; }
.auth-aside p {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
}
.auth-aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.auth-aside-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.92);
}
.auth-aside-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  display: inline-block;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}
.auth-aside-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.auth-aside-foot .flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
}
.auth-aside-foot .flag-stripes {
  display: inline-flex;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
}
.auth-aside-foot .flag-stripes span { flex: 1; }
.auth-aside-foot .flag-stripes span:nth-child(1) { background: var(--oman-red); }
.auth-aside-foot .flag-stripes span:nth-child(2) { background: #fff; }
.auth-aside-foot .flag-stripes span:nth-child(3) { background: var(--oman-green); }

.auth-main {
  display: flex;
  flex-direction: column;
  padding: 32px 56px;
  background: var(--bg);
  overflow-y: auto;
}
.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.auth-topbar a.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.auth-topbar a.back-link:hover { color: var(--teal-primary); }

.auth-card {
  width: 100%;
  max-width: 480px;
  margin: auto;
  padding: 8px 0 40px;
}
.auth-card.wide { max-width: 560px; }
.auth-card h1 {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.auth-card .auth-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.auth-form { display: grid; gap: 16px; }
.auth-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.field label .req { color: var(--oman-red); margin-inline-start: 2px; }
.input, .select, .file-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:focus, .select:focus, .file-input:focus {
  outline: none;
  border-color: var(--teal-primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--teal-glow);
}
.input::placeholder { color: #98A4B0; }
.field-hint { font-size: 12.5px; color: var(--muted); }
.field-error { font-size: 12.5px; color: var(--oman-red); display: none; }
.input:invalid:not(:placeholder-shown):not(:focus) { border-color: var(--oman-red); background: #FFF5F6; }
.input:invalid:not(:placeholder-shown):not(:focus) ~ .field-error { display: block; }

.input-icon { position: relative; }
.input-icon .input { padding-inline-start: 44px; }
.input-icon svg {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

/* Phone field with country prefix */
.phone-field {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.phone-field:focus-within {
  border-color: var(--teal-primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--teal-glow);
}
.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: rgba(15,130,140,0.06);
  border-inline-end: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  color: var(--teal-deep);
  white-space: nowrap;
}
.phone-field .input {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.phone-field .input:focus { box-shadow: none; background: transparent; }

/* File upload */
.upload {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.upload:hover { border-color: var(--teal-primary); background: var(--teal-soft); }
.upload input[type="file"] { display: none; }
.upload-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal-primary);
  flex-shrink: 0;
}
.upload-text { display: grid; gap: 2px; }
.upload-text strong { font-size: 14px; color: var(--ink); font-weight: 700; }
.upload-text span { font-size: 12.5px; color: var(--muted); }

/* Password toggle (CSS-only via :checked) */
.password-field { position: relative; }
.password-toggle {
  position: absolute;
  inset-inline-end: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--muted);
  cursor: pointer;
}
.password-toggle:hover { color: var(--teal-primary); background: var(--teal-soft); }
.password-toggle svg { width: 18px; height: 18px; }
.pw-show { display: none; }
.password-field input[type="checkbox"] { display: none; }
.password-field input[type="checkbox"]:checked ~ .input { -webkit-text-security: none; }
.password-field input[type="checkbox"]:checked ~ .password-toggle .pw-show { display: block; }
.password-field input[type="checkbox"]:checked ~ .password-toggle .pw-hide { display: none; }
.password-field .input { -webkit-text-security: disc; padding-inline-end: 50px; }

/* Strength meter */
.pw-meter { display: grid; gap: 6px; margin-top: 4px; }
.pw-bars { display: flex; gap: 4px; }
.pw-bars span {
  flex: 1; height: 4px; border-radius: 999px;
  background: var(--line);
}
.pw-bars span.on1 { background: #E0784D; }
.pw-bars span.on2 { background: #E0B84D; }
.pw-bars span.on3 { background: var(--oman-green); }
.pw-meter small { font-size: 12px; color: var(--muted); }

/* Checkbox / Remember */
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  margin-top: 1px;
}
.check input[type="checkbox"]:checked {
  background: var(--teal-primary);
  border-color: var(--teal-primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.check a { color: var(--teal-primary); font-weight: 700; }
.check a:hover { text-decoration: underline; }

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.link-teal { color: var(--teal-primary); font-weight: 700; font-size: 13.5px; }
.link-teal:hover { text-decoration: underline; }

.btn-block { width: 100%; padding: 15px; font-size: 15px; }

.divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--muted); font-size: 12.5px; font-weight: 600;
  margin: 8px 0;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-social {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 700; font-size: 14px;
  color: var(--ink);
  transition: all var(--dur) var(--ease);
}
.btn-social:hover { border-color: var(--teal-primary); background: var(--bg-soft); transform: translateY(-1px); }
.btn-social svg { width: 18px; height: 18px; }

.auth-foot {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
}
.auth-foot a { color: var(--teal-primary); font-weight: 700; }
.auth-foot a:hover { text-decoration: underline; }

.auth-legal {
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}
.auth-legal a { color: var(--teal-deep); }

/* OTP / reset success */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.6;
}
.alert-info { background: var(--teal-soft); border: 1px solid rgba(15,130,140,0.2); color: var(--teal-darker); }
.alert-success { background: #E8F7EE; border: 1px solid rgba(0,122,51,0.25); color: #0B5E2A; }
.alert svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }

/* Responsive */
@media (max-width: 980px) {
  .auth-page { grid-template-columns: 1fr; }
  body[dir="ltr"] .auth-page { grid-template-columns: 1fr; }
  .auth-aside { padding: 36px 28px; min-height: 320px; }
  .auth-aside-content { max-width: 100%; }
  .auth-main { padding: 24px 22px 40px; }
  .auth-row { grid-template-columns: 1fr; }
  .social-row { grid-template-columns: 1fr; }
}

/* ============================================================
   CORE FEATURES — Journey, AI Interview, Chat, CV Builder, Practice
   ============================================================ */
.journey { padding: 110px 0 60px; background: var(--bg); }
.journey .section-head { margin-bottom: 64px; }

/* ---- 3 entry-point cards (Jobs, Seasonal, Talent Bank) ---- */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 80px;
}
.entry-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  overflow: hidden;
}
.entry-card::before {
  content: "";
  position: absolute;
  top: 0; inset-inline-start: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-deep));
  opacity: 0.85;
}
.entry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15,130,140,0.35);
}
.entry-ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.entry-ico svg { width: 28px; height: 28px; }
.entry-card h3 {
  font-size: 19px; font-weight: 800; color: var(--navy);
  margin-bottom: 8px;
}
.entry-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.entry-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 5px 12px; border-radius: 999px;
}
.entry-tag.green { color: var(--oman-green); background: rgba(0,122,51,0.08); }
.entry-tag.gold { color: #B7791F; background: #FEF3C7; }

/* ---- Journey timeline (Apply → AI screening → AI interview → Decision → Live interview → Chat) ---- */
.timeline-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
.timeline-head .eyebrow { background: rgba(15,130,140,0.1); }
.timeline-head h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 900;
  color: var(--navy);
  margin: 14px 0 10px;
  letter-spacing: -0.01em;
}
.timeline-head p { color: var(--muted); font-size: 15.5px; }

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 32px;
  top: 28px; bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal-primary), rgba(15,130,140,0.15));
  border-radius: 2px;
}
.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 22px;
  align-items: flex-start;
}
.tl-num {
  position: relative;
  z-index: 2;
  width: 66px; height: 66px;
  border-radius: 20px;
  display: grid; place-items: center;
  font-weight: 900; font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
  box-shadow: var(--shadow-teal);
  flex-shrink: 0;
}
.tl-num svg { width: 26px; height: 26px; }
.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15,130,140,0.25);
}
.tl-card .tl-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-primary);
  margin-bottom: 8px;
}
.tl-card .tl-meta::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-primary);
}
.tl-card h4 {
  font-size: 18px; font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.tl-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.tl-card ul {
  margin-top: 12px;
  display: grid; gap: 8px;
  list-style: none; padding: 0;
}
.tl-card ul li {
  font-size: 13.5px;
  color: var(--ink);
  padding-inline-start: 22px;
  position: relative;
}
.tl-card ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F828C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 9px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Branching outcome row inside a step */
.tl-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.tl-branch {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 13.5px;
  line-height: 1.65;
}
.tl-branch strong { display: block; font-weight: 800; margin-bottom: 4px; font-size: 14px; }
.tl-branch.accept { background: rgba(0,122,51,0.06); border-color: rgba(0,122,51,0.2); }
.tl-branch.accept strong { color: var(--oman-green); }
.tl-branch.reject { background: rgba(200,16,46,0.05); border-color: rgba(200,16,46,0.2); }
.tl-branch.reject strong { color: var(--oman-red); }

/* AI badge chip */
.ai-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #6EE7E7, #0F828C);
  color: #fff;
  padding: 4px 10px; border-radius: 999px;
  margin-inline-start: 8px;
  vertical-align: middle;
}
.ai-chip::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}

/* ---- Bonus features grid (CV builder + AI practice) ---- */
.bonus-grid {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bonus-card {
  position: relative;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #0E1B2C 0%, #0B5F66 100%);
  color: #fff;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bonus-card::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  inset-inline-end: -100px;
  top: -100px;
  background: radial-gradient(circle at center, rgba(110,231,231,0.25), transparent 70%);
  pointer-events: none;
}
.bonus-card.alt {
  background: linear-gradient(160deg, #0F828C 0%, #084046 100%);
}
.bonus-card.alt::after {
  background: radial-gradient(circle at center, rgba(255,255,255,0.18), transparent 70%);
}
.bonus-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  padding: 5px 12px; border-radius: 999px;
  width: fit-content;
}
.bonus-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  margin: 16px 0 10px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.bonus-card h3 span { color: #7DD3DC; }
.bonus-card > p {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}
.bonus-foot {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.mini-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  color: #fff;
}
.mini-tag svg { width: 12px; height: 12px; }

/* Mini chat preview (used inside live interview step) */
.chat-preview {
  margin-top: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: grid; gap: 10px;
}
.chat-msg {
  display: flex; gap: 10px; align-items: flex-end;
  max-width: 82%;
}
.chat-msg .bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
}
.chat-msg.them .bubble {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.chat-msg.you {
  align-self: flex-end;
  margin-inline-start: auto;
  flex-direction: row-reverse;
}
.chat-msg.you .bubble {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
  color: #fff;
  border-bottom-right-radius: 6px;
}
.chat-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
  color: var(--teal-deep);
  flex-shrink: 0;
}
.chat-avatar.you { background: var(--navy); color: #fff; }

/* AI analysis pills (used inside AI interview step) */
.ai-pills {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ai-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  background: var(--teal-soft);
  color: var(--teal-darker);
  border: 1px solid rgba(15,130,140,0.2);
}
.ai-pill svg { width: 13px; height: 13px; color: var(--teal-primary); }

@media (max-width: 880px) {
  .entry-grid { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: 1fr; }
  .tl-branches { grid-template-columns: 1fr; }
  .timeline::before { inset-inline-start: 24px; }
  .tl-step { grid-template-columns: 50px 1fr; gap: 14px; }
  .tl-num { width: 50px; height: 50px; font-size: 16px; border-radius: 16px; }
  .tl-card { padding: 18px 18px; }
}

/* ============================================================
   LEGAL PAGES — Privacy, Terms, Refund
   ============================================================ */
.legal-hero {
  position: relative;
  padding: 90px 0 60px;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(15,130,140,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/oman-pattern.svg");
  background-size: 380px;
  opacity: 0.04;
  pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 2; }
.legal-crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); margin-bottom: 20px;
}
.legal-crumbs a { color: var(--teal-deep); font-weight: 700; }
.legal-crumbs a:hover { color: var(--teal-primary); }
.legal-crumbs span.sep { opacity: 0.5; }
.legal-hero .eyebrow { background: var(--teal-soft); }
.legal-hero h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 14px 0 14px;
}
.legal-hero .legal-lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.85;
}
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.legal-meta span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.legal-meta span svg { width: 14px; height: 14px; color: var(--teal-primary); }

.legal-section { padding: 60px 0 100px; background: var(--bg); }
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* Sidebar TOC */
.legal-toc {
  position: sticky;
  top: 92px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.legal-toc h4 {
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-primary);
  margin-bottom: 14px;
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.legal-toc li a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  border-inline-start: 2px solid transparent;
  transition: all var(--dur) var(--ease);
}
.legal-toc li a:hover {
  background: #fff;
  color: var(--teal-primary);
  border-inline-start-color: var(--teal-primary);
}

.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink);
}
.legal-content section { padding: 0; margin-bottom: 36px; scroll-margin-top: 90px; }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-soft);
  letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 12px;
}
.legal-content h2 .num {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--teal-primary);
  width: 30px; height: 30px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.legal-content h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--teal-deep);
  margin: 22px 0 8px;
}
.legal-content p { margin-bottom: 12px; color: var(--ink); }
.legal-content p + p { margin-top: 0; }
.legal-content ul, .legal-content ol {
  margin: 8px 0 16px;
  padding-inline-start: 24px;
  display: grid;
  gap: 8px;
}
.legal-content ul li, .legal-content ol li { font-size: 14.5px; color: var(--ink); line-height: 1.85; }
.legal-content ul li::marker { color: var(--teal-primary); }
.legal-content ol li::marker { color: var(--teal-primary); font-weight: 700; }
.legal-content strong { color: var(--navy); font-weight: 700; }
.legal-content a { color: var(--teal-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--teal-deep); }

.legal-callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--teal-soft);
  border: 1px solid rgba(15,130,140,0.22);
  margin: 16px 0;
}
.legal-callout svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--teal-deep);
  margin-top: 2px;
}
.legal-callout p { margin: 0; font-size: 14.5px; color: var(--teal-darker); }
.legal-callout.warn { background: #FEF6E7; border-color: #F2C97D; }
.legal-callout.warn svg { color: #B7791F; }
.legal-callout.warn p { color: #7B5311; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.legal-table thead { background: var(--bg-tint); }
.legal-table th {
  text-align: start;
  padding: 12px 16px;
  font-weight: 800;
  color: var(--navy);
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.legal-table tr:last-child td { border-bottom: none; }

.legal-foot-cta {
  margin-top: 40px;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-darker));
  border-radius: var(--radius-lg);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.legal-foot-cta div { display: grid; gap: 4px; }
.legal-foot-cta strong { font-size: 16px; font-weight: 800; }
.legal-foot-cta span { font-size: 13.5px; color: rgba(255,255,255,0.85); }
.legal-foot-cta .btn-ghost {
  background: rgba(255,255,255,0.95);
  border-color: #fff;
  color: var(--teal-deep);
}
.legal-foot-cta .btn-ghost:hover { background: #fff; color: var(--teal-darker); }

@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
  .legal-content { padding: 28px 24px; }
}

/* ============================================================
   Auth Tabs (Company / Super Admin) — CSS-only via radio
   ============================================================ */
.auth-tabs { margin-top: 8px; }
.auth-tabs > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.auth-tabs-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  background: var(--teal-soft);
  border-radius: 14px;
  margin-bottom: 22px;
}
.auth-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-deep);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  user-select: none;
}
.auth-tab:hover { color: var(--teal-darker); }

/* Active tab styling driven by sibling radios */
#tab-company:checked ~ .auth-tabs-head label[for="tab-company"],
#tab-admin:checked ~ .auth-tabs-head label[for="tab-admin"] {
  background: #fff;
  color: var(--teal-darker);
  box-shadow: 0 4px 14px rgba(11, 95, 102, 0.12);
}

/* Panel visibility */
.auth-panel { display: none; }
#tab-company:checked ~ .auth-panel-company,
#tab-admin:checked ~ .auth-panel-admin { display: block; }

/* Phone prefix with flag stripes */
.phone-field {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.phone-field:focus-within {
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 4px var(--teal-glow);
}
.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--teal-soft);
  color: var(--teal-darker);
  font-weight: 800;
  font-size: 14px;
  border-inline-end: 1.5px solid var(--line);
  white-space: nowrap;
}
.phone-field .input {
  border: none;
  border-radius: 0;
  flex: 1;
  background: transparent;
  font-size: 15px;
  padding: 14px 16px;
  direction: ltr;
  text-align: start;
}
.phone-field .input:focus { box-shadow: none; }

/* Mini Omani flag stripes for phone prefix */
.flag-stripes.mini {
  display: inline-flex;
  flex-direction: column;
  width: 16px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}
.flag-stripes.mini span {
  display: block;
  flex: 1;
}
.flag-stripes.mini span:nth-child(1) { background: var(--oman-red); }
.flag-stripes.mini span:nth-child(2) { background: #fff; }
.flag-stripes.mini span:nth-child(3) { background: var(--oman-green); }

/* Admin info note */
.admin-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(200, 162, 75, 0.10), rgba(15, 130, 140, 0.06));
  border: 1px solid rgba(200, 162, 75, 0.30);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-darker);
  margin-bottom: 18px;
}
.admin-note svg { flex-shrink: 0; color: var(--oman-gold, #C8A24B); }

/* ============================================================
   OTP page — code input boxes
   ============================================================ */
.otp-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-deep) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(15, 130, 140, 0.30);
}

.phone-mask {
  color: var(--teal-deep);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-inline-start: 4px;
}

.otp-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 24px 0 16px;
}
.otp-box {
  width: 100%;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--teal-darker);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  font-family: var(--font-en);
}
.otp-box:focus {
  outline: none;
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 4px var(--teal-glow);
  transform: translateY(-2px);
}
.otp-box:not(:placeholder-shown) {
  border-color: var(--teal-primary);
  background: var(--teal-soft);
}

.otp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.link-teal.as-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-weight: 700;
}
.link-teal.center-text {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
}

/* Field hint (non-error) */
.field-hint {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}

/* Make social buttons act as links */
a.btn-social { text-decoration: none; }

/* Responsive — OTP on small screens */
@media (max-width: 480px) {
  .otp-row { gap: 6px; }
  .otp-box { height: 52px; font-size: 20px; border-radius: 10px; }
  .auth-tabs-head { grid-template-columns: 1fr 1fr; }
  .auth-tab { padding: 10px 8px; font-size: 13px; }
}

/* ============================================================
   Comprehensive Responsive Polish — Auth & Misc
   ============================================================ */

/* Prevent any rogue horizontal scroll site-wide */
html, body { max-width: 100%; overflow-x: hidden; }

/* Tablet: tighter auth forms */
@media (max-width: 980px) {
  .auth-aside { padding: 32px 24px; min-height: auto; }
  .auth-aside h2 { font-size: 26px; }
  .auth-aside p { font-size: 14.5px; }
  .auth-aside-list li { font-size: 13.5px; }
  .auth-aside-foot { margin-top: 24px; flex-wrap: wrap; gap: 12px; }
  .auth-main { padding: 24px 20px 40px; }
  .auth-card { padding: 28px 22px; }
  .auth-card.wide { max-width: 100%; }
  .auth-card h1 { font-size: 26px; }

  /* Journey & timeline */
  .journey { padding: 70px 0 40px; }
  .journey .section-head { margin-bottom: 40px; }
}

/* Phone: tighter again */
@media (max-width: 600px) {
  .auth-aside { padding: 26px 20px 22px; }
  .auth-aside h2 { font-size: 22px; line-height: 1.3; }
  .auth-aside-list { gap: 10px; }
  .auth-aside-list li { font-size: 13px; }
  .auth-aside-foot { font-size: 11.5px; }
  .auth-aside-foot .flag-badge { font-size: 11.5px; padding: 5px 10px; }

  .auth-main { padding: 18px 14px 32px; }
  .auth-topbar { margin-bottom: 16px; }
  .auth-card { padding: 22px 18px; border-radius: 18px; }
  .auth-card h1 { font-size: 22px; }
  .auth-sub { font-size: 14px; }

  /* Tabs stack tighter */
  .auth-tabs-head { padding: 4px; gap: 4px; }
  .auth-tab { padding: 10px 8px; font-size: 13px; gap: 6px; }
  .auth-tab svg { width: 14px; height: 14px; }

  /* Form fields */
  .field label { font-size: 13.5px; }
  .input, .select { padding: 12px 14px; font-size: 14.5px; }
  .input-icon .input { padding-inline-start: 42px; }

  /* Phone field */
  .phone-prefix { padding: 0 10px; font-size: 13px; gap: 6px; }
  .phone-field .input { padding: 12px 12px; font-size: 14px; }

  /* Social row stacks */
  .social-row { grid-template-columns: 1fr; gap: 10px; }
  .btn-social { padding: 11px 14px; font-size: 13.5px; }

  /* OTP boxes */
  .otp-row { gap: 6px; margin: 18px 0 12px; }
  .otp-box { height: 48px; font-size: 18px; border-radius: 10px; }
  .otp-icon { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px; }
  .otp-icon svg { width: 24px; height: 24px; }
  .otp-meta { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* Admin note */
  .admin-note { padding: 10px 12px; font-size: 12.5px; }

  /* Upload box */
  .upload { padding: 16px 14px; gap: 10px; }
  .upload-text strong { font-size: 13.5px; }
  .upload-text span { font-size: 12px; }

  /* Divider */
  .divider { font-size: 12px; margin: 14px 0; }

  /* Auth foot */
  .auth-foot { font-size: 13.5px; }
  .auth-legal { font-size: 11.5px; line-height: 1.6; }

  /* Brand in aside */
  .auth-brand img { height: 32px; }
  .auth-brand-text { font-size: 16px; }

  /* Back link / lang switch on top */
  .auth-topbar a.back-link { font-size: 12.5px; }
  .auth-topbar .lang-switch { padding: 6px 11px; font-size: 11.5px; }
}

/* Tiny phones: even tighter OTP & form spacing */
@media (max-width: 380px) {
  .otp-row { gap: 5px; }
  .otp-box { height: 44px; font-size: 16px; }
  .auth-card { padding: 18px 14px; }
  .auth-tab { padding: 9px 6px; font-size: 12px; }
  .auth-tab svg { display: none; }
}

/* Jobs page polish */
@media (max-width: 600px) {
  .jobs-hero { padding: 50px 0 30px; }
  .jobs-controls { padding: 18px 16px; gap: 14px; }
  .jobs-search { gap: 10px; }
  .jobs-filters { gap: 8px; }
  .filter-chip { padding: 8px 14px; font-size: 12.5px; }
  .job-card { padding: 18px 16px; }
  .job-card h3 { font-size: 16px; }
}

/* Legal pages polish */
@media (max-width: 600px) {
  .legal-hero { padding: 50px 0 36px; }
  .legal-content { padding: 22px 18px; }
  .legal-content h2 { font-size: 19px; }
  .legal-content p, .legal-content li { font-size: 14.5px; line-height: 1.85; }
  .legal-toc { padding: 18px 16px; }
  .legal-foot-cta { padding: 28px 22px; }
  .legal-foot-cta h3 { font-size: 19px; }
}

/* Pricing & plan card readability on phones */
@media (max-width: 480px) {
  .plan { padding: 28px 22px; }
  .plan-price { font-size: 32px; }
  .plan-name { font-size: 17px; }
  .plan ul li { font-size: 13.5px; }
}

/* Hero stats: switch to 3-up grid on phone for cleaner layout */
@media (max-width: 480px) {
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
  }
  .hero-stats .stat { padding: 0; }
}

/* ============================================================
   Contact Section — Form + Info, with CSS-only success state
   ============================================================ */
.contact-section {
  padding: 110px 0;
  position: relative;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(15,130,140,0.08), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(200,162,75,0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/oman-pattern.svg");
  background-size: 380px;
  opacity: 0.03;
  pointer-events: none;
}
.contact-section .container { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 56px;
  align-items: start;
}

/* ---- Info column ---- */
.contact-info .section-title { margin-top: 14px; }
.contact-info .section-sub { margin-bottom: 32px; }
.grad-text {
  background: linear-gradient(120deg, var(--teal-primary), var(--teal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-channels {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}
.contact-channels li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-channels li:hover {
  border-color: rgba(15,130,140,0.30);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ch-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ch-ico svg { width: 20px; height: 20px; }
.contact-channels li strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 3px;
}
.contact-channels li a,
.contact-channels li span:not(.ch-ico):not(.flag-stripes) {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.contact-channels li a:hover { color: var(--teal-primary); }

.contact-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(200,162,75,0.10), rgba(15,130,140,0.06));
  border: 1px solid rgba(200,162,75,0.30);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-darker);
}

/* ---- Form column ---- */
.contact-form-wrap { position: relative; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 18px 50px rgba(11, 95, 102, 0.08);
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0; inset-inline-start: 24px; right: 24px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-deep), var(--oman-gold, #C8A24B));
  border-radius: 0 0 4px 4px;
}

.contact-form-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form-sub {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 24px;
}

.contact-form .field { margin-bottom: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row .field { margin-bottom: 18px; }

.contact-form .opt {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
  margin-inline-start: 4px;
}

.textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  line-height: 1.7;
}

/* ---- CSS-only success state via :target ---- */
.contact-success {
  display: none;
  background: #fff;
  border: 1px solid rgba(0,122,51,0.25);
  border-radius: 22px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(11, 95, 102, 0.10);
  animation: contactPop 0.5s var(--ease);
}
.contact-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34D399, var(--oman-green));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(0, 122, 51, 0.30);
}
.contact-success-icon svg { width: 36px; height: 36px; }
.contact-success h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.contact-success p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 420px;
  margin: 0 auto 24px;
}

/* When the success block is the URL :target → show it, hide the form */
#contact-success:target { display: block; }
#contact-success:target ~ .contact-form { display: none; }

@keyframes contactPop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .contact-section { padding: 70px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info .section-title { font-size: clamp(24px, 5vw, 32px); }
  .contact-form { padding: 28px 22px; }
}

@media (max-width: 600px) {
  .contact-section { padding: 50px 0; }
  .contact-channels { gap: 12px; }
  .contact-channels li { padding: 14px; gap: 12px; }
  .ch-ico { width: 38px; height: 38px; border-radius: 10px; }
  .ch-ico svg { width: 18px; height: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; border-radius: 18px; }
  .contact-form-title { font-size: 19px; }
  .contact-success { padding: 36px 22px; border-radius: 18px; }
  .contact-success-icon { width: 60px; height: 60px; }
  .contact-success-icon svg { width: 28px; height: 28px; }
  .contact-success h3 { font-size: 19px; }
  .contact-success p { font-size: 14px; }
}
