/* ==========================================================================
   Talent DNA — Corporate Landing Page
   Implements the approved Claude Design handoff (AR Desktop/Tablet/Mobile,
   EN Desktop artboards). Shared by AR (RTL) and EN (LTR) pages.
   ========================================================================== */

:root {
  /* Brand colors — exact values from the approved design system */
  --navy: #061637;
  --ink: #0b1f44;
  --cyan: #04d8eb;
  --blue: #086bff;
  --blue-hover: #0a5fe0;
  --violet: #6420de;
  --magenta: #d315ed;
  --teal: #04a9be;
  --white: #ffffff;
  --soft-bg: #f8fafc;
  --muted: #4a5876;
  --muted-on-navy: #9fb0d1;
  --border: #e3e8f2;
  --border-dashed: #c7cfe0;

  --gradient-full: linear-gradient(90deg, #04d8eb, #086bff, #6420de, #d315ed);
  --gradient-full-135: linear-gradient(135deg, #04d8eb, #086bff, #6420de, #d315ed);
  --gradient-journey-line: linear-gradient(90deg, #d315ed, #6420de, #086bff, #04d8eb);
  --gradient-journey-line-v: linear-gradient(180deg, #d315ed, #6420de, #086bff, #04d8eb);
  --gradient-solution-line: linear-gradient(90deg, #04d8eb, #086bff, #6420de);
  --gradient-solution-line-v: linear-gradient(180deg, #04a9be, #086bff, #6420de);
  --gradient-audience-bar: linear-gradient(90deg, #04d8eb, #086bff);
  --gradient-milestone-badge: linear-gradient(135deg, #04d8eb, #6420de);
  --gradient-az: linear-gradient(135deg, #04d8eb, #086bff, #6420de);
  --gradient-ds: linear-gradient(135deg, #6420de, #d315ed);

  --radius-card: 24px;
  --radius-btn: 16px;
  --radius-pill: 999px;

  --nav-height: 88px;
  --container-max: 1280px;
  --gutter: 80px;

  --font-ar: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-en: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-en);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-hover);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, p {
  margin: 0;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 860px;
}

.container--narrower {
  max-width: 720px;
}

.section {
  padding-block: 96px;
}

.section--alt {
  background: var(--soft-bg);
}

.section--center {
  text-align: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

html[lang="ar"] .eyebrow {
  letter-spacing: 0;
}

.section-title {
  margin: 0 0 48px;
  font-size: 36px;
  line-height: 46px;
  font-weight: 600;
  color: var(--navy);
}

.section-title--tight {
  margin-bottom: 16px;
}

.section-lead {
  margin: 0 auto 56px;
  max-width: 620px;
  font-size: 18px;
  line-height: 30px;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -60px;
  inset-inline-start: 1rem;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 500;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(6, 22, 55, 0.06);
}

.btn--primary:hover {
  background: var(--blue-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  padding: 12.5px 28px;
}

.btn--secondary:hover {
  background: rgba(6, 22, 55, 0.04);
  color: var(--navy);
}

.btn--block {
  width: 100%;
}

.btn--outline-light {
  background: transparent;
  color: var(--soft-bg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14px;
  padding: 13px 20px;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn--outline-light.is-copied {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--outline-light .btn-copy__default,
.btn--outline-light .btn-copy__done {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn--outline-light .btn-copy__done {
  display: none;
}

.btn--outline-light.is-copied .btn-copy__default {
  display: none;
}

.btn--outline-light.is-copied .btn-copy__done {
  display: inline-flex;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  inset-inline: 0;
  z-index: 500;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(6, 22, 55, 0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-height);
}

.navbar__brand img {
  height: 42px;
  width: auto;
  display: block;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar__link {
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.navbar__link:hover {
  color: var(--blue);
}

.navbar__link.is-active {
  color: var(--blue);
  background: rgba(8, 107, 255, 0.08);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-pill {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  font-family: var(--font-mono);
}

.lang-pill a,
.lang-pill span {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}

.lang-pill span {
  background: var(--navy);
  color: var(--white);
}

.lang-pill a {
  color: var(--muted);
}

.lang-pill a:hover {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 120px;
}

.hero__grid {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero__content {
  flex: 1 1 560px;
  min-width: 0;
}

.hero__title {
  margin: 0 0 28px;
  font-size: 56px;
  line-height: 66px;
  font-weight: 600;
  color: var(--navy);
}

.hero__title-gradient {
  background: var(--gradient-full);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 30px;
  color: var(--muted);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
}

.hero__visual {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  justify-content: center;
  position: relative;
  height: 440px;
}

.hero__orb {
  width: 400px;
  height: 400px;
  max-width: 100%;
  border-radius: 50%;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--gradient-full-135);
  filter: blur(60px);
  opacity: 0.38;
  animation: pulse-glow 7s ease-in-out infinite;
}

.hero__icon {
  width: 260px;
  height: 260px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(6, 22, 55, 0.15));
  animation: float-y 6s ease-in-out infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.32; transform: scale(1); }
  50% { opacity: 0.44; transform: scale(1.06); }
}

.hero__chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: 0 12px 28px rgba(6, 22, 55, 0.1);
  white-space: nowrap;
}

.hero__chip--evidence { top: 18px; inset-inline-start: 0; color: var(--violet); }
.hero__chip--skills { bottom: 40px; inset-inline-end: 0; color: var(--blue); }
.hero__chip--opportunities { top: 120px; inset-inline-end: -10px; color: var(--magenta); }
.hero__chip--growth { bottom: 130px; inset-inline-start: -16px; color: var(--teal); }

/* ---------- Problem section ---------- */
.problem__grid {
  display: flex;
  gap: 32px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.problem-card {
  flex: 1 1 360px;
  max-width: 420px;
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: start;
}

.problem-card--claim {
  background: var(--white);
  border: 1px solid var(--border);
}

.problem-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 16px;
}

.problem-card--claim .problem-card__label {
  color: var(--muted);
}

.tag-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-chip {
  border: 1.5px dashed var(--border-dashed);
  color: var(--muted);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.problem-card p {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}

.problem-card--proof {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.problem-card--proof::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--gradient-full);
}

.problem-card--proof .problem-card__label {
  color: var(--muted-on-navy);
}

.problem-card--proof p {
  color: var(--muted-on-navy);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soft-bg);
  font-size: 14px;
}

.checklist__item svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
}

/* ---------- Solution section ---------- */
.solution__grid {
  display: flex;
  gap: 28px;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}

.solution__line {
  position: absolute;
  top: 36px;
  inset-inline: 18%;
  height: 2px;
  background: var(--gradient-solution-line);
  opacity: 0.4;
  z-index: 0;
}

.solution-card {
  position: relative;
  z-index: 1;
  flex: 1 1 280px;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: start;
  box-shadow: 0 1px 2px rgba(6, 22, 55, 0.06);
}

.solution-card__label {
  font-family: var(--font-mono);
  font-size: 13px;
  margin-bottom: 14px;
}

.solution-card__label--teal { color: var(--teal); }
.solution-card__label--blue { color: var(--blue); }
.solution-card__label--violet { color: var(--violet); }

.solution-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
}

.solution-card p {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
}

/* ---------- Journey section ---------- */
.journey__grid {
  position: relative;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.journey__line {
  position: absolute;
  top: 28px;
  inset-inline: 9%;
  height: 3px;
  background: var(--gradient-journey-line);
  opacity: 0.5;
  border-radius: 3px;
  z-index: 0;
}

.journey-card {
  position: relative;
  z-index: 1;
  flex: 1 1 220px;
  max-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  box-shadow: 0 1px 2px rgba(6, 22, 55, 0.06);
}

.journey-card__number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  margin: 0 auto 14px;
}

.journey-card__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.journey-card h4 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
}

.journey-card p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
}

.journey-card--magenta .journey-card__number { background: var(--magenta); }
.journey-card--magenta .journey-card__tag { color: var(--magenta); }
.journey-card--violet .journey-card__number { background: var(--violet); }
.journey-card--violet .journey-card__tag { color: var(--violet); }
.journey-card--blue .journey-card__number { background: var(--blue); }
.journey-card--blue .journey-card__tag { color: var(--blue); }
.journey-card--teal .journey-card__number { background: var(--teal); }
.journey-card--teal .journey-card__tag { color: var(--teal); }

/* ---------- Audience section ---------- */
.audience__grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.audience-card {
  flex: 1 1 420px;
  max-width: 520px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
  text-align: start;
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
}

.audience-card--individuals::before { background: var(--gradient-audience-bar); }
.audience-card--companies::before { background: var(--navy); }

.audience-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.audience-card__icon svg {
  width: 26px;
  height: 26px;
}

.audience-card--individuals .audience-card__icon {
  background: rgba(8, 107, 255, 0.1);
  color: var(--blue);
}

.audience-card--companies .audience-card__icon {
  background: rgba(6, 22, 55, 0.06);
  color: var(--navy);
}

.audience-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
}

.audience-card p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
}

/* ---------- About section ---------- */
.about p {
  margin: 0 0 24px;
  font-size: 19px;
  line-height: 32px;
  color: var(--ink);
}

.about p:last-child {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
}

/* ---------- Milestone section ---------- */
.milestone__frame {
  position: relative;
}

.milestone__badge {
  position: absolute;
  top: -14px;
  inset-inline-end: 40px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--gradient-milestone-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 12px 28px rgba(6, 22, 55, 0.1);
}

.milestone__badge svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.milestone__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 24px 56px rgba(6, 22, 55, 0.16);
  display: block;
}

.milestone__caption {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(6, 22, 55, 0.1);
  padding: 28px 32px;
  margin: -36px 32px 0;
  position: relative;
  text-align: start;
}

.milestone__caption h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 600;
}

.milestone__caption p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}

/* ---------- Team section ---------- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: 0 1px 2px rgba(6, 22, 55, 0.06);
  text-align: start;
}

.team-card__media {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
  display: block;
}

.team-card__avatar {
  width: 100%;
  height: 170px;
  border-radius: 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
}

.team-card__avatar svg {
  width: 32px;
  height: 32px;
  opacity: 0.92;
}

.team-card__avatar--az { background: var(--gradient-az); }
.team-card__avatar--ds { background: var(--gradient-ds); }

.team-card h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.team-card__role {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ---------- Contact section ---------- */
.contact-card {
  background: var(--navy);
  border-radius: 32px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--gradient-full);
}

.contact-card .eyebrow {
  color: var(--cyan);
}

.contact-card h2 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 42px;
  font-weight: 600;
  color: var(--white);
}

.contact-card__lead {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted-on-navy);
  max-width: 520px;
  margin-inline: auto;
}

.contact-card__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.contact-card__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--muted-on-navy);
  font-size: 14px;
}

