:root {
  --bg: #0f0f13;
  --surface: #17171c;
  --surface-2: #1c1c23;
  --border: #2c2c35;
  --text: #f4f4f6;
  --muted: #9191a4;
  --gradient: linear-gradient(135deg, #4f46e5, #6366f1, #22d3ee);
  --gradient-text: linear-gradient(135deg, #818cf8, #6366f1 40%, #22d3ee);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 16px;
  --container: min(1200px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(79, 70, 229, 0.2), transparent 30%),
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.14), transparent 24%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 60%);
  z-index: 0;
}

/* ── LAYOUT ──────────────────────────────────────── */

.shell {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: 20px 0 80px;
}

/* ── NAV ─────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(15, 15, 19, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  font-weight: 800;
  background: var(--gradient);
}

.brand-word {
  font-size: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text) !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

main {
  display: grid;
  gap: clamp(88px, 10vw, 120px);
  margin-top: 40px;
}

section {
  scroll-margin-top: 100px;
  min-width: 0;
}

/* ── HERO ────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  min-height: min(860px, calc(100vh - 180px));
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #0f0f13;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at top right, rgba(79, 70, 229, 0.32), transparent 26%),
    radial-gradient(circle at 20% 18%, rgba(34, 211, 238, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(15, 15, 19, 0.94) 0%,
      rgba(15, 15, 19, 0.78) 38%,
      rgba(15, 15, 19, 0.44) 62%,
      rgba(15, 15, 19, 0.68) 100%
    ),
    linear-gradient(
      180deg,
      rgba(15, 15, 19, 0.22) 0%,
      rgba(15, 15, 19, 0.04) 40%,
      rgba(15, 15, 19, 0.22) 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
  opacity: 0.3;
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  color: #c7c9d4;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
}

h1, h2, h3, p, ul {
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(3.2rem, 7.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 9ch;
  margin-bottom: 24px;
}

.hero-text,
.section-copy,
.section-heading p,
.info-card p,
.work-tile p,
.feature-grid li,
.health-points span,
.capability-list li,
.work-metrics span,
.footer p,
.bullet-panel li,
.contact p,
.step-desc {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ── BUTTONS ─────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  font-size: 0.95rem;
}

.button-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 30px rgba(79, 70, 229, 0.35);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 40px rgba(79, 70, 229, 0.52);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ── HERO VISUAL ─────────────────────────────────── */

.hero-visual {
  position: relative;
  z-index: 3;
  min-height: 520px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background:
    radial-gradient(circle at center, rgba(99, 102, 241, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Product image — centred phone mockup floating in the hero visual */
.hero-product-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -44%);
  width: 58%;
  height: 76%;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  z-index: 0;
  opacity: 0.82;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.orb {
  position: absolute;
  inset: 20% 25%;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(36px);
  opacity: 0.8;
  animation: drift 8s ease-in-out infinite;
  z-index: 1;
}

.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 78%);
  z-index: 2;
}

