/* ============================================================
   HEXRA — Design System v3.0  ·  Averta Gradient Edition
   Inspired by the Averta 2.0 specimen aesthetic
   Purple → Cyan → Magenta holographic gradient palette
   ============================================================ */

/* ── Averta Font Import ── */
@import url('https://fonts.cdnfonts.com/css/averta-std');

/* ── Design Tokens ── */
:root {
  /* Surfaces */
  --bg:          #07060e;
  --bg-elevated: #0e0c1a;
  --bg-card:     #110f20;
  --bg-card-h:   #171530;
  --bg-input:    #0c0a18;

  /* Text */
  --text-primary:   #f0eef8;
  --text-secondary: #9b93c0;
  --text-tertiary:  #5f5785;
  --text-inverse:   #07060e;

  /* ── Gradient Palette (Averta Specimen) ── */
  --purple:      #8B5CF6;
  --purple-deep: #6D28D9;
  --cyan:        #22D3EE;
  --cyan-deep:   #06B6D4;
  --magenta:     #EC4899;
  --magenta-hot: #DB2777;
  --violet:      #A78BFA;
  --pink:        #F472B6;
  --blue:        #818CF8;
  --emerald:     #34D399;
  --amber:       #FBBF24;
  --rose:        #FB7185;

  /* Primary Gradient */
  --grad:        linear-gradient(135deg, #8B5CF6, #22D3EE, #EC4899);
  --grad-h:      linear-gradient(135deg, #A78BFA, #67E8F9, #F472B6);
  --grad-text:   linear-gradient(135deg, #A78BFA, #22D3EE, #EC4899);
  --grad-alt:    linear-gradient(135deg, #6D28D9, #06B6D4, #DB2777);
  --grad-subtle: linear-gradient(135deg, rgba(139,92,246,.10), rgba(34,211,238,.10), rgba(236,72,153,.10));

  /* Glow tokens */
  --glow-purple:  rgba(139, 92, 246, .25);
  --glow-cyan:    rgba(34, 211, 238, .20);
  --glow-magenta: rgba(236, 72, 153, .20);
  --glow-mix:     rgba(139, 92, 246, .15);

  /* Borders */
  --border:      rgba(255, 255, 255, .06);
  --border-h:    rgba(139, 92, 246, .30);
  --border-grad: linear-gradient(135deg, rgba(139,92,246,.30), rgba(34,211,238,.25), rgba(236,72,153,.30));

  /* Layout */
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-full: 999px;
  --max-w:       1140px;
  --header-h:    72px;

  /* Typography — Averta */
  --font:        "Averta Std", "Averta", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:   "SF Mono", "Fira Code", monospace;

  /* Motion */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: color .2s var(--ease); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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


/* ── Ambient Background — Holographic Gradients ── */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 10% 0%, rgba(139,92,246,.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 5%, rgba(236,72,153,.05), transparent 50%),
    radial-gradient(ellipse 55% 35% at 50% 100%, rgba(34,211,238,.04), transparent 55%),
    radial-gradient(ellipse 40% 30% at 80% 70%, rgba(139,92,246,.03), transparent 50%);
}

/* Canvas stars */
#stars-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%;
}

/* Noise overlay */
.noise {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .012;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 200px;
}


/* ── Floating Geometric Shapes — Colorful Mix ── */
.shapes {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.shape {
  position: absolute; border: 1.5px solid; opacity: 0;
  animation: shape-drift 22s ease-in-out infinite, shape-in 3s ease forwards;
}
.shape--sq  { width: 22px; height: 22px; border-radius: 4px; }
.shape--tri { width: 0; height: 0; border: 13px solid transparent; border-bottom: 22px solid; border-top: 0; background: transparent; }
.shape--hex { width: 24px; height: 24px; clip-path: polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%); border: none; }
.shape--pent { width: 28px; height: 28px; clip-path: polygon(50% 0%,100% 38%,82% 100%,18% 100%,0% 38%); border: none; outline: 1.5px solid; outline-offset: -2px; }
.shape--dia { width: 16px; height: 16px; transform: rotate(45deg); border-radius: 2px; }

.s1 { top: 8%; left: 6%; color: var(--purple); border-color: var(--purple); outline-color: var(--purple); animation-delay: 0s, 0s; }
.s2 { top: 15%; right: 12%; border-color: rgba(236,72,153,.30); animation-delay: 3s, .4s; }
.s3 { top: 30%; left: 4%; border-bottom-color: rgba(34,211,238,.30); animation-delay: 6s, .8s; }
.s4 { top: 6%; left: 40%; color: rgba(139,92,246,.25); background: rgba(139,92,246,.03); animation-delay: 1.5s, .2s; }
.s5 { top: 22%; right: 5%; border-color: rgba(236,72,153,.25); animation-delay: 4s, .6s; }
.s6 { top: 50%; right: 4%; color: rgba(34,211,238,.30); outline-color: rgba(34,211,238,.30); animation-delay: 7s, 1s; }
.s7 { top: 65%; left: 8%; border-bottom-color: rgba(139,92,246,.25); animation-delay: 9s, 1.2s; }
.s8 { bottom: 18%; right: 15%; border-color: rgba(236,72,153,.15); transform: rotate(30deg); animation-delay: 5s, .5s; }

@keyframes shape-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-20px) rotate(5deg); }
  66%      { transform: translateY(-8px) rotate(-4deg); }
}
@keyframes shape-in { to { opacity: .4; } }


