/* =========================================================================
   TALENS — standalone landing
   Light theme only. Plus Jakarta Sans. Tailwind (Play CDN) handles utilities;
   this file owns the design tokens, custom components and animations.
   ========================================================================= */

:root {
  /* surfaces */
  --bg: #f8fafc;
  --surface: #f1f5f9;
  --card: #ffffff;
  --elevated: #e2e8f0;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);

  /* text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* accents */
  --blue: #2563eb;
  --blue-soft: #3b82f6;
  --cyan: #0ea5e9;
  --green: #10b981;
  --orange: #f97316;
  --red: #ef4444;
  --yellow: #fbbf24;

  --ring: rgba(37, 99, 235, 0.35);
  --glow-blue: 0 0 40px rgba(37, 99, 235, 0.18);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -6px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px -16px rgba(15, 23, 42, 0.18);

  --radius: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01" 1, "cv01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(37, 99, 235, 0.18); }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }

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

/* ---------------------------------------------------------------- layout */
.section { position: relative; padding: 110px 0; }
.section--tight { padding: 84px 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }

.section-title { font-size: clamp(1.35rem, 2.7vw, 2.3rem); margin-top: 18px; max-width: none; white-space: nowrap; overflow-wrap: break-word; }
/* Highlighted words inside titles */
/* Default (section titles & body): bold gradient text, no background pill */
.hl {
  font-weight: 800; white-space: nowrap;
  background: linear-gradient(100deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Hero keeps the pill style (gradient background + white text) */
.hero .hl {
  font-weight: inherit;
  -webkit-background-clip: border-box; background-clip: border-box; color: #fff;
  padding: 0.04em 0.32em; border-radius: 0.34em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  box-shadow: 0 6px 18px -8px rgba(124, 58, 237, .55);
}
.section-lead { color: var(--text-secondary); font-size: 1.08rem; margin-top: 14px; max-width: 58ch; }

/* ---------------------------------------------------------------- navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s ease, border-color .35s ease;
}
/* Dark-blue background fades in only after scrolling */
.nav::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.72) 0%, rgba(30, 41, 59, 0.72) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  opacity: 0; transition: opacity .35s ease;
}
.nav.scrolled::before { opacity: 1; }
.nav.scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 10px 34px -14px rgba(0, 0, 0, 0.55);
}
.nav__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 26px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-size: 0.92rem; font-weight: 500; color: #cbd5e1;
  padding: 9px 14px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

/* language switch */
.lang {
  display: inline-flex; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px; padding: 3px; gap: 2px;
}
.lang button {
  font: inherit; font-size: 0.78rem; font-weight: 700; letter-spacing: .03em;
  border: 0; background: transparent; color: #94a3b8;
  padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.lang button.active { background: #ffffff; color: var(--blue); box-shadow: var(--shadow-sm); }
.lang button:hover:not(.active) { color: #fff; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.55); }
.btn--primary:hover { background: #1d4ed8; box-shadow: 0 16px 32px -10px rgba(37, 99, 235, 0.6); transform: translateY(-2px); }
.btn--ghost { background: var(--card); color: var(--text-primary); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.nav__toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; color: #fff; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 104px 0 72px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Background photo — drop a file at assets/hero-bg.jpg or override --hero-bg below */
:root { --hero-bg: url("../assets/hero2.png"); }
.hero__photo {
  position: absolute; inset: -12% 0 0 0; z-index: 0;
  background-image: var(--hero-bg); background-size: cover; background-position: center 28%;
  opacity: .9; will-change: transform;
}
/* Dark scrim for text legibility — stays dark to the hero's bottom (clean edge, no white fade) */
.hero__overlay {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 78% 58% at 50% 38%, rgba(7,11,22,.74) 0%, rgba(7,11,22,.42) 52%, rgba(7,11,22,.12) 82%, transparent 100%),
    linear-gradient(180deg, rgba(7,11,22,.55) 0%, rgba(7,11,22,.4) 45%, rgba(7,11,22,.36) 100%);
}
.blob-wrap { position: absolute; inset: 0; will-change: transform; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(37,99,235,.32), transparent 65%); top: -160px; right: -120px; animation: float1 16s ease-in-out infinite; }
.blob--2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(14,165,233,.26), transparent 65%); top: 120px; left: -160px; animation: float2 19s ease-in-out infinite; }
.blob--3 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(16,185,129,.18), transparent 65%); bottom: -120px; left: 38%; animation: float1 22s ease-in-out infinite reverse; }
.hero__grid-overlay {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
}

