/* =========================================================
   TECEZE — Modern Managed IT Homepage
   - Design tokens
   - Base & utilities
   - Layout primitives
   - Components
   - Sections
   - Animations & motion
   - Responsive (mobile-first → up)
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --bg: #0a0e27;
  --bg-2: #0f1330;
  --bg-3: #141a3d;
  --surface: #ffffff;
  --surface-soft: #f6f7fb;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-light: #e7eaf3;

  --text: #0d1226;
  --text-soft: #475068;
  --text-muted: #6b7390;
  --text-invert: #e9ecf7;
  --text-invert-soft: #b6bde0;

  --primary: #6366f1;
  --primary-2: #8b5cf6;
  --accent: #22d3ee;
  --pink: #ec4899;
  --gold: #f59e0b;

  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,.15), rgba(34,211,238,.15));
  --grad-text: linear-gradient(90deg, #a78bfa 0%, #22d3ee 100%);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Sora', var(--font-sans);

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(13,18,38,.04), 0 2px 6px rgba(13,18,38,.06);
  --shadow-md: 0 10px 30px -12px rgba(13,18,38,.18);
  --shadow-lg: 0 25px 60px -20px rgba(13,18,38,.35);

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 600ms;

  /* Header height (used for scroll-margin) */
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }

/* Anchored scroll target offset for sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; border: 0; padding: 0;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(99,102,241,.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero .eyebrow,
.ctastrip .eyebrow {
  background: rgba(255,255,255,.06);
  color: #c8d0ff;
  border: 1px solid rgba(255,255,255,.12);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(99,102,241,.2);
}

/* Section primitives */
.section { padding: 96px 0; }
.section--compact { padding: 56px 0; }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head .eyebrow { margin-bottom: 16px; }
.section__head--row {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; max-width: none; text-align: left; margin-bottom: 32px;
}
.section__title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 14px;
}
.section__lede {
  color: var(--text-soft);
  font-size: clamp(15px, 1.4vw, 17px);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  --color: #fff;
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -.005em;
  background: var(--bg);
  color: var(--color);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease),
              background var(--t-med) var(--ease),
              color var(--t-med) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn--primary {
  --bg: var(--grad);
  background-size: 180% 180%;
  background-position: 0% 50%;
  box-shadow: 0 10px 24px -8px rgba(99,102,241,.55), inset 0 0 0 1px rgba(255,255,255,.1);
}
.btn--primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 16px 32px -10px rgba(99,102,241,.7);
}
.btn--secondary {
  --bg: rgba(255,255,255,.06);
  --color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--secondary:hover { background: rgba(255,255,255,.12); }
.btn--ghost {
  --color: var(--text);
  border: 1px solid var(--line-light);
  background: #fff;
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--ghost--light {
  --color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
}
.btn--ghost--light:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--link {
  --color: var(--primary);
  padding: 12px 4px;
  background: transparent;
}
.btn--link:hover { color: var(--primary-2); }
.btn--small { padding: 10px 14px; font-size: 13px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: var(--bg);
  z-index: 9999;
  transition: opacity var(--t-slow) var(--ease), visibility var(--t-slow);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  color: #fff; letter-spacing: -.02em; font-size: 22px;
}
.preloader__dot {
  width: 16px; height: 16px; border-radius: 999px;
  background: var(--grad);
  animation: pulseDot 1.1s var(--ease) infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(139,92,246,.6); }
  50%      { transform: scale(1.15); box-shadow: 0 0 0 14px rgba(139,92,246,0); }
}

/* ---------- Custom cursor (desktop) ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(99,102,241,.6);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 200ms var(--ease-out), width 200ms var(--ease), height 200ms var(--ease), opacity 200ms;
  z-index: 9000;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor--dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border: 0;
  transition: transform 80ms linear, opacity 200ms;
}
.cursor.is-active { width: 44px; height: 44px; }
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0;
  z-index: 800;
  height: var(--header-h);
  background: rgba(10,14,39,.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.header.is-scrolled {
  background: rgba(10,14,39,.85);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 30px -12px rgba(0,0,0,.6);
}
.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 20px;
  letter-spacing: -.02em;
  color: #fff;
}
.brand__mark {
  width: 28px; height: 28px;
  border-radius: 9px;
  background: var(--grad);
  position: relative;
  box-shadow: 0 8px 24px -8px rgba(139,92,246,.7), inset 0 0 0 1px rgba(255,255,255,.2);
}
.brand__mark::after {
  content: ""; position: absolute; inset: 6px;
  border-radius: 5px;
  background: rgba(10,14,39,.7);
}
.brand__mark::before {
  content: ""; position: absolute; inset: 10px;
  border-radius: 999px;
  background: var(--grad);
  filter: blur(4px);
}
.brand--light { color: #fff; }

/* Nav */
.nav { display: flex; align-items: center; gap: 24px; }
.nav__list { display: flex; gap: 6px; align-items: center; }
.nav__list a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14.5px;
  color: rgba(255,255,255,.78);
  border-radius: 999px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__list a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__cta .btn--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.25); }
