/* ============================================================
   AETHER SOFTWARE SOLUTIONS — Main Stylesheet v3
   Dark grey · White · Blue #4169F5 · Lime #ADFF2F
   ============================================================ */

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

:root {
  /* ---- Backgrounds (near-black dark grey) ---- */
  --bg:       #0A0A0A;
  --bg-2:     #111111;
  --bg-3:     #181818;
  --surface:  #1C1C1C;
  --surface-2:#242424;

  /* ---- Borders ---- */
  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);

  /* ---- Brand palette ---- */
  --blue:       #4169F5;
  --blue-mid:   #5A7FFF;
  --blue-light: #7AA0FF;
  --lime:       #ADFF2F;
  --lime-dim:   #8FD418;
  --cyan:       #00D4FF;
  --white:      #FFFFFF;
  --off-white:  #E8E8E8;

  /* ---- Text ---- */
  --text:   #FFFFFF;
  --text-2: #A0A0A0;
  --text-3: #555555;

  /* ---- Gradients ---- */
  --grad:       linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  --grad-text:  linear-gradient(135deg, var(--blue-mid) 0%, var(--lime) 100%);
  --grad-vivid: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 50%, var(--lime) 100%);

  /* ---- Misc ---- */
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 4px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.7);
  --glow-blue: 0 0 40px rgba(65,105,245,0.35);
  --glow-lime: 0 0 30px rgba(173,255,47,0.25);

  /* ---- Typography ---- */
  --font:         'Space Grotesk', system-ui, sans-serif;
  --font-display: 'Syne', sans-serif;

  /* ---- Layout ---- */
  --announce-h: 36px;
  --nav-h:      68px;
  --section-py: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ---- Utils ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  display: inline-block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: blur(0);          /* forces Chrome Android GPU rasterisation */
  transform: translateZ(0); /* own compositing layer */
}

.section { padding: var(--section-py) 0; }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
  padding: 4px 14px;
  border: 1px solid rgba(173,255,47,0.3);
  border-radius: 100px;
  background: rgba(173,255,47,0.06);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.22s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 24px rgba(65,105,245,0.45);
}
.btn--primary:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(65,105,245,0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
}

.btn--lime {
  background: var(--lime);
  color: #000;
  box-shadow: 0 4px 20px rgba(173,255,47,0.35);
}
.btn--lime:hover {
  background: #C4FF4F;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(173,255,47,0.5);
}

.btn--full { width: 100%; justify-content: center; }

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.22,.8,.25,1),
              transform 0.65s cubic-bezier(.22,.8,.25,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce-bar {
  position: relative;
  height: var(--announce-h);
  background: #0D0D0D;
  border-bottom: 1px solid rgba(65,105,245,0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.announce-track {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: announce-scroll 28s linear infinite;
}

.announce-track span {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

.announce-track a { color: var(--blue-light); font-weight: 600; transition: color 0.2s; }
.announce-track a:hover { color: var(--lime); }
.announce-track .asep { color: var(--blue); opacity: 0.5; }

.announce-dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lime);
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse-dot 2s ease-in-out infinite;
}

.announce-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-3);
  padding: 2px 8px;
  z-index: 2;
  background: #0D0D0D;
  border-radius: 4px;
  transition: color 0.2s;
  line-height: 1.4;
}
.announce-close:hover { color: var(--text-2); }

@keyframes announce-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.nav__logo-img-wrap {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 3px;
}

.nav__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__logo-text { color: var(--white); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}

.nav__links a:hover,
.nav__links a.active { color: var(--white); background: var(--surface); }

.nav__cta {
  background: var(--blue) !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(65,105,245,0.4);
  padding: 8px 20px !important;
}
.nav__cta:hover {
  background: var(--blue-mid) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(65,105,245,0.55) !important;
  color: #fff !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-2); border-radius: 2px; transition: all 0.25s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  background: rgba(10,10,10,0.98);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.nav__mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile a {
  display: block; padding: 12px 16px;
  font-size: 1rem; font-weight: 500;
  color: var(--text-2); border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav__mobile a:hover { color: var(--white); background: var(--surface); }
.nav__mobile.open { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* IMPORTANT: canvas must be sized to full hero via JS */
.hero__canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(65,105,245,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65,105,245,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__orb--1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(65,105,245,0.45), transparent 65%);
  top: -200px; left: -100px;
  animation: orb-drift 13s ease-in-out infinite alternate;
}

.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(173,255,47,0.18), transparent 65%);
  top: 100px; right: -120px;
  animation: orb-drift 17s ease-in-out infinite alternate-reverse;
}

