/* ============================================================
   RAVIM - AI Consulting & Software Implementation
   Master Stylesheet
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Variables
   ------------------------------------------------------------ */
:root {
  /* Primary palette — clean blue theme */
  --color-primary: #1E54E3;
  --color-primary-light: #4B7BF5;
  --color-accent: #06B6D4;
  --color-secondary: #0EA5E9;
  --color-secondary-light: #7DD3FC;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1E54E3 0%, #0EA5E9 100%);
  --gradient-hero: linear-gradient(135deg, #1E54E3 0%, #06B6D4 100%);
  --gradient-subtle: linear-gradient(135deg, #EBF2FF 0%, #E0F7FA 100%);

  /* Neutrals */
  --color-bg: #FFFFFF;
  --color-bg-soft: #F0F6FF;
  --color-dark: #0B1437;
  --color-text: #0F172A;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(30, 84, 227, 0.06);
  --shadow-hover: 0 8px 40px rgba(30, 84, 227, 0.14);

  /* Typography */
  --font-heading: 'Outfit', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;

  /* Motion */
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------
   2. Global Resets
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ------------------------------------------------------------
   3. Typography Scale
   ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   4. Utility Classes
   ------------------------------------------------------------ */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-subtle);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 80px 0;
}

.section-soft {
  background-color: var(--color-bg-soft);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal lines on soft sections */
.section-soft::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(30, 84, 227, 0.015) 60px,
    rgba(30, 84, 227, 0.015) 61px
  );
  pointer-events: none;
}

.section-dark {
  background-color: var(--color-dark);
  color: #FFFFFF;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #FFFFFF;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.section-header p {
  margin-top: 12px;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-reveal),
              box-shadow 0.35s var(--ease-reveal);
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30, 84, 227, 0.3);
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease-reveal),
              border-color 0.35s var(--ease-reveal),
              transform 0.35s var(--ease-reveal),
              box-shadow 0.35s var(--ease-reveal);
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.35s var(--ease-reveal);
  z-index: -1;
}

.btn-outline:hover {
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30, 84, 227, 0.3);
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-outline:active {
  transform: translateY(0);
}

/* ------------------------------------------------------------
   6. Cards
   ------------------------------------------------------------ */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-reveal),
              box-shadow 0.45s var(--ease-reveal);
}

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

.card-glow {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
  transition: transform 0.45s var(--ease-reveal),
              box-shadow 0.45s var(--ease-reveal),
              border-color 0.45s var(--ease-reveal);
}

.card-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s var(--ease-reveal);
  pointer-events: none;
}

.card-glow:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

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

/* ------------------------------------------------------------
   7. Navbar
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: background-color 0.35s var(--ease-reveal),
              padding 0.35s var(--ease-reveal),
              box-shadow 0.35s var(--ease-reveal),
              backdrop-filter 0.35s var(--ease-reveal);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(30, 84, 227, 0.06);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 101;
}

.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease-reveal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.35s var(--ease-reveal);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-primary);
}

.nav-cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 101;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-reveal),
              opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-reveal);
  z-index: 99;
}

.nav-menu.open {
  transform: translateX(0);
}

.nav-menu .nav-menu-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.3s var(--ease-reveal);
}

.nav-menu .nav-menu-link:hover,
.nav-menu .nav-menu-link.active {
  color: var(--color-primary);
}

.nav-menu .nav-menu-cta {
  margin-top: 16px;
}

/* Desktop Navbar */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  .nav-menu {
    display: none;
  }
}

/* ------------------------------------------------------------
   8. Hero Section
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #EBF2FF 0%, #FFFFFF 60%);
}

/* Dot grid pattern behind hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--color-primary) 0.8px, transparent 0.8px);
  background-size: 28px 28px;
  opacity: 0.04;
  pointer-events: none;
}

/* Full-width split grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

.hero-chip svg,
.hero-chip .chip-check {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ── Hero Visual — Complexity → Simplicity ───── */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(30, 84, 227, 0.1);
  box-shadow: 0 8px 48px rgba(30, 84, 227, 0.08);
}

/* Animated mesh background */
.hv-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hv-mesh-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(30, 84, 227, 0.06), transparent);
  height: 1px;
  width: 100%;
}

.hv-mesh-line-1 { top: 16%; animation: mesh-drift 12s ease-in-out infinite; }
.hv-mesh-line-2 { top: 33%; animation: mesh-drift 14s ease-in-out infinite reverse; }
.hv-mesh-line-3 { top: 50%; animation: mesh-drift 10s ease-in-out infinite; }
.hv-mesh-line-4 { top: 66%; animation: mesh-drift 16s ease-in-out infinite reverse; }
.hv-mesh-line-5 { top: 83%; animation: mesh-drift 13s ease-in-out infinite; }
.hv-mesh-line-6 {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
  background: linear-gradient(180deg, transparent, rgba(30, 84, 227, 0.06), transparent);
  animation: mesh-drift-v 15s ease-in-out infinite;
}

@keyframes mesh-drift {
  0%, 100% { transform: translateX(0) scaleX(1); opacity: 0.5; }
  50%      { transform: translateX(20px) scaleX(1.05); opacity: 1; }
}

@keyframes mesh-drift-v {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(10px); opacity: 0.8; }
}

/* SVG flow lines */
.hv-flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hv-flow-path {
  stroke-dashoffset: 0;
  animation: flow-dash 3s linear infinite;
}

@keyframes flow-dash {
  to { stroke-dashoffset: -20; }
}

/* Chaotic input nodes (left side) */
.hv-complexity {
  position: absolute;
  left: 4%;
  top: 8%;
  bottom: 8%;
  width: 22%;
  z-index: 3;
}

.hv-node {
  position: absolute;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(30, 84, 227, 0.1);
}

.hv-node-1 { top: 2%;  left: 20%;  animation: node-float-1 6s ease-in-out infinite; }
.hv-node-2 { top: 26%; left: 0%;   animation: node-float-2 7s ease-in-out infinite; }
.hv-node-3 { top: 48%; left: 30%;  animation: node-float-3 5s ease-in-out infinite; }
.hv-node-4 { top: 70%; left: 5%;   animation: node-float-1 8s ease-in-out infinite reverse; }
.hv-node-5 { top: 88%; left: 25%;  animation: node-float-2 6s ease-in-out infinite reverse; }

@keyframes node-float-1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(4px, -6px); }
}
@keyframes node-float-2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-5px, 4px); }
}
@keyframes node-float-3 {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(6px, 3px); }
  66%      { transform: translate(-3px, -5px); }
}

/* Central AI processing hub */
.hv-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
}

.hv-hub-ring {
  position: absolute;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hv-hub-ring-outer {
  width: 100px;
  height: 100px;
  border: 1.5px solid rgba(30, 84, 227, 0.15);
  animation: hub-spin 20s linear infinite;
  background: radial-gradient(circle, rgba(30, 84, 227, 0.03) 0%, transparent 70%);
}

.hv-hub-ring-outer::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.hv-hub-ring-inner {
  width: 76px;
  height: 76px;
  border: 1.5px dashed rgba(6, 182, 212, 0.2);
  animation: hub-spin 14s linear infinite reverse;
}

.hv-hub-core {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(30, 84, 227, 0.35);
  position: relative;
  z-index: 5;
  animation: hub-pulse 3s ease-in-out infinite;
}

@keyframes hub-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes hub-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(30, 84, 227, 0.35); }
  50%      { box-shadow: 0 8px 48px rgba(30, 84, 227, 0.55), 0 0 0 12px rgba(30, 84, 227, 0.06); }
}

/* Clean output result cards (right side) */
.hv-output {
  position: absolute;
  right: 4%;
  top: 10%;
  bottom: 10%;
  width: 28%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
}

.hv-result {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(30, 84, 227, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hv-result:hover {
  transform: translateX(-4px);
  box-shadow: 0 6px 28px rgba(30, 84, 227, 0.15);
}

.hv-result-1 { animation: result-slide 7s ease-in-out infinite; }
.hv-result-2 { animation: result-slide 7s ease-in-out infinite 1s; }
.hv-result-3 { animation: result-slide 7s ease-in-out infinite 2s; }

@keyframes result-slide {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-3px); }
}

.hv-result-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--gradient-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hv-result-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hv-result-text strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
}