.nav__cta .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
}
.hamburger span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(99,102,241,.35), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(34,211,238,.18), transparent 60%),
              linear-gradient(180deg, var(--bg) 0%, #0d1230 100%);
  color: var(--text-invert);
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0 120px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55; mix-blend-mode: screen;
}
.hero__glow--a { width: 520px; height: 520px; left: -120px; top: 120px; background: #6366f1; animation: float 14s ease-in-out infinite; }
.hero__glow--b { width: 420px; height: 420px; right: -80px; top: 0; background: #22d3ee; animation: float 18s ease-in-out infinite reverse; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  min-height: 600px;
}
.hero__content { max-width: 620px; }
.hero__title {
  font-size: clamp(34px, 5.4vw, 64px);
  margin: 18px 0 18px;
  letter-spacing: -.03em;
}
.hero__lede {
  color: var(--text-invert-soft);
  font-size: clamp(16px, 1.5vw, 18px);
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 36px;
}
.hero__pills li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.hero__pills li svg { color: var(--accent); }

/* Globe & orbits */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}
.orbit {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.14);
  animation: spin 40s linear infinite;
}
.orbit--1 { transform: scale(1); }
.orbit--2 { transform: scale(1.18); animation-duration: 60s; animation-direction: reverse; border-style: solid; border-color: rgba(99,102,241,.18); }
.orbit--3 { transform: scale(1.36); animation-duration: 90s; }
.orbit::before {
  content: ""; position: absolute;
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(34,211,238,.7);
  top: -5px; left: 50%;
  transform: translateX(-50%);
}
.orbit--2::before { background: var(--primary-2); box-shadow: 0 0 24px rgba(167,139,250,.7); }
.orbit--3::before { background: var(--pink); box-shadow: 0 0 24px rgba(236,72,153,.6); }

.globe {
  position: absolute; inset: 14%;
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(99,102,241,.4),
    0 30px 80px -20px rgba(99,102,241,.5);
  animation: floatY 8s ease-in-out infinite;
}
.globe__svg { width: 100%; height: 100%; }
.globe__arc {
  transform-origin: 100px 100px;
  animation: spin 9s linear infinite;
}
.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  animation: floatY 6s ease-in-out infinite;
}
.chip svg { color: var(--gold); }
.chip__pulse {
  width: 8px; height: 8px; border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,.6);
  animation: pulseDot 1.6s ease-in-out infinite;
}
.chip--a { top: 8%;   left: -6%;   animation-delay: -1s; }
.chip--b { top: 38%;  right: -10%; animation-delay: -3s; }
.chip--c { bottom: 6%; left: 12%;  animation-delay: -5s; }

.hero__scroll {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero__scroll span {
  display: inline-block;
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.6), transparent);
  animation: scrollHint 2s var(--ease) infinite;
}

/* ---------- STATS ---------- */
.stats { padding: 0; transform: translateY(-44px); }
.stats__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.stats__card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: .6;
  pointer-events: none;
}
.stat {
  position: relative;
  text-align: center;
  padding: 16px 12px;
  border-right: 1px dashed rgba(13,18,38,.08);
}
.stat:last-child { border-right: 0; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- SERVICES ---------- */
.services {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.svc {
  position: relative;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
  overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -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 var(--t-med) var(--ease);
  pointer-events: none;
}
.svc::after {
  content: ""; position: absolute; inset: -50%;
  background: radial-gradient(circle, rgba(139,92,246,.15), transparent 50%);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-slow) var(--ease);
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(99,102,241,.35);
  border-color: transparent;
}
.svc:hover::before, .svc:hover::after { opacity: 1; }
.svc__icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  color: var(--primary);
  margin-bottom: 18px;
  transition: transform var(--t-med) var(--ease);
}
.svc:hover .svc__icon { transform: scale(1.06) rotate(-3deg); }
.svc__title { font-size: 19px; margin-bottom: 8px; }
.svc__text { color: var(--text-soft); font-size: 14.5px; }
.svc__arrow {
  position: absolute; right: 20px; top: 24px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  color: var(--text-muted);
  font-size: 14px;
  transition: transform var(--t-med) var(--ease), color var(--t-med), border-color var(--t-med);
}
.svc:hover .svc__arrow {
  transform: translate(2px, -2px);
  color: var(--primary);
  border-color: var(--primary);
}