.hero__orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.15), transparent 65%);
  bottom: -80px; left: 40%;
  animation: orb-drift 20s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(35px, 22px) scale(1.1); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 130px;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-2);
  border: 1px solid rgba(65,105,245,0.3);
  background: rgba(65,105,245,0.07);
  padding: 6px 18px 6px 10px;
  border-radius: 100px;
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
}

.badge__dot {
  display: block; width: 8px; height: 8px;
  background: var(--lime); border-radius: 50%;
  box-shadow: 0 0 10px var(--lime);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--lime); }
  50%       { box-shadow: 0 0 18px var(--lime), 0 0 30px rgba(173,255,47,0.3); }
}

/* Headline */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 32px;
}

/* Typewriter */
.typewriter-wrap {
  display: inline-block;
  position: relative;
  min-width: 380px;
}

.typewriter-word {
  display: inline-block;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.38s ease, transform 0.38s ease;
  white-space: nowrap;
  /* no gradient here — transition + background-clip:text breaks Chrome Android */
}

/* gradient lives on a child that has NO transition */
.tw-g {
  display: inline-block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: blur(0);          /* forces Chrome Android to rasterise correctly */
  transform: translateZ(0); /* own compositing layer */
}

.typewriter-word.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.typewriter-word.exit {
  opacity: 0;
  transform: translateY(-18px);
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero__actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 72px;
}

/* Stats */
.hero__stats {
  display: flex; align-items: center;
  gap: 36px; flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 5px; }

.stat__row { display: flex; align-items: baseline; gap: 2px; }

.stat__num {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800;
  color: var(--white); line-height: 1;
}

.stat__suf {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--lime); line-height: 1;
}

.stat__label {
  font-size: 0.74rem; color: var(--text-3);
  font-weight: 500; letter-spacing: 0.02em;
}

.stat__div { width: 1px; height: 44px; background: var(--border); }

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px; z-index: 3;
}
.hero__scroll span { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.scroll__line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  48%  { transform: scaleY(1); transform-origin: top; }
  52%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex; align-items: center;
  gap: 24px; white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track span {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-3); text-transform: uppercase;
}

.marquee-track .sep { color: var(--blue); font-size: 0.5rem; }

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

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg); }

.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all 0.28s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.35s;
}

.service-card:hover {
  border-color: rgba(65,105,245,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(65,105,245,0.1);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card--accent {
  background: linear-gradient(145deg, rgba(65,105,245,0.1), rgba(173,255,47,0.04));
  border-color: rgba(65,105,245,0.2);
}
.service-card--accent::after { background: var(--grad-text); }
.service-card--accent:hover { border-color: rgba(65,105,245,0.4); }

.service-card__icon { width: 40px; height: 40px; color: var(--blue-light); margin-bottom: 20px; }
.service-card--accent .service-card__icon { color: var(--lime); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; margin-bottom: 12px;
  line-height: 1.3; letter-spacing: -0.01em; color: var(--white);
}

.service-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }

.service-card__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.service-card__tags li {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-3); padding: 3px 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 100px;
}

/* ============================================================
   WHY AETHER
   ============================================================ */
.why { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.why__left .section__label { display: inline-block; margin-bottom: 16px; }
.why__left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15; margin-bottom: 24px; letter-spacing: -0.025em; color: var(--white);
}
.why__left p { color: var(--text-2); line-height: 1.8; }

.why__right { display: flex; flex-direction: column; }

.pillar {
  display: flex; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.22s;
}
.pillar:last-child { border-bottom: none; }
.pillar:hover { background: var(--surface); border-radius: var(--radius-sm); padding-left: 16px; padding-right: 16px; }

.pillar__num {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 800;
  color: var(--blue-mid); min-width: 28px;
  padding-top: 3px; letter-spacing: 0.06em;
}

.pillar h4 { font-size: 0.975rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.pillar p  { font-size: 0.865rem; color: var(--text-2); line-height: 1.7; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: var(--bg); }

.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: block;
  transition: all 0.28s;
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.35s;
}

.product-card:hover {
  border-color: rgba(65,105,245,0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.product-card:hover::after { transform: scaleX(1); }

.product-card--featured {
  background: linear-gradient(145deg, rgba(65,105,245,0.1), rgba(173,255,47,0.05));
  border-color: rgba(65,105,245,0.2);
}
.product-card--featured::after { background: var(--grad-text); }

.product-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }

.product-card__logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.02em;
}

