/* ==============================================
   The One HR — Universal Landing Page Styles
   B2B Service Pages Template
   ============================================== */

/* --- Import Montserrat from local --- */
/* (uses the same local font already downloaded) */

/* --- CSS Variables (Brand Tokens) --- */
:root {
  --bg-dark:      #141619;
  --bg-mid:       #1e2024;
  --bg-card:      #23262b;
  --accent-violet: #863bff;
  --accent-violet-hover: #9b5eff;
  --accent-yellow: #ffb200;
  --text-white:   #ffffff;
  --text-muted:   #c2c7d1;
  --text-dark:    #141619;
  --border:       rgba(255,255,255,0.12);
  --radius-lg:    40px;
  --radius-md:    20px;
  --radius-sm:    12px;
  --transition:   0.25s ease;
  --max-w:        1200px;
  --font:         'Montserrat', Arial, sans-serif;
  /* extended design tokens (S16) */
  --accent-blue:  #5e77ff;
  --text-faint:   rgba(255,255,255,0.62);
  --shadow-sm:    0 2px 10px rgba(0,0,0,0.25);
  --shadow-md:    0 10px 34px rgba(0,0,0,0.32);
  --shadow-lg:    0 24px 60px rgba(0,0,0,0.45);
  --shadow-glow:  0 14px 44px rgba(134,59,255,0.28);
  --space-2: 8px; --space-3: 16px; --space-4: 24px; --space-5: 40px; --space-6: 64px; --space-7: 96px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Scrollbar --- */
body::-webkit-scrollbar { width: 5px; background: var(--bg-dark); }
body::-webkit-scrollbar-thumb { background: linear-gradient(45deg, #5e77ff, var(--accent-violet)); border-radius: 20px; }

/* --- Container --- */
.lp-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .lp-container { padding: 0 20px; } }

/* ==========================================
   HEADER / NAV
   ========================================== */
/* keyboard focus — restored globally (was outline:none with no replacement) */
:focus-visible { outline: 2px solid #a46dff; outline-offset: 2px; border-radius: 3px; }
.btn:focus-visible, .nav-drop-toggle:focus-visible, .lp-nav a:focus-visible, .lang-switch a:focus-visible { outline-offset: 3px; }

.lp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.lp-header.scrolled {
  background: rgba(20,22,25,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.lp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.lp-logo img { height: 40px; }
.lp-nav { display: flex; gap: 30px; align-items: center; }
.lp-nav a, .nav-drop-toggle {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
  opacity: 0.75;
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
}
.lp-nav a:hover, .nav-drop-toggle:hover { opacity: 1; }
.lp-nav a.back-link { display: flex; align-items: center; gap: 6px; opacity: 0.75; }
.lp-nav a.back-link::before { content: '←'; }

/* ── active section indicator ── */
.lp-nav > a.active, .nav-has-drop.active .nav-drop-toggle { opacity: 1; color: #fff; }
.lp-nav > a.active, .nav-has-drop.active > .nav-drop-toggle { position: relative; }
.lp-nav > a.active::after, .nav-has-drop.active > .nav-drop-toggle::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: linear-gradient(90deg, #863bff, #5e77ff); border-radius: 2px;
}

/* ── services mega-dropdown ── */
.nav-item, .nav-has-drop { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: none; }
.nav-caret { font-size: 9px; opacity: .7; transition: transform var(--transition); }
.nav-has-drop:hover .nav-caret, .nav-has-drop.open .nav-caret { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  width: 460px; padding: 10px;
  background: rgba(24,26,31,.98); backdrop-filter: blur(16px);
  border: 1px solid rgba(134,59,255,.22); border-radius: 16px;
  box-shadow: 0 24px 56px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 1001;
}
.nav-has-drop:hover .nav-drop, .nav-has-drop.open .nav-drop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* hover bridge so the gap to the panel doesn't drop the hover */
.nav-has-drop::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 18px; }
.nav-drop a {
  display: flex; align-items: center; gap: 11px; padding: 11px 14px;
  border-radius: 10px; font-size: 13px; font-weight: 600; opacity: .85;
  color: var(--text-white);
}
.nav-drop a .nav-ico { font-size: 17px; flex-shrink: 0; width: 24px; text-align: center; }
.nav-drop a:hover { opacity: 1; background: rgba(134,59,255,.14); }
.nav-drop a[aria-current="page"] { opacity: 1; color: #a46dff; background: rgba(134,59,255,.12); }
.nav-drop a.nav-drop-all {
  grid-column: 1 / -1; justify-content: center; margin-top: 4px; padding-top: 13px;
  color: #a46dff; font-weight: 700; border-top: 1px solid rgba(255,255,255,.07);
}

/* ── secondary "candidates" link + CTA ── */
.lp-nav a.nav-cand { font-size: 13px; opacity: .55; }
.lp-nav a.nav-cand:hover { opacity: .95; color: #a46dff; }
.lp-nav a.nav-cta { opacity: 1; }

/* ── burger (global, was index-only) ── */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ── mobile drawer ── */
@media (max-width: 980px) {
  .lp-header__inner { padding: 0 20px; }
  .lp-header .nav-toggle { display: block; position: relative; z-index: 1002; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .lp-header .lp-nav {
    display: none; position: fixed; top: 0; right: 0; bottom: 0;
    width: min(84vw, 340px); flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(16,17,20,.99); backdrop-filter: blur(20px);
    padding: 86px 22px 32px; box-shadow: -20px 0 60px rgba(0,0,0,.5);
    transform: translateX(100%); transition: transform .3s ease;
    z-index: 1000; overflow-y: auto;
  }
  .lp-header .lp-nav.open { display: flex; transform: translateX(0); }
  .lp-nav > a, .nav-drop-toggle { padding: 13px 6px; font-size: 16px; opacity: .9; width: 100%; }
  .lp-nav > a.active::after, .nav-has-drop.active > .nav-drop-toggle::after { display: none; }
  .lp-nav > a.active, .nav-has-drop.active .nav-drop-toggle { color: #a46dff; }
  .nav-has-drop { width: 100%; }
  .nav-has-drop::after { display: none; }
  .nav-drop {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    width: 100%; grid-template-columns: 1fr; gap: 0; padding: 0 0 8px 14px;
    background: transparent; border: none; box-shadow: none; backdrop-filter: none;
    display: none;
  }
  .nav-has-drop.open .nav-drop { display: grid; }
  .nav-drop a { padding: 11px 8px; }
  .nav-drop a.nav-drop-all { justify-content: flex-start; border-top: none; }
  .lp-nav a.nav-cand { opacity: .8; padding: 13px 6px; }
  .lp-nav a.nav-cta { margin-top: 14px; text-align: center; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 999; }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.lp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.lp-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(134,59,255,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.lp-hero__grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(134,59,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134,59,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.lp-hero__content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}
.lp-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(134,59,255,0.15);
  border: 1px solid rgba(134,59,255,0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #b07fff;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.lp-hero__tag::before { content: '◆'; font-size: 8px; }
.lp-hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  max-width: 800px;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.lp-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-violet), #5e77ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.65;
}
.lp-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.lp-hero__proof {
  margin-top: 60px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.lp-hero__stat strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}
.lp-hero__stat strong span { color: var(--accent-violet); }
.lp-hero__stat small {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}
@media (max-width: 768px) {
  .lp-hero { padding: 110px 0 60px; }
  .lp-hero__content { padding: 0 20px; }
  .lp-hero__proof { gap: 24px; }
}

/* --- Breadcrumb (in-hero, paired with BreadcrumbList JSON-LD for SERP) --- */
.lp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 26px;
  letter-spacing: 0.01em;
}
.lp-breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.lp-breadcrumb a:hover { color: var(--accent-violet-hover); }
.lp-breadcrumb .crumb-sep { opacity: 0.45; }
.lp-breadcrumb [aria-current="page"] { color: var(--text-white); font-weight: 600; }

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition);
  text-decoration: none;
  border-radius: 30px;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent-violet);
  color: #fff;
  padding: 16px 36px;
  box-shadow: 0 4px 24px rgba(134,59,255,0.35);
}
.btn-primary:hover {
  background: var(--accent-violet-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(134,59,255,0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--text-white);
  padding: 15px 34px;
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}
.btn-yellow {
  background: var(--accent-yellow);
  color: var(--bg-dark);
  padding: 16px 36px;
  box-shadow: 0 4px 20px rgba(255,178,0,0.3);
}
.btn-yellow:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* ==========================================
   SECTION COMMONS
   ========================================== */
.lp-section {
  padding: 100px 0;
}
.lp-section--dark { background: var(--bg-dark); }
.lp-section--mid  { background: var(--bg-mid); }
.lp-section--card { background: var(--bg-card); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-violet);
  margin-bottom: 18px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: linear-gradient(90deg, var(--accent-violet), #5e77ff); }

.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 640px;
  margin-bottom: 24px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-violet), #5e77ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 56px;
}

/* ==========================================
   PAIN SECTION — Problem recognition
   ========================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.pain-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(134,59,255,0.16);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.pain-card:hover {
  border-color: rgba(134,59,255,0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-violet), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.pain-card:hover::before { opacity: 1; }
.pain-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.pain-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.pain-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   PROCESS SECTION — Steps
   ========================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.step-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(134,59,255,0.16);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.step-card:hover {
  border-color: rgba(134,59,255,0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.step-num {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: rgba(134,59,255,0.2);
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.step-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}
.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================
   CASE SECTION
   ========================================== */
.case-block {
  background: linear-gradient(135deg, rgba(134,59,255,0.12) 0%, rgba(94,119,255,0.08) 100%);
  border: 1px solid rgba(134,59,255,0.25);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.case-block::before {
  content: '»';
  position: absolute;
  top: 32px; right: 48px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(134,59,255,0.1);
  line-height: 1;
}
.case-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.case-tag {
  background: rgba(134,59,255,0.2);
  border: 1px solid rgba(134,59,255,0.3);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #b07fff;
  letter-spacing: 0.05em;
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 0;
}
@media (max-width: 768px) { .case-grid { grid-template-columns: 1fr; } }
.case-item-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-yellow);
  margin-bottom: 10px;
}
.case-item-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-white);
}
.case-result {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.case-result-stat strong {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent-yellow);
  display: block;
  line-height: 1;
}
.case-result-stat span {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}
@media (max-width: 768px) { .case-block { padding: 32px 24px; } }

/* ==========================================
   CALCULATOR / LEAD MAGNET SECTION
   ========================================== */
.calc-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .calc-wrap { grid-template-columns: 1fr; } }
.calc-left {
  padding: 56px 48px;
  border-right: 1px solid var(--border);
}
@media (max-width: 900px) { .calc-left { border-right: none; border-bottom: 1px solid var(--border); } }
.calc-right {
  padding: 56px 48px;
  background: linear-gradient(160deg, rgba(134,59,255,0.1) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) { .calc-left, .calc-right { padding: 32px 24px; } }

.input-group {
  margin-bottom: 24px;
}
.input-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.input-group input,
.input-group select {
  width: 100%;
  background: var(--bg-mid);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-white);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.input-group input:focus,
.input-group select:focus {
  border-color: var(--accent-violet);
}
.input-group select option { background: var(--bg-card); color: var(--text-white); }

.input-slider-wrap { display: flex; align-items: center; gap: 16px; }
.input-slider-wrap input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  background: var(--bg-mid);
  border: none;
  border-radius: 100px;
  height: 6px;
  padding: 0;
  cursor: pointer;
}
.input-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: var(--accent-violet);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(134,59,255,0.25);
}
.slider-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  min-width: 36px;
  text-align: right;
}