/* ---------- ABOUT ---------- */
.about {
  background: #fff;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.about__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #eef0ff 0%, #e6f7fc 100%);
  overflow: hidden;
  border: 1px solid var(--line-light);
}
.about__art { position: absolute; inset: 0; }
.about__art-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.about__shape {
  position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55;
  mix-blend-mode: screen;
}
.about__shape--1 { width: 280px; height: 280px; background: #a78bfa; top: -60px; left: -40px; }
.about__shape--2 { width: 240px; height: 240px; background: #22d3ee; bottom: -40px; right: -40px; }
.about__shape--3 { width: 200px; height: 200px; background: #ec4899; top: 40%; left: 40%; opacity: .35; }
.about__panel {
  position: absolute;
  left: 28px; right: 28px; bottom: 28px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow-md);
  font-size: 13.5px;
}
.about__panel-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(13,18,38,.08);
}
.about__panel-row:last-of-type { border-bottom: 0; }
.about__panel-row strong { margin-left: auto; font-weight: 700; color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 999px; }
.dot--ok { background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.dot--warn { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.18); }
.about__bars { display: flex; gap: 10px; margin-top: 16px; height: 60px; align-items: stretch; }
.why-icon {
  flex: 1;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(99,102,241,.08);
  position: relative; overflow: hidden;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.why-icon::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.18), rgba(34,211,238,.18));
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.why-icon:hover { transform: translateY(-2px); }
.why-icon:hover::before { opacity: 1; }
.why-icon svg { position: relative; z-index: 1; display: block; }

.why-icon--trust { color: #4f46e5; }
.why-icon--trust svg { animation: whyPulse 2.4s ease-in-out infinite; }

.why-icon--innovation { color: #f59e0b; }
.why-icon--innovation svg { animation: whyFloat 2.6s ease-in-out infinite; transform-origin: 50% 70%; }

.why-icon--accountability { color: #10b981; }
.why-icon--accountability .why-icon__check {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  animation: whyDraw 2.6s ease-in-out infinite;
}

.why-icon--excellence { color: #ec4899; }
.why-icon--excellence svg { animation: whyTwinkle 2.8s ease-in-out infinite; transform-origin: center; }

@keyframes whyPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(79,70,229,0)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 5px rgba(79,70,229,.55)); }
}
@keyframes whyFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-4px) rotate(-4deg); }
}
@keyframes whyDraw {
  0% { stroke-dashoffset: 18; }
  40%, 70% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 18; }
}
@keyframes whyTwinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: .9; }
  50% { transform: scale(1.12) rotate(12deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .why-icon svg, .why-icon .why-icon__check { animation: none !important; }
}

.about__content { max-width: 580px; }
.about__content .section__title { text-align: left; }
.about__content .section__lede { margin: 12px 0 28px; }
.vmv {
  display: grid; gap: 14px;
  margin-bottom: 28px;
}
.vmv__item {
  position: relative;
  padding: 18px 18px 18px 64px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line-light);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.vmv__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.vmv__icon {
  position: absolute; left: 18px; top: 18px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(99,102,241,.5);
}
.vmv__item h3 { font-size: 16px; margin-bottom: 4px; }
.vmv__item p { color: var(--text-soft); font-size: 14px; }
.about__cta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- LOGOS / MARQUEE ---------- */
.logos { background: #fff; padding-top: 24px; }
.logos__title {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: inline-flex; gap: 56px;
  padding: 12px 28px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.01em;
  color: #b1b9d4;
  filter: grayscale(1) opacity(.85);
  transition: color var(--t-med), filter var(--t-med);
}
.marquee__item:hover {
  color: var(--text);
  filter: grayscale(0) opacity(1);
}

/* ---------- INDUSTRIES ---------- */
.industries { background: linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%); }
.industries__nav { display: flex; gap: 8px; }
.iconbtn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--text);
  transition: transform var(--t-fast), border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.iconbtn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.iconbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.industries__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 340px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  padding: 8px 4px 24px;
  scrollbar-width: none;
}
.industries__rail::-webkit-scrollbar { display: none; }
.ind {
  position: relative;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  isolation: isolate;
  cursor: pointer;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.ind::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 60% at 80% 0%, rgba(255,255,255,.25), transparent 60%),
    radial-gradient(60% 40% at 0% 100%, rgba(0,0,0,.35), transparent 60%);
}
.ind__media {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
}
.ind__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-med) var(--ease);
}
.ind:hover .ind__media img { transform: scale(1.04); }
.ind__body {
  position: absolute; inset: auto 0 0 0;
  padding: 22px;
  color: #fff;
}
.ind__body h3 { font-size: 22px; margin-bottom: 6px; }
.ind__body p { color: rgba(255,255,255,.85); font-size: 14px; max-width: 30ch; }
.ind__cta {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600; font-size: 13.5px;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), border-color var(--t-med);
}
.ind:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.35);
}
.ind:hover .ind__cta { opacity: 1; transform: translateY(0); border-color: #fff; }

/* ---------- PARTNERS ---------- */
.partners { background: #fff; }
.partners__title {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.partners__grid li {
  padding: 28px 16px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  transition: color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.partners__grid li:hover {
  color: var(--primary);
  background: var(--surface-soft);
  transform: scale(1.02);
}

/* ---------- INSIGHTS ---------- */
.insights { background: linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%); }
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.post {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line-light);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.post__link { display: block; height: 100%; }
.post__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  position: relative;
  overflow: hidden;
}
.post__media::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 30%, transparent 75%);
}
/* Hide the decorative grid overlay when a real image is present */
.post__media:has(img)::after { content: none; }
.post__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.post:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 22px; }
.post__meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-muted);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em;
}
.post__title { font-size: 18px; margin-bottom: 6px; }
.post__excerpt { color: var(--text-soft); font-size: 14.5px; margin-bottom: 14px; }
.post__cta { color: var(--primary); font-weight: 600; font-size: 14px; }