.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 920px; margin: 0 auto; }
.hero__logo { height: clamp(50px, 7vw, 84px); width: auto; display: block; margin: 0 auto 30px; filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.5)); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 30px;
  font-size: 0.82rem; font-weight: 600; color: #e2e8f0;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.5);
}
.hero__badge .ping { position: relative; width: 8px; height: 8px; }
.hero__badge .ping span { position: absolute; inset: 0; border-radius: 50%; background: var(--green); }
.hero__badge .ping span::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }

.hero h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); letter-spacing: -0.035em; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero h1 .grad {
  background: linear-gradient(100deg, #2563eb 0%, #6366f1 28%, #a855f7 54%, #8b5cf6 78%, #2563eb 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s ease-in-out infinite;
}
@keyframes gradShift { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255, 255, 255, 0.88); margin: 26px auto 8px; max-width: 60ch; text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4); }
.hero__pills { font-weight: 600; color: #fff; margin-top: 10px; font-size: 0.98rem; text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4); }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 64px auto 0; max-width: 820px;
}
.stat {
  background: rgba(15, 23, 42, 0.42); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.55);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.22); background: rgba(15, 23, 42, 0.55); }
.stat__value { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; margin-top: 6px; }

/* ---------------------------------------------------------------- generic card */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 0.97rem; margin: 0; }