/* ── Layout ── */
.container {
  width: 100%; max-width: var(--max-w);
  margin-inline: auto; padding-inline: 36px;
}


/* ════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 100; width: 100%;
  height: var(--header-h);
  background: rgba(7, 6, 14, .82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .4s var(--ease);
}
.header.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.5), 0 0 60px rgba(139,92,246,.04); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 24px;
}

/* Brand — Gradient Logo */
.brand {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter .3s;
}
.brand:hover {
  filter: brightness(1.25);
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 9px 20px; border-radius: var(--radius-full);
  font-size: .9rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s, background .2s;
  letter-spacing: .01em;
}
.nav__link:hover { color: var(--text-primary); background: rgba(255,255,255,.05); }
.nav__link--active {
  color: var(--purple);
  background: rgba(139,92,246,.08);
}
.nav__link:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

/* CTA nav button — gradient */
.nav__link--cta {
  margin-left: 10px; padding: 10px 24px;
  background: var(--grad);
  color: #fff;
  font-weight: 600; border-radius: var(--radius-full);
  transition: transform .25s var(--ease), box-shadow .25s, filter .25s;
}
.nav__link--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-purple), 0 4px 16px var(--glow-magenta);
  filter: brightness(1.1);
  color: #fff;
}

/* Burger */
.burger {
  display: none; width: 44px; height: 44px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--text-primary); transition: transform .3s var(--ease), opacity .3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ════════════════════════════════════════════════════════
   BUTTONS — Gradient-powered
   ════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px; border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600; font-size: .95rem;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s, filter .25s, border-color .25s;
  cursor: pointer;
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.btn--primary {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 24px var(--glow-purple), 0 2px 12px var(--glow-magenta);
}
.btn--primary:hover {
  box-shadow:
    0 12px 44px rgba(139,92,246,.35),
    0 6px 20px rgba(236,72,153,.20),
    0 4px 12px rgba(34,211,238,.15);
  filter: brightness(1.1);
}

.btn--outline {
  background: transparent; color: var(--text-primary);
  border-color: rgba(139,92,246,.25);
}
.btn--outline:hover {
  border-color: rgba(139,92,246,.50);
  background: rgba(139,92,246,.04);
  box-shadow: 0 8px 28px rgba(139,92,246,.08);
}

.btn--lg { padding: 16px 42px; font-size: 1rem; border-radius: var(--radius-lg); }