/* Calc result pane */
.calc-result-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calc-result-num {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1;
  margin-bottom: 8px;
}
.calc-result-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}
.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.calc-breakdown-row span { color: var(--text-muted); }
.calc-breakdown-row strong { color: var(--text-white); }

/* ==========================================
   TEAM / EXPERTS SECTION
   ========================================== */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.expert-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(134,59,255,0.16);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.expert-card:hover {
  border-color: rgba(134,59,255,0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.expert-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid rgba(134,59,255,0.4);
}
.expert-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.expert-role {
  font-size: 13px;
  color: var(--accent-violet);
  font-weight: 600;
  margin-bottom: 12px;
}
.expert-bio { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ==========================================
   CTA / FOOTER SECTION
   ========================================== */
.lp-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #18111f 100%);
  position: relative;
  overflow: hidden;
}
.lp-cta__glow {
  position: absolute;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(134,59,255,0.25), transparent 70%);
  pointer-events: none;
}
.lp-cta__box {
  background: linear-gradient(135deg, rgba(134,59,255,0.15), rgba(94,119,255,0.1));
  border: 1px solid rgba(134,59,255,0.3);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.lp-cta__box h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.lp-cta__box p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.lp-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.lp-cta__small {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .lp-cta__box { padding: 40px 24px; }
}

/* ==========================================
   FOOTER
   ========================================== */
.lp-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.lp-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.lp-footer__logo img { height: 32px; opacity: 0.7; }
.lp-footer__links { display: flex; gap: 24px; }
.lp-footer__links a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.lp-footer__links a:hover { color: var(--text-white); }
.lp-footer__copy { font-size: 13px; color: var(--text-muted); }

/* ==========================================
   UTILITIES & ANIMATIONS
   ========================================== */
.text-violet { color: var(--accent-violet); }
.text-yellow { color: var(--accent-yellow); }
.text-muted  { color: var(--text-muted); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.15s; }
.fade-up-3 { animation-delay: 0.28s; }
.fade-up-4 { animation-delay: 0.42s; }

/* ── Reusable hero nebula + scroll-reveal (driven by js/motion.js) — added 2026-05-31 ──
   Scoped under .page-hero / .js-motion so pages without motion.js are untouched.
   Mirrors the homepage hero particle field for a consistent motion vocabulary. */
.page-hero { position: relative; overflow: hidden; background: var(--bg-dark); }
.page-hero > .nebula-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.page-hero > .orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; animation: driftNebula 8s ease-in-out infinite alternate; }
.page-hero > .orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(134,59,255,.25), transparent 70%); top: -120px; right: -120px; animation-delay: 0s; }
.page-hero > .orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(94,119,255,.2), transparent 70%); bottom: -80px; left: -100px; animation-delay: -4s; }
.page-hero > *:not(.nebula-canvas):not(.orb) { position: relative; z-index: 2; }
@keyframes driftNebula { from { transform: translate(0,0); } to { transform: translate(30px,20px); } }
/* Wide-page hero backdrop — same particle field behind the full-width .lp-hero
   (the homepage look). Sits above the bg/grid layers, below .lp-hero__content (z-index:2). */
