/* =========================================================
   Assess View — AI Interview Trainer
   Pixel-faithful clone of Figma node 1325:1336
   ========================================================= */

/* ---------- Tokens (from Figma variables) ---------- */
:root {
  --orange-50:  #feefe8;
  --orange-100: #fcdfd1;
  --orange-200: #fac8b0;
  --orange-300: #f7a075;
  --orange-400: #f58047;
  --orange-500: #f26019;
  --orange-600: #d34d10;
  --orange-950: #180a02;

  --neutral-100: #f7f7f9;
  --neutral-200: #efefef;
  --neutral-300: #d4d4d8;
  --neutral-400: #a3a3a3;
  --neutral-500: #7e8695;
  --neutral-700: #4d4d4d;
  --neutral-800: #4b4b4b;
  --neutral-900: #1c1e22;
  --neutral-950: #1a1a1a;

  --white: #ffffff;
  --bg-dark: #222222;
  --bg-cta-tile: #2a262a;
  --bg-flag-tile: #3b353b;
  --bg-pill-dark: #383735;
  --bg-q-icon: #504a50;

  --shadow-card:        0 4px 32px rgba(0,0,0,.06);
  --shadow-feature:     0 4px 32px rgba(0,0,0,.08);
  --shadow-soft:        0 2px 6px rgba(188,188,188,.08);
  --shadow-orange:      0 8px 20px rgba(242,96,25,.24);
  --shadow-orange-card: 0 4px 24px rgba(242,96,25,.12);
  --shadow-orange-soft: 0 4px 40px rgba(245,167,20,.12);
  --shadow-cta-tile:    0 4px 40px rgba(0,0,0,.12);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 21px;
  --radius-25: 25px;
  --radius-pill: 999px;

  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1440px;
  --gutter: clamp(1rem, 4vw, 55px);

  --header-h: 72px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* SVG-based background patterns from Figma */
  --pattern-close: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'><path d='M6.2 6.2 L15.8 15.8 M15.8 6.2 L6.2 15.8' stroke='%231c1e22' stroke-width='1.1' stroke-linecap='round' fill='none'/></svg>");
  --pattern-dots: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><circle cx='18' cy='18' r='1.6' fill='%231c1e22'/></svg>");
  --pattern-hero: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path d='M0 80h80M80 0v80' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1'/></svg>");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--neutral-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
svg { display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.accent { color: var(--orange-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
}
.btn svg { width: 20px; height: 20px; }
.btn-sm { padding: .65rem 1.25rem; font-size: 1rem; font-weight: 500; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(242,96,25,.28);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242,96,25,.36); }

.btn-outline {
  background: transparent;
  color: var(--orange-500);
  border: 1.5px solid var(--orange-500);
}
.btn-outline:hover { background: var(--orange-500); color: #fff; transform: translateY(-2px); }

/* Hero CTAs match Figma: 159px wide */
.hero-ctas .btn { min-width: 159px; padding: .85rem 1rem; }

/* ---------- Header — Figma 1325:1339 (h-88, logo-left, nav-center, button-right) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  transition: box-shadow .3s var(--ease-out);
}
.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.logo {
  display: inline-flex; align-items: center;
  grid-column: 1;
}
.logo-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 154px;
  object-fit: contain;
  transition: transform .25s var(--ease-out);
}
.logo:hover .logo-img { transform: scale(1.03); }
@media (max-width: 480px) { .logo-img { height: 32px; } }

.primary-nav {
  display: none;
  gap: 24px;
  justify-self: center;
  grid-column: 2;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  color: var(--orange-950);
}
.primary-nav a { position: relative; padding: .25rem 0; transition: color .2s; }
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  height: 2px; width: 0; background: var(--orange-500);
  transition: width .25s var(--ease-out);
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--orange-500); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { width: 100%; }

/* Header actions wrapper holds the two right-side CTAs */
.header-actions {
  display: none;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 12px;
}

.btn-cta-header {
  text-transform: capitalize;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 55px;
}
.btn-cta-header svg { width: auto; height: 13px; }

.btn-partner-header {
  background: transparent;
  color: var(--orange-500);
  border: 1.5px solid var(--orange-500);
  text-transform: capitalize;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  padding: 8.5px 18px;
  border-radius: 55px;
}
.btn-partner-header:hover {
  background: var(--orange-500);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242,96,25,.28);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 10px;
  grid-column: 3;
  justify-self: end;
  background: transparent;
  border: 1.5px solid transparent;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out);
  position: relative;
  z-index: 51;
}
.menu-toggle:hover {
  background: var(--orange-50);
  border-color: var(--orange-100);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--orange-950);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform .4s cubic-bezier(.23, 1, .32, 1),
    opacity   .3s ease,
    width     .3s ease,
    background .25s ease;
}