.product-card__badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--lime);
  background: rgba(173,255,47,0.1); border: 1px solid rgba(173,255,47,0.3);
  padding: 3px 10px; border-radius: 100px;
}

.product-card__badge--ai {
  color: var(--blue-light);
  background: rgba(65,105,245,0.1);
  border-color: rgba(65,105,245,0.3);
}

.product-card__domain { font-size: 0.74rem; color: var(--text-3); margin-bottom: 18px; }

.product-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.75; margin-bottom: 24px; }

.product-card__arrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; color: var(--blue-light);
  transition: gap 0.22s, color 0.22s;
}
.product-card:hover .product-card__arrow { gap: 12px; color: var(--lime); }

/* ============================================================
   WORK
   ============================================================ */
.work { background: var(--bg-2); }

.work__list { display: flex; flex-direction: column; }

.work-item {
  display: grid; grid-template-columns: 120px 1fr auto;
  gap: 28px; align-items: center;
  padding: 28px 16px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.22s;
}
.work-item:first-child { border-top: 1px solid var(--border); }
.work-item:hover { background: var(--surface); border-color: rgba(65,105,245,0.12); }

.work-item__tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue-light);
  padding: 5px 12px;
  background: rgba(65,105,245,0.1); border: 1px solid rgba(65,105,245,0.2);
  border-radius: 100px; text-align: center; white-space: nowrap;
}

.work-item__content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; line-height: 1.35; color: var(--white); }
.work-item__content p  { font-size: 0.855rem; color: var(--text-2); line-height: 1.6; }

.work-item__pills { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.work-item__pills span {
  font-size: 0.68rem; font-weight: 600; color: var(--text-3);
  padding: 3px 11px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 100px; white-space: nowrap;
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { background: var(--bg); border-top: 1px solid var(--border); }

.clients__inner { text-align: center; }

.clients__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2; margin-bottom: 64px;
  letter-spacing: -0.03em; color: var(--white);
}

.clients__types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.client-type {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 28px;
  text-align: center;
  transition: all 0.28s;
  position: relative;
  overflow: hidden;
}

.client-type::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-text);
  transform: scaleX(0);
  transition: transform 0.35s;
}

.client-type:hover {
  border-color: rgba(65,105,245,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.client-type:hover::before { transform: scaleX(1); }

.client-type__icon { font-size: 2.6rem; margin-bottom: 18px; }
.client-type h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 12px; color: var(--white); }
.client-type p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }

/* ============================================================
   ANIMATED SHOWCASE (above CTA)
   ============================================================ */
.showcase {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

/* Pulsing rings */
.showcase__rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(65,105,245,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  animation: ring-pulse 4s ease-out infinite;
}

.ring--1 { width: 400px; height: 400px; animation-delay: 0s; }
.ring--2 { width: 700px; height: 700px; animation-delay: 1.3s; }
.ring--3 { width: 1000px; height: 1000px; animation-delay: 2.6s; }

@keyframes ring-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}

.showcase__top {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.showcase__top h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-top: 16px;
}

/* Floating stat cards */
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.float-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  animation: float-bob 4s ease-in-out infinite alternate;
  animation-delay: var(--float-delay, 0s);
  transition: border-color 0.28s, box-shadow 0.28s;
}

.float-card:hover {
  border-color: rgba(65,105,245,0.35);
  box-shadow: 0 8px 32px rgba(65,105,245,0.12);
}

@keyframes float-bob {
  from { transform: translateY(0px); }
  to   { transform: translateY(-10px); }
}

.float-card--green { background: linear-gradient(145deg, rgba(173,255,47,0.06), rgba(65,105,245,0.06)); border-color: rgba(173,255,47,0.15); }
.float-card--green:hover { border-color: rgba(173,255,47,0.35); box-shadow: 0 8px 32px rgba(173,255,47,0.08); }

.float-card__num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  line-height: 1; margin-bottom: 10px;
  color: var(--white);
  display: flex; align-items: baseline;
  justify-content: center; gap: 2px;
}

.float-card .sc-num { color: var(--white); }
.float-card .sc-suf {
  font-size: 1.4rem;
  color: var(--blue-light);
}
.float-card--green .sc-suf { color: var(--lime); }

.float-card__label {
  font-size: 0.76rem; font-weight: 600;
  color: var(--text-3); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 16px;
}

