/* ============================================================
   OTIMIZ — premium redesign
   Light, editorial, blue-led. Type: Sora (display) / Manrope (body)
   ============================================================ */

:root {
  color-scheme: only light;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-dark: #15309c;
  --blue-ink: #0e1f5b;
  --ink: #0b1126;
  --body: #4b5469;
  --muted: #8a91a5;
  --bg: #ffffff;
  --bg-soft: #f5f7fd;
  --line: rgba(11, 17, 38, 0.08);
  --blue-tint: #eaf0fe;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-soft: 0 2px 6px rgba(11, 17, 38, 0.04), 0 18px 40px -18px rgba(11, 17, 38, 0.12);
  --shadow-lift: 0 6px 14px rgba(11, 17, 38, 0.06), 0 30px 60px -24px rgba(37, 99, 235, 0.25);
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.container--narrow { width: min(840px, calc(100% - 48px)); }

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

/* ---------- Load veil ---------- */
.veil {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.veil__mark { width: 64px; height: 64px; object-fit: contain; animation: veilPulse 1.1s ease-in-out infinite; }
@keyframes veilPulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
.veil.is-done { pointer-events: none; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #4f8af9 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, background-color .25s ease, color .25s ease;
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute; top: 0; left: -85%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-22deg);
  transition: left .65s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(37, 99, 235, 0.65); }
.btn--white { background: #fff; color: var(--blue-deep); box-shadow: 0 14px 30px -12px rgba(8, 16, 64, 0.45); }
.btn--white::after { background: linear-gradient(105deg, transparent, rgba(37, 99, 235, 0.16), transparent); }
.btn--white:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 22px; font-size: 0.92rem; }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }

/* ---------- Eyebrow pill ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--blue-tint);
  border: 1px solid rgba(37, 99, 235, 0.14);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow__emoji { font-size: 0.9rem; letter-spacing: 0; }
.eyebrow--light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(11, 17, 38, 0.18);
}
.header__inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.header__logo { height: 40px; width: auto; }
.header__actions { display: flex; align-items: center; gap: 22px; }

.lang { display: flex; align-items: center; gap: 4px; }
.lang__btn {
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 600;
  color: var(--muted);
  transition: color .25s ease, background-color .25s ease;
}
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { background: var(--ink); color: #fff; }
.lang__sep { width: 1px; height: 14px; background: var(--line); }

/* ---------- Section rail ---------- */
.rail {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 90;
  display: flex; flex-direction: column; gap: 16px;
}
.rail__dot {
  position: relative;
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(11, 17, 38, 0.18);
  transition: background .3s ease, transform .3s ease;
}
.rail__dot:hover { background: var(--blue); transform: scale(1.25); }
.rail__dot.is-active { background: var(--blue); box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.15); }
.rail.is-on-blue .rail__dot { background: rgba(255, 255, 255, 0.35); }
.rail.is-on-blue .rail__dot.is-active { background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2); }
.rail__label {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--ink); color: #fff;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  padding: 5px 12px; border-radius: 8px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.rail__dot:hover .rail__label { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Sections ---------- */
.section { padding: 130px 0; position: relative; }
.section > .container { position: relative; z-index: 1; }

/* Ghost watermark word crawling behind each section — an endless marquee:
   two identical copies, each carrying the gap as padding, shifted by -50%
   per loop so the word exits one side and re-enters on the other. */
