/* ============================================
   DIADOR TECHNOLOGY — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --navy-900: #080808;
  --navy-800: #0d0d0d;
  --navy-700: #111111;
  --navy-600: #161616;
  --navy-500: #1c1c1c;

  --accent-600: #0d9488;
  --accent-500: #14b8a6;
  --accent-400: #2dd4bf;
  --accent-300: #5eead4;

  --white: #ffffff;
  --gray-100: #f2f5fa;
  --gray-200: #dce2ec;
  --gray-300: #bac4d4;
  --gray-400: #8f9db4;
  --gray-500: #72809a;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #080808 0%, #0a0a0a 50%, #0d0d0d 100%);
  --gradient-card: linear-gradient(135deg, rgba(20, 20, 20, 0.7) 0%, rgba(12, 12, 12, 0.5) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-400) 100%);
  --gradient-text: linear-gradient(135deg, var(--white) 0%, var(--gray-200) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Effects */
  --glass-bg: rgba(15, 15, 15, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Body scroll ---------- */
body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--gray-200);
  line-height: 1.7;
  overflow-x: hidden;
  overflow-y: auto !important;
}

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

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-400);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}

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

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  font-size: 1.05rem;
  color: var(--gray-300);
  max-width: 640px;
}

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

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-400);
  margin-bottom: 16px;
  display: inline-block;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

section {
  padding: var(--section-padding);
  position: relative;
}

/* ---------- Animated Background Mesh ---------- */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-mesh::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 30%, rgba(20, 184, 166, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 60%, rgba(20, 184, 166, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 80%, rgba(20, 184, 166, 0.04) 0%, transparent 70%);
  animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -20px) rotate(1deg);
  }

  66% {
    transform: translate(-20px, 15px) rotate(-0.5deg);
  }
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition-smooth);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent);
  color: var(--white) !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth) !important;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(20, 184, 166, 0.45);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

/* Hero background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #080808;
}

.hero-bg-glow {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(20, 184, 166, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 60%, rgba(20, 184, 166, 0.05) 0%, transparent 70%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-glow {
    opacity: 0.6;
  }
}

/* Bottom gradient fade for section transition */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 10;
  background: linear-gradient(to top,
      #080808 0%,
      rgba(8, 8, 8, 0.6) 50%,
      transparent 100%);
  pointer-events: none;
}

.hero-content-shell {
  position: relative;
  z-index: 20;
  width: 100%;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 48px;
  align-items: center;
}

/* Left column */
.hero-left {
  /* constrained by grid, no explicit max-width */
}

/* Right column */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
  color: var(--accent-300);
  padding: 6px 14px;
  margin-bottom: 22px;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
  flex-shrink: 0;
  animation: kickerPulse 2.5s ease-in-out infinite;
}

@keyframes kickerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.65); }
}

.hero-left h1 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  max-width: 16ch;
}