.lp-hero > .nebula-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
/* Custom hero classes that also host the backdrop: EN service .svc-hero,
   EN .cases-hero, .onepro-hero. Canvas above the section bg/orb, content above canvas. */
.svc-hero > .nebula-canvas, .cases-hero > .nebula-canvas, .onepro-hero > .nebula-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.cases-hero, .onepro-hero { position: relative; overflow: hidden; }
.svc-hero > *:not(.nebula-canvas):not(.orb), .cases-hero > *:not(.nebula-canvas):not(.orb), .onepro-hero > *:not(.nebula-canvas):not(.orb) { position: relative; z-index: 2; }

.js-motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.js-motion .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* Side nebula strips — the homepage particle element placed in the page gutters.
   Fixed full-height, behind content (z-index:-1, shows over the dark body bg);
   hidden on narrower screens where there are no side gutters. */
.nebula-side { position: fixed; top: 0; height: 100vh; width: clamp(0px, calc((100vw - 820px) / 2), 380px); z-index: -1; pointer-events: none; }
.nebula-side--left { left: 0; }
.nebula-side--right { right: 0; }
@media (max-width: 1024px) { .nebula-side { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .page-hero > .orb { animation: none; }
  .js-motion .reveal { opacity: 1; transform: none; transition: none; }
}

/* Divider */
.lp-divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

/* Privacy Checkbox */
.privacy-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  text-align: left;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}
.privacy-checkbox input[type='checkbox'] {
  margin-top: 3px;
  accent-color: var(--accent-violet, #863bff);
  cursor: pointer;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.privacy-checkbox a {
  color: var(--accent-violet, #863bff);
  text-decoration: underline;
}
.privacy-checkbox a:hover {
  text-decoration: none;
}
.privacy-checkbox input:required:invalid {
  /* outline: 1px solid #ff4d4f; outline-offset: 2px;*/
}



/* FAQ accordion (S01 2026-05-28) */
.faq-item {
  background: var(--bg-card, rgba(255,255,255,0.03));
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(134,59,255,0.4); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-violet, #863bff);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 22px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}

/* ─── Language switcher (RU/EN) — universal for light/dark headers ─── */
.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  background: rgba(134, 59, 255, 0.08);
  border: 1px solid rgba(134, 59, 255, 0.22);
  border-radius: 100px;
  align-items: center;
  flex-shrink: 0;
}
.lang-switch a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 100px;
  text-decoration: none;
  color: #863bff;
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a.active {
  background: #863bff;
  color: #fff;
  opacity: 1;
}

/* S08 2026-05-30: blog FAQ dark-theme contrast fix (inline colors were light-theme, invisible on --bg-dark) */
.article-faq h2 { color: var(--text-white) !important; }
.article-faq .faq-item { background: var(--bg-card) !important; border-color: rgba(134,59,255,0.30) !important; }
.article-faq .faq-item summary { color: var(--text-white) !important; }
.article-faq .faq-item p { color: var(--text-muted) !important; }