.sec-watermark {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.sec-watermark__track {
  position: absolute;
  top: var(--wm-top, 64px); left: 0;
  display: flex;
  width: max-content;
  animation: wmSlide var(--wm-dur, 80s) linear infinite;
}
.sec-watermark--reverse .sec-watermark__track { animation-direction: reverse; }
@keyframes wmSlide { to { transform: translateX(-50%); } }
.sec-watermark__track span {
  /* each copy = its word + a fixed gap, so the loop period is word+gap.
     The gap is always present (even when the word ~fills the screen, e.g. on
     mobile), and for normal words period < viewport so a copy is entering one
     edge before the previous fully leaves the other — continuous, no dead gap */
  flex: none;
  box-sizing: content-box;
  width: max-content;
  padding-right: var(--wm-gap, 28vw);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 11vw, 10rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: rgba(13, 38, 110, 0.04);
}
.sec-watermark--big .sec-watermark__track span { font-size: clamp(6rem, 14vw, 12.5rem); }
.sec-watermark--hero .sec-watermark__track span { color: rgba(13, 38, 110, 0.045); }
.sec-watermark--light .sec-watermark__track span { color: rgba(255, 255, 255, 0.06); }
.sec-watermark--panel .sec-watermark__track span { font-size: clamp(4rem, 9vw, 7.5rem); }
.section__head { max-width: 760px; margin: 0 auto 70px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section__subtitle { font-size: 1.13rem; color: var(--body); max-width: 560px; }
.section__head--light .section__title, .section__head--light .section__subtitle { color: #fff; }
.section__head--light .section__subtitle { opacity: 0.78; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 110px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: blobDrift 16s ease-in-out infinite alternate;
}
.hero__blob--1 {
  top: -180px; left: -140px;
  width: 560px; height: 560px;
  background: radial-gradient(circle at 35% 35%, rgba(37, 99, 235, 0.18), rgba(79, 138, 249, 0.07) 60%, transparent 75%);
}
.hero__blob--2 {
  top: 60px; right: -200px;
  width: 680px; height: 680px;
  background: radial-gradient(circle at 60% 40%, rgba(79, 138, 249, 0.16), rgba(37, 99, 235, 0.06) 55%, transparent 75%);
  animation-delay: -8s;
}
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(46px, 30px) scale(1.08); }
}
.hero__glow {
  position: absolute; top: 50%; right: -6%; transform: translateY(-52%);
  width: 760px; height: 760px;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.13) 0%, rgba(37, 99, 235, 0.04) 45%, transparent 68%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11, 17, 38, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 62% 75% at 68% 45%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 62% 75% at 68% 45%, black 0%, transparent 100%);
}

/* --- Hero background variants (enabled via hero--bg-* classes / ?herobg=) --- */
.hero .sec-watermark--hero { display: none; }
.hero--bg-watermark .sec-watermark--hero { display: block; }

.hero__rings { display: none; position: absolute; inset: 0; }
.hero--bg-rings .hero__rings { display: block; }
.hero__rings i {
  position: absolute; top: 44%; left: 50%;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 46s linear infinite;
}
.hero__rings i::before {
  content: "";
  position: absolute; top: -3.5px; left: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}
.hero__rings i:nth-child(1) { width: 420px; height: 420px; }
.hero__rings i:nth-child(2) { width: 600px; height: 600px; border-color: rgba(37, 99, 235, 0.09); animation-duration: 70s; animation-direction: reverse; }
.hero__rings i:nth-child(3) { width: 790px; height: 790px; border-color: rgba(37, 99, 235, 0.06); animation-duration: 95s; }
@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero__aurora { display: none; position: absolute; inset: -10%; filter: blur(80px); }
.hero--bg-aurora .hero__aurora { display: block; }
.hero__aurora::before, .hero__aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  animation: auroraDrift 22s ease-in-out infinite alternate;
}
.hero__aurora::before {
  top: -6%; left: -8%;
  width: 64%; height: 78%;
  background:
    radial-gradient(closest-side at 38% 42%, rgba(56, 130, 246, 0.30), transparent 72%),
    radial-gradient(closest-side at 70% 60%, rgba(125, 211, 252, 0.22), transparent 70%);
}
.hero__aurora::after {
  bottom: -12%; right: -10%;
  width: 70%; height: 86%;
  background:
    radial-gradient(closest-side at 55% 45%, rgba(99, 102, 241, 0.22), transparent 72%),
    radial-gradient(closest-side at 35% 70%, rgba(45, 212, 191, 0.16), transparent 68%);
  animation-delay: -11s;
  animation-direction: alternate-reverse;
}
@keyframes auroraDrift {
  from { transform: translate(0, 0) scale(1) rotate(0deg); }
  to { transform: translate(60px, 44px) scale(1.12) rotate(8deg); }
}