/* ════════════════════════════════════════════════════════
   PAGE HERO (shared across inner pages)
   ════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; z-index: 1;
  padding: 88px 0 64px;
  text-align: center;
}
.page-hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 22px; border-radius: var(--radius-full);
  border: 1px solid rgba(139,92,246,.15);
  background: rgba(139,92,246,.06);
  color: var(--violet); font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 28px;
}
.page-hero__tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px var(--glow-purple);
  animation: dot-pulse 2.2s ease-in-out infinite;
}
.page-hero__title {
  font-family: var(--font);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.page-hero__title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero__desc {
  max-width: 56ch; margin: 0 auto;
  color: var(--text-secondary); font-size: 1.1rem; line-height: 1.8;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .3; transform: scale(.65); }
}


/* ════════════════════════════════════════════════════════
   HOME HERO — Holographic Gradient
   ════════════════════════════════════════════════════════ */
.home-hero {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  min-height: calc(100vh - var(--header-h));
  padding: 60px 36px 80px;
}

.home-hero__glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 40%, rgba(139,92,246,.18), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(236,72,153,.12), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(34,211,238,.08), transparent 60%);
  filter: blur(80px); pointer-events: none; z-index: -1;
  animation: glow-breath 8s ease-in-out infinite;
}
@keyframes glow-breath {
  0%, 100% { transform: scale(.75); opacity: .50; }
  50%      { transform: scale(1.3); opacity: .90; }
}

.home-hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 26px; border-radius: var(--radius-full);
  border: 1px solid rgba(139,92,246,.15);
  background: rgba(139,92,246,.06);
  color: var(--violet); font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 44px;
}
.home-hero__tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px var(--glow-purple);
  animation: dot-pulse 2.2s ease-in-out infinite;
}

/* ── Title — Vivid Gradient ── */
.home-hero__title {
  font-family: var(--font);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #A78BFA 0%, #22D3EE 40%, #EC4899 75%, #F472B6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: grad-shift 8s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(139,92,246,.20)) drop-shadow(0 0 80px rgba(236,72,153,.10));
  margin-bottom: 32px;
}
@keyframes grad-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.home-hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary); line-height: 1.85;
  max-width: 52ch; margin: 0 auto 48px;
}
.home-hero__sub strong { color: var(--text-primary); font-weight: 700; }

.home-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* Stats row */
.home-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 80px; width: 100%; max-width: 720px;
}
.home-stat {
  padding: 28px 20px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--bg-card);
  text-align: center;
  position: relative; overflow: hidden;
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.home-stat::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(139,92,246,.03), rgba(34,211,238,.02), rgba(236,72,153,.03));
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.home-stat:hover {
  border-color: rgba(139,92,246,.25);
  box-shadow: 0 10px 36px rgba(139,92,246,.08), 0 4px 16px rgba(236,72,153,.04);
  transform: translateY(-5px);
}
.home-stat:hover::before { opacity: 1; }
.home-stat__num {
  display: block; font-size: 1.7rem; font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.01em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-stat__label { font-size: .85rem; color: var(--text-secondary); font-weight: 500; }


/* ════════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════════ */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden; white-space: nowrap;
  position: relative; z-index: 1;
}
.marquee__track {
  display: inline-flex; gap: 48px;
  animation: marquee-scroll 26s linear infinite;
  font-size: .8rem; font-weight: 600;
  color: var(--text-tertiary); letter-spacing: .1em; text-transform: uppercase;
}
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* ════════════════════════════════════════════════════════
   CARDS — Gradient-accented foundation
   ════════════════════════════════════════════════════════ */
.card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative; overflow: hidden;
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(139,92,246,.03), rgba(34,211,238,.02), rgba(236,72,153,.02));
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(139,92,246,.22);
  box-shadow:
    0 14px 44px rgba(139,92,246,.06),
    0 6px 20px rgba(236,72,153,.03);
}
.card:hover::before { opacity: 1; }
.card[data-tilt]:hover { transform: none; }


/* ════════════════════════════════════════════════════════
   SECTION LAYOUT
   ════════════════════════════════════════════════════════ */