/* Floating tech badges */
.tech-pill {
  position: absolute;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(24, 24, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 4;
  white-space: nowrap;
  pointer-events: none;
}

/* Badge layout — 6 elements, clearly separated:
   TOP-LEFT:    tp-1  React Native
   TOP-RIGHT:   mf-1  3M+ Users Reached
   MID-LEFT:    tp-2  Claude AI
   MID-RIGHT:   tp-3  Vertex AI
   BTM-RIGHT:   mf-2  50+ Products Built
   BTM-LEFT:    hero-panel-bottom  Mobile + Web
*/
.tp-1 {
  /* React Native — top-left */
  top: 10%;
  left: 8%;
  animation: float-a 6s ease-in-out infinite;
}

.tp-2 {
  /* Claude AI — mid-left */
  top: 46%;
  left: 8%;
  animation: float-b 7.5s ease-in-out infinite;
  animation-delay: 1.2s;
}

.tp-3 {
  /* Vertex AI — mid-right */
  top: 40%;
  right: 8%;
  animation: float-a 5.5s ease-in-out infinite;
  animation-delay: 2.8s;
}

/* Floating metric cards */
.metric-float {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(24, 24, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 4;
  pointer-events: none;
}

.metric-float strong {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-float span {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
}

/* mf-1 owns TOP-RIGHT — AI Systems panel removed, no conflict possible */
.mf-1 {
  top: 8%;
  right: 8%;
  animation: float-b 7s ease-in-out infinite;
  animation-delay: 0.6s;
}

.mf-2 {
  bottom: 10%;
  right: 8%;
  animation: float-a 6.5s ease-in-out infinite;
  animation-delay: 2s;
}

.hero-panel {
  position: absolute;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(24, 24, 30, 0.9);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 4;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-panel-bottom {
  left: 46px;
  bottom: 52px;
}

/* ── STATS BAR ───────────────────────────────────── */

.stats {
  padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 52px);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

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

.stat-value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: 0.75em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

/* ── SECTION STRUCTURE ───────────────────────────── */

.section-heading,
.section-split,
.feature-grid,
.footer {
  min-width: 0;
}

.section-heading h2,
.feature h2,
.section-split h2,
.final-cta h2 {
  font-size: clamp(2.1rem, 5vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading p,
.section-copy {
  max-width: 62ch;
}

.centered {
  text-align: center;
  margin-inline: auto;
}

.services,
.why,
.experience,
.industries,
.feature,
.healthcare,
.ai-capabilities,
.process,
.engagement,
.contact-section,
.final-cta {
  position: relative;
}

/* ── CARD SYSTEM ─────────────────────────────────── */

.service-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.info-card,
.bullet-panel,
.feature-problem,
.feature-solution,
.contact-form,
.health-points span {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 28px;
  min-height: 200px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.15), 0 28px 70px rgba(0, 0, 0, 0.42);
}

/* Service/Industry card icon */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #818cf8;
  transition: transform 0.28s ease, background 0.28s ease;
}

.info-card:hover .card-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.32), rgba(34, 211, 238, 0.16));
}

.info-card h3 {
  font-size: 1.45rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

/* ── WHY SECTION ─────────────────────────────────── */

.section-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
  align-items: start;
}

.bullet-panel {
  padding: 28px;
}

.bullet-panel ul,
.feature-grid ul,
.capability-list {
  margin: 0;
  padding-left: 20px;
}

.bullet-panel li,
.feature-grid li,
.capability-list li {
  margin-bottom: 12px;
}

/* ── WORK TILES ──────────────────────────────────── */

.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}

.work-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.work-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12), 0 32px 80px rgba(0, 0, 0, 0.45);
}

.work-tile-featured {
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.14), transparent 28%),
    linear-gradient(180deg, var(--surface), var(--surface-2));
}

/* Work tile image */
.work-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-2);
}

.work-tile-featured .work-img {
  height: 260px;
}

.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.5s ease;
}

.work-tile:hover .work-img img {
  transform: scale(1.05);
}

/* Bottom-only fade — shows the full image, just softens the edge where it meets the card body */
.work-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}

/* Work tile content below image */
.work-content {
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.work-body h3 {
  font-size: 1.6rem;
  line-height: 1.06;
  margin-bottom: 12px;
}

.work-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.work-metrics span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4d6e4;
  font-size: 0.85rem;
}

/* ── INDUSTRY GRID ───────────────────────────────── */

.industry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ── FEATURE SECTION ─────────────────────────────── */

.feature {
  padding: 44px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(79, 70, 229, 0.22), transparent 30%),
    linear-gradient(180deg, #1a1a22, #14141b);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-problem,
.feature-solution {
  padding: 28px;
}

.feature-impact {
  margin: 32px 0 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HEALTHCARE ──────────────────────────────────── */

.health-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.health-points span {
  padding: 22px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

/* ── AI CAPABILITIES ─────────────────────────────── */

.ai-split {
  align-items: center;
}

.node-visual {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.node-visual::before,
.node-visual::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.7), rgba(34, 211, 238, 0.7));
  transform-origin: left center;
}

.node-visual::before {
  transform: translate(-50%, -50%) rotate(35deg);
}

.node-visual::after {
  transform: translate(-50%, -50%) rotate(-35deg);
}

.node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.14);
}

.node-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: #22d3ee;
  box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.15);
  animation: pulse-node 3s ease-in-out infinite;
}

.node-top    { top: 22%; left: 50%; transform: translateX(-50%); }
.node-right  { top: 50%; right: 18%; transform: translateY(-50%); }
.node-bottom { bottom: 18%; left: 50%; transform: translateX(-50%); }
.node-left   { top: 50%; left: 18%; transform: translateY(-50%); }

/* Node labels */
.node-label {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nl-top    { top: 12%; left: 50%; transform: translateX(-50%); }
.nl-right  { top: 50%; right: 6%; transform: translateY(-50%); }
.nl-bottom { bottom: 10%; left: 50%; transform: translateX(-50%); }
.nl-left   { top: 50%; left: 4%; transform: translateY(-50%); }

/* ── PROCESS ─────────────────────────────────────── */

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}