/* ── Open state: animate to X ── */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--orange-500);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--orange-500);
}
.menu-toggle[aria-expanded="true"] {
  background: var(--orange-50);
  border-color: var(--orange-200, #fac8b0);
}

/* ── Mobile menu backdrop ── */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(0,0,0,.35);
  z-index: 48;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.mobile-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 960px) {
  .mobile-menu-backdrop { display: none !important; }
}

/* ── Mobile menu overlay ── */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.5rem var(--gutter) 2rem;
  z-index: 49;
  border-top: 2px solid var(--orange-100);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  /* animation states */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    opacity .35s var(--ease-out),
    transform .35s var(--ease-out);
  visibility: hidden;
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

/* Nav links inside mobile menu */
.mobile-menu a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--orange-950);
  padding: .9rem .5rem;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color .2s, padding-left .25s var(--ease-out);
  opacity: 0;
  transform: translateX(-14px);
  transition:
    opacity .35s var(--ease-out),
    transform .35s var(--ease-out),
    color .2s,
    padding-left .2s;
}
.mobile-menu.is-open a {
  opacity: 1;
  transform: translateX(0);
}
/* Stagger each link */
.mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.25s; }

.mobile-menu a:hover { color: var(--orange-500); padding-left: .75rem; }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu a.btn {
  border-bottom: 0;
  margin-top: 1.5rem;
  padding: .9rem 1.25rem;
  justify-content: center;
  transform: translateY(12px);
  transition-delay: 0.28s !important;
}
.mobile-menu a.btn-primary { color: #fff; }
/* Outline button inside mobile menu — restore orange text overridden by `.mobile-menu a` */
.mobile-menu a.btn-outline,
.mobile-menu a.btn-partner-mobile {
  color: var(--orange-500);
  background: transparent;
  border: 1.5px solid var(--orange-500);
}
.mobile-menu a.btn-outline:hover,
.mobile-menu a.btn-partner-mobile:hover {
  color: #fff;
  background: var(--orange-500);
  padding-left: 1.25rem;
}
/* Stacked buttons: first gets 1.5rem top, subsequent buttons sit closer */
.mobile-menu a.btn + a.btn { margin-top: .75rem; }
.mobile-menu.is-open a.btn {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 10px 20px;
  border-radius: 63px;
  font-size: 14px; font-weight: 600;
}
.pill svg { width: 19px; height: 19px; }

.pill-light {
  background: var(--orange-50); color: var(--orange-500);
  box-shadow: var(--shadow-soft);
  letter-spacing: .04em;
}
.pill-dark {
  background: var(--bg-pill-dark); color: #fff;
  padding: 10px 14px;
  border-radius: 33px;
  font-size: 16px; font-weight: 600;
  text-transform: capitalize;
}
.pill-dark .pill-icon { color: var(--orange-500); width: 19px; height: 19px; }
.pill-dark-cta {
  background: var(--bg-pill-dark); color: var(--orange-500);
  box-shadow: var(--shadow-soft);
  letter-spacing: .04em;
}

.badge {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border-radius: 56px;
  font-size: 14px; font-weight: 600;
}
.badge-orange { background: var(--orange-500); color: #fff; }

/* ---------- Hero (pixel-faithful to Figma 1325:1337) ---------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 100px) 0 clamp(3rem, 7vw, 100px);
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--bg-dark);
  z-index: 0;
}
/* Layer 1: full-bleed grid pattern (always visible, like Figma's image asset) */
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--pattern-hero);
  background-size: 80px 80px;
  background-repeat: repeat;
  opacity: 1;
  z-index: 1;
}
/* Layer 2: orange glow blooming from upper-right + bottom-left, sits on top of pattern */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 85% 25%, rgba(242,96,25,.35), transparent 60%),
    radial-gradient(50% 50% at 8% 85%, rgba(242,96,25,.20), transparent 70%);
  pointer-events: none;
  z-index: 2;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 66px);
  grid-template-columns: 1fr;
  align-items: start;
}
.hero-copy {
  max-width: 647px;
  width: 100%;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 60px);
}
.hero-copy .pill { margin-bottom: 0; }