.section {
  position: relative; z-index: 1;
  padding: 88px 0;
}
.section__header {
  margin-bottom: 52px;
}
.section__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 16px;
}
.section__tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px var(--glow-purple);
}
.section__title {
  font-family: var(--font);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.section__title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section__sub {
  max-width: 56ch; color: var(--text-secondary);
  font-size: 1rem; line-height: 1.8;
}

.divider {
  width: 100%; height: 1px; border: none;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.15), rgba(34,211,238,.12), rgba(236,72,153,.15), transparent);
  position: relative; z-index: 1;
}


/* ════════════════════════════════════════════════════════
   HOME — PREVIEW CARDS
   ════════════════════════════════════════════════════════ */
.preview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.preview-card { padding: 40px 28px; text-align: center; }
.preview-card__icon {
  width: 58px; height: 58px; border-radius: var(--radius);
  margin: 0 auto 22px;
  display: grid; place-items: center;
  background: rgba(139,92,246,.06);
  border: 1px solid rgba(139,92,246,.12);
  font-size: 1.5rem;
  color: var(--violet);
}
.preview-card:nth-child(2) .preview-card__icon {
  background: rgba(34,211,238,.06);
  border-color: rgba(34,211,238,.12);
  color: var(--cyan);
}
.preview-card:nth-child(3) .preview-card__icon {
  background: rgba(236,72,153,.06);
  border-color: rgba(236,72,153,.12);
  color: var(--magenta);
}
.preview-card__title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 12px;
  letter-spacing: -.01em;
}
.preview-card__desc {
  font-size: .9rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 22px;
}
.preview-card__link {
  font-size: .88rem; font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter .2s;
}
.preview-card__link:hover { filter: brightness(1.3); }
.preview-card__link::after { content: " \2192"; }


/* ════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════ */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 64px;
}
.value-card { padding: 36px; }
.value-card__icon {
  width: 50px; height: 50px; border-radius: var(--radius); margin-bottom: 20px;
  display: grid; place-items: center;
  font-size: 1.3rem;
}
/* Alternate icon colors across the 3 gradient stops */
.value-card:nth-child(3n+1) .value-card__icon {
  color: var(--violet); background: rgba(139,92,246,.06); border: 1px solid rgba(139,92,246,.12);
}
.value-card:nth-child(3n+2) .value-card__icon {
  color: var(--cyan); background: rgba(34,211,238,.06); border: 1px solid rgba(34,211,238,.12);
}
.value-card:nth-child(3n+3) .value-card__icon {
  color: var(--magenta); background: rgba(236,72,153,.06); border: 1px solid rgba(236,72,153,.12);
}
.value-card__title {
  font-size: 1.08rem; font-weight: 700; margin-bottom: 10px;
  letter-spacing: -.01em;
}
.value-card__desc { font-size: .92rem; color: var(--text-secondary); line-height: 1.8; }

.kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.kpi-card { padding: 30px; text-align: center; }
.kpi-card__val {
  display: block; font-size: 1.6rem; font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -.01em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.kpi-card__label { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; }

/* Story text */
.story-block {
  max-width: 72ch; margin: 0 auto;
  padding: 52px 0;
}
.story-block p {
  font-size: 1.1rem; line-height: 1.9; color: var(--text-secondary);
  margin-bottom: 26px;
}
.story-block p:last-child { margin-bottom: 0; }
.story-block strong { color: var(--text-primary); font-weight: 700; }


/* ════════════════════════════════════════════════════════
   TEAM PAGE — Holographic Avatars
   ════════════════════════════════════════════════════════ */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.team-card { padding: 40px 28px; text-align: center; }
.team-card__avatar {
  width: 76px; height: 76px; border-radius: var(--radius-lg);
  display: grid; place-items: center; margin: 0 auto 22px;
  font-family: var(--font); font-size: .85rem; font-weight: 800;
  letter-spacing: .05em;
  background: var(--grad);
  color: #fff;
  box-shadow:
    0 10px 32px var(--glow-purple),
    0 4px 16px var(--glow-magenta);
}
.team-card__name {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 8px;
  letter-spacing: -.01em;
}
.team-card__role {
  font-size: .9rem; color: var(--text-secondary); margin-bottom: 18px;
}
.team-card__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* Chips — Gradient border */
.chip {
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 600;
  color: var(--violet);
  background: rgba(139,92,246,.05);
  border: 1px solid rgba(139,92,246,.15);
  letter-spacing: .02em;
  transition: border-color .25s, background .25s;
}
.chip:hover {
  border-color: rgba(139,92,246,.35);
  background: rgba(139,92,246,.08);
}

/* Per-member chip color variation */
.team-card:nth-child(2) .chip {
  color: var(--cyan);
  background: rgba(34,211,238,.05);
  border-color: rgba(34,211,238,.15);
}
.team-card:nth-child(2) .chip:hover {
  border-color: rgba(34,211,238,.35);
  background: rgba(34,211,238,.08);
}
.team-card:nth-child(3) .chip {
  color: var(--pink);
  background: rgba(236,72,153,.05);
  border-color: rgba(236,72,153,.15);
}
.team-card:nth-child(3) .chip:hover {
  border-color: rgba(236,72,153,.35);
  background: rgba(236,72,153,.08);
}


/* ════════════════════════════════════════════════════════
   PROJECTS PAGE — Gradient accents
   ════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px;
}
.project-card { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.project-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
  opacity: 0; transition: opacity .35s;
}
.project-card:hover::after { opacity: 1; }

.project-card__badge {
  width: fit-content; padding: 6px 16px; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--violet); background: rgba(139,92,246,.06);
  border: 1px solid rgba(139,92,246,.12);
}
.project-card__badge--beta {
  color: var(--cyan); background: rgba(34,211,238,.06);
  border-color: rgba(34,211,238,.12);
}
.project-card__badge--val {
  color: var(--magenta); background: rgba(236,72,153,.06);
  border-color: rgba(236,72,153,.12);
}

.project-card__title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.project-card__desc  { font-size: .95rem; color: var(--text-secondary); line-height: 1.8; }
.project-card__list  { display: grid; gap: 12px; }
.project-card__list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .88rem; color: var(--text-secondary);
}
.project-card__list li::before {
  content: ""; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--glow-purple);
}

/* Per-card list bullet color */
.project-card:nth-child(2) .project-card__list li::before {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--glow-cyan);
}
.project-card:nth-child(3) .project-card__list li::before {
  background: var(--magenta);
  box-shadow: 0 0 10px var(--glow-magenta);
}


/* ════════════════════════════════════════════════════════
   TOOLS GRID (projects page)
   ════════════════════════════════════════════════════════ */
.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.tool-card { padding: 30px; }
.tool-card__icon {
  width: 50px; height: 50px; border-radius: var(--radius); margin-bottom: 18px;
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.tool-card:nth-child(3n+1) .tool-card__icon {
  color: var(--violet); background: rgba(139,92,246,.06); border: 1px solid rgba(139,92,246,.12);
}
.tool-card:nth-child(3n+2) .tool-card__icon {
  color: var(--cyan); background: rgba(34,211,238,.06); border: 1px solid rgba(34,211,238,.12);
}
.tool-card:nth-child(3n+3) .tool-card__icon {
  color: var(--magenta); background: rgba(236,72,153,.06); border: 1px solid rgba(236,72,153,.12);
}
.tool-card__title { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.tool-card__desc  { font-size: .88rem; color: var(--text-secondary); line-height: 1.7; }


/* ════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info__label {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 10px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-info__value {
  font-size: 1rem; color: var(--text-secondary); line-height: 1.7;
}
.contact-info__value a { color: var(--text-primary); font-weight: 500; }
.contact-info__value a:hover { color: var(--violet); }

.social-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 8px;
}
.social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: .9rem; font-weight: 600; color: var(--text-primary);
  transition: border-color .25s, background .25s, transform .25s var(--ease), box-shadow .25s;
}
.social-btn:hover {
  border-color: rgba(139,92,246,.25);
  background: var(--bg-card-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(139,92,246,.06);
}
.social-btn__icon { font-size: 1.1rem; }

/* Contact CTA */
.contact-cta { padding: 44px; text-align: center; }
.contact-cta__title {
  font-size: 1.35rem; font-weight: 800; margin-bottom: 16px;
  letter-spacing: -.01em;
}
.contact-cta__desc {
  color: var(--text-secondary); font-size: 1rem; line-height: 1.8;
  margin-bottom: 30px; max-width: 40ch; margin-inline: auto;
}


/* ════════════════════════════════════════════════════════
   CTA SECTION — Gradient background
   ════════════════════════════════════════════════════════ */
.cta-section {
  position: relative; z-index: 1; padding: 80px 0; text-align: center;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,.04), rgba(34,211,238,.03), rgba(236,72,153,.04));
  border-radius: var(--radius-xl); pointer-events: none;
}


