/* ============================================================
   Shareflow — Components
   ============================================================ */

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  inset-block-start: -60px;
  inset-inline-start: 16px;
  z-index: 200;
  background: var(--gold);
  color: #1a1300;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700;
  transition: inset-block-start 0.25s var(--ease);
}
.skip-link:focus { inset-block-start: 0; }

/* ---------- Eyebrow / gradient text ---------- */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid var(--border-gold);
  border-radius: var(--r-pill);
  background: rgba(212, 175, 99, 0.06);
  margin-block-end: 1rem;
}
.grad-gold {
  background: linear-gradient(100deg, #E9D08A 18%, #FAE282 30%, #D4AF63 45%, #B8862F 58%, #E9D08A 76%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .grad-gold { animation: none; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-py: 0.7rem; --btn-px: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--sm { --btn-py: 0.5rem; --btn-px: 1rem; font-size: var(--fs-sm); }
.btn--lg { --btn-py: 0.95rem; --btn-px: 1.9rem; font-size: var(--fs-lead); }
.btn--block { width: 100%; }

.btn--gold {
  background: var(--gold-grad);
  color: #241a02;
  box-shadow: 0 10px 30px -10px rgba(212, 175, 99, 0.6);
  position: relative;
  overflow: hidden;
}
.btn--gold::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 38%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(212, 175, 99, 0.75), var(--glow-gold);
}
.btn--gold:hover::before { animation: shine-sweep 0.85s var(--ease); }
@media (prefers-reduced-motion: reduce) { .btn--gold:hover::before { animation: none; } }
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--border-gold); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-block-end: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 15, 36, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-block-end-color: var(--border);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.8);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__logo { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; box-shadow: 0 6px 18px -8px rgba(0,0,0,.8); }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__word { font-weight: 900; letter-spacing: 0.12em; font-size: 0.95rem; color: #fff; font-family: var(--font-en); }
.brand__sub { font-size: 0.66rem; color: var(--gold); letter-spacing: 0.05em; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  inset-block-end: -2px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--gold-grad);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.nav a.active { color: #fff; }
.nav a.active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 0.7rem; }
.lang-toggle {
  width: 42px; height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
  font-family: var(--font-en);
  background: var(--surface);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.lang-toggle:hover { border-color: var(--border-gold); color: var(--gold); }

.nav-burger { display: none; width: 42px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface); position: relative; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; margin: 3px auto; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-block-end: clamp(2.2rem, 1.5rem + 2vw, 3.6rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head h2::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  margin: 0.95rem auto 0;
  border-radius: 3px;
  background: var(--gold-grad);
  box-shadow: 0 0 14px rgba(212, 175, 99, 0.55);
}
.section-head__lead { color: var(--muted); font-size: var(--fs-lead); margin-block-start: 0.9rem; }

/* ---------- Window frame (product visuals) ---------- */
.window {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0c1533;
  box-shadow: var(--shadow-float);
}
.window__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  background: linear-gradient(180deg, #14204a, #0e1838);
  border-block-end: 1px solid var(--border);
}
.window__dot { width: 11px; height: 11px; border-radius: 50%; background: #33417a; }
.window__dot:nth-child(1){ background:#E5644E; } .window__dot:nth-child(2){ background:#E9C15A; } .window__dot:nth-child(3){ background:#37C98B; }
.window__title { margin-inline-start: auto; font-size: var(--fs-xs); color: var(--muted); }
.window img { width: 100%; display: block; }

/* ---------- Cards (generic) ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-gold); background: var(--surface-2); }
.card h3 { font-size: var(--fs-h3); margin-block-end: 0.5rem; }
.card p { color: var(--muted); }
.card__icon { font-size: 1.9rem; display: block; margin-block-end: 0.9rem; }
.card--challenge { position: relative; }
.card--challenge::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 1.6rem;
  width: 44px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold-grad);
  box-shadow: 0 0 12px rgba(212, 175, 99, 0.5);
}

/* ---------- Pillars ---------- */
.pillar {
  background: linear-gradient(160deg, rgba(46,127,214,0.08), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.pillar__num { font-family: var(--font-en); font-size: 3rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px var(--border-gold); display: block; margin-block-end: 0.5rem; }
.pillar h3 { font-size: var(--fs-h3); margin-block-end: 0.6rem; }
.pillar p { color: var(--muted); }

/* ---------- Trust bar ---------- */
.trust { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); border-block: 1px solid var(--border); background: linear-gradient(180deg, rgba(14,22,56,.5), transparent); }
.trust__stats { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 3rem); flex-wrap: wrap; }
.trust__stat { text-align: center; }
.trust__stat strong { display: block; font-size: clamp(2rem, 1.4rem + 2.5vw, 3.1rem); font-weight: 900; color: #fff; line-height: 1; }
.trust__stat > span { color: var(--muted); font-size: var(--fs-sm); }
.trust__stat strong span { font: inherit; color: inherit; }
.trust__divider { width: 1px; height: 44px; background: var(--border); }
.trust__label { text-align: center; color: var(--muted-2); font-size: var(--fs-sm); margin-block: 2rem 1.3rem; }

/* Client logos — infinite marquee */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__grp { display: flex; gap: 1.1rem; padding-inline-end: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

.logo-chip {
  background: #fff;
  border-radius: var(--r);
  padding: 0.8rem 1.4rem;
  width: clamp(150px, 12vw + 90px, 210px);
  aspect-ratio: 2 / 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  filter: grayscale(1) opacity(0.8);
  transition: filter 0.3s, transform 0.3s var(--ease);
}
.logo-chip:hover { filter: grayscale(0) opacity(1); transform: translateY(-4px); }
.logo-chip img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- Feature blocks ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 1rem + 3vw, 3.5rem);
}
.feature--reverse .feature__media { order: 2; }
.feature__tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700; color: var(--blue-light);
  border: 1px solid var(--border-blue); border-radius: var(--r-pill); padding: 4px 12px; margin-block-end: 0.8rem;
  font-family: var(--font-en);
}
.feature__body h3 { font-size: var(--fs-h2); margin-block-end: 0.7rem; }
.feature__body > p { color: var(--muted); font-size: var(--fs-lead); margin-block-end: 1.1rem; }
.feature__list { display: grid; gap: 0.6rem; }
.feature__list li { position: relative; padding-inline-start: 1.8rem; color: var(--text); }
.feature__list li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; inset-block-start: 0;
  width: 1.25rem; height: 1.25rem; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 900; color: #241a02;
  background: var(--gold-grad); border-radius: 50%;
}

/* ---------- Tri-Core nodes ---------- */
.tri { position: relative; }
.tri::before {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46,127,214,.55), rgba(212,175,99,.7), rgba(46,127,214,.55), transparent);
  z-index: -1;
}
.tri::after {
  content: "";
  position: absolute;
  inset-block-start: calc(50% - 3px);
  left: 6%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px 3px rgba(212,175,99,.8);
  animation: tri-pulse 5s linear infinite;
  z-index: -1;
}
@keyframes tri-pulse { from { left: 6%; } to { left: calc(94% - 8px); } }
@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
  .tri::before, .tri::after { display: none; }
}