.hv-result-text span {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Floating particles */
.hv-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.hv-particle-1 { width: 6px; height: 6px; background: var(--color-primary); opacity: 0.3; top: 20%; left: 35%; animation: particle-float 8s ease-in-out infinite; }
.hv-particle-2 { width: 4px; height: 4px; background: var(--color-accent); opacity: 0.4; top: 60%; left: 38%; animation: particle-float 6s ease-in-out infinite 1s; }
.hv-particle-3 { width: 5px; height: 5px; background: var(--color-secondary); opacity: 0.25; top: 35%; left: 62%; animation: particle-float 7s ease-in-out infinite 2s; }
.hv-particle-4 { width: 3px; height: 3px; background: var(--color-primary); opacity: 0.35; top: 75%; left: 58%; animation: particle-float 9s ease-in-out infinite 0.5s; }
.hv-particle-5 { width: 5px; height: 5px; background: var(--color-accent); opacity: 0.2; top: 15%; left: 55%; animation: particle-float 5s ease-in-out infinite 1.5s; }
.hv-particle-6 { width: 4px; height: 4px; background: var(--color-secondary); opacity: 0.3; top: 85%; left: 42%; animation: particle-float 10s ease-in-out infinite 3s; }

@keyframes particle-float {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  25%      { transform: translate(8px, -12px); opacity: 0.5; }
  50%      { transform: translate(-4px, -20px); opacity: 0.3; }
  75%      { transform: translate(6px, -8px); opacity: 0.4; }
}

/* Hide old static illustration */
.hero-illustration {
  display: none;
}

/* ── Responsive hero ───────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    order: 1;
  }

  .hero-text h1 { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-chips { justify-content: center; }

  .hero-visual {
    order: 2;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    aspect-ratio: 3 / 2;
  }

  .hv-node { width: 34px; height: 34px; border-radius: 8px; }
  .hv-node svg { width: 14px; height: 14px; }
  .hv-result { padding: 10px 12px; gap: 8px; border-radius: 10px; }
  .hv-result-icon { width: 30px; height: 30px; min-width: 30px; border-radius: 8px; }
  .hv-result-icon svg { width: 14px; height: 14px; }
  .hv-result-text strong { font-size: 0.9rem; }
  .hv-result-text span { font-size: 0.65rem; }
  .hv-hub-core { width: 44px; height: 44px; border-radius: 12px; }
  .hv-hub-core svg { width: 22px; height: 22px; }
  .hv-hub-ring-outer { width: 80px; height: 80px; }
  .hv-hub-ring-inner { width: 60px; height: 60px; }
}

@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .hv-complexity { display: none; }
  .hv-flow-lines { display: none; }
  .hv-particle { display: none; }
  .hv-output { width: 60%; right: 20%; top: 15%; bottom: 15%; }
  .hv-hub { left: 25%; }
}

/* ------------------------------------------------------------
   9. Floating Orbs (soft ambient background)
   ------------------------------------------------------------ */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(30, 84, 227, 0.08);
  top: -10%;
  right: -10%;
  animation: float-1 18s ease-in-out infinite;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(6, 182, 212, 0.07);
  bottom: -5%;
  left: -8%;
  animation: float-2 22s ease-in-out infinite;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(14, 165, 233, 0.06);
  top: 40%;
  left: 50%;
  animation: float-3 20s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-30px, 40px) scale(1.05); }
  66%      { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(0.95); }
  66%      { transform: translate(-20px, 30px) scale(1.08); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-25px, -35px) scale(1.1); }
  66%      { transform: translate(35px, 25px) scale(0.9); }
}

/* ------------------------------------------------------------
   10. Scroll Reveal System
   ------------------------------------------------------------ */
/* Reveal elements start visible — JS adds .reveal-ready to activate animations */
.reveal-ready .reveal[data-reveal="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-ready .reveal[data-reveal="fade-left"] {
  opacity: 0;
  transform: translateX(-30px);
}

.reveal-ready .reveal[data-reveal="fade-right"] {
  opacity: 0;
  transform: translateX(30px);
}

.reveal-ready .reveal[data-reveal="scale-up"] {
  opacity: 0;
  transform: scale(0.95);
}

.reveal {
  transition: opacity 0.7s var(--ease-reveal),
              transform 0.7s var(--ease-reveal);
}

.reveal.visible {
  opacity: 1 !important;
  transform: none !important;
}

.reveal-ready .stagger-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-reveal),
              transform 0.6s var(--ease-reveal);
}

.stagger-child.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ------------------------------------------------------------
   11. Hero Word Reveal
   ------------------------------------------------------------ */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: word-in 0.6s var(--ease-reveal) forwards;
}

@keyframes word-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-fade-in {
  opacity: 0;
  animation: hero-sub-in 0.8s var(--ease-reveal) forwards;
}

@keyframes hero-sub-in {
  to {
    opacity: 1;
  }
}

/* ------------------------------------------------------------
   12. Stats Section
   ------------------------------------------------------------ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: transform 0.35s var(--ease-reveal),
              box-shadow 0.35s var(--ease-reveal);
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.counter {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

/* ------------------------------------------------------------
   13. Services Grid
   ------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-reveal),
              box-shadow 0.45s var(--ease-reveal),
              border-color 0.45s var(--ease-reveal);
}

/* Gradient accent line at top of card */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s var(--ease-reveal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(30, 84, 227, 0.15);
}

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

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  color: #FFFFFF;
  stroke: #FFFFFF;
}

.service-card h3,
.card-glow h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.service-card p,
.card-glow p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--gradient-subtle);
  border: 1px solid rgba(30, 84, 227, 0.1);
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.service-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.service-link:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(30, 84, 227, 0.25);
}

.service-link:hover svg {
  transform: translateX(3px);
  stroke: #fff;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------------------------
   14. How We Work / Process Steps
   ------------------------------------------------------------ */
/* ── Timeline ─────────────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 3px;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.3s ease;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-left: 0;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(30, 84, 227, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(30, 84, 227, 0.4);
}

.timeline-card {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 28px 24px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -8px;
  width: 16px;
  height: 16px;
  background: var(--color-bg);
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transform: rotate(45deg);
  z-index: 1;
}

.timeline-item:hover .timeline-card {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-light);
}

.timeline-step-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tags span {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-subtle);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

/* Desktop alternating layout */
@media (min-width: 768px) {
  .timeline {
    max-width: 900px;
    padding: 20px 0;
  }

  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    width: 50%;
    margin-bottom: 48px;
  }

  /* Odd items — left side */
  .timeline-item:nth-child(odd) {
    margin-left: 0;
    padding-right: 48px;
    flex-direction: row-reverse;
    text-align: right;
  }

  .timeline-item:nth-child(odd) .timeline-marker {
    position: absolute;
    right: -28px;
  }

  .timeline-item:nth-child(odd) .timeline-card::before {
    left: auto;
    right: -8px;
    border-left: none;
    border-bottom: none;
    border-right: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
  }

  .timeline-item:nth-child(odd) .timeline-tags {
    justify-content: flex-end;
  }

  /* Even items — right side */
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 48px;
  }

  .timeline-item:nth-child(even) .timeline-marker {
    position: absolute;
    left: -28px;
  }
}

@media (max-width: 767px) {
  .timeline-card::before {
    display: none;
  }

  .timeline-marker {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
  }

  .timeline-marker svg {
    width: 20px;
    height: 20px;
  }

  .timeline-card {
    padding: 22px 20px 18px;
  }

  .timeline-item {
    gap: 16px;
    margin-bottom: 28px;
  }
}

/* ------------------------------------------------------------
   15. Case Study Cards
   ------------------------------------------------------------ */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.case-study-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-reveal),
              box-shadow 0.45s var(--ease-reveal);
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.case-study-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gradient-subtle);
}

.case-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  background: var(--gradient-subtle);
  display: block;
}

.case-study-body {
  padding: 28px;
}

.case-study-industry {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-subtle);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.case-study-body h3 {
  margin-bottom: 12px;
}

.case-study-body p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.case-study-result {
  padding: 16px;
  border-left: 3px solid transparent;
  border-image: var(--gradient-primary) 1;
  background: var(--color-bg-soft);
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
}

.case-study-result .result-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.case-study-result .result-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .case-studies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Case study detail page */
.case-study-detail {
  max-width: 800px;
  margin: 0 auto;
}

.case-study-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0;
}