.hero__circuit { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.hero--bg-circuit .hero__circuit { display: block; }
.hero__circuit path {
  stroke: rgba(37, 99, 235, 0.13);
  stroke-width: 1.5;
  stroke-dasharray: 6 9;
  animation: wireFlow 2.6s linear infinite;
}
.hero__circuit circle { fill: rgba(37, 99, 235, 0.22); }
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 56px;
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero__title {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.8vw, 3.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue) 0%, #4f8af9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle { margin-top: 26px; max-width: 540px; font-size: 1.16rem; color: var(--body); }
.hero__cta { margin-top: 36px; }

/* Automation canvas — floats directly on the hero background */
.canvas {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 30px 6px 74px;
}
.canvas__wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.wire {
  stroke: rgba(37, 99, 235, 0.3);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  animation: wireFlow 1.6s linear infinite;
}
@keyframes wireFlow { to { stroke-dashoffset: -12; } }
.pulse { fill: var(--blue); filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.8)); }

.canvas__chips { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 26px; }
.canvas__chips--left { align-items: flex-start; }
.canvas__chips--right { align-items: flex-end; }
.chip {
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 19px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}
.chip:hover { transform: translateY(-5px) scale(1.07); box-shadow: var(--shadow-lift); }
.chip img { width: 58%; height: 58%; object-fit: contain; animation: chipFloat 5.4s ease-in-out infinite; }
.chip .chip__img--dark { filter: invert(1); } /* white X logo → dark for light theme */
.canvas__chips .chip:nth-child(1) { margin-left: 30px; }
.canvas__chips .chip:nth-child(2) { margin-left: -8px; }
.canvas__chips .chip:nth-child(3) { margin-left: -2px; }
.canvas__chips .chip:nth-child(4) { margin-left: 34px; }
.canvas__chips .chip:nth-child(2) img { animation-delay: -1.4s; }
.canvas__chips .chip:nth-child(3) img { animation-delay: -2.8s; }
.canvas__chips .chip:nth-child(4) img { animation-delay: -4.2s; }
.canvas__chips--right .chip:nth-child(1) { margin-left: 0; margin-right: 30px; }
.canvas__chips--right .chip:nth-child(2) { margin-left: 0; margin-right: -8px; }
.canvas__chips--right .chip:nth-child(3) { margin-left: 0; margin-right: -2px; }
.canvas__chips--right .chip:nth-child(4) { margin-left: 0; margin-right: 34px; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.canvas__core { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0 46px; }
.canvas__core-card {
  position: relative; z-index: 2;
  width: 112px; height: 112px;
  background: #fff;
  border-radius: 30px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 12px 34px -10px rgba(37, 99, 235, 0.4);
  display: flex; align-items: center; justify-content: center;
}
.canvas__core-card img { width: 64px; height: 64px; object-fit: contain; }
.canvas__core-ring {
  position: absolute; width: 160px; height: 160px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 44px;
  animation: ringSpin 14s linear infinite;
}
.canvas__core-ring--2 { width: 208px; height: 208px; border-radius: 60px; border-color: rgba(37, 99, 235, 0.12); animation-duration: 22s; animation-direction: reverse; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.canvas__status {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 11px;
  white-space: nowrap;
  background: rgba(11, 17, 38, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(11, 17, 38, 0.5);
}
.canvas__spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.canvas__toggle { position: relative; width: 32px; height: 17px; background: var(--blue); border-radius: 999px; }
.canvas__knob { position: absolute; right: 2.5px; top: 2.5px; width: 12px; height: 12px; background: #fff; border-radius: 50%; }

/* ---------- Benefits ---------- */
.benefits { background: var(--bg); }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.benefit {
  grid-column: span 2;
  background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
    linear-gradient(135deg, var(--line), var(--line)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease, background .45s ease;
}
.benefit:nth-child(4) { grid-column: 2 / span 2; }
.benefit::before {
  content: "";
  position: absolute; top: -60px; right: -60px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity .45s ease;
}
.benefit:hover {
  transform: translateY(-6px);
  background: linear-gradient(#fdfdff, #f6f8ff) padding-box,
    linear-gradient(135deg, rgba(37, 99, 235, 0.55), rgba(79, 138, 249, 0.12) 60%) border-box;
  box-shadow: var(--shadow-lift);
}
.benefit:hover::before { opacity: 1; }
.benefit__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background-color .35s ease, color .35s ease, transform .35s ease;
}
.benefit:hover .benefit__icon { background: var(--blue); color: #fff; transform: scale(1.06) rotate(-4deg); }
.benefit__icon svg { width: 24px; height: 24px; }
.benefit__title { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.benefit__desc { color: var(--body); font-size: 1rem; }
.benefit__desc .count { font-weight: 800; color: var(--blue-deep); }

/* ---------- Solutions ---------- */
.solutions {
  background:
    radial-gradient(1100px 540px at 12% -8%, rgba(255, 255, 255, 0.14) 0%, transparent 60%),
    radial-gradient(900px 600px at 95% 110%, rgba(8, 16, 64, 0.55) 0%, transparent 60%),
    linear-gradient(160deg, #2e6bf0 0%, var(--blue) 38%, #1a44c2 100%);
  overflow: hidden;
}
.solutions .section__head { margin-bottom: 84px; }

.marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee 56s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 62s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.sol-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 20px 30px 20px 20px;
  box-shadow: 0 18px 40px -22px rgba(8, 16, 64, 0.55);
  cursor: pointer;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease;
  text-align: left;
}
.sol-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 28px 54px -22px rgba(8, 16, 64, 0.7); }
.sol-card__icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
}
.sol-card__icon svg { width: 22px; height: 22px; }
.sol-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.sol-card__plus {
  flex: none;
  margin-left: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1rem; line-height: 1;
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.sol-card:hover .sol-card__plus { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(90deg); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.testimonial--featured {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.07), var(--shadow-soft);
}
@media (min-width: 1025px) {
  .testimonial--featured { transform: translateY(-14px); }
  .testimonial--featured:hover { transform: translateY(-20px); }
}
.testimonial__mark {
  font-family: var(--font-display);
  font-size: 4.4rem; font-weight: 800; line-height: 0.6;
  color: var(--blue-tint);
  margin-bottom: 26px;
  user-select: none;
}
.testimonial__stat {
  font-family: var(--font-display);
  font-size: 3.6rem; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, var(--blue) 0%, #4f8af9 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.testimonial__quote { font-size: 1.08rem; color: var(--ink); font-weight: 500; line-height: 1.65; flex: 1; }
.testimonial__author { margin-top: 30px; display: flex; align-items: center; gap: 13px; }
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #6d9bf7 100%);
  color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.testimonial__name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.testimonial__company { font-size: 0.85rem; color: var(--muted); }

/* ---------- About / Story ---------- */
.about { background: var(--bg); }
.about__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.about__visual { position: sticky; top: calc(var(--header-h) + 40px); }
.about__photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--blue-tint) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about__blob {
  position: absolute; inset: auto -60px -110px -60px; height: 320px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.35), transparent);
  filter: blur(10px);
}
.about__photo { position: relative; width: 100%; padding: 44px 30px 0; margin: 0 auto; max-width: 380px; }
.about__text p { font-size: 1.13rem; color: var(--body); margin-bottom: 28px; }
.about__quote {
  margin-top: 14px;
  padding: 34px 38px;
  border-radius: var(--radius-md);
  background: var(--blue-tint);
  border-left: 4px solid var(--blue);
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600; line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--blue-ink);
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq__item.is-open { border-color: rgba(37, 99, 235, 0.35); box-shadow: var(--shadow-soft); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; gap: 20px;
  text-align: left;
  padding: 24px 28px;
  font-family: var(--font-display);
  font-size: 1.06rem; font-weight: 600;
  color: var(--ink);
}
.faq__num {
  flex: none;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  opacity: 0.55;
  transition: opacity .3s ease;
}
.faq__item.is-open .faq__num { opacity: 1; }
.faq__q > span:nth-child(2) { flex: 1; }
.faq__chevron {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), background-color .3s ease, color .3s ease;
}
.faq__item.is-open .faq__chevron { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.22, 1, .36, 1); }
.faq__a p { padding: 0 28px 26px; color: var(--body); font-size: 1.02rem; max-width: 92%; }

/* ---------- CTA ---------- */
.cta { background: var(--bg-soft); padding-top: 0; }
.cta__panel {
  position: relative;
  border-radius: 36px;
  padding: 96px 40px 80px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    linear-gradient(150deg, #2e6bf0 0%, var(--blue) 42%, #16329f 100%);
  box-shadow: 0 40px 90px -40px rgba(21, 48, 156, 0.6);
}
.cta__glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 420px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.22) 0%, transparent 65%);
  pointer-events: none;
}
.cta__net {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.cta__net path {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.5;
  stroke-dasharray: 5 8;
}
.cta__net circle { fill: rgba(255, 255, 255, 0.3); }
.cta__panel::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}
.cta__panel > * { position: relative; z-index: 1; }
.cta__panel .cta__glow, .cta__panel .cta__net, .cta__panel .sec-watermark { position: absolute; z-index: 0; }
.cta__title {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: #fff;
  max-width: 700px;
}
.cta__subtitle { margin-top: 18px; color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; }
.cta .btn--white { margin-top: 38px; }
.cta__email {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display); font-size: 0.98rem; font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: color .25s ease, border-color .25s ease;
}
.cta__email:hover { color: #fff; border-color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); padding: 30px 0 44px; position: relative; }
.footer::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 48px)); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.25), transparent);
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer__logo { height: 30px; width: auto; opacity: 0.9; }
.footer__rights { font-size: 0.88rem; color: var(--muted); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 12, 32, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s ease;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__card {
  position: relative;
  width: min(620px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 40px 90px -30px rgba(8, 12, 32, 0.5);
  transform: translateY(26px) scale(0.96);
  opacity: 0;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
}
.modal.is-open .modal__card { transform: translateY(0) scale(1); opacity: 1; }
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background-color .25s ease, color .25s ease;
}
.modal__close:hover { background: var(--bg-soft); color: var(--ink); }
.modal__head { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; padding-right: 40px; }
.modal__icon {
  flex: none;
  width: 58px; height: 58px;
  border-radius: 18px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
}
.modal__icon svg { width: 26px; height: 26px; }
.modal__title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.modal__body { display: flex; flex-direction: column; gap: 22px; }
.modal__block { border-radius: var(--radius-md); padding: 24px 26px; border: 1px solid var(--line); }
.modal__block p { color: var(--ink); font-size: 1.02rem; }
.modal__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 12px;
}
.modal__block--problem { background: #fdf6f6; border-color: rgba(190, 60, 60, 0.12); }
.modal__block--problem .modal__tag { background: rgba(190, 60, 60, 0.1); color: #b03b3b; }
.modal__block--solution { background: var(--blue-tint); border-color: rgba(37, 99, 235, 0.16); }
.modal__block--solution .modal__tag { background: rgba(37, 99, 235, 0.12); color: var(--blue-deep); }
.modal__block--result { background: #f2faf5; border-color: rgba(34, 150, 83, 0.14); }
.modal__block--result .modal__tag { background: rgba(34, 150, 83, 0.12); color: #1e7d47; }

body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .rail { display: none; }
}

@media (max-width: 1024px) {
  .section { padding: 96px 0; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .benefit, .benefit:nth-child(4) { grid-column: auto; }
  .benefit:nth-child(5) { grid-column: 1 / -1; }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .about__layout { grid-template-columns: 1fr; gap: 50px; }
  .about__visual { position: static; max-width: 420px; margin: 0 auto; }
  .hero { padding-bottom: 70px; }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__text { align-items: center; text-align: center; }
  .hero__subtitle { max-width: 620px; }
  .hero__glow { right: auto; left: 50%; top: auto; bottom: -200px; transform: translateX(-50%); }
  .canvas { width: min(660px, 100%); margin: 26px auto 0; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .header__logo { height: 32px; }
  .header__actions { gap: 10px; }
  .btn--sm { padding: 9px 16px; font-size: 0.82rem; }
  .lang__btn { padding: 6px 9px; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero__title { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .hero__subtitle { font-size: 1.05rem; }
  /* same orbit layout as desktop, scaled down */
  .canvas { min-height: 400px; margin-top: 30px; padding: 12px 0 66px; }
  .canvas__chips { gap: 18px; }
  .canvas__chips .chip { width: 48px; height: 48px; border-radius: 15px; }
  .canvas__chips .chip:nth-child(1) { margin-left: 16px; }
  .canvas__chips .chip:nth-child(2) { margin-left: -4px; }
  .canvas__chips .chip:nth-child(3) { margin-left: 0; }
  .canvas__chips .chip:nth-child(4) { margin-left: 18px; }
  .canvas__chips--right .chip:nth-child(1) { margin-left: 0; margin-right: 16px; }
  .canvas__chips--right .chip:nth-child(2) { margin-left: 0; margin-right: -4px; }
  .canvas__chips--right .chip:nth-child(3) { margin-left: 0; margin-right: 0; }
  .canvas__chips--right .chip:nth-child(4) { margin-left: 0; margin-right: 18px; }
  .canvas__core { padding: 0 16px; }
  .canvas__core-card { width: 84px; height: 84px; border-radius: 24px; }
  .canvas__core-card img { width: 48px; height: 48px; }
  .canvas__core-ring { width: 120px; height: 120px; border-radius: 34px; }
  .canvas__core-ring--2 { width: 154px; height: 154px; border-radius: 46px; }
  .canvas__status { bottom: 4px; font-size: 0.78rem; padding: 8px 16px; gap: 9px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit:nth-child(5) { grid-column: auto; }
  .section__head { margin-bottom: 48px; }
  .sol-card { padding: 16px 22px 16px 16px; }
  .sol-card__title { font-size: 0.92rem; }
  .modal__card { padding: 32px 24px; }
  .modal__head { flex-direction: column; align-items: flex-start; }
  .cta__panel { padding: 72px 24px 64px; border-radius: 28px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .about__quote { font-size: 1.12rem; padding: 26px 24px; }
}

/* ---------- Offscreen animation pausing ---------- */
.is-offscreen .marquee__track,
.is-offscreen .sec-watermark__track,
.is-offscreen .chip img,
.is-offscreen .canvas__core-ring,
.is-offscreen .canvas__spinner,
.is-offscreen .hero__blob,
.is-offscreen .hero__rings i,
.is-offscreen .hero__aurora::before,
.is-offscreen .hero__aurora::after,
.is-offscreen .hero__circuit path,
.is-offscreen .wire { animation-play-state: paused !important; }

/* ---------- Motion preferences ----------
   JS adds .motion-full to <html> when animations are enabled
   (full motion unless prefers-reduced-motion, overridable via ?motion=). */
html:not(.motion-full) .chip img,
html:not(.motion-full) .canvas__core-ring,
html:not(.motion-full) .canvas__spinner,
html:not(.motion-full) .wire,
html:not(.motion-full) .hero__blob,
html:not(.motion-full) .hero__rings i,
html:not(.motion-full) .hero__aurora::before,
html:not(.motion-full) .hero__aurora::after,
html:not(.motion-full) .hero__circuit path,
html:not(.motion-full) .veil__mark { animation: none !important; }
html:not(.motion-full) .marquee__track { animation: none; }
html:not(.motion-full) .sec-watermark__track { animation: none !important; }
html:not(.motion-full) .marquee {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}
