/* =========================================================
   Nutrinity — light metallic redesign
   Vibe: brushed silver + iridescent blue/peach + liquid chrome
   ========================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #eef1f6;
  --bg-2: #e4e9f2;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(30, 45, 80, 0.12);
  --line-soft: rgba(30, 45, 80, 0.07);

  --ink: #141c2e;
  --muted: #5a6478;
  --muted-2: #8a93a8;

  --blue: #2f55ff;
  --blue-bright: #3d63f5;
  --blue-glow: rgba(47, 85, 255, 0.35);

  --peach: #ff9a72;
  --amber: #ffb86a;

  --chrome-1: #ffffff;
  --chrome-2: #d8dee8;
  --chrome-3: #7a8498;

  --metal: linear-gradient(
    135deg,
    #f8fafc 0%,
    #d4dce8 18%,
    #ffffff 38%,
    #b8c4d4 58%,
    #eef2f8 78%,
    #c5cedc 100%
  );

  --radius: 22px;
  --radius-lg: 30px;
  --radius-sm: 14px;

  --maxw: 1240px;
  --gutter: clamp(18px, 4vw, 48px);

  --font-display: "Clash Display", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-soft: 0 18px 50px -28px rgba(30, 50, 100, 0.28);
  --shadow-metal: inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(120, 135, 165, 0.18),
    0 14px 40px -22px rgba(40, 60, 110, 0.22);
}

/* ---------- Base ---------- */
html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: clip;
}

body {
  position: relative;
  overflow-x: clip;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

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

/* ---------- Animated mesh background ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-fx::after {
  content: "";
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: multiply;
}

.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--metal);
  opacity: 0.55;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  will-change: transform;
  mix-blend-mode: multiply;
}

.blob--blue {
  width: 52vw;
  height: 52vw;
  left: -10vw;
  top: -8vw;
  background: radial-gradient(circle at 30% 30%, #6b9bff, #3d63f5 40%, transparent 70%);
  animation: drift1 22s var(--ease) infinite alternate;
}

.blob--amber {
  width: 40vw;
  height: 40vw;
  right: -8vw;
  top: 6vw;
  background: radial-gradient(circle at 50% 50%, #ffc98a, #ff9a72 45%, transparent 68%);
  opacity: 0.38;
  animation: drift2 26s var(--ease) infinite alternate;
}

.blob--peach {
  width: 44vw;
  height: 44vw;
  left: 25vw;
  bottom: -18vw;
  background: radial-gradient(circle at 50% 50%, #ffb8a0, #ff8f6b 40%, transparent 68%);
  opacity: 0.32;
  animation: drift3 30s var(--ease) infinite alternate;
}

@keyframes drift1 {
  to {
    transform: translate3d(12vw, 10vh, 0) scale(1.15);
  }
}
@keyframes drift2 {
  to {
    transform: translate3d(-14vw, 14vh, 0) scale(1.1);
  }
}
@keyframes drift3 {
  to {
    transform: translate3d(10vw, -12vh, 0) scale(1.2);
  }
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  opacity: 0.65;
}

/* ---------- Chrome / gradient text ---------- */
.chrome {
  background: linear-gradient(
    155deg,
    #0c1424 0%,
    #1e2d44 14%,
    #4a5e78 30%,
    #8fa0b8 42%,
    #2a3d58 56%,
    #121c2e 72%,
    #060c16 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(15, 25, 45, 0.28));
}

.text-blue {
  color: var(--blue-bright);
}
.text-peach {
  color: var(--peach);
}

.grad-blue {
  background: linear-gradient(120deg, #1e3fd4, #3d63f5 38%, #d96a42);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(30, 55, 140, 0.15));
}

/* ---------- Brand wordmark ---------- */
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  position: relative;
  text-transform: lowercase;
}

.brand__word {
  background: linear-gradient(
    155deg,
    #0c1424 0%,
    #243650 18%,
    #6a7f9c 36%,
    #1a2a42 54%,
    #0a101c 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(15, 25, 45, 0.22));
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(72px, 11vw, 150px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-bright), transparent);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 6vw, 68px);
  margin-top: 18px;
}

.section-sub {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  margin-top: 18px;
  max-width: 560px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background 0.3s var(--ease);
  will-change: transform;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #5b86ff, #2f55ff 60%, #1c3fe0);
  box-shadow: 0 10px 30px -8px var(--blue-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -6px 14px rgba(8, 20, 80, 0.5);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -10px var(--blue-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -6px 14px rgba(8, 20, 80, 0.5);
}

.btn--chrome {
  color: #1a2438;
  background: linear-gradient(180deg, #ffffff, #e8edf5 45%, #c5cedc);
  box-shadow: var(--shadow-metal);
}

.btn--chrome:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--panel-strong);
}

.btn--lg {
  padding: 18px 34px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform 0.5s var(--ease);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 12px 14px 12px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft), var(--shadow-metal);
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
}

.nav a:hover {
  color: var(--ink);
  background: var(--panel);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  align-items: center;
  justify-content: center;
}

.burger span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

body.menu-open .burger span {
  background: transparent;
}
body.menu-open .burger span::before {
  top: 0;
  transform: rotate(45deg);
}
body.menu-open .burger span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: var(--gutter);
  background: rgba(238, 242, 248, 0.94);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    visibility 0.4s;
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 9vw, 52px);
  letter-spacing: -0.02em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--ink);
}