/* Progress bar */
.float-card__bar {
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}

.float-card__fill {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
  animation: bar-grow 1.5s cubic-bezier(.25,.8,.25,1) both;
  animation-delay: 0.5s;
}

.float-card--green .float-card__fill { background: var(--lime); }

@keyframes bar-grow {
  from { width: 0 !important; }
}

/* Quote */
.showcase__quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.showcase__quote blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 14px;
  position: relative;
  padding: 0 32px;
}

.showcase__quote blockquote::before {
  content: '"';
  position: absolute;
  left: 0; top: -8px;
  font-size: 3rem; font-family: Georgia, serif;
  color: var(--blue); opacity: 0.6; line-height: 1;
}

.showcase__quote cite {
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-3); font-style: normal;
  letter-spacing: 0.04em;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--bg-3); border-top: 1px solid var(--border); }

.cta-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.cta-band__left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15; margin-bottom: 24px;
  letter-spacing: -0.025em; color: var(--white);
}

.cta-band__left p { color: var(--text-2); line-height: 1.8; font-size: 1.05rem; margin-bottom: 32px; }

.cta-band__contact-links { display: flex; flex-direction: column; gap: 12px; }

.contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--blue-light); transition: color 0.2s;
}
.contact-link:hover { color: var(--lime); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field { display: flex; flex-direction: column; gap: 7px; }

.form__field label { font-size: 0.76rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; }

.form__field input,
.form__field textarea,
.form__field select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; outline: none;
}

.form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23555555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form__field select option { background: var(--bg-3); }
.form__field input::placeholder,
.form__field textarea::placeholder { color: var(--text-3); }

.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  border-color: rgba(65,105,245,0.5);
  box-shadow: 0 0 0 3px rgba(65,105,245,0.1);
}

.form__field textarea { resize: vertical; min-height: 100px; }

.form-success { display: none; text-align: center; padding: 48px 32px; background: var(--surface); border: 1px solid rgba(173,255,47,0.25); border-radius: var(--radius); }
.form-success.show { display: block; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--lime); }
.form-success p { color: var(--text-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #080808; border-top: 1px solid var(--border); padding: 72px 0 0; }

.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 80px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer__brand p {
  font-size: 0.875rem; color: var(--text-2);
  line-height: 1.75; margin-bottom: 28px; margin-top: 16px;
}

.footer__socials { display: flex; gap: 10px; }

.footer__socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-3); transition: all 0.2s;
}
.footer__socials a:hover { color: var(--blue-light); border-color: rgba(65,105,245,0.4); background: var(--surface); }

.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.footer__col h5 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 16px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col a { font-size: 0.875rem; color: var(--text-2); transition: color 0.2s; }
.footer__col a:hover { color: var(--white); }

.footer__contact-list li { display: flex; align-items: flex-start; gap: 0; }
.footer__contact-list span { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; }

.footer__bottom {
  display: flex; align-items: center;
  justify-content: space-between; padding: 24px 0;
}