@media (min-width: 768px) {
  .case-study-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-study-quote {
  padding: 32px;
  background: var(--color-bg-soft);
  border-radius: 16px;
  border-left: 4px solid var(--color-primary);
  margin: 32px 0;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.case-study-quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Tech tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tech-tag {
  padding: 4px 12px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   16. Industries Grid
   ------------------------------------------------------------ */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.industry-card {
  padding: 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: transform 0.45s var(--ease-reveal),
              box-shadow 0.45s var(--ease-reveal);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.industry-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.industry-icon svg {
  width: 100%;
  height: 100%;
}

.industry-card h3 {
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.industry-use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.use-case-tag {
  padding: 4px 10px;
  background: var(--gradient-subtle);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 9999px;
}

@media (min-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------------------------
   17. Testimonials / Carousel
   ------------------------------------------------------------ */
.carousel {
  overflow: hidden;
  position: relative;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  opacity: 0.4;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial-card {
  padding: 48px 40px;
  text-align: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  margin: 8px 24px;
  box-shadow: var(--shadow-card);
}

.testimonial-quote-icon,
.testimonial-quote {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  color: var(--color-primary-light);
  opacity: 0.5;
  display: block;
}

.testimonial-text,
.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto 24px;
  padding: 0;
}

.testimonial-author,
.testimonial-card cite strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  font-style: normal;
}

.testimonial-role,
.testimonial-card cite span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  display: block;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card cite {
  font-style: normal;
  display: block;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  background: var(--gradient-subtle);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease-reveal),
              border-color 0.3s var(--ease-reveal),
              color 0.3s var(--ease-reveal);
}

.carousel-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease-reveal),
              transform 0.3s var(--ease-reveal);
}

.carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* Carousel shows 1 card at a time on all screen sizes */

/* ------------------------------------------------------------
   18. Tech Stack Marquee
   ------------------------------------------------------------ */
.marquee-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.marquee-inner {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track:hover .marquee-inner {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-item img,
.marquee-item svg {
  width: 20px;
  height: 20px;
}

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

/* Tech group headings for services/about pages */
.tech-group {
  margin-bottom: 24px;
}

.tech-group-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.tech-group-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ------------------------------------------------------------
   19. CTA Banner
   ------------------------------------------------------------ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
}

/* Dot grid overlay on CTA */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #FFFFFF;
  color: var(--color-primary);
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.cta-banner .btn-primary::after {
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(30, 84, 227, 0.1) 50%,
    transparent 100%
  );
}

.cta-banner .cta-secondary-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s var(--ease-reveal);
}

.cta-banner .cta-secondary-link:hover {
  color: #FFFFFF;
}

.cta-banner .orb {
  filter: blur(100px);
  opacity: 0.3;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 100px 0;
  }
}

/* ------------------------------------------------------------
   20. FAQ Accordion
   ------------------------------------------------------------ */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  gap: 16px;
  transition: color 0.3s var(--ease-reveal);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform 0.35s var(--ease-reveal),
              background 0.35s var(--ease-reveal);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gradient-primary);
  color: #FFFFFF;
}

.faq-body,
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-reveal);
}

.faq-item.open .faq-body,
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-body-inner {
  overflow: hidden;
}

.faq-body-inner p {
  padding-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   21. Footer
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s var(--ease-reveal);
}

.footer-links a:hover {
  color: var(--color-primary-light);
}

.footer-newsletter-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 0.88rem;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form input:focus {
  border-color: var(--color-primary-light);
}

.footer-newsletter-form button {
  padding: 10px 20px;
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-reveal);
}

.footer-newsletter-form button:hover {
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.footer-bottom-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.3s var(--ease-reveal),
              color 0.3s var(--ease-reveal);
}

.social-links a:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* ------------------------------------------------------------
   22. Contact Page
   ------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-info {
  order: 2;
}

.contact-form-wrapper {
  order: 1;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-info-item span {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-info-item a {
  color: var(--color-primary);
  transition: color 0.3s var(--ease-reveal);
}

.contact-info-item a:hover {
  color: var(--color-accent);
}

.contact-trust {
  margin-top: 32px;
  padding: 20px;
  background: var(--color-bg-soft);
  border-radius: 12px;
}

.contact-trust p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.contact-trust p:last-child {
  margin-bottom: 0;
}

.contact-illustration {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group label .required {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--color-text);
  transition: border-color 0.3s var(--ease-reveal),
              box-shadow 0.3s var(--ease-reveal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 84, 227, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-error {
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-top: 4px;
}

.form-success-card {
  padding: 48px 32px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #86efac;
  border-radius: 16px;
  text-align: center;
  animation: successFadeIn 0.5s ease-out;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-success-icon {
  margin-bottom: 20px;
}

.form-success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #065f46;
  margin-bottom: 12px;
}

.form-success-text {
  color: #047857;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 24px;
}

.form-success-contact {
  padding-top: 20px;
  border-top: 1px solid #bbf7d0;
}

.form-success-contact p {
  color: #6b7280;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.form-success-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.form-success-email:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr 1.5fr;
  }

  .contact-info {
    order: 1;
  }

  .contact-form-wrapper {
    order: 2;
  }
}

/* ------------------------------------------------------------
   23. Blog Cards
   ------------------------------------------------------------ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.blog-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-reveal),
              box-shadow 0.45s var(--ease-reveal);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  background: var(--gradient-subtle);
  display: block;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-category {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gradient-subtle);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.blog-card-body h3 {
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: var(--color-text);
  transition: color 0.3s var(--ease-reveal);
}

.blog-card-body h3 a:hover {
  color: var(--color-primary);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-meta svg {
  width: 14px;
  height: 14px;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Blog detail page */
.blog-detail {
  max-width: 760px;
  margin: 0 auto;
}

.blog-detail-header {
  margin-bottom: 40px;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.blog-post-hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin: 24px 0 32px;
  display: block;
}

.blog-detail-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.blog-detail-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-detail-content p {
  margin-bottom: 20px;
  line-height: 1.85;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.blog-detail-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--color-text-muted);
  list-style: disc;
}

.blog-detail-content ol li {
  list-style: decimal;
}

.blog-detail-content blockquote {
  padding: 24px 28px;
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  font-style: italic;
}

.blog-detail-content blockquote p {
  color: var(--color-text);
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   24. About Page
   ------------------------------------------------------------ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.team-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-reveal),
              box-shadow 0.45s var(--ease-reveal);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  background: var(--gradient-subtle);
  display: block;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.88rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.3s var(--ease-reveal);
}

.team-linkedin:hover {
  color: var(--color-accent);
}

.team-linkedin svg {
  width: 16px;
  height: 16px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.value-card {
  padding: 32px;
  background: var(--color-bg-soft);
  border-radius: 16px;
}

.value-card h3 {
  margin-bottom: 12px;
  color: var(--color-primary);
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* About story section */
.about-story {
  max-width: 760px;
}

.about-story p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-mission {
  padding: 40px;
  background: var(--gradient-subtle);
  border-radius: 16px;
  margin: 40px 0;
}

.about-mission p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

/* Certifications / Partners */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.partner-badge {
  padding: 16px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-reveal);
}

.partner-badge:hover {
  opacity: 1;
}

.partner-badge img {
  height: 40px;
  width: auto;
}

/* ------------------------------------------------------------
   25. Breadcrumbs
   ------------------------------------------------------------ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 16px 0;
}

.breadcrumb a {
  color: var(--color-primary);
  transition: color 0.3s var(--ease-reveal);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-separator {
  color: var(--color-border);
  font-size: 0.8rem;
}

.breadcrumb-current {
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   26. Cursor Glow
   ------------------------------------------------------------ */
.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(30, 84, 227, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* ------------------------------------------------------------
   27. Page Load (handled in section 2, body opacity)
   ------------------------------------------------------------ */
/* body opacity 0 and body.loaded opacity 1 defined above in Global Resets */

/* ------------------------------------------------------------
   28. Page-specific helpers
   ------------------------------------------------------------ */

/* Inner page hero (smaller variant for non-home pages) */
.page-hero {
  padding: 120px 0 56px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #EBF2FF 0%, #FFFFFF 100%);
}

/* Dot grid pattern on inner page heroes */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--color-primary) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
  opacity: 0.035;
  pointer-events: none;
}

/* Decorative corner accent shapes */
.page-hero::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 84, 227, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  position: relative;
  z-index: 1;
}