.mobile-menu .btn {
  margin-top: 26px;
  align-self: flex-start;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-metal);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}

.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  background: linear-gradient(180deg, #ffffff, #dce4f0);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-metal);
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 8vw, 50px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero__lead {
  margin-top: 28px;
  max-width: 460px;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__stats {
  margin-top: 46px;
  display: flex;
  gap: clamp(20px, 4vw, 46px);
  flex-wrap: wrap;
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat__label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  max-width: 150px;
}

/* hero visual — chrome orb / 3D blob */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.orb {
  position: relative;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
      circle at 32% 26%,
      #ffffff 0%,
      #e8edf5 18%,
      #b8c4d8 42%,
      #8a9ab4 68%,
      #d8e0ec 100%
    ),
    conic-gradient(from 210deg, #6b9bff, #ffb8a0, #ffc98a, #6b9bff);
  background-blend-mode: screen;
  box-shadow: inset -24px -30px 60px rgba(90, 110, 150, 0.35),
    inset 24px 24px 50px rgba(255, 255, 255, 0.85),
    0 30px 90px -24px rgba(47, 85, 255, 0.35);
  animation: spin 18s linear infinite;
  will-change: transform;
}

.orb::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 38% 30%,
    rgba(255, 255, 255, 0.8),
    transparent 40%
  );
  mix-blend-mode: screen;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.orb-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(50px, 11vw, 120px);
  letter-spacing: -0.05em;
  pointer-events: none;
  filter: drop-shadow(0 6px 18px rgba(30, 50, 90, 0.18));
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  box-shadow: var(--shadow-soft), var(--shadow-metal);
  will-change: transform;
}

.chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue-bright);
}

.chip--1 {
  top: 8%;
  left: -6%;
}
.chip--2 {
  top: 44%;
  right: -10%;
}
.chip--2 i {
  background: var(--peach);
  box-shadow: 0 0 12px var(--peach);
}
.chip--3 {
  bottom: 8%;
  left: 6%;
}
.chip--3 i {
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 22px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.45);
}

.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: -0.02em;
  padding-inline: 28px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 28px;
  text-transform: uppercase;
}

.marquee__track span::after {
  content: "✦";
  color: var(--blue-bright);
  font-size: 0.6em;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.about__lead {
  grid-column: 1 / -1;
}

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.68)
  );
  box-shadow: var(--shadow-soft), var(--shadow-metal);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease);
  will-change: transform;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(91, 134, 255, 0.5),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-4px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 20px;
  background: linear-gradient(160deg, rgba(91, 134, 255, 0.22), rgba(255, 157, 122, 0.14));
  border: 1px solid var(--line);
  color: var(--blue-bright);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.card--stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card--stat .big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 30px;
}