/* Title block: pill + title-text + buttons (gap 40px) */
.hero-copy-top {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 40px);
  width: 100%;
}
.hero-text {
  display: flex; flex-direction: column;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

/* Pill should hug its content, never stretch in flex column parents */
.pill { width: fit-content; max-width: 100%; }

.hero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 56px);
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
  text-transform: capitalize;
  color: #fff;
}
.hero-sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 18px);
  line-height: 30px;
  color: #fff;
  max-width: 647px;
  margin: 0;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin: 0;
}

/* Hero buttons override — Figma uses Inter Bold 16px, w-159 */
.hero-ctas .btn {
  font-family: 'Inter', var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  width: 159px;
  min-width: 159px;
  padding: 13px 10px;
  border-radius: 9999px;
}
.hero-ctas .btn-outline {
  border-width: 1px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 5vw, 40px);
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: clamp(20px, 4vw, 32px);
  width: 100%;
}
.stat { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; flex: 1 1 auto; min-width: 90px; }
.stat-num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 36px);
  letter-spacing: -.9px;
  line-height: 1;
  color: #fff;
}
.stat-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  letter-spacing: -.2px;
  white-space: nowrap;
}

/* Hero AI mockup card — Figma: w 617, padding 24/32, rounded 21 */
.hero-card {
  position: relative;
  background: #414141;
  border-radius: 21px;
  padding: 32px 24px;
  box-shadow:
    0 8px 20px rgba(242,96,25,.24),
    0 24px 60px rgba(242,96,25,.18);
  animation: float 6s ease-in-out infinite;
  width: 100%;
  max-width: 617px;
  display: flex; flex-direction: column;
  gap: 32px;
  align-self: start;
  margin-top: 48px;
  border: 1px solid #FFFFFF1A;

}
.hero-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin: 0; flex-wrap: wrap;
}
.hero-card-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: #fff;
  text-transform: capitalize;
  letter-spacing: 0;
}
.hero-card-title strong { font-weight: 600; }
.hero-card-title .dot-sep { color: #fff; margin: 0 .15rem; font-weight: 600; }

/* Inner column: video + question, gap 32px */
.hero-card > .video-frame { margin: 0; }

.video-frame {
  border: 1px solid rgba(163,163,163,.5);
  border-radius: 21px;
  padding: 20px;
  box-shadow: 0 4px 40px rgba(245,167,20,.12);
  width: 100%;
}
.video-main {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 532 / 293;
  background: #e9c8b8;
  border: 1px solid var(--white);
  box-shadow: var(--shadow-orange-soft);
}
.video-img { width: 100%; height: 100%; object-fit: cover; }
.video-pill {
  position: absolute; top: 16px; left: 16px;
  background: #fff; color: var(--orange-500);
  font-family: var(--font-sans);
  font-weight: 600; font-size: 13px;
  padding: 5px 10px; border-radius: 63px;
  box-shadow: var(--shadow-soft);
  line-height: 1;
}
.video-self {
  position: absolute; bottom: 14px; right: 14px;
  width: 84px; height: 100px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid #fff;
  background: #e9c8b8;
  box-shadow: var(--shadow-orange-soft);
}
.video-self img { width: 100%; height: 100%; object-fit: cover; }
.video-controls {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 12px;
}
.vc {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--neutral-900);
  border-radius: 16px;
  transition: transform .2s var(--ease-out);
}
.vc svg { width: 14px; height: 14px; }
.vc:hover { transform: translateY(-2px); }
.vc-end { background: red; color: #fff; }

/* Question card — Figma: h 90, padding 16.5, border 0.5 */
.question-card {
  margin: 0;
  display: flex; gap: 15px; align-items: center;
  padding: 16.5px;
  border: 1px solid rgba(163,163,163,.5);
  border-radius: 21px;
  background: transparent;
  box-shadow: 0 4px 40px rgba(245,167,20,.12);
  width: 100%;
}
.q-icon {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 76px;
  background: var(--bg-q-icon);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  padding: 10px;
}
.q-icon svg { width: 36px; height: 36px; }
.question-card p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  color: #fff;
  margin: 0;
}
.question-card strong { color: #fff; font-weight: 600; }

/* ---------- Section base ---------- */
.section {
  position: relative;
  padding: clamp(3.5rem, 7vw, 100px) 0;
}
.section-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 60px);
}
.section-head .pill { margin-bottom: 32px; }