.page-hero .section-badge {
  position: relative;
  z-index: 1;
}

.page-hero-centered {
  text-align: center;
}

.page-hero-centered p {
  margin-left: auto;
  margin-right: auto;
}

/* Service detail page */
.service-detail {
  max-width: 800px;
  margin: 0 auto;
}

.service-detail h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.service-detail ul {
  padding-left: 0;
  margin-bottom: 24px;
}

.service-detail li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.service-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

/* Deliverables checklist */
.deliverables-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-text);
}

.deliverable-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .deliverables-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Loading spinner for form */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Skip to content */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 200;
  transition: top 0.3s ease;
}

.skip-to-content:focus {
  top: 0;
}

/* ------------------------------------------------------------
   30. Missing utility & component classes
   ------------------------------------------------------------ */

/* Hero subtitle starts hidden, JS adds .hero-fade-in to animate in */
.hero-subtitle {
  opacity: 0;
}

/* Section subtitle (muted text below H2) */
.section-subtitle {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Stagger reveal container (JS targets children) */
.reveal-stagger {
  /* No visual style needed — JS observes this container */
}

/* Hero chips / generic chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

.chip svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Check list (✓ bullet points) */
.check-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.6;
}

.check-list li svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 3px;
}

/* Why RAVIM content wrapper */
.why-ravim-content {
  max-width: 900px;
  margin: 0 auto;
}

.why-ravim-content > p {
  line-height: 1.8;
  margin-bottom: 8px;
}

/* CTA content & actions */
.cta-content {
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* White CTA button for dark backgrounds */
.btn-cta-white {
  background: #FFFFFF !important;
  color: var(--color-primary) !important;
}

.btn-cta-white:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* Case study card badges & results */
.case-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-subtle);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.case-results {
  margin-top: 12px;
}

.case-stat {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Industry tags (inside industry cards) */
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.industry-tags span {
  padding: 3px 10px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Tech pills (marquee / tech stack section) */
.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Tech Stack Tabs ──────────────────────────────────── */
.tech-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.tech-tab-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tech-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tech-tab:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

.tech-tab.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(30, 84, 227, 0.25);
}

.tech-tab.active svg {
  stroke: #fff;
}

.tech-tab svg {
  flex-shrink: 0;
  transition: stroke 0.3s ease;
}

.tech-tab-panels {
  position: relative;
}

.tech-tab-panel {
  display: none;
  animation: techFadeIn 0.35s ease;
}

.tech-tab-panel.active {
  display: block;
}

@keyframes techFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tech-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.tech-card-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tech-card-mini:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-light);
}

.tech-icon-sm {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.tech-card-mini span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .tech-tab-nav {
    gap: 6px;
    margin-bottom: 24px;
  }

  .tech-tab {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .tech-tab svg {
    display: none;
  }

  .tech-grid-compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .tech-card-mini {
    padding: 10px 12px;
    gap: 8px;
  }

  .tech-icon-sm {
    width: 22px;
    height: 22px;
  }

  .tech-card-mini span {
    font-size: 0.78rem;
  }
}

/* Carousel prev / next buttons */
.carousel-prev,
.carousel-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s var(--ease-reveal),
              border-color 0.3s var(--ease-reveal),
              color 0.3s var(--ease-reveal);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.carousel-prev svg,
.carousel-next svg {
  width: 20px;
  height: 20px;
}

/* Hero decorative orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(30, 84, 227, 0.12);
  top: -15%;
  right: -10%;
  animation: float-1 18s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(6, 182, 212, 0.12);
  bottom: -10%;
  left: -8%;
  animation: float-2 22s ease-in-out infinite;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(14, 165, 233, 0.1);
  top: 30%;
  left: 50%;
  animation: float-3 20s ease-in-out infinite;
}

/* CTA decorative orbs */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.3;
}

.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.2);
  top: -30%;
  right: -10%;
  animation: float-1 16s ease-in-out infinite;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.15);
  bottom: -25%;
  left: -5%;
  animation: float-2 20s ease-in-out infinite;
}

/* Inner page hero illustration */
.page-hero-illustration {
  max-width: 560px;
  width: 100%;
  height: auto;
  margin-top: 32px;
  display: block;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.page-hero-centered .page-hero-illustration {
  margin-left: auto;
  margin-right: auto;
}

/* Case study detail hero image */
.case-study-hero-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 16px;
  margin-top: 32px;
  display: block;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card);
}

/* Form error messages */
.error-message {
  display: block;
  font-size: 0.8rem;
  color: #DC2626;
  margin-top: 4px;
}

/* Blog read-more link (supplement inline styles) */
.blog-read-more {
  transition: color 0.3s var(--ease-reveal);
}

.blog-read-more:hover {
  color: var(--color-accent) !important;
}

/* ------------------------------------------------------------
   31. Services Page — Modern Redesign
   ------------------------------------------------------------ */

/* Services Hero with animated network */
.svc-hero {
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0A0E27 0%, #121840 40%, #0F1235 100%);
  color: #fff;
}

.svc-hero .container {
  position: relative;
  z-index: 2;
}

.svc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.svc-hero-text .breadcrumb {
  margin-bottom: 16px;
}

.svc-hero-text .breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.svc-hero-text .breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.svc-hero-text .breadcrumb-separator {
  color: rgba(255,255,255,0.3);
}

.svc-hero-text .breadcrumb-current {
  color: rgba(255,255,255,0.7);
}

.svc-hero-text .section-badge {
  background: rgba(30, 84, 227, 0.2);
  border: 1px solid rgba(30, 84, 227, 0.3);
  color: #93C5FD;
}

.svc-hero-text h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.svc-hero-text p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 520px;
}

.svc-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.svc-hero-stat {
  text-align: center;
}

.svc-hero-stat .stat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60A5FA, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.svc-hero-stat .stat-lbl {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero animated network graphic */
.svc-hero-visual {
  position: relative;
  width: 100%;
  height: 420px;
}

.svc-net {
  position: absolute;
  inset: 0;
}

.svc-net-line {
  stroke: rgba(96, 165, 250, 0.15);
  stroke-width: 1;
}

.svc-net-line-glow {
  stroke: url(#svc-line-grad);
  stroke-width: 1.5;
  stroke-dasharray: 80 300;
  animation: svc-dash 6s linear infinite;
}

@keyframes svc-dash {
  to { stroke-dashoffset: -380; }
}

.svc-node {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(30, 84, 227, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  animation: svc-float 8s ease-in-out infinite;
}

.svc-node:hover {
  background: rgba(30, 84, 227, 0.25);
  border-color: rgba(96, 165, 250, 0.5);
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(96, 165, 250, 0.3);
}

.svc-node svg {
  width: 22px;
  height: 22px;
}

.svc-node:nth-child(1) { top: 8%; left: 15%; animation-delay: 0s; }
.svc-node:nth-child(2) { top: 5%; right: 22%; animation-delay: -1.2s; }
.svc-node:nth-child(3) { top: 38%; left: 2%; animation-delay: -2.4s; }
.svc-node:nth-child(4) { top: 35%; right: 5%; animation-delay: -3.6s; }
.svc-node:nth-child(5) { bottom: 18%; left: 20%; animation-delay: -4.8s; }
.svc-node:nth-child(6) { bottom: 12%; right: 18%; animation-delay: -6s; }

@keyframes svc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Central hub in network */
.svc-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 84, 227, 0.2), rgba(167, 139, 250, 0.2));
  border: 1.5px solid rgba(96, 165, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.svc-hub::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.1);
  animation: svc-pulse 3s ease-in-out infinite;
}

.svc-hub::after {
  content: '';
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.06);
  animation: svc-pulse 3s ease-in-out infinite 0.5s;
}

@keyframes svc-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.5; }
}

.svc-hub-icon {
  width: 36px;
  height: 36px;
  color: #93C5FD;
}

/* Floating particles in hero */
.svc-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.4);
  animation: svc-twinkle 4s ease-in-out infinite;
}