/* ---------- Bento (for webmasters) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.bento .card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento .card.span-3 {
  grid-column: span 3;
}

.bento .card.span-6 {
  grid-column: span 6;
}

.bento .card p {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  margin-top: 4px;
}

.bento .card .muted {
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
}

.bento .card.feature {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.95),
    rgba(107, 155, 255, 0.12) 45%,
    rgba(255, 154, 114, 0.14)
  );
  justify-content: space-between;
}

.bento .card.feature h3 {
  font-size: clamp(24px, 3vw, 34px);
}

/* ---------- Benefits ---------- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.benefit {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.72)
  );
  box-shadow: var(--shadow-soft), var(--shadow-metal);
  overflow: hidden;
}

.benefit__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-bright);
  letter-spacing: 0.1em;
}

.benefit h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em;
  margin-top: 18px;
}

.benefit p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.benefit__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  right: -60px;
  top: -60px;
  background: var(--blue);
  pointer-events: none;
}

.benefit:nth-child(2) .benefit__glow {
  background: var(--peach);
}
.benefit:nth-child(3) .benefit__glow {
  background: var(--amber);
}
.benefit:nth-child(4) .benefit__glow {
  background: var(--blue-bright);
}

/* ---------- CTA / Contacts ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: clamp(40px, 6vw, 80px);
  overflow: hidden;
  background: radial-gradient(
      120% 140% at 0% 0%,
      rgba(107, 155, 255, 0.18),
      transparent 55%
    ),
    radial-gradient(120% 140% at 100% 100%, rgba(255, 154, 114, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft), var(--shadow-metal);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-inline: auto;
}

.cta-band p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
  max-width: 520px;
  margin-inline: auto;
}

.cta-band .actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.tg-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 500;
}

.tg-card svg {
  width: 22px;
  height: 22px;
  color: var(--blue-bright);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 50px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer__meta {
  color: var(--muted-2);
  font-size: 14px;
}

.langs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.langs a {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: 0.3s;
}

.langs a:hover {
  color: var(--ink);
}

.langs a.active {
  color: #fff;
  background: linear-gradient(180deg, #5b86ff, #2f55ff);
}

/* ---------- Modal form ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 28, 46, 0.35);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-form {
  position: fixed;
  z-index: 210;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100svh - 24px);
  overflow: hidden;
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  visibility: hidden;
  padding: clamp(20px, 4vw, 32px);
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 252, 0.92));
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 120px -30px rgba(40, 60, 110, 0.28), var(--shadow-metal);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
    visibility 0.45s;
}

.modal-form.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-form-head {
  flex: none;
  padding-right: 44px;
}

.modal-form-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
}

.modal-form-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.modal-form-body {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 13px;
  color: var(--muted);
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.3s, background 0.3s;
}

.input-group textarea {
  resize: vertical;
  min-height: 96px;
}

.input-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%2399a2ba' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.input-group select option {
  background: #ffffff;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  background: rgba(91, 134, 255, 0.08);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: var(--muted-2);
}

.modal-form .btn[type="submit"] {
  flex: none;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: 0.3s;
}

.modal-close:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: multiply;
  will-change: transform;
}

.cursor--dot {
  width: 7px;
  height: 7px;
  background: var(--blue);
  transform: translate(-50%, -50%);
}

.cursor--ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(47, 85, 255, 0.45);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
    background 0.3s;
}

.cursor--ring.is-hover {
  width: 58px;
  height: 58px;
  background: rgba(47, 85, 255, 0.08);
}

/* ---------- Reveal helpers ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

.is-ready [data-reveal] {
  will-change: transform, opacity;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    display: none;
  }
  .bento .card.span-3 {
    grid-column: span 3;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .header__cta .btn--primary {
    display: none;
  }
  .burger {
    display: flex;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento .card,
  .bento .card.span-3,
  .bento .card.span-6 {
    grid-column: span 1;
  }
  .bento .card.feature {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .modal-form {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(92svh, 100dvh);
    transform: translateY(105%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 20px 18px max(20px, env(safe-area-inset-bottom));
  }

  .modal-form.active {
    transform: translateY(0);
  }

  .modal-form-body {
    max-height: none;
  }

  .input-group textarea {
    min-height: 72px;
  }

  .hero__actions {
    width: 100%;
  }
  .hero__actions .btn {
    flex: 1 1 140px;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .benefits__grid {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento .card,
  .bento .card.feature {
    grid-column: span 1;
  }
  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