.section-title {
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.005em;
  color: var(--neutral-900);
  display: flex;
  flex-direction: column;
  gap: clamp(.5rem, 1.5vw, 28px);
  font-size: clamp(1.85rem, 5.5vw, 56px);
}
.section-title .title-line { display: block; }
.section-title.light { color: #fff; }

.section-sub {
  margin: 16px auto 0;
  max-width: 608px;
  color: var(--neutral-500);
  font-size: 15px;
  line-height: 23.86px;
}
.section-sub.light { color: #fff; }

/* ---------- Background patterns / glows ---------- */
.bg-x-pattern {
  position: absolute; inset: 0;
  background-image: var(--pattern-close);
  background-size: 22px 22px;
  background-repeat: repeat;
  opacity: .1;
  pointer-events: none;
}
.bg-dot-pattern {
  position: absolute; inset: 0;
  background-image: var(--pattern-dots);
  background-size: 36px 36px;
  background-repeat: repeat;
  opacity: .1;
  pointer-events: none;
}
.bg-glow {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 1403px; max-width: 130vw; height: 500px;
  background: radial-gradient(ellipse 50% 50% at center, rgba(242,96,25,.18), transparent 70%);
  pointer-events: none; filter: blur(40px);
}
.bg-glow-top { top: -260px; }
.bg-glow-bottom { bottom: -260px; }

/* ---------- Problems section ---------- */
.section-problems { background: #fff; overflow: hidden; }
.problem-grid {
  display: grid;
  gap: 36px 37px;
  position: relative; z-index: 1;
  grid-template-columns: 1fr;
}

.problem-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(242,96,25,.12);
  border-color: rgba(242,96,25,.25);
}
.card-icon {
  width: 78px; height: 78px;
  border-radius: 39px;
  background: var(--orange-500);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: transform .35s var(--ease-out);
}
.card-icon svg { width: 35px; height: 35px; }
.problem-card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.problem-title {
  font-size: 24px; font-weight: 700;
  color: var(--neutral-950);
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: 0;
}
.problem-text {
  color: var(--neutral-700);
  font-size: 17px;
  line-height: 26px;
}

/* ---------- Solution section ---------- */
.section-solution { background: #fff; }
.solution-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
.solution-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-orange-card);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  overflow: hidden;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(242,96,25,.18); }

.solution-visual {
  position: relative;
  aspect-ratio: 546 / 327;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--neutral-100);
  margin-bottom: 28px;
}
.solution-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.solution-card:hover .solution-visual img { transform: scale(1.05); }

