/* =============================================
   SCALENT DIGITAL — Main Stylesheet
   ============================================= */

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #050810;
  --bg-secondary: #080d1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  --blue: #4F8EF7;
  --blue-glow: rgba(79, 142, 247, 0.3);
  --green: #95BF47;
  --green-glow: rgba(149, 191, 71, 0.3);
  --purple: #A855F7;
  --purple-glow: rgba(168, 85, 247, 0.3);
  --amber: #F59E0B;
  --amber-glow: rgba(245, 158, 11, 0.3);

  --text-primary: #F5F7FF;
  --text-secondary: #8890A4;
  --text-muted: #555E72;

  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  --container-max: 1200px;
  --top-bar-height: 34px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* === UTILITIES === */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #3B72E0 100%);
  color: #fff;
  box-shadow: 0 0 40px rgba(79, 142, 247, 0.35), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(79, 142, 247, 0.5), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 36px;
  font-size: 16px;
  width: 100%;
  justify-content: center;
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 142, 247, 0.1);
  border: 1px solid rgba(79, 142, 247, 0.25);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--top-bar-height);
  background: rgba(6, 10, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79, 142, 247, 0.15);
}

.top-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  letter-spacing: 0.01em;
}

.top-bar-link:hover {
  color: var(--text-secondary);
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 11px;
  user-select: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}

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

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 28px;
  width: auto;
  filter: brightness(1);
  transition: var(--transition);
}

.logo-img:hover {
  filter: brightness(1.1) drop-shadow(0 0 12px rgba(79, 142, 247, 0.5));
}

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

.nav-link {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), #3B72E0);
  color: #fff !important;
  padding: 8px 20px;
  box-shadow: 0 0 24px var(--blue-glow);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #6AAEFF, var(--blue));
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(79, 142, 247, 0.5) !important;
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */

/* Full-viewport scene wrapper — holds lighting only */
.hero-scene {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  /* clips only here, at the true viewport edge */
}

/* Content container — constrained width, no overflow clip */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--top-bar-height) + var(--nav-height) + 40px) 24px 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 60px;
  z-index: 1;
}

.hero-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 142, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 142, 247, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Atmospheric full-width glow layer — lives inside .hero-scene */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Subtly vignette the very edges so the glow never looks clipped */
}

.orb {
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  /* No hard opacity — each orb controls its own */
}

/* ---- LEFT ANCHOR: deep blue, spanning far past left edge ---- */
.orb-1 {
  width: 1100px;
  height: 900px;
  background: radial-gradient(ellipse at center, rgba(79, 142, 247, 0.55) 0%, rgba(79, 142, 247, 0.18) 38%, transparent 70%);
  filter: blur(120px);
  top: -20%;
  left: -30vw;
  /* starts well off-screen left */
  transform-origin: center center;
  animation-delay: 0s;
}

/* ---- RIGHT ANCHOR: rich purple, spanning far past right edge ---- */
.orb-2 {
  width: 1000px;
  height: 900px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.5) 0%, rgba(168, 85, 247, 0.16) 40%, transparent 70%);
  filter: blur(140px);
  top: 5%;
  right: -28vw;
  /* starts well off-screen right */
  transform-origin: center center;
  animation-delay: 2.5s;
}

/* ---- CENTER BRIDGE: links the two glows across mid-screen ---- */
.orb-3 {
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(100, 120, 255, 0.28) 0%, rgba(130, 80, 220, 0.12) 45%, transparent 70%);
  filter: blur(180px);
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 5s;
}

/* ---- FAR-LEFT FEATHER BLEED: keeps left edge lit at extreme widths ---- */
.orb-4 {
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(60, 100, 255, 0.3) 0%, transparent 65%);
  filter: blur(150px);
  top: 30%;
  left: -40vw;
  animation-delay: 1s;
}

/* ---- FAR-RIGHT FEATHER BLEED ---- */
.orb-5 {
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(190, 70, 250, 0.3) 0%, transparent 65%);
  filter: blur(150px);
  top: 20%;
  right: -40vw;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-28px) scale(1.04);
  }
}

