/* ============================================================
   Baikus — premium wellness-tech, single page
   Theme lock: DARK only. Accent lock: warm amber (--accent).
   Radius lock: surfaces 24px (--r), pills for buttons/chips.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  font-weight: 200 900; font-display: swap;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 200 900; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg:        #0e0f12;
  --bg-2:      #141519;
  --surface:   #181a1f;
  --surface-2: #1f222a;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.14);

  --text:      #f3f1ec;
  --muted:     #a6a8b0;
  --muted-2:   #80828b;

  --accent:    #f3873b;
  --accent-2:  #ff9d57;
  --accent-deep:#d96f26;
  --glow:      rgba(243,135,59,.28);

  --r:   24px;   /* surfaces */
  --r-sm:14px;
  --pill:999px;

  --maxw: 1200px;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.accent { color: var(--accent); }

.section { padding: clamp(64px, 9vw, 130px) 0; }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__title {
  font-family: "Unbounded", sans-serif;
  font-weight: 600; letter-spacing: -.02em; line-height: 1.08;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  margin: 14px 0 0;
}
.section__lead { color: var(--muted); margin-top: 16px; font-size: 1.06rem; max-width: 56ch; }

/* ---------- Buttons (pill) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: var(--pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
  color: #1a1208;
  box-shadow: 0 10px 30px -10px var(--glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px var(--glow); }

.btn--ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--accent); transform: translateY(-2px); }

.btn--buy {
  width: 100%; justify-content: center;
  background: var(--surface-2);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--buy svg { stroke: var(--accent); transition: transform .25s var(--ease); }
.btn--buy:hover {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
  color: #1a1208; border-color: transparent;
  transform: translateY(-2px); box-shadow: 0 14px 32px -12px var(--glow);
}
.btn--buy:hover svg { stroke: #1a1208; transform: translate(2px,-2px); }

/* inline svg icon defaults */
svg .ck { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: rgba(14,15,18,.62);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(14,15,18,.86); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; border-radius: 50%; }
.brand__name {
  font-family: "Unbounded", sans-serif; font-weight: 600;
  letter-spacing: .08em; font-size: 1.15rem;
}
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: .98rem; position: relative; transition: color .2s var(--ease); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
.header__cta { padding: 10px 20px; white-space: nowrap; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/brand/hero-bg.png") center 60% / cover no-repeat;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,18,.78) 0%, rgba(14,15,18,.42) 42%, rgba(14,15,18,.86) 100%),
    linear-gradient(90deg, rgba(14,15,18,.9) 0%, rgba(14,15,18,.15) 70%);
}
.hero__inner { position: relative; z-index: 1; padding: 120px 24px 90px; max-width: 820px; }
.hero__title {
  font-family: "Unbounded", sans-serif; font-weight: 600;
  font-size: clamp(2.1rem, 5.6vw, 3.8rem); line-height: 1.07; letter-spacing: -.03em;
  margin: 18px 0 0;
}
.hero__lead { margin-top: 24px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px 28px; padding: 26px 24px;
}
.trust__item { display: flex; align-items: center; gap: 13px; color: var(--muted); font-weight: 500; }
.trust__item svg { width: 30px; height: 30px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust__item svg .ck { stroke: var(--accent); }
.trust__item span { font-size: .98rem; }

/* ============================================================
   CATALOG
   ============================================================ */
.catalog__grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 26px 50px -24px rgba(0,0,0,.8);
}
.card__media {
  aspect-ratio: 4/5; background: #f6f5f2; overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px; flex: 1; }
.card__title { font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.card__desc { color: var(--muted); font-size: .95rem; flex: 0 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.chips li {
  font-size: .76rem; font-weight: 600; letter-spacing: .02em;
  padding: 5px 11px; border-radius: var(--pill);
  background: rgba(243,135,59,.1); color: var(--accent-2);
  border: 1px solid rgba(243,135,59,.22);
}
.card .btn--buy { margin-top: auto; }

/* ============================================================
   WHY — bento (5 cells: 1 wide + 4)
   ============================================================ */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
}
.bento__cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.bento__cell:hover { transform: translateY(-5px); border-color: var(--line-2); }
.bento__cell--wide {
  grid-column: span 2; grid-row: span 1;
  background:
    radial-gradient(120% 140% at 0% 100%, rgba(243,135,59,.16), transparent 60%),
    var(--surface);
}
.bento__icon { width: 38px; height: 38px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bento__icon .ck { stroke: var(--accent); }
.bento__cell h3 { font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; margin-top: 4px; }
.bento__cell--wide h3 { font-size: 1.55rem; }
.bento__cell p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   SUPPORT
   ============================================================ */
.support { background: var(--bg-2); border-top: 1px solid var(--line); }
.support__grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr 1fr;
}
.support__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.support__card:hover { transform: translateY(-5px); border-color: var(--line-2); }
.support__card h3 { font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 1.25rem; }
.support__card p { color: var(--muted); font-size: .95rem; }
.support__handle {
  font-weight: 600; color: var(--accent-2); word-break: break-word;
  border-bottom: 1px solid transparent; align-self: flex-start; transition: border-color .2s;
}
.support__handle:hover { border-bottom-color: var(--accent-2); }
.support__card .btn { margin-top: 8px; align-self: flex-start; }

.support__icon, .support__qr img { flex: 0 0 auto; }
.support__icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
}
.support__icon svg { width: 28px; height: 28px; fill: none; stroke: #1a1208; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.support__icon svg .ck { stroke: #1a1208; }
.support__icon--soft { background: rgba(243,135,59,.12); border: 1px solid rgba(243,135,59,.25); }
.support__icon--soft svg { stroke: var(--accent-2); }
.support__icon--soft svg .ck { stroke: var(--accent-2); }

/* Telegram card: always full width, text + qr side by side */
.support__card--tg {
  grid-column: 1 / -1;
  flex-direction: row; align-items: center; justify-content: space-between; gap: 40px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(243,135,59,.14), transparent 55%),
    var(--surface);
}
.support__card--tg .support__text { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; max-width: 560px; }
.support__qr {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px; background: #fff; border-radius: var(--r-sm);
}
.support__qr img { width: 150px; height: 150px; }
.support__qr span { color: #555; font-size: .78rem; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 46px 0; background: var(--bg); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer__brand .brand__name { font-size: 1rem; }
.footer__brand p { color: var(--muted-2); font-size: .85rem; margin-top: 2px; }
.footer__nav { display: flex; gap: 24px; margin-left: auto; }
.footer__nav a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.footer__nav a:hover { color: var(--accent-2); }
.footer__copy { color: var(--muted-2); font-size: .85rem; width: 100%; padding-top: 18px; border-top: 1px solid var(--line); }

/* ============================================================
   REVEAL (scroll animation)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; padding: 9px 16px; font-size: .9rem; }
  .brand__name { font-size: 1.05rem; }
  .trust__row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell--wide { grid-column: span 1; }
  .support__grid { grid-template-columns: 1fr; }
  .support__card--tg { flex-direction: column; align-items: flex-start; }
  .support__qr { align-self: center; }
  .hero { min-height: 92vh; }
  .hero__inner { padding-top: 96px; }
  .footer__nav { margin-left: 0; width: 100%; flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .catalog__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