.svc-particle:nth-child(1) { top: 15%; left: 45%; animation-delay: 0s; }
.svc-particle:nth-child(2) { top: 60%; left: 30%; animation-delay: -0.8s; }
.svc-particle:nth-child(3) { top: 25%; right: 35%; animation-delay: -1.6s; }
.svc-particle:nth-child(4) { bottom: 30%; left: 55%; animation-delay: -2.4s; }
.svc-particle:nth-child(5) { top: 70%; right: 40%; animation-delay: -3.2s; }
.svc-particle:nth-child(6) { top: 45%; left: 12%; animation-delay: -4s; width: 3px; height: 3px; }
.svc-particle:nth-child(7) { bottom: 40%; right: 10%; animation-delay: -1.2s; width: 5px; height: 5px; }
.svc-particle:nth-child(8) { top: 10%; left: 60%; animation-delay: -2.8s; width: 3px; height: 3px; }

@keyframes svc-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.5); }
}

/* Gradient mesh background for hero */
.svc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.svc-hero-bg .svc-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.svc-bg-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(30, 84, 227, 0.15);
  top: -20%;
  right: -10%;
  animation: float-1 20s ease-in-out infinite;
}

.svc-bg-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.1);
  bottom: -15%;
  left: -8%;
  animation: float-2 24s ease-in-out infinite;
}

.svc-bg-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.08);
  top: 40%;
  left: 30%;
  animation: float-3 18s ease-in-out infinite;
}

/* Grid pattern overlay */
.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

/* ── Service Showcase Section ── */
.svc-showcase {
  padding: 80px 0;
  background: var(--color-bg);
}

/* Section nav — sticky service quick-links */
.svc-quick-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  position: sticky;
  top: 72px;
  z-index: 10;
  padding: 16px 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.svc-quick-link {
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.svc-quick-link:hover,
.svc-quick-link.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(30, 84, 227, 0.2);
}

/* Alternating service blocks */
.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}

.svc-block:last-child {
  border-bottom: none;
}

.svc-block:nth-child(even) .svc-block-visual {
  order: -1;
}

/* Service content side */
.svc-block-content {
  position: relative;
}

.svc-block-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-subtle);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.svc-block-content h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 16px;
  line-height: 1.3;
}

.svc-block-content > p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* Deliverables as compact chips */
.svc-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.svc-deliverable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

.svc-deliverable:hover {
  border-color: var(--color-primary-light);
}

.svc-deliverable svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Tech tags in service blocks */
.svc-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.svc-tech-pill {
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, rgba(30, 84, 227, 0.06), rgba(139, 92, 246, 0.06));
  color: var(--color-primary);
  border: 1px solid rgba(30, 84, 227, 0.1);
}

/* Service block animated visual */
.svc-block-visual {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 20px;
  background: linear-gradient(135deg, #F0F4FF 0%, #F8F7FF 50%, #FDF2F8 100%);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Visual: AI Strategy — Animated roadmap/chart */
.vis-strategy {
  position: relative;
  width: 200px;
  height: 220px;
}

.vis-strategy .vis-bar {
  position: absolute;
  bottom: 0;
  width: 28px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  opacity: 0.7;
  animation: vis-grow 3s ease-in-out infinite;
}

.vis-strategy .vis-bar:nth-child(1) { left: 0; height: 60%; animation-delay: 0s; }
.vis-strategy .vis-bar:nth-child(2) { left: 40px; height: 80%; animation-delay: 0.3s; }
.vis-strategy .vis-bar:nth-child(3) { left: 80px; height: 45%; animation-delay: 0.6s; }
.vis-strategy .vis-bar:nth-child(4) { left: 120px; height: 95%; animation-delay: 0.9s; }
.vis-strategy .vis-bar:nth-child(5) { left: 160px; height: 70%; animation-delay: 1.2s; }

@keyframes vis-grow {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.7); }
}

.vis-strategy .vis-trend {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  stroke: var(--color-accent);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: vis-draw 3s ease forwards infinite;
}

@keyframes vis-draw {
  0% { stroke-dashoffset: 200; }
  60% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

/* Visual: AI/ML — Neural network */
.vis-neural {
  position: relative;
  width: 260px;
  height: 220px;
}

.vis-neuron {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: vis-neuron-pulse 2.5s ease-in-out infinite;
}

.vis-neuron.layer-1 { background: #60A5FA; }
.vis-neuron.layer-2 { background: var(--color-primary); }
.vis-neuron.layer-3 { background: #A78BFA; }

@keyframes vis-neuron-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

.vis-neural svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vis-neural-conn {
  stroke: rgba(30, 84, 227, 0.15);
  stroke-width: 1;
}

.vis-neural-signal {
  stroke: var(--color-primary);
  stroke-width: 1.5;
  stroke-dasharray: 8 40;
  animation: vis-signal 2s linear infinite;
}

@keyframes vis-signal {
  to { stroke-dashoffset: -48; }
}

/* Visual: Integration — Connected nodes */
.vis-integrate {
  position: relative;
  width: 220px;
  height: 220px;
}

.vis-int-node {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
  animation: svc-float 6s ease-in-out infinite;
}

.vis-int-node svg {
  width: 20px;
  height: 20px;
}

.vis-int-node:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.vis-int-node:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); animation-delay: -1.5s; }
.vis-int-node:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: -3s; }
.vis-int-node:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); animation-delay: -4.5s; }

.vis-int-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 24px rgba(30, 84, 227, 0.3);
}

.vis-int-center svg {
  width: 24px;
  height: 24px;
}

.vis-integrate svg.vis-int-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vis-int-line {
  stroke: var(--color-primary);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  opacity: 0.3;
  animation: vis-int-dash 4s linear infinite;
}

@keyframes vis-int-dash {
  to { stroke-dashoffset: -40; }
}

/* Visual: Automation — Gear system */
.vis-auto {
  position: relative;
  width: 220px;
  height: 220px;
}

.vis-gear {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  opacity: 0.5;
}

.vis-gear-1 {
  width: 100px;
  height: 100px;
  top: 20px;
  left: 20px;
  animation: vis-spin-cw 12s linear infinite;
}

.vis-gear-2 {
  width: 72px;
  height: 72px;
  top: 80px;
  right: 30px;
  animation: vis-spin-ccw 9s linear infinite;
  border-color: var(--color-accent);
}

.vis-gear-3 {
  width: 52px;
  height: 52px;
  bottom: 20px;
  left: 60px;
  animation: vis-spin-cw 7s linear infinite;
  border-color: #06B6D4;
}

.vis-gear::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  opacity: 0.3;
}

.vis-gear::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

@keyframes vis-spin-cw { to { transform: rotate(360deg); } }
@keyframes vis-spin-ccw { to { transform: rotate(-360deg); } }

.vis-auto-flow {
  position: absolute;
  bottom: 50px;
  right: 10px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.vis-auto-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: vis-flow-dot 1.5s ease-in-out infinite;
}

.vis-auto-dot:nth-child(2) { animation-delay: 0.2s; }
.vis-auto-dot:nth-child(3) { animation-delay: 0.4s; }
.vis-auto-dot:nth-child(4) { animation-delay: 0.6s; }

@keyframes vis-flow-dot {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Visual: Cloud — Layered cloud infrastructure */
.vis-cloud {
  position: relative;
  width: 240px;
  height: 200px;
}

.vis-cloud-layer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 12px;
  background: rgba(30, 84, 227, 0.06);
  border: 1px solid rgba(30, 84, 227, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-heading);
  animation: vis-cloud-breathe 4s ease-in-out infinite;
}

.vis-cloud-layer:nth-child(1) {
  width: 200px;
  height: 44px;
  top: 10px;
  background: rgba(30, 84, 227, 0.1);
  animation-delay: 0s;
}

.vis-cloud-layer:nth-child(2) {
  width: 170px;
  height: 44px;
  top: 62px;
  background: rgba(96, 165, 250, 0.08);
  animation-delay: -0.5s;
}

.vis-cloud-layer:nth-child(3) {
  width: 140px;
  height: 44px;
  top: 114px;
  background: rgba(139, 92, 246, 0.08);
  animation-delay: -1s;
}

@keyframes vis-cloud-breathe {
  0%, 100% { transform: translateX(-50%) scaleX(1); }
  50% { transform: translateX(-50%) scaleX(1.03); }
}

.vis-cloud-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: var(--color-primary);
  opacity: 0.3;
}

.vis-cloud-arrow:nth-of-type(4) { top: 54px; }
.vis-cloud-arrow:nth-of-type(5) { top: 106px; }