.contact-card__social svg {
  width: 16px;
  height: 16px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  padding: 64px 0 32px;
  position: relative;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer__brand {
  max-width: 360px;
}

.footer__brand-badge {
  display: inline-block;
  background: var(--soft-bg);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 18px;
}

.footer__brand-badge img {
  height: 40px;
  width: auto;
  display: block;
}

.footer__tagline {
  margin: 0;
  color: var(--muted-on-navy);
  font-size: 14px;
  line-height: 22px;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-content: flex-start;
}

.footer__nav a {
  color: var(--muted-on-navy);
  font-size: 14px;
}

.footer__nav a:hover {
  color: var(--cyan);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom span {
  color: var(--muted-on-navy);
  font-size: 13px;
}

.back-to-top-float {
  position: absolute;
  inset-inline-end: 48px;
  top: -24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(6, 22, 55, 0.2);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.back-to-top-float:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
}

.back-to-top-float svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.back-to-top-inline {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
}

.back-to-top-inline svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile nav panel ---------- */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(6, 22, 55, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.nav-panel.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-panel__sheet {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: min(320px, 86%);
  height: 100%;
  background: var(--white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 24px 54px rgba(5, 10, 24, 0.2);
}

html[dir="rtl"] .nav-panel__sheet {
  transform: translateX(-100%);
}

.nav-panel.is-open .nav-panel__sheet {
  transform: translateX(0);
}

.nav-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-panel__head img {
  height: 26px;
}

.nav-panel__links {
  display: grid;
  gap: 0.3rem;
}

.nav-panel__links a {
  display: block;
  padding: 0.85rem 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 10px;
}

.nav-panel__links a:hover {
  background: var(--soft-bg);
}

.nav-panel__foot {
  margin-top: auto;
  display: grid;
  gap: 0.8rem;
}

/* ==========================================================================
   Talent DNA — Responsive rules
   Breakpoints match the approved design artboards:
   Desktop 1440 (fluid), Tablet 768, Mobile 390 (compatible down to 320).
   ========================================================================== */

/* ---------- ≤1024px : Tablet — hamburger nav, grid-based sections ---------- */
@media (max-width: 1024px) {
  :root {
    --nav-height: 72px;
    --gutter: 32px;
    --radius-card: 20px;
  }

  .navbar__links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .navbar__actions .lang-pill {
    font-size: 12px;
  }

  .navbar__brand img {
    height: 34px;
  }

  .section {
    padding-block: 64px;
  }

  .section-title {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 36px;
  }

  .section-lead {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 36px;
  }

  /* Hero: stacked and centered */
  .hero {
    padding: 64px 0 80px;
  }

  .hero__grid {
    flex-direction: column;
    text-align: center;
  }

  .hero__content {
    flex-basis: auto;
    max-width: 560px;
  }

  .hero__title {
    font-size: 40px;
    line-height: 50px;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero__visual {
    order: -1;
    height: auto;
    margin-bottom: 8px;
  }

  .hero__orb {
    width: 260px;
    height: 260px;
  }

  .hero__glow {
    width: 170px;
    height: 170px;
    filter: blur(44px);
  }

  .hero__icon {
    width: 170px;
    height: 170px;
  }

  .hero__chip {
    display: none;
  }

  /* Solution: 3-col grid, no connecting line */
  .solution__line {
    display: none;
  }

  .solution__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .solution-card {
    max-width: none;
    padding: 18px;
    border-radius: var(--radius-card);
  }

  .solution-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .solution-card p {
    font-size: 13px;
    line-height: 19px;
  }

  /* Journey: 2x2 grid, no connecting line */
  .journey__line {
    display: none;
  }

  .journey__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .journey-card {
    max-width: none;
    text-align: center;
    padding: 22px;
  }

  .journey-card__number {
    width: 42px;
    height: 42px;
  }

  /* Audience: stacked */
  .audience__grid {
    flex-direction: column;
  }

  .audience-card {
    max-width: none;
    padding: 28px;
  }

  /* Team: 3-col grid */
  .team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .team-card {
    padding: 12px;
  }

  .team-card__media,
  .team-card__avatar {
    height: 120px;
    border-radius: 14px;
  }

  .team-card h4 {
    font-size: 13px;
  }

  .team-card__role {
    font-size: 11px;
  }

  /* Milestone */
  .milestone__image {
    height: 320px;
    border-radius: 28px;
  }

  .milestone__caption {
    border-radius: 18px;
    padding: 22px 26px;
    margin: -30px 20px 0;
  }

  /* Contact */
  .contact-card {
    padding: 40px 32px;
    border-radius: 28px;
  }

  .contact-card h2 {
    font-size: 26px;
    line-height: 34px;
  }

  /* Footer: no floating back-to-top at tablet; inline one shown instead */
  .back-to-top-float {
    display: none;
  }

  .back-to-top-inline {
    display: flex;
  }
}

/* ---------- ≤600px : Mobile (390 reference, down to 320) ---------- */
@media (max-width: 600px) {
  :root {
    --nav-height: 64px;
    --gutter: 20px;
    --radius-card: 18px;
  }

  .navbar__brand img {
    height: 28px;
  }

  .section {
    padding-block: 48px;
  }

  .section-title {
    font-size: 24px;
    line-height: 32px;
  }

  /* Hero */
  .hero {
    padding: 40px 0 48px;
  }

  .hero__orb {
    width: 170px;
    height: 170px;
  }

  .hero__glow {
    width: 110px;
    height: 110px;
    filter: blur(32px);
  }

  .hero__icon {
    width: 110px;
    height: 110px;
  }

  .hero__title {
    font-size: 32px;
    line-height: 42px;
  }

  .hero__subtitle {
    font-size: 15px;
    line-height: 24px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  /* Problem: stacked cards */
  .problem__grid {
    flex-direction: column;
  }

  .problem-card {
    max-width: none;
    padding: 20px;
  }

  /* Solution: stacked vertical timeline with connecting dots */
  .solution__grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    padding-inline-start: 26px;
  }

  .solution__line {
    display: block;
    position: absolute;
    inset-inline: auto;
    inset-inline-start: 11px;
    top: 8px;
    bottom: 8px;
    inset-block: 8px;
    width: 2px;
    height: auto;
    background: var(--gradient-solution-line-v);
  }

  .solution-card {
    padding: 16px;
    position: relative;
  }

  .solution-card::before {
    content: "";
    position: absolute;
    inset-inline-start: -26px;
    top: 16px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
  }

  .solution-card--teal::before { background: var(--teal); }
  .solution-card--blue::before { background: var(--blue); }
  .solution-card--violet::before { background: var(--violet); }

  .solution-card h3 {
    font-size: 16px;
  }

  .solution-card p {
    font-size: 13px;
    line-height: 19px;
  }

  /* Journey: vertical timeline */
  .journey__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-inline-start: 50px;
  }

  .journey__line {
    display: block;
    position: absolute;
    inset-inline: auto;
    inset-inline-start: 23px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    height: auto;
    background: var(--gradient-journey-line-v);
  }

  .journey-card {
    max-width: none;
    text-align: start;
    padding: 16px;
    position: relative;
  }

  .journey-card__number {
    position: absolute;
    inset-inline-start: -50px;
    top: 0;
    margin: 0;
  }

  /* Team: 2-col grid */
  .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .team-card {
    padding: 12px;
    border-radius: 18px;
  }

  .team-card__media,
  .team-card__avatar {
    height: 130px;
    border-radius: 12px;
  }

  .team-card__avatar {
    font-size: 19px;
  }

  .team-card__avatar svg {
    width: 26px;
    height: 26px;
  }

  /* Milestone */
  .milestone__image {
    height: 220px;
    border-radius: 22px;
  }

  .milestone__badge {
    width: 48px;
    height: 48px;
  }

  .milestone__caption {
    margin: 14px 0 0;
    border: 1px solid var(--border);
    box-shadow: none;
    padding: 18px;
  }

  /* Contact */
  .contact-card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .contact-card h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .contact-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-card__actions .btn {
    width: 100%;
  }

  /* Footer: stacked, centered */
  .footer__top {
    flex-direction: column;
    text-align: center;
  }

  .footer__brand {
    max-width: none;
    margin-inline: auto;
  }

  .footer__brand-badge {
    margin-inline: auto;
  }

  .footer__nav {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .back-to-top-inline {
    margin-inline: auto;
  }
}

/* ---------- ≥1440px : refine container ---------- */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}