/* ---------- Mockups for solution cards (match Figma exactly) ---------- */
.mk {
  position: absolute; inset: 0;
  display: flex;
  padding: clamp(20px, 4cqw, 36px);
  font-family: var(--font-sans);
  color: #1a1a1a;
}

/* CV / Job listing mockup (cards 1 & 4) */
.mk-cv {
  gap: clamp(8px, 2cqw, 16px);
  align-items: stretch;
  justify-content: center;
}
.mk-cv-side {
  display: flex; flex-direction: column;
  gap: clamp(6px, 1.6cqw, 12px);
  flex-shrink: 0;
}
.mk-app {
  width: clamp(28px, 6cqw, 44px);
  height: clamp(28px, 6cqw, 44px);
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.mk-app-1 {
  background: #1a78c2;
  background-image: radial-gradient(circle at 50% 50%, #fff 18%, transparent 22%);
}
.mk-app-2 {
  background: #fff;
  background-image:
    linear-gradient(135deg, transparent 38%, #f26019 38% 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, #f26019 50% 62%, transparent 62%),
    linear-gradient(135deg, transparent 62%, #f26019 62% 74%, transparent 74%);
}
.mk-app-3 {
  background: #1a1a1a;
  background-image: radial-gradient(ellipse 50% 25% at 50% 50%, #fff 40%, transparent 42%);
}
.mk-app-4 {
  background: #fff;
  position: relative;
}
.mk-app-4::after {
  content: 'L◯GO';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: clamp(8px, 1.4cqw, 11px);
  font-weight: 700; color: #1a1a1a;
  letter-spacing: -.5px;
}
.mk-cv-card {
  background: #fff;
  border-radius: clamp(8px, 1.5cqw, 12px);
  padding: clamp(10px, 2.4cqw, 18px) clamp(12px, 2.6cqw, 20px);
  flex: 1;
  max-width: 70%;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  display: flex; flex-direction: column;
  gap: clamp(4px, 0.8cqw, 6px);
}
.mk-cv-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  margin-bottom: clamp(4px, 1cqw, 8px);
}
.mk-cv-pill {
  display: block;
  width: clamp(38px, 9cqw, 64px);
  height: clamp(8px, 1.4cqw, 11px);
  border-radius: 999px;
  background: #e5e5ea;
}
.mk-cv-meta {
  font-size: clamp(7px, 1.2cqw, 10px);
  color: #1a1a1a; font-weight: 400;
  white-space: nowrap;
}
.mk-cv-meta strong { font-weight: 700; }
.mk-cv-title {
  font-size: clamp(9px, 1.7cqw, 13px);
  font-weight: 700; line-height: 1.2; margin: 0;
  color: #1a1a1a;
}
.mk-cv-sub {
  font-size: clamp(7px, 1.2cqw, 10px);
  font-weight: 400; color: #7e8695; margin: 0;
  margin-bottom: clamp(4px, 0.8cqw, 6px);
}
.mk-cv-section {
  font-size: clamp(8px, 1.4cqw, 11px);
  font-weight: 600; color: #1a1a1a; margin: 0;
  margin-top: clamp(4px, 1cqw, 8px);
  margin-bottom: clamp(2px, 0.6cqw, 4px);
}
.mk-line {
  display: block;
  height: clamp(4px, 0.8cqw, 6px);
  background: #e5e5ea;
  border-radius: 999px;
}
.mk-line.w-100 { width: 100%; }
.mk-line.w-95  { width: 95%; }
.mk-line.w-90  { width: 90%; }
.mk-line.w-60  { width: 60%; }

/* Team / People list mockup (cards 2 & 3) */
.mk-team {
  gap: clamp(10px, 2cqw, 18px);
  align-items: stretch;
  padding: clamp(16px, 3cqw, 28px);
}
.mk-team-col {
  flex: 1;
  display: flex; flex-direction: column;
  gap: clamp(6px, 1.4cqw, 10px);
}
.mk-team-head {
  font-size: clamp(8px, 1.5cqw, 11px);
  font-weight: 600; color: #1a1a1a; margin: 0;
  margin-bottom: clamp(2px, 0.6cqw, 4px);
}
.mk-team-row {
  display: flex; align-items: center;
  gap: clamp(6px, 1.2cqw, 10px);
  padding: clamp(5px, 1cqw, 8px);
  border-radius: clamp(4px, 1cqw, 8px);
  background: transparent;
}
.mk-team-row-active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.mk-avatar {
  flex-shrink: 0;
  width: clamp(20px, 4.4cqw, 32px);
  height: clamp(20px, 4.4cqw, 32px);
  border-radius: 999px;
  background: linear-gradient(135deg, #f7a075 0%, #f26019 100%);
}
.mk-av-1 { background: linear-gradient(135deg, #f7c4a0, #c98855); }
.mk-av-2 { background: linear-gradient(135deg, #b88a6a, #6b4a30); }
.mk-av-3 { background: linear-gradient(135deg, #d4a584, #8b5a3c); }
.mk-av-4 { background: linear-gradient(135deg, #e8c4a4, #a47a55); }
.mk-av-5 { background: linear-gradient(135deg, #c4956b, #7a5439); }
.mk-av-6 { background: linear-gradient(135deg, #a87850, #5c3a25); }
.mk-team-info {
  display: flex; flex-direction: column;
  gap: clamp(1px, 0.3cqw, 2px);
  min-width: 0;
}
.mk-team-info strong {
  font-size: clamp(7px, 1.3cqw, 10px);
  font-weight: 600; color: #1a1a1a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-team-info span {
  font-size: clamp(6px, 1.1cqw, 9px);
  font-weight: 400; color: #7e8695;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Container queries so mockups scale with their card visual */
.solution-visual { container-type: inline-size; }

.solution-title {
  font-size: clamp(1.25rem, 2.5vw, 32px);
  font-weight: 600;
  color: #222;
  letter-spacing: -.4px;
  line-height: 1.1;
  margin-bottom: 17px;
}
.solution-text {
  color: var(--neutral-800);
  font-size: 18px;
  line-height: 28.8px;
  letter-spacing: -.18px;
}

/* ---------- Features section (3+2 layout) ---------- */
.section-features { background: #fff; overflow: hidden; }
.feature-cta {
  margin-top: 28px;
  padding: 13px 24px;
  font-size: 16px; font-weight: 700;
  text-transform: capitalize;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 40px);
  position: relative; z-index: 1;
  max-width: 1162px;
  margin: 0 auto;
}
/* Reset all column overrides on mobile (single column) */
@media (max-width: 479px) {
  .features-grid .feature-card {
    grid-column: span 1 !important;
  }
}
@media (min-width: 480px) and (max-width: 959px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  /* First 4 cards: 2 per row, each spanning 2 of 4 cols */
  .features-grid .feature-card:nth-child(1),
  .features-grid .feature-card:nth-child(2),
  .features-grid .feature-card:nth-child(3),
  .features-grid .feature-card:nth-child(4) {
    grid-column: span 2;
  }
  /* 5th card alone: center it by starting at col 2 */
  .features-grid .feature-card:nth-child(5) {
    grid-column: 2 / span 2;
  }
}
@media (min-width: 960px) {
  /* 3-col grid but use 6 virtual columns so the last 2 cards can be centered */
  .features-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  /* First 3 cards: each span 2 of the 6 columns → fills the row */
  .features-grid .feature-card:nth-child(1),
  .features-grid .feature-card:nth-child(2),
  .features-grid .feature-card:nth-child(3) {
    grid-column: span 2;
  }
  /* Last 2 cards: each span 2 columns, with the first one starting at column 2
     → occupies cols 2-3 and 4-5, perfectly centred */
  .features-grid .feature-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .features-grid .feature-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}
.feature-card {
  background: var(--orange-100);
  border-radius: var(--radius-25);
  padding: 28px 30px;
  text-align: center;
  width: 100%;
  box-shadow: var(--shadow-feature);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(242,96,25,.18); }
.feature-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--orange-500);
}
.feature-icon svg { width: 44px; height: 44px; }
.feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  letter-spacing: -.48px;
  line-height: 26.4px;
  margin-bottom: 12px;
  text-transform: capitalize;
}
.feature-text {
  color: var(--neutral-800);
  font-size: 16px;
  line-height: 20.8px;
  letter-spacing: -.16px;
}

/* ---------- Dark CTA — Figma 1325:1858 ---------- */
.section-cta {
  position: relative;
  color: #fff;
  background: var(--bg-dark);
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 70% at 85% 60%, rgba(242,96,25,.32), transparent 65%),
    radial-gradient(50% 50% at 12% 80%, rgba(242,96,25,.10), transparent 70%);
  pointer-events: none;
}
.cta-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--pattern-hero);
  background-size: 80px 80px;
  background-repeat: repeat;
  opacity: .9;
}
.section-cta .pill-dark-cta { background: var(--bg-pill-dark); color: var(--orange-500); }
.cta-inner { position: relative; z-index: 1; }
.cta-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 60px auto 0;
  max-width: 1168px;
  width: 100%;
}
.cta-tile {
  background: var(--bg-cta-tile);
  border: 1px solid var(--orange-300);
  border-radius: var(--radius-25);
  padding: 32px 24px;
  box-shadow: var(--shadow-cta-tile);
  display: flex; flex-direction: column;
  gap: 0;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out);
}
.cta-tile:hover { transform: translateY(-4px); border-color: rgba(247,160,117,.85); }
.tile-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--bg-flag-tile);
  border-radius: 47px;
  margin-bottom: 20px;
  flex-shrink: 0;
  overflow: hidden;
  padding: 6px;
}
.flag-svg {
  width: 24px; height: 24px;
  border-radius: 999px;
  display: block;
}
.tile-title {
  font-family: var(--font-sans);
  font-size: 18px; font-weight: 600;
  letter-spacing: -.4px;
  line-height: 1.2;
  margin: 0 0 8px 0;
  color: #fff;
}
.tile-text {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.18px;
  margin: 0;
}

.cta-action { text-align: center; margin-top: clamp(36px, 5vw, 60px); }
.cta-action .btn { padding: 13px 24px; font-size: 16px; font-weight: 700; }
@media (max-width: 480px) {
  .cta-action .btn { width: 100%; max-width: 340px; }
  .cta-tiles { margin-top: 36px; }
  .section-cta .section-head { margin-bottom: 0; }
}

/* ---------- Footer — Figma 1325:1923 (h 83, gradient #222 → #7c2900 → #222) ---------- */
.site-footer {
  background: linear-gradient(to right, #222 0%, #7c2900 50%, #222 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  min-height: 83px;
  display: flex;
  align-items: center;
  padding: 16px 0;
}
.site-footer .container { width: 100%; }
.footer-inner p { margin: 0; line-height: 1.4; }
@media (max-width: 640px) {
  .site-footer { font-size: 13px; padding: 20px 0; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { --reveal-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-card { animation: none; }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* >= 480px — large phones */
@media (min-width: 480px) {
  .cta-tiles { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* >= 640px — small tablets */
@media (min-width: 640px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

/* >= 768px — tablets (header still uses hamburger) */
@media (min-width: 768px) {
  :root { --header-h: 88px; }
}

/* >= 960px — small desktops (full nav appears + side-by-side hero) */
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; visibility: hidden !important; }
  .primary-nav { display: inline-flex; }
  .header-actions { display: inline-flex; }

  .hero-inner {
    grid-template-columns: 647fr 617fr;
    align-items: start;
    gap: 66px;
  }
  .hero-card { margin-top: 48px; }
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .video-self { width: 116px; height: 122px; }
}

/* Narrow desktops (960–1099px) — compact header to fit nav + 2 buttons */
@media (min-width: 960px) and (max-width: 1099px) {
  .header-inner { gap: 12px; }
  .primary-nav { gap: 18px; }
  .header-actions { gap: 8px; }
  .btn-cta-header,
  .btn-partner-header {
    font-size: 14px;
    padding: 9px 14px;
  }
}

/* >= 1100px — 4-up CTA grid (cards need ~268px each + gaps) */
@media (min-width: 1100px) {
  .cta-tiles { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

/* >= 1200px — desktops */
@media (min-width: 1200px) {
  .hero { padding: 100px 0; }
  .hero-title { font-size: 56px; }
}

/* < 960px — stack hero vertically, center card */
@media (max-width: 959.98px) {
  .hero-card {
    margin-top: 0;
    margin-inline: auto;
    max-width: 100%;
  }
  .hero-inner {
    gap: clamp(2rem, 5vw, 48px);
  }
}

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {
  .hero { padding: 2.5rem 0; }
  .hero-title { font-size: clamp(1.75rem, 7.5vw, 2.25rem); }
  .hero-sub { font-size: 15px; line-height: 1.6; }
  .hero-ctas { gap: 14px; }
  .hero-ctas .btn { min-width: 130px; width: auto; padding: 12px 18px; font-size: 15px; }

  .hero-card { padding: 20px 16px; border-radius: 16px; gap: 20px; }
  .hero-card-head { gap: 10px; }
  .hero-card-title { font-size: 14px; flex: 1 1 auto; min-width: 0; }
  .badge { font-size: 12px; padding: 6px 12px; }
  .video-frame { padding: 12px; }
  .video-self { width: 64px; height: 78px; bottom: 10px; right: 10px; }
  .video-pill { font-size: 11px; padding: 4px 8px; top: 10px; left: 10px; }
  .question-card { padding: 12px; gap: 10px; }
  .q-icon { width: 44px; height: 44px; flex: 0 0 44px; }
  .q-icon svg { width: 26px; height: 26px; }
  .question-card p { font-size: 13px; line-height: 1.55; }

  .stats { gap: 16px; }
  .stat { min-width: 0; flex: 1 1 30%; }
  .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: 12px; white-space: normal; }

  .section { padding: 2.5rem 0; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-sub { font-size: 14px; }

  .problem-card { padding: 22px 18px; }
  .problem-title { font-size: 18px; }
  .problem-text { font-size: 14px; }
  .card-icon { width: 58px; height: 58px; margin-bottom: 16px; }

  .solution-card { padding: 22px 18px; }
  .solution-title { font-size: 1.1rem; }
  .solution-text { font-size: 15px; }

  .feature-card { padding: 22px 18px; max-width: 100%; }
  .feature-title { font-size: 18px; }
  .feature-text { font-size: 14px; }

  .cta-tile { padding: 22px 18px; }
  .tile-title { font-size: 16px; }
  .tile-text { font-size: 13px; }

  .pill-dark { font-size: 13px; padding: 8px 12px; }
  .pill-light { font-size: 12px; padding: 8px 14px; }

  .btn-lg { padding: .85rem 1.25rem; font-size: 15px; }
  .section-head .pill { margin-bottom: 20px; }
  .section-head { margin-bottom: 2rem; }

  /* Compact menu toggle on phones */
  .menu-toggle { width: 38px; height: 38px; }
}

/* ── Medium phones (481–639px) ── */
@media (min-width: 481px) and (max-width: 639px) {
  .hero-title { font-size: clamp(2rem, 6vw, 2.5rem); }
  .problem-card { padding: 26px 22px; }
  .solution-card { padding: 26px 22px; }
}

::selection { background: var(--orange-500); color: #fff; }