.vis-cloud-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.vis-cloud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: vis-cloud-ping 2s ease-in-out infinite;
}

.vis-cloud-dot:nth-child(1) { background: #22C55E; animation-delay: 0s; }
.vis-cloud-dot:nth-child(2) { background: #F59E0B; animation-delay: 0.4s; }
.vis-cloud-dot:nth-child(3) { background: #60A5FA; animation-delay: 0.8s; }

@keyframes vis-cloud-ping {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* Visual: Legacy — Transform animation */
.vis-legacy {
  position: relative;
  width: 260px;
  height: 180px;
}

.vis-legacy-old {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 100px;
  border-radius: 8px;
  background: repeating-linear-gradient(
    180deg,
    rgba(107, 114, 128, 0.1) 0px,
    rgba(107, 114, 128, 0.1) 8px,
    transparent 8px,
    transparent 12px
  );
  border: 2px solid rgba(107, 114, 128, 0.3);
}

.vis-legacy-old::after {
  content: 'Legacy';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.vis-legacy-new {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 84, 227, 0.08), rgba(139, 92, 246, 0.08));
  border: 2px solid rgba(30, 84, 227, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vis-legacy-new span {
  width: 48px;
  height: 6px;
  border-radius: 3px;
  background: var(--gradient-primary);
  opacity: 0.5;
}

.vis-legacy-new span:nth-child(2) { width: 36px; }
.vis-legacy-new span:nth-child(3) { width: 42px; }

.vis-legacy-new::after {
  content: 'Modern';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--color-primary);
  font-weight: 600;
  white-space: nowrap;
}

.vis-legacy-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 4px;
}

.vis-legacy-arrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: vis-flow-dot 1.2s ease-in-out infinite;
}

.vis-legacy-arrow-dot:nth-child(2) { animation-delay: 0.15s; }
.vis-legacy-arrow-dot:nth-child(3) { animation-delay: 0.3s; }
.vis-legacy-arrow-dot:nth-child(4) { animation-delay: 0.45s; }
.vis-legacy-arrow-dot:nth-child(5) { animation-delay: 0.6s; }
.vis-legacy-arrow-dot:nth-child(6) { animation-delay: 0.75s; }

/* Decorative corner glows on visual panels */
.svc-block-visual::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 84, 227, 0.08) 0%, transparent 70%);
  top: -20px;
  right: -20px;
  pointer-events: none;
}

.svc-block-visual::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  bottom: -15px;
  left: -15px;
  pointer-events: none;
}

/* ── Services page responsive ── */
@media (max-width: 1024px) {
  .svc-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .svc-hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .svc-hero-stats {
    justify-content: center;
  }

  .svc-hero-visual {
    height: 320px;
  }

  .svc-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .svc-block:nth-child(even) .svc-block-visual {
    order: 0;
  }

  .svc-block-visual {
    height: 260px;
  }

  .svc-block-content {
    text-align: center;
  }

  .svc-deliverables {
    justify-content: center;
  }

  .svc-tech-row {
    justify-content: center;
  }

  .svc-block-content .service-link {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .svc-hero {
    padding: 100px 0 56px;
  }

  .svc-hero-visual {
    height: 260px;
  }

  .svc-node {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .svc-node svg {
    width: 18px;
    height: 18px;
  }

  .svc-hub {
    width: 64px;
    height: 64px;
  }

  .svc-hub-icon {
    width: 28px;
    height: 28px;
  }

  .svc-hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .svc-quick-nav {
    gap: 6px;
    margin-bottom: 40px;
    top: 60px;
    padding: 12px 0;
  }

  .svc-quick-link {
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  .svc-block-visual {
    height: 220px;
  }

  .vis-strategy { width: 160px; height: 180px; }
  .vis-strategy .vis-bar { width: 22px; }
  .vis-strategy .vis-bar:nth-child(2) { left: 32px; }
  .vis-strategy .vis-bar:nth-child(3) { left: 64px; }
  .vis-strategy .vis-bar:nth-child(4) { left: 96px; }
  .vis-strategy .vis-bar:nth-child(5) { left: 128px; }

  .vis-neural { width: 200px; height: 180px; }
  .vis-integrate { width: 180px; height: 180px; }
  .vis-auto { width: 180px; height: 180px; }
  .vis-cloud { width: 200px; height: 170px; }
  .vis-legacy { width: 220px; height: 150px; }
}

@media (max-width: 480px) {
  .svc-hero-visual {
    height: 220px;
  }

  .svc-node:nth-child(3),
  .svc-node:nth-child(4) {
    display: none;
  }

  .svc-hero-stats {
    gap: 16px;
  }

  .svc-hero-stat .stat-val {
    font-size: 1.2rem;
  }

  .svc-block-visual {
    height: 200px;
  }
}

/* ------------------------------------------------------------
   32. Case Studies Page — Modern Redesign
   ------------------------------------------------------------ */

/* Dark hero with data visualization vibe */
.cs-hero {
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0A0E27 0%, #0F1838 40%, #0D1230 100%);
  color: #fff;
}

.cs-hero .container {
  position: relative;
  z-index: 2;
}

.cs-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cs-hero .breadcrumb {
  margin-bottom: 16px;
  justify-content: center;
}

.cs-hero .breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.cs-hero .breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.cs-hero .breadcrumb-separator {
  color: rgba(255,255,255,0.3);
}

.cs-hero .breadcrumb-current {
  color: rgba(255,255,255,0.7);
}

.cs-hero .section-badge {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86EFAC;
}

.cs-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cs-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.8;
}

/* Animated data visualization background */
.cs-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cs-hero-bg .cs-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cs-orb-1 {
  width: 450px;
  height: 450px;
  background: rgba(34, 197, 94, 0.1);
  top: -20%;
  left: -8%;
  animation: float-1 22s ease-in-out infinite;
}

.cs-orb-2 {
  width: 380px;
  height: 380px;
  background: rgba(30, 84, 227, 0.12);
  bottom: -15%;
  right: -10%;
  animation: float-2 18s ease-in-out infinite;
}

.cs-orb-3 {
  width: 280px;
  height: 280px;
  background: rgba(139, 92, 246, 0.08);
  top: 30%;
  right: 20%;
  animation: float-3 20s ease-in-out infinite;
}

/* Grid pattern overlay */
.cs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

/* Stats highlights in hero */
.cs-hero-highlights {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.cs-highlight {
  text-align: center;
}

.cs-highlight-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #86EFAC, #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-highlight-lbl {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Floating data particles in hero */
.cs-data-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.3);
  animation: svc-twinkle 5s ease-in-out infinite;
  z-index: 1;
}

.cs-data-particle:nth-child(4) { width: 4px; height: 4px; top: 20%; left: 15%; animation-delay: 0s; }
.cs-data-particle:nth-child(5) { width: 3px; height: 3px; top: 40%; right: 12%; animation-delay: -1s; }
.cs-data-particle:nth-child(6) { width: 5px; height: 5px; bottom: 25%; left: 25%; animation-delay: -2s; }
.cs-data-particle:nth-child(7) { width: 3px; height: 3px; top: 15%; right: 30%; animation-delay: -3s; background: rgba(96, 165, 250, 0.3); }
.cs-data-particle:nth-child(8) { width: 4px; height: 4px; bottom: 30%; right: 20%; animation-delay: -4s; background: rgba(139, 92, 246, 0.3); }
.cs-data-particle:nth-child(9) { width: 3px; height: 3px; top: 60%; left: 10%; animation-delay: -2.5s; background: rgba(96, 165, 250, 0.3); }

/* ── Filter tabs ── */
.cs-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 24px 0 48px;
}

.cs-filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cs-filter-btn:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

.cs-filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(30, 84, 227, 0.2);
}

/* ── Featured case study (first/large card) ── */
.cs-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
  transition: box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cs-featured:hover {
  box-shadow: var(--shadow-hover);
}

.cs-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.cs-featured-visual {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 16px;
  background: linear-gradient(135deg, #EEF6FF 0%, #F0F4FF 50%, #F5F3FF 100%);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-featured-content .case-study-industry {
  margin-bottom: 16px;
}

.cs-featured-content h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 16px;
  line-height: 1.3;
}

.cs-featured-content > p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* Featured visual: animated document pipeline */
.vis-docs {
  position: relative;
  width: 240px;
  height: 200px;
}