/* ---------- CTA STRIP ---------- */
.ctastrip {
  background:
    radial-gradient(800px 400px at 80% 50%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(600px 400px at 10% 50%, rgba(139,92,246,.25), transparent 60%),
    linear-gradient(135deg, #0a0e27 0%, #16194a 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.ctastrip::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
}
.ctastrip__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.ctastrip h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 6px;
}
.ctastrip p { color: rgba(255,255,255,.75); }
.ctastrip__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer {
  background: #06091f;
  color: var(--text-invert-soft);
  padding: 80px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand p { margin: 16px 0 22px; max-width: 36ch; font-size: 14.5px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.social a:hover {
  color: #fff;
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  transform: translateY(-2px);
}
.footer__col h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a {
  color: rgba(255,255,255,.7);
  font-size: 14.5px;
  transition: color var(--t-fast);
}
.footer__col a:hover { color: #fff; }
.newsletter {
  display: flex; gap: 8px; margin-top: 16px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
}
.newsletter input {
  flex: 1; min-width: 0;
  background: transparent;
  border: 0; outline: 0;
  color: #fff; padding: 8px 12px;
  font: inherit; font-size: 14px;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.footer__base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer__base ul { display: flex; gap: 18px; }
.footer__base a:hover { color: #fff; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* Stagger children when parent is revealed */
.reveal > .reveal { transition-delay: .08s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(20px, -20px, 0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollHint {
  0%   { transform: translateY(-10px); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* Reduced motion: turn off heavy animation */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero__visual { max-width: 420px; }
  .stats__card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .partners__grid { grid-template-columns: repeat(4, 1fr); }
  .posts { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 88px; }

  /* Mobile nav */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(10,14,39,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px 20px 32px;
    gap: 16px;
    transform: translateX(100%);
    transition: transform var(--t-med) var(--ease);
    border-top: 1px solid var(--line);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav__list a {
    padding: 14px 16px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__list li:last-child a { border-bottom: 0; }
  .nav__cta { padding-top: 8px; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .hamburger { display: block; }

  .stats { transform: translateY(-32px); }
  .stats__card { grid-template-columns: 1fr 1fr; padding: 18px; }
  .stat { border-right: 0; padding: 12px 6px; }

  .services__grid,
  .posts { grid-template-columns: 1fr; }

  .partners__grid { grid-template-columns: repeat(3, 1fr); }
  .partners__grid li { padding: 22px 12px; font-size: 15px; }

  .section__head--row { flex-direction: column; align-items: stretch; }
  .industries__nav { align-self: end; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand,
  .footer__contact { grid-column: 1 / -1; }

  .ctastrip__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hero__pills { gap: 6px; }
  .hero__pills li { font-size: 12px; padding: 6px 10px; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
}
