/* ===========================================================
   Nav + Logo + Hero + Convergence stage
   =========================================================== */

/* ---- Logo ---- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__emblem { position: relative; display: inline-grid; place-items: center; flex: none; }
.logo__emblem img { width: 100%; height: 100%; object-fit: contain; -webkit-user-select: none; user-select: none; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__word b {
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem;
  letter-spacing: 0.16em; color: var(--ink);
}
.logo__word i {
  font-style: normal; font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-3);
  margin-top: 3px;
}

/* ---- Nav ---- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 30px -20px rgba(17,17,20,0.3);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; min-width: 0; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: 0.93rem; font-weight: 500; color: var(--ink-2);
  position: relative; transition: color .25s; white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px;
  background: var(--ink); border-radius: 2px; transition: right .3s cubic-bezier(.2,.8,.2,1);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.7); }
.lang__b { border: 0; background: none; padding: 5px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-3); transition: background .25s, color .25s; }
.lang__b--on { background: var(--ink); color: #fff; }
.lang__b:hover:not(.lang__b--on) { color: var(--ink); }
.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,0.6); flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav__burger span { width: 17px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__mobile { display: none; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile .lang { align-self: flex-start; margin-bottom: 6px; }
  .nav__mobile {
    display: flex; flex-direction: column; gap: 6px; padding: 8px var(--pad) 22px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s, padding .3s;
  }
  .nav__mobile.open { max-height: 380px; opacity: 1; }
  .nav__mobile a { font-size: 1.04rem; font-weight: 500; padding: 11px 0; color: var(--ink-1); border-bottom: 1px solid var(--line-2); }
  .nav__mobile a.btn { border: 0; color: #fff; margin-top: 12px; }
}

/* ---- Hero ---- */
.hero { position: relative; padding-top: 128px; padding-bottom: clamp(40px, 7vw, 96px); overflow: hidden; }
.hero__halo {
  position: absolute; z-index: 0; pointer-events: none;
  top: -10%; right: -8%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background:
    radial-gradient(circle at 62% 40%, rgba(239,143,21,0.10), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(163,0,82,0.08), transparent 55%),
    radial-gradient(circle at 40% 60%, rgba(0,157,52,0.07), transparent 55%);
  filter: blur(10px);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; min-height: 76vh;
}
.hero__copy { max-width: 620px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  box-shadow: var(--sh-sm); backdrop-filter: blur(10px);
  font-size: 0.8rem; font-weight: 600; color: var(--ink-1); letter-spacing: -0.01em;
}
.hero__badge-dot {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: conic-gradient(from 205deg, var(--green), var(--amber), var(--magenta), var(--green));
  box-shadow: 0 0 0 3px rgba(239,143,21,0.1);
}
.hero__title { margin-top: 26px; }
.hero__lead { margin-top: 24px; max-width: 540px; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero__stage-cap { font-size: 0.86rem; color: var(--ink-3); text-align: center; }
.hero__stage-cap b { color: var(--ink-1); font-weight: 600; }

/* ---- Convergence stage ---- */
.stage {
  position: relative; width: min(420px, 100%); aspect-ratio: 1; margin-inline: auto;
}
.stage__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage__line {
  stroke-dasharray: 120; stroke-dashoffset: 120;
  transition: stroke-dashoffset 1.1s cubic-bezier(.3,.7,.2,1);
}
.stage--in .stage__line { stroke-dashoffset: 0; }
.stage__emblem {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60%; aspect-ratio: 1;
}
.stage__node {
  position: absolute; transform: translate(-50%, -50%) scale(0.8);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  opacity: 0; transition: opacity .7s ease, transform .9s cubic-bezier(.2,1,.3,1);
}
.stage--in .stage__node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.stage__chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: var(--sh-md);
  font-size: 0.82rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.stage__chipdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.stage__sub {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-4);
}

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; min-height: 0; gap: 44px; }
  .hero__copy { max-width: 680px; margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__badge { margin-inline: auto; }
}
@media (max-width: 620px) {
  .hero { padding-top: 104px; }
  .hero__badge { font-size: 0.72rem; padding: 7px 13px 7px 9px; }
  .hero__badge-dot { width: 14px; height: 14px; }
  .hero__actions .btn { width: 100%; }
  .stage { width: min(340px, 86vw); }
  .stage__chip { font-size: 0.72rem; padding: 6px 10px; }
  .stage__sub { font-size: 0.58rem; letter-spacing: 0.12em; }
  .stage__emblem { width: 54%; }
}
@media (max-width: 380px) {
  .stage { width: 88vw; }
  .stage__chip { font-size: 0.65rem; padding: 5px 8px; gap: 5px; }
  .stage__chipdot { width: 6px; height: 6px; }
}