/* Center-bridge orb floats differently (translateX-anchored) */
.orb-3 {
  animation-name: float-center;
}

@keyframes float-center {

  0%,
  100% {
    transform: translateX(-50%) translateY(0px) scale(1);
  }

  50% {
    transform: translateX(-50%) translateY(-22px) scale(1.03);
  }
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(149, 191, 71, 0.1);
  border: 1px solid rgba(149, 191, 71, 0.25);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

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

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.typed-wrapper {
  display: inline-block;
  min-height: 1.15em;
}

.typed-text {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cursor {
  display: inline-block;
  color: var(--blue);
  animation: blink 1s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-plus,
.stat-x,
.stat-pct {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  margin-left: 2px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

/* === DASHBOARD MOCKUP === */
.hero-visual {
  flex: 1;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.dashboard-mockup {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 80px rgba(79, 142, 247, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: mockup-float 6s ease-in-out infinite;
}

@keyframes mockup-float {

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

  50% {
    transform: translateY(-12px);
  }
}

.mockup-header {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #FF5F57;
}

.dot.yellow {
  background: #FFBD2E;
}

.dot.green {
  background: #28C840;
}

.mockup-title-bar {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  flex: 1;
  text-align: center;
}

.mockup-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mockup-chart-area {
  background: rgba(79, 142, 247, 0.04);
  border: 1px solid rgba(79, 142, 247, 0.12);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.chart-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 16px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 80px;
}

.chart-bar {
  flex: 1;
  height: var(--h);
  background: rgba(79, 142, 247, 0.25);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
}

.chart-bar.active {
  background: linear-gradient(to top, var(--blue), #7AB5FF);
  box-shadow: 0 0 20px var(--blue-glow);
}

.chart-bar:hover {
  background: rgba(79, 142, 247, 0.45);
}

.chart-bar.active:hover {
  background: linear-gradient(to top, var(--blue), #92C5FF);
}

.bar-val {
  position: absolute;
  bottom: -20px;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.chart-trend {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

.trend-up {
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
}

.mockup-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
}

.metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-blue {
  background: rgba(79, 142, 247, 0.15);
}

.icon-green {
  background: rgba(149, 191, 71, 0.15);
}

.icon-purple {
  background: rgba(168, 85, 247, 0.15);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.metric-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.mockup-pulse {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.pulse-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple) 50%, transparent 100%);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.pulse-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  animation: pulse-scan 2.5s ease-in-out infinite;
}

@keyframes pulse-scan {
  0% {
    left: -50%;
  }

  100% {
    left: 150%;
  }
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--green-glow);
}

/* =============================================
   BRANDS TICKER
   ============================================= */
.brands-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.brands-label {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 24px;
}

.brands-ticker {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker 20s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  opacity: 0.55;
  transition: var(--transition);
  flex-shrink: 0;
}

.ticker-item:hover {
  opacity: 1;
}

.ticker-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) brightness(1.8) opacity(0.55);
  transition: var(--transition);
}

.ticker-item:hover .ticker-logo {
  filter: grayscale(0) brightness(1) opacity(1);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-25%);
  }
}

/* =============================================
   REFERENCES
   ============================================= */
.references {
  padding: 120px 0;
  position: relative;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.ref-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  cursor: default;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ref-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(79, 142, 247, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.ref-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(79, 142, 247, 0.28);
  box-shadow: 0 0 32px rgba(79, 142, 247, 0.08), 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

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

.ref-logo {
  max-height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  opacity: 0.5;
  filter: brightness(1.1);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.ref-card:hover .ref-logo {
  opacity: 1;
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 120px 0;
  position: relative;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;

}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(79, 142, 247, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

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

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 20%, transparent);
}

.service-card:hover .service-icon-wrap {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 30%, transparent);
  transform: scale(1.05);
}

.service-number {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.service-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.service-arrow {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.service-card:hover .service-arrow {
  color: var(--blue);
  transform: translateX(4px);
}

/* =============================================
   THE SCALENT WAY
   ============================================= */
.approach {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(79, 142, 247, 0.03) 50%, transparent 100%);
  position: relative;
}

.approach-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-line {
  position: absolute;
  left: 28px;
  top: 60px;
  bottom: 60px;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue), var(--purple), var(--amber));
  opacity: 0.3;
}

.step-item {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-connector {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid rgba(79, 142, 247, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.step-item:hover .step-dot {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 24px var(--blue-glow);
}

.step-content {
  display: flex;
  gap: 20px;
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.step-item:hover .step-content {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.step-icon-bg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text .step-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.step-text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   TARGET AUDIENCE
   ============================================= */
.audience {
  padding: 120px 0;
}

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

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  text-align: center;
}

.audience-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.audience-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.audience-card:hover::after {
  transform: scaleX(1);
}

.audience-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.audience-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(79, 142, 247, 0.08);
  border: 1px solid rgba(79, 142, 247, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.audience-card:hover .audience-icon {
  transform: scale(1.1);
  background: rgba(79, 142, 247, 0.12);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.audience-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.audience-tag {
  display: inline-block;
  background: rgba(79, 142, 247, 0.1);
  border: 1px solid rgba(79, 142, 247, 0.2);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 50px;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}

.cta-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  top: -200px;
  right: -100px;
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--purple);
  bottom: -150px;
  left: -100px;
}

.cta-inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 72px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 80px rgba(79, 142, 247, 0.08);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 142, 247, 0.1);
  border: 1px solid rgba(79, 142, 247, 0.25);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.cta-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* === FORM === */
.cta-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

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

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

.form-group.full {
  grid-column: 1 / -1;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  width: 100%;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238890A4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: #0d1221;
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(79, 142, 247, 0.5);
  background: rgba(79, 142, 247, 0.05);
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.1);
}

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

/* === SUCCESS === */
.cta-success {
  padding: 48px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(149, 191, 71, 0.15);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--green);
  margin: 0 auto 20px;
  animation: success-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes success-pop {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cta-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-success p {
  color: var(--text-secondary);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
  background: linear-gradient(180deg, transparent, rgba(79, 142, 247, 0.02));
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  margin-bottom: 56px;
}

.footer-logo {
  height: 24px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(79, 142, 247, 0.15);
  border-color: rgba(79, 142, 247, 0.3);
  color: var(--blue);
  transform: translateY(-2px);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-col ul li a,
.footer-col ul li span {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--text-secondary);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li svg {
  flex-shrink: 0;
  opacity: 0.45;
  vertical-align: middle;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}




@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

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

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

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

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

  .audience-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .cta-inner {
    padding: 48px 32px;
  }

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

  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  /* Hide top bar on mobile — too cramped */
  .top-bar {
    display: none;
  }

  /* Navbar sits at very top since bar is gone */
  .navbar {
    top: 0;
  }

  /* Fix for backdrop-filter breaking position:fixed */
  .navbar.menu-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Repurpose .nav-links for mobile overlay */
  .nav-links {
    display: flex;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 8, 16, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.open li:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
  }

  .nav-links.open li:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.10s;
  }

  .nav-links.open li:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
  }

  .nav-links.open li:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.20s;
  }

  .nav-links.open li:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
  }

  .nav-link {
    font-size: 22px;
    font-weight: 600;
    padding: 16px 40px;
    width: 100%;
    text-align: center;
    border-radius: 12px;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .hamburger span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

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

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

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

  .hero {
    padding: calc(var(--nav-height) + 24px) 16px 48px;
  }

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

  .stat-divider {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .approach-timeline {
    padding-left: 0;
  }

  .timeline-line {
    display: none;
  }

  .step-item {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    flex-direction: row;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .ref-card {
    padding: 24px 16px;
    min-height: 90px;
  }

  .ref-logo {
    max-height: 28px;
    max-width: 120px;
  }

  .cta-inner {
    padding: 36px 20px;
  }

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

  .hero-title {
    font-size: 2.4rem;
  }

  .typed-text {
    font-size: 2.4rem;
  }
}