/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding: 30px 0 40px;
  font-size: .85rem; color: var(--text-tertiary);
}
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: var(--text-secondary); font-weight: 500; transition: color .2s; }
.footer__links a:hover { color: var(--violet); }


/* ════════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.show { opacity: 1; transform: translateY(0); }

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: .1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: .2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: .3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: .4s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: .5s; }


/* ════════════════════════════════════════════════════════
   FAQ — ACCORDION
   ════════════════════════════════════════════════════════ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); overflow: hidden;
  transition: border-color .35s;
}
.faq-item:hover { border-color: rgba(139,92,246,.18); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; font-weight: 600; font-size: 1rem;
  color: var(--text-primary); text-align: left; gap: 16px;
}
.faq-q::after {
  content: "+"; font-size: 1.3rem; color: var(--violet);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px 20px;
  font-size: .95rem; line-height: 1.8; color: var(--text-secondary);
  display: none;
}
.faq-item.open .faq-a { display: block; }


/* ════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1060px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 1060px) {
  .preview-grid     { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr 1fr; }
  .kpi-row          { grid-template-columns: 1fr 1fr; }
  .projects-grid    { grid-template-columns: 1fr; }
  .tools-grid       { grid-template-columns: 1fr 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .home-stats       { grid-template-columns: 1fr; max-width: 360px; }
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤760px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  .container { padding-inline: 20px; }

  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 8px) 12px auto 12px;
    flex-direction: column; align-items: stretch;
    background: rgba(7, 6, 14, .97);
    backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 12px; z-index: 99;
    box-shadow: 0 24px 64px rgba(0,0,0,.65);
    opacity: 0; transform: translateY(-12px); pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__link { padding: 14px 16px; border-radius: var(--radius); font-size: 1rem; }
  .nav__link--cta { margin-left: 0; text-align: center; }

  .home-hero { padding: 40px 20px 60px; min-height: 85vh; }
  .home-hero__title { font-size: clamp(2.2rem, 12vw, 3.8rem); }

  .page-hero { padding: 52px 0 40px; }
  .page-hero__title { font-size: clamp(1.6rem, 5vw, 2.4rem); }

  .section { padding: 60px 0; }
  .values-grid, .kpi-row { grid-template-columns: 1fr; }
  .team-grid  { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }

  .home-stats { grid-template-columns: 1fr; max-width: 320px; }

  .s5, .s6, .s7, .s8 { display: none; }
}


/* ════════════════════════════════════════════════════════
   CULTURE SECTION (team page)
   ════════════════════════════════════════════════════════ */
.culture-block {
  max-width: 64ch; margin: 0 auto; text-align: center;
  padding: 40px 0;
}
.culture-block p {
  font-size: 1.05rem; line-height: 1.9; color: var(--text-secondary);
  margin-bottom: 22px;
}
.culture-block p:last-child { margin-bottom: 0; }
.culture-block strong { color: var(--text-primary); font-weight: 700; }


/* ════════════════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .shape { opacity: .25 !important; animation: none !important; }
  .home-hero__title { animation: none !important; background-size: 100% 100% !important; }
}