.node-card {
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(46,127,214,.04));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.node-card:hover { transform: translateY(-6px); border-color: var(--border-blue); }
.node-card--mid { border-color: var(--border-gold); box-shadow: var(--glow-gold); }
.node-card__ic {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-block-end: 1rem;
  border-radius: 14px;
  color: var(--blue-light);
  background: linear-gradient(160deg, rgba(46,127,214,.18), rgba(46,127,214,.05));
  border: 1px solid var(--border-blue);
  box-shadow: inset 0 0 18px rgba(46,127,214,.12);
}
.node-card__ic svg { width: 26px; height: 26px; }
.node-card__ic--gold {
  color: var(--gold-light);
  background: linear-gradient(160deg, rgba(212,175,99,.2), rgba(212,175,99,.05));
  border-color: var(--border-gold);
  box-shadow: inset 0 0 18px rgba(212,175,99,.14);
}
.node-card__tag { font-family: var(--font-en); font-size: var(--fs-xs); font-weight: 700; color: var(--gold); letter-spacing: 0.08em; }
.node-card h3 { font-size: var(--fs-h3); margin-block: 0.5rem 0.2rem; }
.node-card__role { color: var(--blue-light); font-weight: 700; margin-block-end: 0.6rem; }
.node-card p { color: var(--muted); }