.vis-doc {
  position: absolute;
  width: 48px;
  height: 60px;
  border-radius: 6px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vis-doc-float 4s ease-in-out infinite;
}

.vis-doc::after {
  content: '';
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-border);
}

.vis-doc:nth-child(1) { top: 10px; left: 10px; animation-delay: 0s; }
.vis-doc:nth-child(2) { top: 50px; left: 10px; animation-delay: -0.5s; }
.vis-doc:nth-child(3) { top: 90px; left: 10px; animation-delay: -1s; }
.vis-doc:nth-child(4) { top: 130px; left: 10px; animation-delay: -1.5s; }

@keyframes vis-doc-float {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(4px); opacity: 1; }
}

.vis-doc-processor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 84, 227, 0.3);
}

.vis-doc-processor svg {
  width: 24px;
  height: 24px;
}

.vis-doc-processor::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(30, 84, 227, 0.15);
  animation: svc-pulse 3s ease-in-out infinite;
}

.vis-doc-output {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vis-doc-result {
  width: 52px;
  height: 28px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vis-doc-check 3s ease-in-out infinite;
}

.vis-doc-result svg {
  width: 16px;
  height: 16px;
  color: #22C55E;
}

.vis-doc-result:nth-child(2) { animation-delay: -0.5s; }
.vis-doc-result:nth-child(3) { animation-delay: -1s; }

@keyframes vis-doc-check {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

/* Flow arrows between doc stages */
.vis-doc-flow {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 3px;
}

.vis-doc-flow.left-flow {
  left: 64px;
  transform: translateY(-50%);
}

.vis-doc-flow.right-flow {
  right: 68px;
  transform: translateY(-50%);
}

.vis-doc-flow-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: vis-flow-dot 1.5s ease-in-out infinite;
}

.vis-doc-flow-dot:nth-child(2) { animation-delay: 0.15s; }
.vis-doc-flow-dot:nth-child(3) { animation-delay: 0.3s; }
.vis-doc-flow-dot:nth-child(4) { animation-delay: 0.45s; }

/* Results row inside featured card */
.cs-results-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.cs-result-item {
  padding: 16px;
  background: var(--color-bg-soft);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: border-color 0.3s ease;
}

.cs-result-item:hover {
  border-color: var(--color-primary-light);
}

.cs-result-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.cs-result-lbl {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Standard case study cards (2-column) ── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.cs-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.cs-card-visual {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #F0F4FF 0%, #F8F7FF 50%, #FDF2F8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.cs-card-body {
  padding: 28px;
}

.cs-card-body .case-study-industry {
  margin-bottom: 12px;
}

.cs-card-body h3 {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 12px;
  line-height: 1.4;
}

.cs-card-body > p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.cs-card-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.cs-card-stat {
  text-align: center;
  padding: 10px 6px;
  background: var(--color-bg-soft);
  border-radius: 10px;
}

.cs-card-stat-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.cs-card-stat-lbl {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  line-height: 1.3;
}

.cs-card .svc-tech-row {
  margin-bottom: 20px;
}

/* Card visual: IoT sensor grid */
.vis-iot {
  position: relative;
  width: 200px;
  height: 160px;
}

.vis-iot-sensor {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  animation: svc-float 5s ease-in-out infinite;
}

.vis-iot-sensor svg {
  width: 16px;
  height: 16px;
}

.vis-iot-sensor:nth-child(1) { top: 0; left: 0; animation-delay: 0s; }
.vis-iot-sensor:nth-child(2) { top: 0; left: 50%; transform: translateX(-50%); animation-delay: -1s; }
.vis-iot-sensor:nth-child(3) { top: 0; right: 0; animation-delay: -2s; }
.vis-iot-sensor:nth-child(4) { bottom: 0; left: 0; animation-delay: -3s; }
.vis-iot-sensor:nth-child(5) { bottom: 0; right: 0; animation-delay: -4s; }

.vis-iot-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22C55E, #06B6D4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.vis-iot-center svg {
  width: 20px;
  height: 20px;
}

.vis-iot svg.vis-iot-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vis-iot-line {
  stroke: rgba(34, 197, 94, 0.2);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: vis-int-dash 3s linear infinite;
}

/* Card visual: Chat bubbles for support AI */
.vis-chat {
  position: relative;
  width: 200px;
  height: 160px;
}

.vis-chat-bubble {
  position: absolute;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-body);
  max-width: 140px;
  line-height: 1.4;
  animation: vis-chat-in 4s ease-in-out infinite;
}

.vis-chat-bubble.user {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  right: 0;
  border-bottom-right-radius: 4px;
}

.vis-chat-bubble.ai {
  background: linear-gradient(135deg, rgba(30, 84, 227, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(30, 84, 227, 0.15);
  color: var(--color-primary);
  left: 0;
  border-bottom-left-radius: 4px;
}

.vis-chat-bubble:nth-child(1) { top: 0; animation-delay: 0s; }
.vis-chat-bubble:nth-child(2) { top: 44px; animation-delay: -1s; }
.vis-chat-bubble:nth-child(3) { top: 88px; animation-delay: -2s; }
.vis-chat-bubble:nth-child(4) { top: 124px; animation-delay: -3s; }

@keyframes vis-chat-in {
  0%, 100% { opacity: 0.5; transform: translateY(2px); }
  50% { opacity: 1; transform: translateY(0); }
}

.vis-chat-indicator {
  position: absolute;
  bottom: 0;
  left: 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.vis-chat-typing {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: vis-flow-dot 1.2s ease-in-out infinite;
}

.vis-chat-typing:nth-child(2) { animation-delay: 0.15s; }
.vis-chat-typing:nth-child(3) { animation-delay: 0.3s; }

/* ── Case study page responsive ── */
@media (max-width: 1024px) {
  .cs-featured {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }

  .cs-featured-visual {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .cs-hero {
    padding: 100px 0 56px;
  }

  .cs-hero-highlights {
    gap: 24px;
  }

  .cs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cs-results-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cs-card-results {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cs-featured {
    padding: 24px;
  }

  .cs-featured-visual {
    height: 200px;
  }

  .cs-filters {
    gap: 6px;
    padding: 16px 0 32px;
  }

  .cs-filter-btn {
    padding: 6px 14px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .cs-highlight-val {
    font-size: 1.3rem;
  }

  .cs-card-visual {
    height: 180px;
  }
}

/* ------------------------------------------------------------
   33. About Page — Modern Redesign
   ------------------------------------------------------------ */

/* About dark hero */
.abt-hero {
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0A0E27 0%, #101538 40%, #0D1230 100%);
  color: #fff;
}

.abt-hero .container {
  position: relative;
  z-index: 2;
}

.abt-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.abt-hero-text .breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.abt-hero-text .breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.abt-hero-text .breadcrumb-separator {
  color: rgba(255,255,255,0.3);
}

.abt-hero-text .breadcrumb-current {
  color: rgba(255,255,255,0.7);
}

.abt-hero-text .section-badge {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67E8F9;
}

.abt-hero-text h1 {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.abt-hero-text > p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 500px;
}

/* Hero animated DNA-helix / interconnection visual */
.abt-hero-visual {
  position: relative;
  width: 100%;
  height: 380px;
}

.abt-helix {
  position: absolute;
  inset: 0;
}

/* Orbiting rings */
.abt-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.1);
}

.abt-orbit-1 {
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  animation: abt-spin 20s linear infinite;
}

.abt-orbit-2 {
  width: 300px;
  height: 300px;
  margin-top: -150px;
  margin-left: -150px;
  animation: abt-spin 30s linear infinite reverse;
  border-color: rgba(139, 92, 246, 0.08);
}

.abt-orbit-3 {
  width: 380px;
  height: 380px;
  margin-top: -190px;
  margin-left: -190px;
  animation: abt-spin 40s linear infinite;
  border-color: rgba(6, 182, 212, 0.06);
}

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

/* Value nodes on orbits */
.abt-val-node {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(30, 84, 227, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93C5FD;
  transition: all 0.3s ease;
}

.abt-val-node:hover {
  background: rgba(30, 84, 227, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.25);
}

.abt-val-node svg {
  width: 20px;
  height: 20px;
}

.abt-val-node:nth-child(1) { top: 12%; left: 20%; }
.abt-val-node:nth-child(2) { top: 8%; right: 15%; }
.abt-val-node:nth-child(3) { bottom: 25%; left: 8%; }
.abt-val-node:nth-child(4) { bottom: 10%; right: 20%; }

/* Central core */
.abt-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.15));
  border: 1.5px solid rgba(96, 165, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.abt-core::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.1);
  animation: svc-pulse 3s ease-in-out infinite;
}

.abt-core svg {
  width: 32px;
  height: 32px;
  color: #67E8F9;
}

/* Particles */
.abt-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.35);
  animation: svc-twinkle 5s ease-in-out infinite;
}