.footer__bottom p { font-size: 0.77rem; color: var(--text-3); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 0.77rem; color: var(--text-3); transition: color 0.2s; }
.footer__legal a:hover { color: var(--text-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .showcase__grid { grid-template-columns: repeat(2, 1fr); }
  .why__inner { gap: 48px; }
  .work-item { grid-template-columns: 110px 1fr; }
  .work-item__pills { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 768px) {
  :root { --section-py: 68px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__headline { font-size: clamp(2.8rem, 9vw, 4.5rem); }
  .typewriter-wrap { min-width: 200px; }
  .hero__stats { gap: 20px; }
  .stat__div { height: 32px; }

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

  .showcase__grid { grid-template-columns: 1fr 1fr; }

  .why__inner,
  .cta-band__inner { grid-template-columns: 1fr; gap: 40px; }

  .work-item { grid-template-columns: 1fr; gap: 12px; }
  .work-item__tag { width: fit-content; }
  .work-item__pills { justify-content: flex-start; }

  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .showcase__grid { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   HERO VIDEO BACKGROUND
   ============================================================ */
.hero__video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}

/* ============================================================
   WORLD MAP
   ============================================================ */
.world-map {
  margin: 48px 0 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.world-map__canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2.2 / 1;
  overflow: hidden;
  background: #0e0e0e;
}

.world-map__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.globe-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px 20px 0 0;
}

.globe-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.globe-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font);
  color: #fff;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.globe-pin--hq {
  color: var(--lime);
  border-color: rgba(173,255,47,0.4);
  background: rgba(0,0,0,0.65);
  font-size: 11px;
}

.world-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Map labels */
.map-lbl {
  font-size: 9px;
  font-weight: 600;
  fill: rgba(255,255,255,0.55);
  font-family: var(--font);
  letter-spacing: 0.04em;
  pointer-events: none;
}

.map-lbl--lime { fill: rgba(173,255,47,0.8); }

.map-lbl-hq {
  font-size: 10px;
  font-weight: 700;
  fill: var(--lime);
  font-family: var(--font);
  letter-spacing: 0.06em;
  pointer-events: none;
}

/* Pin pulse animations */
.pin-pulse {
  animation: pin-pulse-blue 2.5s ease-out infinite;
  animation-delay: var(--pin-delay, 0s);
}

.pin-pulse-lime {
  animation: pin-pulse-lime 2.5s ease-out infinite;
  animation-delay: var(--pin-delay, 0s);
}

.pin-pulse-hq {
  animation: pin-pulse-lime 2s ease-out infinite;
}

.pin-pulse-hq2 {
  animation: pin-pulse-lime 2s ease-out infinite;
  animation-delay: 0.6s;
}

@keyframes pin-pulse-blue {
  0%   { r: 8;  opacity: 0.25; }
  60%  { r: 20; opacity: 0; }
  100% { r: 20; opacity: 0; }
}

@keyframes pin-pulse-lime {
  0%   { r: 8;  opacity: 0.25; }
  60%  { r: 22; opacity: 0; }
  100% { r: 22; opacity: 0; }
}

/* Connection line dash animation */
.map-conn {
  stroke-dashoffset: 200;
  animation: dash-flow 3s linear infinite;
}

.map-conn--near {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  animation: none;
  opacity: 0.7;
}

@keyframes dash-flow {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}

/* Country chips */
.country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
}

.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 5px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.2s;
}

.country-chip:hover {
  border-color: rgba(65,105,245,0.4);
  color: var(--text);
}

.country-chip--hq {
  background: rgba(173,255,47,0.08);
  border-color: rgba(173,255,47,0.3);
  color: var(--lime);
}

.country-chip span {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1px 6px;
  background: var(--lime);
  color: #000;
  border-radius: 100px;
  font-weight: 800;
}

/* ============================================================
   INNER PAGE — shared styles for services, about, work pages
   ============================================================ */

/* Page hero */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--bg);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-hero__bg .hero__orb--1 {
  width: 500px; height: 500px;
  top: -200px; left: -150px;
  opacity: 0.7;
}

.page-hero__bg .hero__orb--2 {
  width: 400px; height: 400px;
  top: -80px; right: -100px;
  opacity: 0.5;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 24px;
  padding: 4px 14px;
  border: 1px solid rgba(173,255,47,0.3);
  border-radius: 100px;
  background: rgba(173,255,47,0.06);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.page-hero__sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.8;
}

/* Inner page breadcrumb nav indicator */
.nav__links a[aria-current="page"] {
  color: var(--lime);
  background: rgba(173,255,47,0.06);
}

/* ---- Services page ---- */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}

.service-detail__inner.reverse { direction: rtl; }
.service-detail__inner.reverse > * { direction: ltr; }

.service-detail__meta {}

.service-detail__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  display: inline-block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 20px;
  opacity: 0.35;
}

.service-detail__tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid rgba(173,255,47,0.3); border-radius: 100px;
  background: rgba(173,255,47,0.06);
}

.service-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--white);
}

.service-detail__desc {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 28px;
}

.service-detail__includes h4 {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 12px;
}

.service-detail__includes ul {
  display: flex; flex-direction: column; gap: 8px;
}

.service-detail__includes li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; color: var(--text-2);
}

.service-detail__includes li::before {
  content: '';
  display: block; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-mid);
  flex-shrink: 0;
}

.service-detail__body {}

.service-detail__graphic {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.service-detail__graphic::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(65,105,245,0.06), rgba(173,255,47,0.04));
  pointer-events: none;
}

.service-detail__icon-big {
  width: 72px; height: 72px;
  color: var(--blue-light);
}

.service-detail__tech {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}

.tech-pill {
  font-size: 0.72rem; font-weight: 600;
  padding: 4px 12px;
  background: rgba(65,105,245,0.1);
  border: 1px solid rgba(65,105,245,0.2);
  border-radius: 100px;
  color: var(--blue-light);
}