/* ---------- Sectors ---------- */
.sector {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.5rem; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.sector:hover { transform: translateY(-5px); border-color: var(--border-gold); background: var(--surface-2); }
.sector__ic {
  font-size: 1.45rem;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-block-end: 0.85rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(212,175,99,.14), rgba(46,127,214,.08));
  border: 1px solid var(--border);
}
.sector:hover .sector__ic { border-color: var(--border-gold); box-shadow: 0 0 18px -4px rgba(212,175,99,.45); }
.sector h3 { font-size: 1.15rem; margin-block-end: 0.35rem; }
.sector p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- KPI row ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block-end: clamp(2rem, 1rem + 3vw, 3.5rem); }
.kpi {
  text-align: center; padding: 1.5rem 1rem; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
}
.kpi strong {
  display: block; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); font-weight: 900;
  font-family: var(--font-en); line-height: 1.15;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(212,175,99,.3));
}
.kpi > span { color: var(--muted); font-size: var(--fs-sm); }
.kpi strong span { font: inherit; }

/* ---------- Charts ---------- */
.chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.6rem; }
.chart-card h3 { font-size: var(--fs-h3); margin-block-end: 1.2rem; }
.chart--donut { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.donut__svg { flex: 0 0 auto; filter: drop-shadow(0 0 22px rgba(46,127,214,.3)); }
.donut__legend { display: grid; gap: 0.5rem; flex: 1; min-width: 160px; }
.donut__legend li { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); color: var(--text); }
.donut__legend .dot { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 auto; }
.donut__legend .val { margin-inline-start: auto; font-weight: 700; color: var(--muted); font-family: var(--font-en); }