.hero-left p {
  margin-bottom: 32px;
  font-size: 1.05rem;
  color: var(--gray-200);
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Stats — lightweight, no card backgrounds */
.hero-proof {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-proof-value {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero-proof-label {
  color: var(--gray-400);
  font-size: 0.8rem;
  line-height: 1.4;
}

.hero-trust {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

/* ── Agent Graph (hero right column) ── */
.agent-graph-container {
  width: 100%;
  max-width: 460px;
  background: rgba(12, 12, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 20px 20px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.agent-graph-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.agent-graph-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.agent-graph-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Edge flow animations */
.graph-edge {
  animation: flowDash 2.8s linear infinite;
}

.edge-1 { animation-delay: 0s; }
.edge-2 { animation-delay: 0.5s; }
.edge-3 { animation-delay: 1s; }
.edge-4 { animation-delay: 1.5s; }

@keyframes flowDash {
  from { stroke-dashoffset: 220; }
  to   { stroke-dashoffset: 0; }
}

/* Orchestrator node glow pulse */
.node-orchestrator rect {
  animation: orchGlow 3s ease-in-out infinite;
}

@keyframes orchGlow {
  0%, 100% { stroke: #14b8a6; filter: drop-shadow(0 0 4px rgba(20,184,166,0.2)); }
  50%       { stroke: #2dd4bf; filter: drop-shadow(0 0 12px rgba(45,212,191,0.55)); }
}

/* Status dot pulse */
.status-pulse {
  transform-origin: center;
  animation: statusPulse 2.2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.6); }
}

/* Stats strip at bottom of graph */
.agent-graph-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 8px;
}

.agent-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--gray-400);
  white-space: nowrap;
}

.agent-stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.agent-stat-dot.running    { background: #2dd4bf; }
.agent-stat-dot.processing { background: #fbbf24; }
.agent-stat-dot.complete   { background: #4ade80; }

/* Reduce motion: freeze all graph animations */
@media (prefers-reduced-motion: reduce) {
  .graph-edge,
  .status-pulse,
  .node-orchestrator rect,
  .kicker-dot,
  .agent-graph-live-dot {
    animation: none;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  right: 32px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-400), transparent);
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.proof-section {
  position: relative;
  z-index: 2;
  padding-top: 92px;
}

.proof-intro {
  text-align: center;
  margin-bottom: 36px;
}

.proof-intro p {
  margin: 0 auto;
}

/* Marquee industry strip */
.logo-marquee {
  overflow: hidden;
  margin-bottom: 40px;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-play-state: paused;
  }
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gray-300);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

.proof-card {
  background: linear-gradient(160deg, rgba(24, 24, 24, 0.9), rgba(10, 10, 10, 0.9));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-smooth);
}

.proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.32);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.proof-card-metric {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-300);
  margin-bottom: 12px;
}

.proof-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.proof-card p {
  font-size: 0.92rem;
  color: var(--gray-300);
}

.proof-card-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-400);
  opacity: 0.8;
  margin-bottom: 10px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 25px rgba(20, 184, 166, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(20, 184, 166, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* ---------- SERVICES SECTION ---------- */
.services {
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header p {
  margin: 0 auto;
}

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

.service-card {
  background: var(--gradient-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(20, 184, 166, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: rgba(20, 184, 166, 0.2);
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-400);
}

/* ---------- ABOUT SECTION ---------- */
.about {
  position: relative;
  z-index: 2;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  pointer-events: none;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number .accent {
  color: var(--accent-400);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ---------- PROCESS / HOW WE WORK ---------- */
.process {
  position: relative;
  z-index: 2;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Connector line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-500), transparent);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-400);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.step-card:hover .step-number {
  background: var(--gradient-accent);
  color: var(--white);
  border-color: var(--accent-400);
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.3);
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--gray-400);
  margin: 0 auto;
}

/* ---------- INTERACTIVE PIPELINE SECTION ---------- */
.pipeline-section {
  position: relative;
  z-index: 2;
}

.pipeline {
  background: linear-gradient(135deg, rgba(22, 22, 22, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

/* Track */
.pipeline-track {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  width: 90px;
}

.pipeline-connector {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 32px;
  transition: background 0.4s ease;
}

.pipeline-connector.completed {
  background: rgba(20, 184, 166, 0.5);
}

/* Icon box */
.pipeline-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(28, 28, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: var(--transition-smooth);
}

.icon-check {
  display: none;
}

.pipeline-step.completed .pipeline-icon {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
  color: var(--accent-400);
}

.pipeline-step.completed .icon-default {
  display: none;
}

.pipeline-step.completed .icon-check {
  display: flex;
}

.pipeline-step.active .pipeline-icon {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.5);
  color: var(--accent-300);
  box-shadow: 0 0 28px rgba(20, 184, 166, 0.2);
}

.pipeline-step:hover:not(.active):not(.completed) .pipeline-icon {
  background: rgba(36, 36, 36, 0.9);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--gray-300);
}

.pipeline-step-label {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: var(--transition-fast);
  text-align: center;
}

.pipeline-step.active .pipeline-step-label {
  color: var(--accent-400);
}

.pipeline-step.completed .pipeline-step-label {
  color: var(--gray-400);
}

/* Content panel */
.pipeline-content {
  background: rgba(6, 6, 6, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  min-height: 168px;
}

.pipeline-panel {
  display: none;
  animation: panelFadeIn 0.35s ease;
}

.pipeline-panel.active {
  display: block;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}

.panel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-200);
  line-height: 1.4;
}

.item-icon {
  width: 22px;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.item-done {
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent-400);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.panel-item.pending {
  opacity: 0.4;
}

.item-pending {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray-400);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  z-index: 2;
}

.cta-box {
  background: var(--gradient-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
  animation: ctaGlow 6s ease-in-out infinite;
}

@keyframes ctaGlow {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.cta-box h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.cta-box p {
  position: relative;
  z-index: 1;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.cta-box .btn-primary {
  position: relative;
  z-index: 1;
  padding: 16px 40px;
  font-size: 1rem;
}

/* ---------- CTA INLINE STATES ---------- */

/* Form + success states are hidden by default; JS toggles display directly */
#cta-form-state,
#cta-success-state {
  display: none;
}

.cta-form-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-400);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-form-row {
  display: flex;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-form-row input {
  flex: 1;
  min-width: 190px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 20px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cta-form-row input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.cta-form-row input:focus {
  border-color: var(--accent-500);
  background: rgba(20, 184, 166, 0.07);
}

.cta-form-row input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cta-submit-btn {
  padding: 14px 28px;
  flex-shrink: 0;
  white-space: nowrap;
}

.cta-form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 22px;
  position: relative;
  z-index: 1;
}

.cta-error {
  font-size: 0.85rem;
  color: #f87171;
}

.cta-back-link {
  background: none;
  border: none;
  color: var(--gray-400);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.cta-back-link:hover {
  color: var(--gray-200);
}

.book-btn-spinner {
  display: none;
  animation: ctaSpinBtn 0.75s linear infinite;
}

.cta-submit-btn.loading .book-btn-text    { display: none; }
.cta-submit-btn.loading .book-btn-icon    { display: none; }
.cta-submit-btn.loading .book-btn-spinner { display: block; }

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

.cta-check-icon {
  width: 72px;
  height: 72px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--accent-400);
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .cta-form-row {
    flex-direction: column;
    align-items: stretch;
  }

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

/* ---------- BOOKING MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 52px 48px;
  width: 100%;
  max-width: 500px;
  position: relative;
  transform: translateY(28px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(20, 184, 166, 0.08);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--gray-300);
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.modal-label-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-400);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 100px;
  padding: 4px 13px;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.modal-subtitle {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

.modal-field {
  margin-bottom: 14px;
}

.modal-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-200);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.modal-field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.modal-field input::placeholder {
  color: var(--gray-500);
}

.modal-field input:focus {
  border-color: var(--accent-500);
  background: rgba(20, 184, 166, 0.05);
}

.modal-field input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal-error {
  font-size: 0.85rem;
  color: #f87171;
  min-height: 18px;
  margin-bottom: 6px;
}

.modal-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  margin-top: 6px;
  font-size: 1rem;
}

.book-btn-spinner {
  display: none;
  animation: modalSpin 0.75s linear infinite;
}

.modal-submit.loading .book-btn-text  { display: none; }
.modal-submit.loading .book-btn-icon  { display: none; }
.modal-submit.loading .book-btn-spinner { display: block; }

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

/* Success state */
#modal-success {
  text-align: center;
  padding: 8px 0 4px;
}

.modal-success-icon {
  width: 68px;
  height: 68px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--accent-400);
}

.modal-success-heading {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.modal-success-sub {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.modal-done-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--gray-200);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 11px 32px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.modal-done-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 540px) {
  .modal-card {
    padding: 40px 28px;
  }
}

/* ---------- NEWSLETTER BOX ---------- */
.newsletter-box {
  background: var(--gradient-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 64px 60px;
  text-align: center;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(20, 184, 166, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.newsletter-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-400);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.newsletter-box h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}

.newsletter-box p {
  position: relative;
  z-index: 1;
  color: var(--gray-300);
  font-size: 1rem;
  margin: 0 auto 36px;
  max-width: 480px;
}

.newsletter-form {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.newsletter-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-fields input {
  flex: 1;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 13px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.newsletter-fields input::placeholder {
  color: var(--gray-400);
}

.newsletter-fields input:focus {
  border-color: var(--accent-500);
  background: rgba(20, 184, 166, 0.06);
}

.newsletter-fields input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-newsletter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-accent);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 13px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-newsletter:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-newsletter:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.nl-btn-spinner {
  display: none;
  animation: nlSpin 0.8s linear infinite;
}

.btn-newsletter.loading .nl-btn-text { display: none; }
.btn-newsletter.loading .nl-btn-icon  { display: none; }
.btn-newsletter.loading .nl-btn-spinner { display: block; }

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

.nl-message {
  margin-top: 14px;
  font-size: 0.9rem;
  min-height: 20px;
  transition: opacity 0.3s;
}

.nl-message--success { color: var(--accent-400); }
.nl-message--info    { color: var(--accent-300); }
.nl-message--error   { color: #f87171; }

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  z-index: 2;
  padding: 60px 0 32px;
  border-top: 1px solid var(--glass-border);
}

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--gray-400);
  max-width: 300px;
}

.footer-brand img {
  height: 36px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--gray-200);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-400);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--gray-400);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--gradient-accent);
  border-color: var(--accent-400);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  /* Collapse hero to single column at tablet */
  .hero-content-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-right {
    display: none;
  }

  .proof-cases {
    grid-template-columns: 1fr;
  }

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

  .about .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    align-items: flex-start;
    padding: 80px 0 60px;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

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

  .pipeline {
    padding: 28px 20px;
  }

  .pipeline-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .pipeline-step {
    width: 64px;
    min-width: 64px;
  }

  .pipeline-icon {
    width: 52px;
    height: 52px;
  }

  .pipeline-connector {
    min-width: 16px;
    margin-top: 26px;
  }

  .panel-items {
    grid-template-columns: 1fr;
  }

  .pipeline-content {
    padding: 20px;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Newsletter mobile */
  .newsletter-box {
    padding: 40px 24px;
    margin-top: 24px;
  }

  .newsletter-fields {
    flex-direction: column;
  }

  .newsletter-fields input,
  .btn-newsletter {
    width: 100%;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 1.85rem;
  }

  :root {
    --container-padding: 0 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
