/* ============================================================
   Zmistovni — modern animated landing
   Type: Inter (body) + Space Grotesk (display)
   Palette: deep cosmic violet → indigo with electric accent
   ============================================================ */

:root {
  --bg: #07061A;
  --bg-2: #0B0922;
  --bg-3: #110D2E;
  --bg-card: rgba(22, 18, 52, 0.55);
  --bg-card-2: rgba(28, 22, 64, 0.7);

  --text: #FFFFFF;
  --text-secondary: #D6D3EF;
  --text-muted: #9994BD;
  --text-dim: #6E6892;

  --accent: #A78BFA;
  --accent-2: #C084FC;
  --accent-3: #7C3AED;
  --accent-pink: #F472B6;
  --accent-cyan: #67E8F9;

  --grad-accent: linear-gradient(90deg, #A78BFA 0%, #C084FC 50%, #F472B6 100%);
  --grad-btn: linear-gradient(135deg, #8B5CF6 0%, #C084FC 100%);
  --grad-cool: linear-gradient(135deg, #5B6CE2 0%, #A78BFA 60%, #F472B6 100%);

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;

  --container: 1280px;
  --container-wide: 1440px;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Global cosmic backdrop — fixed, very subtle, never moves */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(91, 108, 226, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 70%, rgba(244, 114, 182, 0.08), transparent 60%);
  pointer-events: none;
}

/* Subtle vignette for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.35) 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

h1, h2, h3, h4, .display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.accent-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ============ Custom cursor (desktop) ============ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transition: width .3s var(--ease-out-quart), height .3s var(--ease-out-quart), border-color .3s ease;
}
.cursor-ring.is-hover {
  width: 60px; height: 60px;
  border-color: rgba(167, 139, 250, 1);
  background: rgba(167, 139, 250, 0.1);
}
@media (max-width: 1024px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============ Buttons ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .3s var(--ease-out-quart), box-shadow .3s ease, background .3s ease, border-color .3s ease;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn .arrow {
  font-size: 14px;
  transition: transform .3s var(--ease-out-quart);
  display: inline-block;
}
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn--primary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.btn--primary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover {
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(167, 139, 250, 0.06);
}

.btn--gradient {
  background: var(--grad-btn);
  color: #fff;
  font-weight: 700;
  padding: 17px 34px;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
  border: none;
}
.btn--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #C084FC 0%, #F472B6 100%);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
}
.btn--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(192, 132, 252, 0.5);
}
.btn--gradient:hover::before { opacity: 1; }

/* Magnetic button shimmer */
.btn--shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left .8s var(--ease-out-quart);
}
.btn--shimmer:hover::after { left: 150%; }

/* ============ Header ============ */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 32px);
  max-width: 1320px;
  background: rgba(11, 9, 34, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  transition: top .3s var(--ease-out-quart), background .3s ease, border-color .3s ease;
}
.header.is-scrolled {
  top: 8px;
  background: rgba(11, 9, 34, 0.78);
  border-color: rgba(255, 255, 255, 0.1);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 24px;
}
.header__logo {
  flex-shrink: 0;
  display: block;
}
.header__logo img {
  height: 40px;
  width: auto;
  display: block;
}
.header__nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.header__nav a {
  position: relative;
  padding: 6px 0;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out-quart);
}
.header__nav a:hover { color: var(--text); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta {
  padding: 11px 22px;
  font-size: 13px;
  flex-shrink: 0;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 180px 0 140px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

/* Animated gradient mesh in the hero */
.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: orbDrift 20s ease-in-out infinite;
}
.hero__orb--1 {
  width: 520px; height: 520px;
  top: -100px; left: -120px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
}
.hero__orb--2 {
  width: 600px; height: 600px;
  bottom: -150px; right: -150px;
  background: radial-gradient(circle, #5B6CE2 0%, transparent 70%);
  animation-delay: -7s;
  animation-duration: 24s;
}
.hero__orb--3 {
  width: 380px; height: 380px;
  top: 35%; left: 45%;
  background: radial-gradient(circle, #F472B6 0%, transparent 70%);
  opacity: 0.35;
  animation-delay: -12s;
  animation-duration: 28s;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -40px) scale(1.08); }
  66%      { transform: translate(-40px, 50px) scale(0.95); }
}

/* Grid lines overlay (subtle architecture) */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

/* Stars layer (twinkle) */
.hero__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(2px 2px at 23% 18%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(1.5px 1.5px at 62% 8%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(2.5px 2.5px at 87% 24%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(2px 2px at 12% 62%, rgba(210,190,255,0.95), transparent 60%),
    radial-gradient(1.8px 1.8px at 39% 78%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(2px 2px at 74% 68%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(1.5px 1.5px at 8% 32%, rgba(255,255,255,0.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 55% 44%, rgba(220,220,255,0.9), transparent 60%),
    radial-gradient(2.2px 2.2px at 92% 55%, rgba(255,255,255,1), transparent 60%),
    radial-gradient(1.2px 1.2px at 31% 30%, rgba(255,255,255,0.75), transparent 60%),
    radial-gradient(1.8px 1.8px at 48% 88%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 68% 22%, rgba(200,200,255,0.8), transparent 60%),
    radial-gradient(1px 1px at 5% 12%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 17% 48%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 29% 8%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 45% 22%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1px 1px at 52% 68%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 78% 42%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 82% 82%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1px 1px at 95% 12%, rgba(255,255,255,0.65), transparent 60%);
  animation: starTwinkle 5s ease-in-out infinite alternate;
}
@keyframes starTwinkle {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Hero content */
.hero .container {
  max-width: var(--container-wide);
  padding: 0 36px;
}
.hero__inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.hero__badge-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #34D399;
  position: relative;
  flex-shrink: 0;
}
.hero__badge-dot::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #34D399;
  opacity: 0.4;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.6); opacity: 0; }
}

.hero__title {
  font-size: clamp(54px, 8vw, 124px);
  font-weight: 700;
  line-height: 0.98;
  margin: 0 0 32px;
  letter-spacing: -0.035em;
  color: #fff;
}
.hero__title-line {
  display: block;
  overflow: hidden;
}
.hero__title-line span {
  display: inline-block;
}
.hero__title-dot {
  color: var(--accent);
  display: inline-block;
}
.hero__title .accent-gradient {
  position: relative;
  display: inline-block;
}
.hero__title .accent-gradient::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.08em;
  background: var(--grad-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 1.4s var(--ease-out-quart) 1.2s forwards;
  opacity: 0.5;
}
@keyframes drawLine {
  to { transform: scaleX(1); }
}

.hero__desc {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 0 44px;
  line-height: 1.6;
  text-wrap: pretty;
}

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

/* Scroll cue */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
  animation: floatY 3s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--accent));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, #fff);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { top: -100%; }
  100% { top: 100%; }
}
@keyframes floatY {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ============ Trusted strip / Marquee ============ */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(11, 9, 34, 0.5);
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee__track {
  display: flex;
  gap: 64px;
  animation: marquee 36s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee__item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 64px;
}
.marquee__item span:first-child {
  transition: color .3s ease;
}
.marquee__item:hover span:first-child { color: var(--text); }
.marquee__star {
  color: var(--accent);
  font-size: 18px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ Section basics ============ */
.section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.section[id] { scroll-margin-top: 110px; }

.section-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.section-glow--violet {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.6), transparent 70%);
}
.section-glow--blue {
  background: radial-gradient(circle, rgba(56, 100, 225, 0.5), transparent 70%);
}
.section-glow--pink {
  background: radial-gradient(circle, rgba(244, 114, 182, 0.4), transparent 70%);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 600;
}
.section__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-2);
}