.chart--bars { display: grid; gap: 0.9rem; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 33%) 1fr auto; align-items: center; gap: 0.8rem; }
.bar-row__label { font-size: var(--fs-sm); color: var(--text); }
.bar-row__track { height: 12px; background: var(--surface-2); border-radius: var(--r-pill); overflow: hidden; }
.bar-row__fill { height: 100%; width: 0; border-radius: var(--r-pill); transition: width 1s var(--ease); position: relative; overflow: hidden; }
.bar-row__fill::after {
  content: "";
  position: absolute; inset-block: 0; left: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: shine-sweep 3.2s var(--ease) infinite;
  animation-delay: 1.2s;
}
@media (prefers-reduced-motion: reduce) { .bar-row__fill::after { animation: none; } }
.bar-row__val { font-weight: 800; font-family: var(--font-en); color: #fff; }

/* ---------- Stories ---------- */
.story {
  background: linear-gradient(165deg, rgba(212,175,99,.08), var(--surface));
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.8rem;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.story:hover { transform: translateY(-6px); border-color: var(--border-gold); }
.story__stat { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 900; margin-block-end: 0.5rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-family: var(--font-en); }
.story h3 { font-size: var(--fs-h3); margin-block-end: 0.5rem; }
.story p { color: var(--muted); }

/* ---------- Quotes ---------- */
.quote {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.9rem; position: relative;
}
.quote::before { content: "”"; position: absolute; inset-block-start: 0.2rem; inset-inline-start: 1.2rem; font-size: 4rem; line-height: 1; color: var(--border-gold); font-family: Georgia, serif; }
.quote blockquote { font-size: var(--fs-lead); color: var(--text); line-height: 1.7; margin-block-end: 1.1rem; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote figcaption strong { color: #fff; }
.quote figcaption span { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.chips li {
  padding: 0.7rem 1.3rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-weight: 500; font-size: var(--fs-sm);
  transition: border-color 0.25s, transform 0.25s var(--ease), color 0.25s;
}
.chips li:hover { border-color: var(--border-gold); color: var(--gold); transform: translateY(-3px); }

/* ---------- Demo / form ---------- */
@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.demo__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  background:
    linear-gradient(150deg, rgba(23,34,74,.94), rgba(17,26,60,.96)) padding-box,
    conic-gradient(from var(--spin), rgba(212,175,99,.05), var(--gold) 12%, rgba(212,175,99,.05) 26%, rgba(46,127,214,.5) 55%, rgba(212,175,99,.05) 72%) border-box;
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 3vw, 3.2rem);
  box-shadow: var(--shadow-float);
  position: relative;
  overflow: hidden;
  animation: border-spin 7s linear infinite;
}
@keyframes border-spin { to { --spin: 360deg; } }
@media (prefers-reduced-motion: reduce) { .demo__card { animation: none; } }
.demo__card::before { content:""; position:absolute; inset-block-start:-40%; inset-inline-end:-10%; width:340px; height:340px; background: radial-gradient(circle, rgba(212,175,99,.25), transparent 70%); pointer-events:none; }
.demo__copy h2 { font-size: var(--fs-h2); margin-block-end: 0.6rem; }
.demo__copy > p { color: var(--muted); font-size: var(--fs-lead); margin-block-end: 1.4rem; }
.demo__contacts { display: grid; gap: 0.7rem; }
.demo__contact { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 600; transition: color 0.2s; }
.demo__contact:hover { color: var(--gold); }

.demo__form { display: grid; gap: 0.9rem; align-content: start; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: rgba(10, 15, 36, 0.55);
  color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,99,.18); }
.demo__submit { display: grid; gap: 0.6rem; margin-block-start: 0.4rem; }
.demo__note { font-size: var(--fs-sm); color: var(--success); min-height: 1.2em; }
.demo__note.err { color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { border-block-start: 1px solid var(--border); background: var(--bg-2); margin-block-start: var(--space-section); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 2rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.footer__desc { color: var(--muted); margin-block-start: 1rem; max-width: 42ch; }
.footer__col { display: grid; gap: 0.55rem; align-content: start; }
.footer__col h4 { color: #fff; font-size: 1.05rem; margin-block-end: 0.4rem; }
.footer__col a, .footer__col p { color: var(--muted); font-size: var(--fs-sm); transition: color 0.2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bar { border-block-start: 1px solid var(--border); padding-block: 1.1rem; }
.footer__bar .container { display: flex; justify-content: center; }
.footer__bar span { color: var(--muted-2); font-size: var(--fs-sm); }

/* ---------- Hero badges ---------- */
.hero__badge {
  position: absolute;
  display: flex; flex-direction: column;
  padding: 0.8rem 1.1rem;
  border-radius: var(--r);
  background: rgba(12, 21, 51, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  animation: float 5s var(--ease) infinite;
}
.hero__badge strong { font-size: 1.5rem; font-weight: 900; font-family: var(--font-en); line-height: 1; }
.hero__badge span { font-size: var(--fs-xs); color: var(--muted); }
.hero__badge--gold { inset-block-start: 12%; inset-inline-start: -4%; border-color: var(--border-gold); }
.hero__badge--gold strong { color: var(--gold); }
.hero__badge--blue { inset-block-end: 10%; inset-inline-end: -4%; border-color: var(--border-blue); animation-delay: -2.5s; }
.hero__badge--blue strong { color: var(--blue-light); }

@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero__badge { animation: none; } }

/* ---------- Hero ambience & product window ---------- */
.hero { isolation: isolate; overflow: clip; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(38px);
  will-change: transform;
}
.hero::before {
  width: 52vw; height: 52vw;
  inset-block-start: -22vw;
  inset-inline-end: -14vw;
  background: radial-gradient(circle, rgba(46,127,214,.3), transparent 62%);
  animation: drift-a 17s ease-in-out infinite alternate;
}
.hero::after {
  width: 44vw; height: 44vw;
  inset-block-end: -20vw;
  inset-inline-start: -12vw;
  background: radial-gradient(circle, rgba(212,175,99,.17), transparent 60%);
  animation: drift-b 21s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }

.hero__visual { perspective: 1200px; }
.hero__visual .window {
  box-shadow: var(--shadow-float), 0 0 90px -24px rgba(46,127,214,.5);
  transition: transform 0.25s ease-out, box-shadow 0.4s;
  transform-style: preserve-3d;
}
.hero__visual .window:hover { box-shadow: var(--shadow-float), 0 0 110px -20px rgba(212,175,99,.42); }

/* ---------- Cursor spotlight on cards ---------- */
.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(212,175,99,.14), transparent 65%);
}
.spot:hover::after { opacity: 1; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 140;
  width: 100%;
  height: 3px;
  background: var(--gold-grad);
  box-shadow: 0 0 12px rgba(212,175,99,.6);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
[dir="rtl"] .scroll-progress { transform-origin: right; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 120;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-grad);
  color: #241a02;
  box-shadow: 0 14px 34px -12px rgba(212,175,99,.75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(212,175,99,.9), var(--glow-gold); }