.tech-pill--lime {
  background: rgba(173,255,47,0.08);
  border-color: rgba(173,255,47,0.2);
  color: var(--lime);
}

/* Process steps */
.process-section { padding: 80px 0; background: var(--bg-2); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: all 0.28s;
}

.process-step:hover {
  border-color: rgba(65,105,245,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue-mid);
  margin-bottom: 12px;
}

.process-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.process-step p  { font-size: 0.85rem; color: var(--text-2); line-height: 1.7; }

/* ---- About page ---- */
.timeline { padding: 80px 0; }

.timeline__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__list::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--blue) 10%, var(--lime) 90%, transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 28px 0;
  align-items: start;
  transition: all 0.22s;
}

.timeline-item:hover .timeline-item__content {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
}

.timeline-item__year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: right;
  padding-right: 48px;
  display: inline-block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-top: 2px;
  position: relative;
}

.timeline-item__year::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 10px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--bg);
  box-shadow: 0 0 12px rgba(65,105,245,0.6);
}

.timeline-item--milestone .timeline-item__year::after {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(173,255,47,0.5);
}

.timeline-item__content { padding-top: 0; }

.timeline-item__content h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 6px;
  line-height: 1.3;
}

.timeline-item__content p {
  font-size: 0.865rem; color: var(--text-2);
  line-height: 1.7;
}

.timeline-item__tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lime); padding: 2px 8px;
  background: rgba(173,255,47,0.08);
  border: 1px solid rgba(173,255,47,0.2);
  border-radius: 100px; margin-bottom: 8px;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.28s;
}

.value-card:hover {
  border-color: rgba(65,105,245,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}

.value-card__icon {
  font-size: 2.2rem; margin-bottom: 16px;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem; margin-bottom: 12px; color: var(--white);
}

.value-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }

/* ---- Work/Case Studies page ---- */
.case-study {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.28s;
  margin-bottom: 24px;
}

.case-study:hover {
  border-color: rgba(65,105,245,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.case-study__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 36px 24px;
  border-bottom: 1px solid var(--border);
}

.case-study__tags { display: flex; gap: 8px; flex-wrap: wrap; }

.case-study__tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-light); padding: 4px 12px;
  background: rgba(65,105,245,0.1); border: 1px solid rgba(65,105,245,0.2);
  border-radius: 100px;
}

.case-study__tag--lime {
  color: var(--lime);
  background: rgba(173,255,47,0.08);
  border-color: rgba(173,255,47,0.2);
}

.case-study__title {
  font-family: var(--font-display);
  font-size: 1.4rem; line-height: 1.3;
  letter-spacing: -0.02em; color: var(--white);
  margin-top: 12px;
}

.case-study__body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.case-study__col {
  padding: 28px 32px;
  border-right: 1px solid var(--border);
}

.case-study__col:last-child { border-right: none; }

.case-study__col h5 {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 12px;
}

.case-study__col p {
  font-size: 0.875rem; color: var(--text-2); line-height: 1.7;
}

.case-study__metrics {
  display: flex; flex-direction: column; gap: 12px;
}

.metric {
  display: flex; align-items: center; gap: 10px;
}

.metric__val {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  color: var(--white); line-height: 1; white-space: nowrap;
}

.metric__val--lime { color: var(--lime); }
.metric__val--blue { color: var(--blue-light); }

.metric__label { font-size: 0.78rem; color: var(--text-3); font-weight: 500; }

.case-study__footer {
  padding: 20px 32px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

/* Inner page CTA */
.page-cta {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
}

.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15; letter-spacing: -0.025em;
  margin-bottom: 20px; color: var(--white);
}

.page-cta p {
  font-size: 1.05rem; color: var(--text-2);
  max-width: 520px; margin: 0 auto 36px;
  line-height: 1.8;
}

.page-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Responsive — inner pages */
@media (max-width: 900px) {
  .service-detail__inner { grid-template-columns: 1fr; gap: 40px; }
  .service-detail__inner.reverse { direction: ltr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .case-study__body { grid-template-columns: 1fr; }
  .case-study__col { border-right: none; border-bottom: 1px solid var(--border); }
  .case-study__col:last-child { border-bottom: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .timeline__list::before { left: 60px; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .case-study__header { flex-direction: column; }
  .timeline__list::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .timeline-item__year { text-align: left; padding-right: 0; font-size: 0.85rem; }
  .timeline-item__year::after { display: none; }
  .world-svg { min-height: 200px; }
}