.section__title {
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 64px;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ============ Reveal animations (driven by JS .is-visible toggle) ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-quart), transform 1s var(--ease-out-quart);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }
.reveal--delay-4 { transition-delay: .4s; }
.reveal--delay-5 { transition-delay: .5s; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out-quart), transform .8s var(--ease-out-quart);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: .19s; }
.reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: .26s; }
.reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: .33s; }
.reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(7)  { transition-delay: .47s; }

/* ============ About ============ */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 100px;
}
.about__title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
  text-wrap: pretty;
}
.about__lead, .about__note {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 24px;
  line-height: 1.6;
}
.about__accent {
  display: flex;
  gap: 18px;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(244,114,182,0.04));
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: var(--r-md);
  padding: 22px 26px;
}
.accent-bar {
  width: 3px;
  background: var(--grad-accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.about__accent p {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}

/* Stats — animated counters */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background:
    linear-gradient(180deg, rgba(167, 139, 250, 0.05), rgba(167, 139, 250, 0));
  background-color: rgba(22, 18, 52, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 48px 8px;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(167, 139, 250, 0.5) 50%, transparent 90%);
}
.stat {
  padding: 16px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ============ Services ============ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  transition: transform .4s var(--ease-out-quart), border-color .4s ease, box-shadow .4s ease;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  /* spotlight that follows cursor */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(167, 139, 250, 0.18),
    transparent 40%
  );
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.6), transparent);
  opacity: .5;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167,139,250,0.35);
  box-shadow: 0 30px 70px rgba(167, 139, 250, 0.18);
}
.service-card__icon {
  position: relative;
  width: 72px; height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 28px;
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: var(--r-sm);
  background: rgba(167,139,250,0.08);
  transition: transform .4s var(--ease-out-quart), background .4s ease;
}
.service-card:hover .service-card__icon {
  background: rgba(167,139,250,0.15);
  transform: scale(1.05) rotate(-3deg);
}
.service-card__icon svg { width: 40px; height: 40px; transition: transform .4s var(--ease-out-quart); }
.service-card:hover .service-card__icon svg { transform: rotate(6deg); }
.service-card__num {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
}
.service-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
}
.service-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 24px;
  line-height: 1.55;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.service-card:hover .chip {
  background: rgba(167,139,250,0.06);
  border-color: rgba(167,139,250,0.18);
  color: var(--text);
}