/* Horizontal connecting line between steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; /* center of step-circle */
  left: calc(100% / 10);
  right: calc(100% / 10);
  height: 1px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.5), rgba(34, 211, 238, 0.5));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.12), 0 8px 24px rgba(79, 70, 229, 0.3);
  position: relative;
  z-index: 1;
}

.step-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.step-desc {
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0;
}

/* ── ENGAGEMENT ──────────────────────────────────── */

/* ── CONTACT ─────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.contact-copy {
  min-width: 0;
  max-width: 34rem;
}

.contact-points {
  margin: 24px 0 0;
  padding-left: 20px;
}

.contact-points li {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-form {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
  color: #c8f7d4;
}

.form-status.is-error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.28);
  color: #ffd0d0;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8f94a3;
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18);
}

.field-error {
  min-height: 1rem;
  color: #f3a6a6;
  font-size: 0.82rem;
}

.contact-form .full-width,
.contact-form button {
  grid-column: 1 / -1;
}

/* ── FINAL CTA ───────────────────────────────────── */

.final-cta {
  position: relative;
  padding: 72px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(22, 22, 28, 0.95));
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
}

.centered-actions {
  justify-content: center;
}

/* ── FOOTER ──────────────────────────────────────── */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 8px;
  color: var(--muted);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  margin-bottom: 4px;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.footer-brand .brand-word {
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-links a {
  transition: color 0.2s ease;
}

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

.footer-copy {
  width: 100%;
  font-size: 0.82rem;
  color: #6b6b7e;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── REVEAL ANIMATIONS ───────────────────────────── */

.reveal {
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children — JS sets --stagger-delay per child */
.js .service-grid .info-card,
.js .industry-grid .info-card,
.js .work-grid .work-tile,
.js .process-steps .process-step {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s ease var(--stagger-delay, 0ms),
    transform 0.5s ease var(--stagger-delay, 0ms);
}

.services.is-visible .info-card,
.industries.is-visible .info-card,
.experience.is-visible .work-tile,
.process.is-visible .process-step {
  opacity: 1;
  transform: translateY(0);
}

/* ── KEYFRAMES ───────────────────────────────────── */

@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

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

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

@keyframes pulse-node {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.15), 0 0 0 16px rgba(34, 211, 238, 0);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(34, 211, 238, 0.12), 0 0 0 20px rgba(34, 211, 238, 0.06);
  }
}

/* ── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 1080px) {
  .hero,
  .section-split,
  .feature-grid,
  .industry-grid,
  .service-grid,
  .health-points,
  .work-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .stats-grid {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    gap: 12px 24px;
  }

  /* Hide 2nd and 4th dividers on medium screens */
  .stat-divider:nth-child(4) {
    display: none;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-bottom: 8px;
  }

  .process-steps::before {
    display: none;
  }

  .step-circle {
    margin-bottom: 14px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100vw - 16px, 100%);
    padding-bottom: 56px;
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 18px;
  }

  .nav {
    width: 100%;
    gap: 14px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  main {
    gap: 80px;
  }

  .hero {
    gap: 24px;
    min-height: auto;
    padding: 28px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(15, 15, 19, 0.88) 0%,
        rgba(15, 15, 19, 0.72) 45%,
        rgba(15, 15, 19, 0.88) 100%
      );
  }

  .hero-visual {
    min-height: 340px;
  }

  /* Hide floating badges on very small screens */
  .tech-pill,
  .metric-float {
    display: none;
  }

  .hero-panel-bottom {
    left: 18px;
    bottom: 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 8px 0;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .feature,
  .final-cta {
    padding: 28px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

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

  .footer {
    padding-top: 40px;
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

/* ── PRODUCTS SECTION ────────────────────────────── */

.products-grid {
  margin-top: 36px;
}

.product-card {
  padding: 36px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 640px;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
}

.product-card-top {
  margin-bottom: 20px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-badge.live {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #86efac;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}

.product-name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 6px;
}

.product-tagline {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
}

.product-desc {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 54ch;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.product-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: var(--muted);
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button-white {
  background: #fff;
  color: #0f0f13;
  border-color: transparent;
  font-weight: 700;
}

.button-white:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
}

/* ── REDUCED MOTION ──────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .js .reveal,
  .orb,
  .tech-pill,
  .metric-float,
  .node-center {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