/* ---------------------------------------------------------------- problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.problem-card { padding: 32px; }
.problem-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.problem-card .num {
  font-size: 0.85rem; font-weight: 800; letter-spacing: .1em; color: var(--red);
  display: inline-flex; padding: 6px 12px; border-radius: 8px; background: rgba(239, 68, 68, 0.09); flex-shrink: 0;
}
.problem-card h3 { font-size: 1.25rem; margin: 0; }

/* solution split */
.solution {
  margin-top: 40px;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  border-radius: 26px; padding: 52px; color: #fff; position: relative; overflow: hidden;
}
.solution::before {
  content: ""; position: absolute; top: -120px; right: -80px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(37,99,235,.45), transparent 65%); filter: blur(40px);
}
.solution__head { position: relative; z-index: 1; max-width: 640px; }
.solution__head .kicker { background: rgba(59,130,246,.18); border-color: rgba(59,130,246,.35); color: #93c5fd; }
.solution__head h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 16px; }
.solution__head p { color: #cbd5e1; margin-top: 14px; font-size: 1.05rem; }
.solution__split { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.solution__cell { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 26px; }
.solution__cell .tag { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.solution__cell.human .tag { color: var(--cyan); }
.solution__cell.ai .tag { color: var(--green); }
.solution__cell h4 { font-size: 1.2rem; color: #fff; margin: 8px 0 8px; }
.solution__cell p { color: #cbd5e1; font-size: .96rem; margin: 0; }
.solution__note { position: relative; z-index: 1; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  color: #e2e8f0; font-size: 1.05rem; font-weight: 500; }
.solution__note b { color: #fff; }

/* ---------------------------------------------------------------- pipeline */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; position: relative; }
.phase { padding: 26px 24px; }
.phase__head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.phase__dot { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
/* 4 steps from brand blue (#2563eb) to the highlight purple (#7c3aed) */
.phase:nth-child(1) .phase__dot { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.phase:nth-child(2) .phase__dot { background: linear-gradient(135deg, #6172f3, #4255ec); }
.phase:nth-child(3) .phase__dot { background: linear-gradient(135deg, #8b6cf6, #5f48ec); }
.phase:nth-child(4) .phase__dot { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.phase__tag { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.phase h3 { font-size: 1.15rem; margin: 2px 0 0; font-weight: 750; color: #1f2937; }
.note-banner {
  margin-top: 32px; display: flex; align-items: center; gap: 14px; justify-content: center;
  text-align: center; padding: 18px 26px; border-radius: 14px;
  background: rgba(16,185,129,.07); border: 1px solid rgba(16,185,129,.2);
  color: var(--text-secondary); font-weight: 500;
}
.note-banner svg { color: var(--green); flex-shrink: 0; }
.note-banner b { color: var(--text-primary); }

/* ---------------------------------------------------------------- measures */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pillar {
  padding: 30px; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  border-color: rgba(255, 255, 255, 0.08); color: #fff;
}
/* Person photo as a faded background behind the dark-blue block */
.pillar__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%; opacity: .22; z-index: -2;
}
.pillar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,23,42,.35) 0%, rgba(15,23,42,.72) 65%, rgba(15,23,42,.88) 100%);
}
.pillar__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pillar__dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
/* 3 steps from brand blue (#2563eb) to the highlight purple (#7c3aed) */
.pillar:nth-child(1) .pillar__dot { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.pillar:nth-child(2) .pillar__dot { background: linear-gradient(135deg, #7472f3, #514fec); }
.pillar:nth-child(3) .pillar__dot { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.pillar h3 { font-size: 1.3rem; color: #fff; }
.pillar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pillar li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.82); font-size: .95rem; }
.pillar li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; box-shadow: 0 0 8px rgba(14,165,233,.7); }

.modes-head { margin-top: 72px; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.mode { padding: 0; display: flex; flex-direction: column; }
.mode__media { overflow: hidden; line-height: 0; }
.mode__img { width: 100%; height: auto; display: block; }
.mode__body { padding: 22px 28px 28px; display: flex; flex-direction: column; gap: 0; }
.mode__badge { display: inline-flex; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.mode:nth-child(1) .mode__badge { color: var(--blue); background: rgba(37,99,235,.1); }
.mode:nth-child(2) .mode__badge { color: var(--cyan); background: rgba(14,165,233,.12); }
.mode:nth-child(3) .mode__badge { color: var(--green); background: rgba(16,185,129,.12); }
.mode h3 { font-size: 1.22rem; font-weight: 750; color: #1f2937; }
.mode__sub { color: var(--text-muted); font-size: .88rem; margin: 6px 0 30px; line-height: 1.5; }
.mode__items { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding: 0; list-style: none; }
.chip { font-size: .92rem; font-weight: 500; color: var(--text-secondary); padding: 4px 0; line-height: 1.4; }
.chip::before { content: "•"; color: var(--blue); margin-right: 8px; font-weight: 700; }

/* ---------------------------------------------------------------- apart */
.apart-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; margin-top: 50px; align-items: start; }
.apart-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.apart-card { padding: 34px 28px; min-height: 230px; }
.apart-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.apart-card__ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
/* 4 steps from brand blue (#2563eb) to the highlight purple (#7c3aed) */
.apart-cards .apart-card:nth-child(1) .apart-card__ico { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.apart-cards .apart-card:nth-child(2) .apart-card__ico { background: linear-gradient(135deg, #6172f3, #4255ec); }
.apart-cards .apart-card:nth-child(3) .apart-card__ico { background: linear-gradient(135deg, #8b6cf6, #5f48ec); }
.apart-cards .apart-card:nth-child(4) .apart-card__ico { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.apart-card h3 { font-size: 1.08rem; margin: 0; font-weight: 750; color: #1f2937; }
.apart-card p { font-size: .93rem; }

.produces { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); position: sticky; top: 96px; }
.produces h3 { font-size: 1.3rem; margin-bottom: 22px; }
.produces ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.produces li { display: flex; gap: 13px; }
.produces li .marker { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; }
.produces li .marker svg { width: 14px; height: 14px; }
.produces li b { display: block; font-size: .96rem; color: var(--text-primary); }
.produces li span { font-size: .88rem; color: var(--text-muted); }
.produces__note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-secondary); }

/* ---------------------------------------------------------------- usecases */
.usecases { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 50px; }
.usecase { padding: 0; display: flex; flex-direction: column; }
.usecase__media { position: relative; overflow: hidden; height: 220px; }
.usecase__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(255,255,255,.06) 100%); }
.usecase__img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .6s cubic-bezier(.16,1,.3,1); }
/* "manager" photo: faces sit high in the frame — shift the crop down (~100px) to reveal them */
.usecase__img[data-uc="manager"] { object-position: center 20%; }
.usecase:hover .usecase__img { transform: scale(1.06); }
.usecase__body { padding: 28px 30px 32px; }
.usecase__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.usecase h3 { font-size: 1.3rem; }
.usecase__meta { font-size: .82rem; font-weight: 600; color: var(--blue); background: rgba(37,99,235,.08);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.usecase__mods { display: inline-block; font-size: .82rem; color: var(--text-muted); font-weight: 600;
  padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 16px; }
.usecase p { font-size: .96rem; }

/* ---------------------------------------------------------------- team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; }
.member { padding: 34px; }
.member__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.member__avatar { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; flex-shrink: 0; }
.member:nth-child(1) .member__avatar { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.member:nth-child(2) .member__avatar { background: linear-gradient(135deg, #0ea5e9, #10b981); }
.member__name { font-size: 1.25rem; }
.member__role { font-size: .88rem; color: var(--blue); font-weight: 600; margin-top: 2px; }
.member p { font-size: .95rem; line-height: 1.7; }

/* ---------------------------------------------------------------- business */
.business { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.bmodel { padding: 32px; }
.bmodel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bmodel__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
/* 3 steps from brand blue (#2563eb) to the highlight purple (#7c3aed) */
.business .bmodel:nth-child(1) .bmodel__ico { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.business .bmodel:nth-child(2) .bmodel__ico { background: linear-gradient(135deg, #7472f3, #514fec); }
.business .bmodel:nth-child(3) .bmodel__ico { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.bmodel h3 { font-size: 1.18rem; margin: 0; font-weight: 750; color: #1f2937; }

/* ---------------------------------------------------------------- CTA */
.cta-band { position: relative; overflow: hidden; border-radius: 30px; margin: 0 24px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #0ea5e9 100%); color: #fff; }
.cta-band__inner { position: relative; z-index: 1; text-align: center; padding: 72px 32px; max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.cta-band p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin: 18px auto 32px; max-width: 52ch; }
.cta-band .blob--c { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(60px); opacity: .4; }
.cta-band .blob--c1 { background: rgba(16,185,129,.6); top: -180px; left: -80px; }
.cta-band .blob--c2 { background: rgba(255,255,255,.4); bottom: -200px; right: -60px; }
.cta-band .btn--primary { background: #fff; color: var(--blue); box-shadow: 0 14px 30px -8px rgba(0,0,0,.3); }
.cta-band .btn--primary:hover { background: #f1f5f9; }
.cta-band .btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; border-color: #fff; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- footer */
.footer { background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%); color: #a1a1aa; padding: 56px 0 32px; margin-top: 90px; }
.footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__logo img { height: 30px; display: block; margin-bottom: 14px; }
.footer__tagline { font-size: .92rem; max-width: 32ch; }
.footer__links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer__col h5 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.footer__col a { display: block; color: #a1a1aa; font-size: .92rem; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #71717a; }
.footer__bottom a { color: #d4d4d8; }
.footer__by { display: inline-flex; align-items: center; gap: 8px; }
.footer__nexent { height: 16px; width: auto; display: block; }

/* ---------------------------------------------------------------- scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 70;
  background: linear-gradient(90deg, #2563eb, #6366f1, #a855f7);
  box-shadow: 0 0 12px rgba(139, 92, 246, .4);
  transition: width .08s linear;
}

/* ---------------------------------------------------------------- demo modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(7, 11, 22, 0.62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .3s ease;
}
.modal__panel {
  position: relative; width: 100%; max-width: 520px;
  background: #fff; border-radius: 20px; padding: 36px;
  box-shadow: 0 40px 90px -20px rgba(7, 11, 22, 0.5);
  max-height: calc(100vh - 40px); overflow: auto;
  animation: modalIn .4s cubic-bezier(.16, 1, .3, 1);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text-muted); cursor: pointer; transition: color .2s, background .2s;
}
.modal__close:hover { color: var(--text-primary); background: var(--elevated); }
.modal__title { font-size: 1.5rem; font-weight: 750; }
.modal__sub { color: var(--text-secondary); font-size: .95rem; margin: 8px 0 24px; }
.modal__form .field { display: block; margin-bottom: 16px; }
.field__label { display: block; font-size: .84rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.field__input {
  width: 100%; font: inherit; font-size: .95rem; color: var(--text-primary);
  padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--surface);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field__input::placeholder { color: var(--text-muted); opacity: .7; }
.field__input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.field__textarea { resize: vertical; min-height: 96px; }
.field__req { font-weight: 600; }
.field__req-star { color: #dc2626; }
.field__input.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.modal__submit { width: 100%; margin-top: 6px; }
.modal__submit:disabled { opacity: .6; cursor: default; pointer-events: none; }
.form-status { margin: 12px 0 0; font-size: .9rem; font-weight: 600; text-align: center; }
.form-status--pending { color: var(--text-secondary); }
.form-status--success { color: #16a34a; }
.form-status--error { color: #dc2626; }

/* ---------------------------------------------------------------- reveal animations */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1), filter .8s ease;
  will-change: opacity, transform;
}
.reveal[data-anim="left"]  { transform: translateX(-48px); }
.reveal[data-anim="right"] { transform: translateX(48px); }
.reveal[data-anim="zoom"]  { transform: scale(.9) translateY(20px); }
.reveal[data-anim="fade"]  { transform: none; }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .28s; }
.reveal[data-delay="4"] { transition-delay: .38s; }

@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-26px,24px); } }
@keyframes ping { 75%,100% { transform: scale(2.4); opacity: 0; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero__inner > * { animation: fadeInUp .8s cubic-bezier(.16,1,.3,1) backwards; }
.hero__badge { animation-delay: .05s; }
.hero h1 { animation-delay: .15s; }
.hero__sub { animation-delay: .28s; }
.hero__pills { animation-delay: .36s; }
.hero__cta { animation-delay: .44s; }
.hero__stats { animation-delay: .54s; }

/* lang fade */
[data-i18n], [data-i18n-html] { transition: opacity .25s ease; }
body.lang-switching [data-i18n], body.lang-switching [data-i18n-html] { opacity: 0; }

/* ---------------------------------------------------------------- mobile menu */
.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 55;
  background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--shadow-lg);
  padding: 16px 24px 24px; display: none; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; transition: opacity .25s, transform .25s;
}
.mobile-menu.open { display: flex; transform: none; opacity: 1; }
.mobile-menu a { padding: 12px 8px; font-weight: 500; color: #cbd5e1; border-radius: 10px; }
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.mobile-menu .btn { margin-top: 10px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  /* On smaller screens long titles can't fit one line — let them wrap nicely */
  .section-title { white-space: normal; text-wrap: balance; }
}
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn { display: none; }
  .problem-grid, .pillars, .modes, .business { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .phase__connector { display: none; }
  .apart-layout, .apart-cards, .usecases, .team-grid, .solution__split { grid-template-columns: 1fr; }
  .apart-card { min-height: 0; }
  .produces { position: static; }
  .hero__stats { grid-template-columns: 1fr; max-width: 420px; }
  .solution { padding: 36px 26px; }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .pipeline { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .cta-band { margin: 0 16px; }
}

/* Note: animations are intentionally enabled for all visitors (product choice),
   so the usual `@media (prefers-reduced-motion: reduce)` opt-out is omitted here. */