.abt-particle:nth-child(1) { top: 18%; left: 50%; animation-delay: 0s; }
.abt-particle:nth-child(2) { top: 55%; left: 15%; animation-delay: -1.2s; }
.abt-particle:nth-child(3) { top: 30%; right: 10%; animation-delay: -2.4s; }
.abt-particle:nth-child(4) { bottom: 20%; left: 40%; animation-delay: -3.6s; width: 3px; height: 3px; }
.abt-particle:nth-child(5) { top: 70%; right: 30%; animation-delay: -4.5s; width: 5px; height: 5px; }

/* BG orbs */
.abt-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.abt-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.abt-bg-orb-1 {
  width: 450px;
  height: 450px;
  background: rgba(6, 182, 212, 0.1);
  top: -20%;
  right: -10%;
  animation: float-1 22s ease-in-out infinite;
}

.abt-bg-orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(139, 92, 246, 0.08);
  bottom: -15%;
  left: -8%;
  animation: float-2 18s ease-in-out infinite;
}

/* Grid overlay */
.abt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

/* ── Story section — split layout ── */
.abt-story {
  padding: 80px 0;
  background: var(--color-bg);
}

.abt-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.abt-story-content .section-badge {
  margin-bottom: 16px;
}

.abt-story-content h2 {
  margin-bottom: 20px;
}

.abt-story-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* Story visual — animated growth chart */
.abt-story-visual {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 20px;
  background: linear-gradient(135deg, #F0F4FF 0%, #F8F7FF 50%, #FDF2F8 100%);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vis-growth {
  position: relative;
  width: 220px;
  height: 200px;
}

.vis-growth-bar {
  position: absolute;
  bottom: 0;
  width: 32px;
  border-radius: 8px 8px 0 0;
  animation: vis-grow 4s ease-in-out infinite;
}

.vis-growth-bar:nth-child(1) {
  left: 0;
  height: 35%;
  background: linear-gradient(180deg, #06B6D4, #0EA5E9);
  opacity: 0.6;
  animation-delay: 0s;
}

.vis-growth-bar:nth-child(2) {
  left: 48px;
  height: 55%;
  background: linear-gradient(180deg, var(--color-primary), #60A5FA);
  opacity: 0.7;
  animation-delay: 0.3s;
}

.vis-growth-bar:nth-child(3) {
  left: 96px;
  height: 70%;
  background: linear-gradient(180deg, #8B5CF6, #A78BFA);
  opacity: 0.8;
  animation-delay: 0.6s;
}

.vis-growth-bar:nth-child(4) {
  left: 144px;
  height: 90%;
  background: var(--gradient-primary);
  opacity: 0.9;
  animation-delay: 0.9s;
}

.vis-growth-bar:nth-child(5) {
  left: 192px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), #06B6D4);
  animation-delay: 1.2s;
}

.vis-growth-labels {
  position: absolute;
  bottom: -24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
}

.vis-growth-labels span {
  font-size: 0.6rem;
  color: var(--color-text-muted);
  font-weight: 600;
  width: 32px;
  text-align: center;
}

/* ── Mission — full-width banner ── */
.abt-mission {
  padding: 64px 0;
  background: var(--gradient-subtle);
  position: relative;
  overflow: hidden;
}

.abt-mission-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.abt-mission-inner .section-badge {
  margin-bottom: 16px;
}

.abt-mission-inner h2 {
  margin-bottom: 20px;
}

.abt-mission-quote {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  font-style: italic;
  position: relative;
  padding: 0 32px;
}

.abt-mission-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 3rem;
  font-family: var(--font-heading);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ── Values — icon cards ── */
.abt-values {
  padding: 80px 0;
  background: var(--color-bg);
}

.abt-values .section-header {
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.abt-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.abt-val-card {
  padding: 32px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.abt-val-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-light);
}

.abt-val-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.abt-val-card:hover::before {
  opacity: 1;
}

.abt-val-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-primary);
  transition: background 0.3s ease;
}

.abt-val-card:hover .abt-val-icon {
  background: var(--gradient-primary);
  color: #fff;
}

.abt-val-icon svg {
  width: 24px;
  height: 24px;
}

.abt-val-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.abt-val-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ── Team — modern cards ── */
.abt-team {
  padding: 80px 0;
  background: var(--color-bg-soft);
}

.abt-team .section-header {
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.abt-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.abt-team-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.abt-team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.abt-team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-subtle);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  border: 2px solid var(--color-border);
  transition: border-color 0.3s ease;
}

.abt-team-card:hover .abt-team-avatar {
  border-color: var(--color-primary-light);
}

.abt-team-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.abt-team-card .team-role {
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.abt-team-card .team-bio {
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ── Partners — sleek row ── */
.abt-partners {
  padding: 64px 0;
  background: var(--color-bg);
}

.abt-partners .section-header {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}

.abt-partners-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.abt-partner-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.abt-partner-chip:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.abt-partner-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.abt-partner-icon svg {
  width: 18px;
  height: 18px;
}

.abt-partner-chip span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

/* ── About page responsive ── */
@media (max-width: 1024px) {
  .abt-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .abt-hero-text > p {
    margin-left: auto;
    margin-right: auto;
  }

  .abt-hero-visual {
    height: 300px;
  }

  .abt-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .abt-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .abt-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .abt-hero {
    padding: 100px 0 56px;
  }

  .abt-hero-visual {
    height: 240px;
  }

  .abt-val-node {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .abt-val-node svg {
    width: 16px;
    height: 16px;
  }

  .abt-core {
    width: 60px;
    height: 60px;
  }

  .abt-core svg {
    width: 24px;
    height: 24px;
  }

  .abt-orbit-3 {
    display: none;
  }

  .abt-values-grid,
  .abt-team-grid {
    grid-template-columns: 1fr;
  }

  .abt-story-visual {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .abt-hero-visual {
    height: 200px;
  }

  .abt-orbit-2 {
    display: none;
  }

  .abt-val-node:nth-child(3),
  .abt-val-node:nth-child(4) {
    display: none;
  }
}

/* ------------------------------------------------------------
   29. Reduced Motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal[data-reveal="fade-up"],
  .reveal[data-reveal="fade-left"],
  .reveal[data-reveal="fade-right"],
  .reveal[data-reveal="scale-up"],
  .stagger-child {
    opacity: 1;
    transform: none;
  }

  .hero-word {
    opacity: 1;
    transform: none;
  }

  .hero-fade-in {
    opacity: 1;
  }

  .orb {
    display: none;
  }

  .cursor-glow {
    display: none;
  }

  .hv-mesh-line,
  .hv-node,
  .hv-hub-ring,
  .hv-hub-core,
  .hv-result,
  .hv-particle,
  .hv-flow-path,
  .svc-node,
  .svc-particle,
  .svc-hub::before,
  .svc-hub::after,
  .svc-net-line-glow,
  .svc-bg-orb,
  .vis-bar,
  .vis-neuron,
  .vis-neural-signal,
  .vis-int-node,
  .vis-gear,
  .vis-auto-dot,
  .vis-cloud-layer,
  .vis-cloud-dot,
  .vis-legacy-arrow-dot,
  .cs-orb,
  .cs-data-particle,
  .vis-doc,
  .vis-doc-processor::before,
  .vis-doc-result,
  .vis-doc-flow-dot,
  .vis-iot-sensor,
  .vis-iot-line,
  .vis-chat-bubble,
  .vis-chat-typing,
  .abt-orbit,
  .abt-bg-orb,
  .abt-particle,
  .abt-core::before,
  .vis-growth-bar {
    animation: none !important;
  }

  .hero-subtitle {
    opacity: 1;
  }

  .marquee-inner {
    animation: none;
  }

  .timeline-marker {
    transform: scale(1);
    opacity: 1;
  }

  body {
    opacity: 1;
  }
}