/* ============ Approach ============ */
.approach__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 8px;
  position: relative;
  overflow: hidden;
}
.approach__item {
  position: relative;
  display: grid;
  grid-template-columns: 88px 56px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  border-radius: var(--r-md);
  transition: background .35s ease, padding .35s ease;
  cursor: pointer;
}
.approach__item + .approach__item {
  border-top: 1px solid rgba(255,255,255,0.05);
}
.approach__item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 3px;
  height: 0;
  background: var(--grad-accent);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height .35s var(--ease-out-quart);
}
.approach__item:hover {
  background: rgba(167,139,250,0.04);
  padding-left: 40px;
}
.approach__item:hover::before { height: 60%; }

.approach__icon {
  width: 88px; height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 16px rgba(167, 139, 250, 0.2));
  transition: transform .5s var(--ease-out-quart);
}
.approach__icon img { width: 80px; height: 80px; object-fit: contain; }
.approach__item:hover .approach__icon { transform: scale(1.05) rotate(-4deg); }

.approach__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color .3s ease;
}
.approach__item:hover .approach__num { color: var(--accent-2); }

.approach__content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.approach__content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
  max-width: 720px;
}
.approach__arrow {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all .35s var(--ease-out-quart);
  flex-shrink: 0;
}
.approach__item:hover .approach__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(-45deg);
}

/* ============ Principles ============ */
.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}
.principle {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .35s var(--ease-out-quart), border-color .35s ease, background .35s ease;
  overflow: hidden;
}
.principle:hover {
  transform: translateY(-4px);
  border-color: rgba(167,139,250,0.35);
  background: var(--bg-card-2);
}
.principle--wide {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(244, 114, 182, 0.04)),
    var(--bg-card);
  border-color: rgba(167, 139, 250, 0.2);
}
.principle--wide::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25), transparent 70%);
  filter: blur(40px);
}
.principle--wide h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  margin: 0 0 14px;
}
.principle--wide p {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
  max-width: 540px;
}
.principle__icon {
  position: relative;
  width: 72px; height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 28px;
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: var(--r-sm);
  background: rgba(167,139,250,0.08);
  transition: transform .4s var(--ease-out-quart);
}
.principle:hover .principle__icon { transform: scale(1.06) rotate(-3deg); }
.principle__icon svg { width: 40px; height: 40px; }
.principle h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ============ Team / Manifesto ============ */
.team__text {
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.team__text p {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}
.team__text strong {
  color: var(--text);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.team__accent {
  display: flex;
  gap: 18px;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(244,114,182,0.04));
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin-top: 12px;
}
.team__accent p {
  font-size: 22px;
  color: var(--text);
  font-weight: 500;
}

/* ============ Contacts / Form ============ */
.contacts {
  padding-bottom: 160px;
}
.contact-card {
  max-width: 880px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(167, 139, 250, 0.08), transparent 60%),
    rgba(22, 18, 52, 0.6);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: var(--r-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.contact-card::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.18), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.contact-card__header {
  position: relative;
  margin-bottom: 36px;
}
.contact-card__header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 3.4vw, 48px);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.contact-card__sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.contact-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.85;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
}
.contact-form .btn--gradient {
  align-self: stretch;
  justify-content: center;
  margin-top: 8px;
}

/* ============ Footer ============ */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 36px;
  background: var(--bg-2);
  position: relative;
  z-index: 2;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__logo img { height: 36px; }
.footer__info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}
.footer__links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__links a:hover { color: var(--text); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero { padding: 130px 0 100px; min-height: auto; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .principles__grid { grid-template-columns: repeat(2, 1fr); }
  .principle--wide { grid-column: span 2; grid-row: span 1; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 32px 8px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 28px; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 28px; }
  .header__nav { display: none; }
  .approach__item { grid-template-columns: 64px 40px 1fr auto; gap: 16px; padding: 22px 20px; }
  .approach__icon { width: 64px; height: 64px; }
  .approach__icon img { width: 56px; height: 56px; }
  .section { padding: 100px 0; }
  .section__title { margin-bottom: 48px; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { padding: 110px 0 80px; }
  .hero__desc { font-size: 17px; }
  .hero__scroll { display: none; }
  .contact-card { padding: 36px 24px; }
  .services__grid { grid-template-columns: 1fr; }
  .principles__grid { grid-template-columns: 1fr; }
  .principle--wide { grid-column: span 1; }
  .approach__item { grid-template-columns: 56px 1fr auto; gap: 16px; padding: 20px 16px; }
  .approach__num { display: none; }
  .approach__icon { width: 56px; height: 56px; }
  .approach__icon img { width: 48px; height: 48px; }
  .approach__arrow { width: 36px; height: 36px; }
  .approach__item:hover { padding-left: 16px; }
  .contact-form__row--split { grid-template-columns: 1fr; }
  .header__logo img { height: 32px; }
  .header__cta { display: none; }
  .header { top: 8px; width: calc(100% - 16px); }
  .header__inner { padding: 10px 16px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
