:root {
  --bg-dark: #08080b;
  --bg-dark-2: #0d0e13;
  --bg-card: #11121a;
  --bg-card-hover: #161722;
  --paper: #f5f6f8;
  --paper-2: #eceef2;
  --ink: #0b0b0f;
  --fog: #9a9aa8;
  --fog-dim: #6f707f;
  --sky: #4d8dff;
  --violet: #8a6bff;
  --amber: #ff9a4d;
  --emerald: #10b981;
  --line: rgba(255, 255, 255, 0.09);
  --line-light: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(11, 11, 15, 0.08);
  --grad-ascend: linear-gradient(100deg, var(--sky) 0%, var(--violet) 52%, var(--amber) 100%);
  --grad-subtle: linear-gradient(135deg, rgba(77, 141, 255, 0.12) 0%, rgba(138, 107, 255, 0.12) 50%, rgba(255, 154, 77, 0.12) 100%);
  --grad-glow: radial-gradient(circle at center, rgba(138, 107, 255, 0.2) 0%, transparent 70%);
  --ff-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  color: var(--paper);
  font-family: var(--ff-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

::selection {
  background: var(--violet);
  color: #fff;
}

ul {
  list-style: none;
}

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--grad-ascend);
}

.eyebrow.on-light {
  color: var(--fog-dim);
}

.eyebrow.center {
  justify-content: center;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width:640px) {
  .wrap {
    padding: 0 20px;
  }
}

/* ---------- ASCENT RAIL ---------- */
#ascent-rail {
  position: fixed;
  left: 28px;
  top: 0;
  height: 100vh;
  width: 2px;
  z-index: 40;
  display: flex;
  align-items: center;
  pointer-events: none;
}

#ascent-track {
  position: relative;
  width: 2px;
  height: 60vh;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

#ascent-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--grad-ascend);
  border-radius: 2px;
}

#ascent-dot {
  position: absolute;
  left: 50%;
  bottom: 0%;
  width: 9px;
  height: 9px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, 50%);
  box-shadow: 0 0 14px 3px rgba(138, 107, 255, 0.75);
}

@media (max-width:900px) {
  #ascent-rail {
    display: none;
  }
}

/* ---------- NAV ---------- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(8, 8, 11, 0.65);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: background .4s ease, border-color .4s ease;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s ease;
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  height: 28px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.footer-top .logo-img {
  height: 26px;
}

@media (max-width:640px) {
  .logo-img {
    height: 24px;
  }
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--fog);
  font-weight: 500;
}

.nav-links a {
  transition: color .25s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}

.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--grad-ascend);
  border-radius: 2px;
}

.nav-cta {
  font-size: 13px;
  font-family: var(--ff-mono);
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  transition: all .25s ease;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.03);
}

.nav-cta:hover {
  border-color: var(--violet);
  background: rgba(138, 107, 255, 0.15);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(138, 107, 255, 0.25);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width:860px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(12, 13, 18, 0.98);
    backdrop-filter: blur(24px);
    border: 1px solid var(--line-light);
    border-radius: 18px;
    padding: 14px;
    z-index: 49;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), opacity .3s ease;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-links a[aria-current="page"]::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs {
  padding: 110px 0 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fog-dim);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--fog-dim);
  transition: color .2s ease;
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs span {
  color: var(--fog-dim);
}

.section-light .breadcrumbs,
.section-light .breadcrumbs a {
  color: #7a7a83;
}

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  padding: 26px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  background: linear-gradient(180deg, rgba(8, 8, 11, 0.85) 0%, rgba(8, 8, 11, 0.65) 45%, rgba(8, 8, 11, 0.98) 100%), radial-gradient(circle at 75% 35%, rgba(138, 107, 255, 0.2), transparent 70%), url('../image/hero-bg.jpg') center right/cover no-repeat;
  opacity: 0.6;
  z-index: 0;
  animation: heroSlowDrift 40s ease-in-out infinite alternate;
  will-change: transform;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
  color: #c4b5fd;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.page-hero h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 19ch;
  color: #ffffff;
}

.page-hero h1 .grad,
.grad {
  background: var(--grad-ascend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: none !important;
}

.page-hero p.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: #e5e7eb;
  max-width: 58ch;
  margin-top: 22px;
  line-height: 1.65;
}


/* ---------- HOME HERO & ANIMATED ENTERPRISE TECH BG ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 90px;
  overflow: hidden;
  background: #08080b;
}

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

.hero-bg-layer {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  pointer-events: none;
  will-change: transform;
}

.hero-img {
  background: url('../image/hero-bg.jpg') right center/cover no-repeat;
  opacity: 0.85;
  animation: heroKenBurns 34s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.hero-glow {
  background: radial-gradient(circle at 75% 42%, rgba(138, 107, 255, 0.25) 0%, rgba(77, 141, 255, 0.12) 35%, transparent 65%);
  animation: heroGlowPulse 7s ease-in-out infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(8, 8, 11, 0.95) 0%, rgba(8, 8, 11, 0.75) 50%, rgba(8, 8, 11, 0.12) 100%), linear-gradient(90deg, rgba(8, 8, 11, 0.96) 0%, rgba(8, 8, 11, 0.82) 42%, rgba(8, 8, 11, 0.05) 100%), linear-gradient(180deg, rgba(8, 8, 11, 0.85) 0%, transparent 40%, rgba(8, 8, 11, 0.98) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: scale(1.07) translate3d(-1.2%, 0.8%, 0) rotate(0.8deg);
  }

  100% {
    transform: scale(1.12) translate3d(1.2%, -1%, 0) rotate(-0.6deg);
  }
}

@keyframes heroSlowDrift {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.08) translate3d(-1.2%, 0.8%, 0);
  }
}

@keyframes heroGlowPulse {
  0% {
    opacity: 0.5;
    filter: brightness(1) saturate(1);
  }

  50% {
    opacity: 0.85;
    filter: brightness(1.2) saturate(1.25);
  }

  100% {
    opacity: 0.55;
    filter: brightness(1.05) saturate(1.1);
  }
}


.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(12, 13, 22, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(138, 107, 255, 0.4);
  font-family: var(--ff-mono);
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-content .eyebrow {
  color: #c4b5fd;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0 0 20px;
  color: #ffffff;
}

.hero h1 .grad {
  background: var(--grad-ascend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: none !important;
}

.hero p {
  font-size: clamp(15px, 1.25vw, 17px);
  color: #e5e7eb;
  max-width: 48ch;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-chart {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60%;
  z-index: 3;
  opacity: 0.3;
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fog-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.scroll-cue .stick {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--violet), transparent);
  animation: cue 2s ease-in-out infinite;
}

@keyframes cue {
  0% {
    transform: scaleY(0.3);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    transform: scaleY(0.3);
    transform-origin: top;
  }
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: #fff;
  color: #08080b;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 28px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
  border: 1px solid #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(138, 107, 255, 0.35);
  background: #f4f5f8;
}

.btn-primary.btn-grad {
  background: var(--grad-ascend);
  color: #08080b;
  border: none;
  font-weight: 700;
}

.btn-primary.btn-grad:hover {
  box-shadow: 0 12px 32px rgba(255, 154, 77, 0.35);
}

.btn-ghost {
  font-size: 14.5px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(12, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  transition: all .25s ease;
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.section-light .btn-ghost {
  color: #4a4a54;
  border-color: var(--line-dark);
  background: transparent;
  text-shadow: none;
}

.section-light .btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(11, 11, 15, 0.3);
  background: rgba(0, 0, 0, 0.03);
}


/* ---------- MARQUEE ---------- */
.marquee-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: rgba(13, 14, 19, 0.85);
}

.marquee-track {
  display: inline-flex;
  animation: scroll-x 30s linear infinite;
}

.marquee-track span {
  font-family: var(--ff-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fog-dim);
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 30px;
}

.marquee-track span::after {
  content: '/';
  color: var(--violet);
}

@keyframes scroll-x {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- SECTION GENERIC ---------- */
section {
  position: relative;
  padding: 120px 0;
}

@media (max-width:640px) {
  section {
    padding: 76px 0;
  }
}

.section-dark {
  background: var(--bg-dark);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-light .eyebrow {
  color: var(--fog-dim);
}

/* ---------- ADVANCED SCROLL POP & REVEAL SYSTEM ---------- */
.reveal,
.reveal-pop,
.reveal-scale,
.reveal-left,
.reveal-right,
.reveal-card {
  opacity: 1;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.is-revealed,
.reveal-pop.is-revealed,
.reveal-scale.is-revealed,
.reveal-left.is-revealed,
.reveal-right.is-revealed,
.reveal-card.is-revealed,
.revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) rotate(0deg) !important;
}

.reveal-pop {
  transform: none;
}

.reveal-scale {
  transform: none;
}

.reveal-left {
  transform: none;
}

.reveal-right {
  transform: none;
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.08s !important; }
.delay-2 { transition-delay: 0.16s !important; }
.delay-3 { transition-delay: 0.24s !important; }
.delay-4 { transition-delay: 0.32s !important; }
.delay-5 { transition-delay: 0.40s !important; }
.delay-6 { transition-delay: 0.48s !important; }

/* 3D Interactive Card Tilt & Dynamic Spotlight */
.card-tilt,
.service-card,
.project-card,
.why-card,
.tech-card,
.industry-card,
.blog-card,
.contact-info-card {
  transform-style: preserve-3d;
  position: relative;
}

.card-tilt::after,
.service-card::after,
.project-card::after,
.why-card::after,
.tech-card::after,
.industry-card::after,
.blog-card::after,
.contact-info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(138, 107, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.card-tilt:hover::after,
.service-card:hover::after,
.project-card:hover::after,
.why-card:hover::after,
.tech-card:hover::after,
.industry-card:hover::after,
.blog-card:hover::after,
.contact-info-card:hover::after {
  opacity: 1;
}

/* ---------- ULTRA-IMMERSIVE DUAL-RING CYBER CURSOR ---------- */
.cyber-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 12px #00f0ff, 0 0 24px rgba(0, 240, 255, 0.6);
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              box-shadow 0.2s ease;
  will-change: transform;
}

.cyber-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(138, 107, 255, 0.7);
  background: rgba(138, 107, 255, 0.04);
  box-shadow: 0 0 16px rgba(138, 107, 255, 0.35), inset 0 0 8px rgba(0, 240, 255, 0.2);
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background 0.25s ease,
              box-shadow 0.25s ease;
  will-change: transform;
}

.cyber-cursor-ring.cursor-hover {
  width: 58px;
  height: 58px;
  border-color: #00f0ff;
  background: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6), inset 0 0 14px rgba(138, 107, 255, 0.4);
}

.cyber-cursor-dot.cursor-hover {
  width: 12px;
  height: 12px;
  background: #ff007a;
  box-shadow: 0 0 16px #ff007a;
}

.cyber-cursor-ring.cursor-click {
  transform: translate(-50%, -50%) scale(0.75);
}

@media (max-width: 900px), (pointer: coarse) {
  .cyber-cursor-dot, .cyber-cursor-ring { display: none !important; }
}

/* ---------- AMBIENT RADIAL LIGHT SPOTLIGHT ---------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 107, 255, 0.16) 0%, rgba(0, 240, 255, 0.08) 35%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  will-change: transform;
  mix-blend-mode: screen;
}

@media (max-width: 768px) {
  .cursor-glow { display: none; }
}

/* ---------- IMMERSIVE HERO SECTION WITH 3D TOPOLOGY DECK ---------- */
.hero-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  width: 100%;
  position: relative;
  z-index: 10;
}

.hero-left {
  min-width: 0;
  width: 100%;
}

@media (max-width: 1060px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Futuristic 3D Cyber Console Deck */
.hero-deck-container {
  position: relative;
  min-width: 0;
  width: 100%;
  background: linear-gradient(145deg, rgba(16, 18, 30, 0.92), rgba(9, 10, 18, 0.98));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(138, 107, 255, 0.45);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85),
              0 0 40px -10px rgba(138, 107, 255, 0.35),
              inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  perspective: 1200px;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: hidden;
  z-index: 15;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-deck-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 240, 255, 0.3) 60deg, transparent 120deg, rgba(138, 107, 255, 0.35) 240deg, transparent 300deg);
  animation: deckBorderSpin 12s linear infinite;
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
}

@keyframes deckBorderSpin {
  100% { transform: rotate(360deg); }
}

.hero-deck-inner {
  position: relative;
  z-index: 2;
  background: rgba(10, 11, 20, 0.88);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.deck-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.1);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.deck-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 10px #00f0ff;
  animation: pulse 1.6s infinite;
}

.deck-tabs-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}

.deck-tab-btn {
  background: transparent;
  border: none;
  color: var(--fog);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.deck-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.deck-tab-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(138, 107, 255, 0.45), rgba(77, 141, 255, 0.45));
  border: 1px solid rgba(138, 107, 255, 0.6);
  box-shadow: 0 4px 12px rgba(138, 107, 255, 0.25);
}

/* Interactive Topology Visualizer Canvas/SVG */
.deck-topology-view {
  background: rgba(5, 6, 12, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 14px;
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topology-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(138, 107, 255, 0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(138, 107, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.topology-flow-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  z-index: 2;
  align-items: center;
  margin-bottom: 12px;
}

@media (max-width: 580px) {
  .topology-flow-nodes {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.node-item {
  background: rgba(18, 20, 34, 0.85);
  border: 1px solid rgba(138, 107, 255, 0.3);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.node-item:hover, .node-item.node-active {
  border-color: #00f0ff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 240, 255, 0.25);
}

.node-icon {
  font-size: 18px;
  margin-bottom: 4px;
}

.node-name {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  display: block;
}

.node-sub {
  font-size: 9px;
  color: var(--fog-dim);
  font-family: var(--ff-mono);
}

/* Pulsing Data Conduit Flow */
.topology-conduit {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin: 8px 0;
  overflow: hidden;
}

.conduit-stream {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #00f0ff, #8a6bff, #ff007a, transparent);
  animation: conduitStream 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes conduitStream {
  0% { left: -40%; }
  100% { left: 140%; }
}

/* Live Telemetry Grid */
.deck-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.telemetry-pod {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 8px 12px;
}

.telemetry-label {
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--fog-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.telemetry-val {
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.telemetry-val span.unit {
  font-size: 10px;
  color: #00f0ff;
  font-weight: 400;
}

/* Benchmark Surge Interactive Action */
.deck-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 10px;
}

.deck-bench-btn {
  background: linear-gradient(135deg, #00f0ff, #8a6bff);
  border: none;
  color: #000000;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.35);
}

.deck-bench-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.6);
}

.deck-bench-btn:active {
  transform: scale(0.98);
}

.deck-terminal-log {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: #10b981;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
}



/* ---------- HIGH IMPACT SPRING-POP PHYSICS & 3D SCROLL REVEALS ---------- */
.spring-pop {
  transform: perspective(1000px) translateY(45px) scale(0.92) rotateX(10deg);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.spring-pop.spring-in {
  transform: perspective(1000px) translateY(0) scale(1) rotateX(0deg) !important;
  opacity: 1 !important;
}

/* ---------- IMMERSIVE CARD POP & NEON GLOW ON SCROLL ---------- */
.service-card,
.project-card,
.why-card,
.tech-card,
.industry-card,
.blog-card,
.testimonial-card,
.contact-info-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              background 0.3s ease;
  will-change: transform, box-shadow;
}

.service-card:hover,
.project-card:hover,
.why-card:hover,
.tech-card:hover,
.industry-card:hover,
.blog-card:hover,
.contact-info-card:hover {
  transform: perspective(1000px) translateY(-10px) scale(1.025) !important;
  border-color: rgba(138, 107, 255, 0.6) !important;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.75), 0 0 35px -5px rgba(138, 107, 255, 0.35) !important;
}

/* Ascent Rail Electric Neon Beam */
#ascent-fill {
  background: linear-gradient(180deg, #38bdf8 0%, #8a6bff 50%, #ff9a4d 100%) !important;
  box-shadow: 0 0 12px rgba(138, 107, 255, 0.85), 0 0 22px rgba(56, 189, 248, 0.55) !important;
}

#ascent-dot {
  background: #ffffff !important;
  box-shadow: 0 0 15px 4px #8a6bff, 0 0 25px 8px rgba(56, 189, 248, 0.8) !important;
  animation: pulseDot 1.5s infinite alternate;
}

@keyframes pulseDot {
  0% { transform: scale(1); }
  100% { transform: scale(1.35); }
}

/* Stat Number Pop Bounce */
.num-pop {
  animation: numPopAnim 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes numPopAnim {
  0% { transform: scale(0.7); opacity: 0.4; }
  60% { transform: scale(1.14); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- MANIFESTO / STATS ---------- */
.manifesto-head {
  max-width: 900px;
  margin-bottom: 60px;
}

.manifesto-head h2,
h2.headline {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.26;
  letter-spacing: -0.01em;
  margin-top: 20px;
}

.manifesto-head h2 b,
h2.headline b {
  font-weight: 700;
  background: var(--grad-ascend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: none !important;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line-dark);
  padding-top: 44px;
}

@media (max-width:700px) {
  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

.stat-item .num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 60px);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-dark .stat-item .num {
  color: #fff;
}

.stat-item .label {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fog-dim);
  margin-top: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- SECTION HEAD (generic) ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin-top: 18px;
}

.section-hint {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fog-dim);
  letter-spacing: 0.06em;
}

/* ---------- SERVICES GRID (hub page) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

@media (max-width:640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(138, 107, 255, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(138, 107, 255, 0.4);
  background: var(--bg-card-hover);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

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

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.service-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--violet);
  display: block;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(138, 107, 255, 0.1);
  border: 1px solid rgba(138, 107, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
}

.service-card h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: #fff;
}

.service-card p {
  font-size: 14.5px;
  color: var(--fog);
  line-height: 1.6;
  flex: 1;
}

.service-card .card-link {
  margin-top: 20px;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  color: var(--fog);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .25s ease;
}

.service-card:hover .card-link {
  color: #fff;
  gap: 10px;
}

/* Light variant — for service cards placed on a light-background section */
.service-card.light-card {
  background: #fff;
  border-color: var(--line-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card.light-card:hover {
  background: #fff;
  border-color: var(--violet);
  box-shadow: 0 14px 34px -10px rgba(138, 107, 255, 0.2);
}

.service-card.light-card .service-num {
  color: var(--violet);
}

.service-card.light-card h3 {
  color: var(--ink);
}

.service-card.light-card p {
  color: #555560;
}

.service-card.light-card .card-link {
  color: var(--fog-dim);
}

.service-card.light-card:hover .card-link {
  color: var(--violet);
}

/* ---------- CASE STUDIES / PROJECTS SHOWCASE ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 40px;
}

@media (max-width:820px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 141, 255, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  background: var(--bg-card-hover);
}

.project-eyebrow {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--sky);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.project-card h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.project-card p {
  font-size: 14.5px;
  color: var(--fog);
  line-height: 1.6;
  margin-bottom: 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 100px;
  color: var(--fog);
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.project-metric .metric-val {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  background: var(--grad-ascend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: none !important;
}

.project-metric .metric-lbl {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fog-dim);
  margin-top: 4px;
}

/* Dedicated Work / Case Study Styles */
.work-filter-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
  margin-bottom: 44px;
}

.work-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--fog);
  font-family: var(--ff-mono);
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .25s ease;
}

.work-filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.work-filter-btn.active {
  background: var(--grad-ascend);
  color: #08080b;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(138, 107, 255, 0.35);
}

.case-study-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-study-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 44px;
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
  position: relative;
  overflow: hidden;
}

.case-study-card:hover {
  border-color: rgba(138, 107, 255, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px);
}

.case-study-card.hide {
  display: none;
}

.case-study-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.case-study-header .title-area h2 {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  color: #fff;
  margin-top: 6px;
  margin-bottom: 0;
}

.case-study-badge {
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(138, 107, 255, 0.12);
  color: var(--violet);
  border: 1px solid rgba(138, 107, 255, 0.3);
  white-space: nowrap;
}

.case-study-body {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: start;
}

@media (max-width:920px) {
  .case-study-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.cs-block {
  margin-bottom: 20px;
}

.cs-block h4 {
  font-family: var(--ff-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky);
  margin-bottom: 8px;
}

.cs-block p {
  font-size: 14.5px;
  color: var(--fog);
  line-height: 1.65;
  margin: 0;
}

.cs-sidebar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.cs-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.cs-metric-item .val {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 700;
  background: var(--grad-ascend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: none !important;
}

.cs-metric-item .lbl {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--fog-dim);
  margin-top: 4px;
  line-height: 1.4;
}

.cs-tech-title {
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fog-dim);
  margin-bottom: 10px;
}

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

.cs-tech-tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 100px;
  color: #fff;
}

@media (max-width:640px) {
  .work-filter-nav {
    margin-top: 24px;
    margin-bottom: 32px;
    gap: 8px;
  }

  .work-filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .case-study-list {
    gap: 28px;
  }

  .case-study-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .case-study-header {
    margin-bottom: 18px;
    padding-bottom: 18px;
    gap: 12px;
  }

  .case-study-header .title-area h2 {
    font-size: 22px;
  }

  .cs-sidebar {
    padding: 18px;
    border-radius: 16px;
  }

  .cs-metrics-grid {
    gap: 14px;
    margin-bottom: 18px;
  }

  .cs-metric-item .val {
    font-size: 24px;
  }

  .project-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .project-card h3 {
    font-size: 21px;
  }
}

@media (max-width:420px) {
  .cs-metrics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---------- TECH STACK MATRIX ---------- */
.tech-matrix-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  margin-top: 40px;
}

.tech-tab-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.tech-tab-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fog);
  font-family: var(--ff-mono);
  font-size: 12.5px;
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .25s ease;
}

.tech-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.tech-tab-btn.active {
  background: var(--grad-ascend);
  color: #08080b;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(138, 107, 255, 0.3);
}

.tech-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.tech-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: all .25s ease;
}

.tech-pill:hover {
  background: rgba(138, 107, 255, 0.1);
  border-color: rgba(138, 107, 255, 0.4);
  transform: translateY(-2px);
}

.tech-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--violet);
  flex-shrink: 0;
}

@media (max-width:640px) {
  .tech-matrix-box {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .tech-tab-nav {
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .tech-tab-btn {
    font-size: 11.5px;
    padding: 6px 14px;
  }

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

  .tech-pill {
    padding: 12px 10px;
    font-size: 13px;
    gap: 8px;
  }
}

@media (max-width:380px) {
  .tech-pill-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- TESTIMONIALS & TRUST ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

@media (max-width:920px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .3s ease;
}

.testimonial-card:hover {
  border-color: rgba(138, 107, 255, 0.35);
  transform: translateY(-4px);
}

.stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 14.5px;
  color: var(--fog);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.client-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-ascend);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #08080b;
}

.client-info h5 {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}

.client-info span {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--fog-dim);
}

.trust-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fog);
}

.trust-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
}

/* ---------- WHY ASCENSIFY & METHODOLOGY GRID ---------- */
.why-grid,
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width:980px) {

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

@media (max-width:580px) {

  .why-grid,
  .methodology-grid {
    grid-template-columns: 1fr;
  }
}

.why-card,
.methodology-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 26px;
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.why-card:hover,
.methodology-card:hover {
  border-color: rgba(138, 107, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  background: var(--bg-card-hover);
}

.why-num,
.methodology-badge {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--amber);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.why-card h4,
.methodology-card h4 {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.why-card p,
.methodology-card p {
  font-size: 14px;
  color: #b0b2c3;
  line-height: 1.6;
  margin: 0;
}

.section-light .why-card,
.section-light .methodology-card {
  background: #ffffff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.section-light .why-card:hover,
.section-light .methodology-card:hover {
  border-color: var(--violet);
  box-shadow: 0 12px 30px rgba(138, 107, 255, 0.12);
}

.section-light .why-card h4,
.section-light .methodology-card h4 {
  color: var(--ink);
}

.section-light .why-card p,
.section-light .methodology-card p {
  color: #52525c;
}

/* ---------- PROJECT COST ESTIMATOR WIDGET ---------- */
.estimator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  margin-top: 40px;
}

@media (max-width:640px) {
  .estimator-wrapper {
    padding: 24px;
  }
}

.est-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

@media (max-width:880px) {
  .est-grid {
    grid-template-columns: 1fr;
  }
}

.est-step-title {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--violet);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.est-options-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.est-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--fog);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all .2s ease;
}

.est-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.est-btn.active {
  background: rgba(138, 107, 255, 0.15);
  border-color: var(--violet);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(138, 107, 255, 0.2);
}

.est-summary-card {
  background: var(--bg-dark-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.est-range-box {
  margin: 20px 0;
}

.est-range-val {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  background: var(--grad-ascend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: none !important;
}

.est-timeline-val {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--fog);
  margin-top: 6px;
}

.est-perks {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  font-size: 12.5px;
  color: var(--fog-dim);
}

.est-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.est-perks li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: bold;
}

.est-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.est-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.est-whatsapp-btn:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  color: #ffffff !important;
}

.est-whatsapp-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

/* ---------- FLOATING WHATSAPP & DIRECT CONNECT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 100px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: waPulse 2.8s infinite;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 10px 25px rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 10px 25px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 25px rgba(37, 211, 102, 0.4);
  }
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.whatsapp-float svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

@media (max-width:640px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    font-size: 0;
  }

  .whatsapp-float span {
    display: none;
  }
}

/* ---------- FEATURE SPLIT ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

@media (max-width:880px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.feature h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.02em;
  margin: 20px 0 22px;
  line-height: 1.15;
}

.feature p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fog);
  max-width: 52ch;
}

.section-light .feature p {
  color: #4a4a52;
}

.feature-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.feature-tags span {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  color: var(--fog);
  background: rgba(255, 255, 255, 0.02);
}

.section-light .feature-tags span {
  border-color: var(--line-dark);
  color: #5b5b63;
  background: rgba(0, 0, 0, 0.02);
}

.node-canvas {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 28px;
  background: radial-gradient(circle at 30% 30%, rgba(138, 107, 255, 0.18), transparent 60%), var(--bg-dark-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.node-canvas svg {
  width: 100%;
  height: 100%;
}

.mobile-mock {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 230px;
  height: 460px;
  border-radius: 36px;
  background: linear-gradient(160deg, #101119, #08080b);
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.phone-glow {
  position: absolute;
  inset: 0;
  background: var(--grad-ascend);
  opacity: 0.16;
}

.phone-bars {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 40px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}

.phone-bars i {
  flex: 1;
  background: var(--grad-ascend);
  border-radius: 5px 5px 0 0;
  opacity: 0.9;
}

/* ---------- SECURITY / SHIELD ---------- */
.security-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

@media (max-width:880px) {
  .security-wrap {
    grid-template-columns: 1fr;
  }
}

.shield-vis {
  aspect-ratio: 1/0.9;
  position: relative;
}

.sec-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.sec-list .row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.sec-list .row:first-child {
  border-top: none;
  padding-top: 0;
}

.sec-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-ascend);
  margin-top: 8px;
  flex: 0 0 auto;
}

.sec-list h4 {
  font-family: var(--ff-display);
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.sec-list p {
  font-size: 14px;
  color: var(--fog);
  line-height: 1.55;
  max-width: 44ch;
}

/* ---------- INDUSTRIES GRID ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 50px;
}

@media (max-width:980px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:560px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

.industry-cell {
  position: relative;
  background: var(--paper);
  padding: 38px 26px;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
}

.industry-cell:hover {
  background: #fff;
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.industry-cell h4 {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.industry-cell span {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--violet);
  font-weight: 600;
}

.industry-cell p {
  font-size: 13.5px;
  color: #5b5b63;
  margin-top: 10px;
  line-height: 1.55;
}

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

@media (max-width:820px) {
  .industry-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:560px) {
  .industry-grid--3col {
    grid-template-columns: 1fr;
  }
}

/* ---------- LEADERSHIP GRID (about.html) ---------- */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 50px;
}

@media (max-width:820px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }
}

.leader-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all .35s ease;
}

.leader-card:hover {
  border-color: rgba(138, 107, 255, 0.4);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.leader-top {
  display: flex;
  gap: 24px;
  align-items: center;
}

@media (max-width:540px) {
  .leader-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

.leader-photo {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--line);
  flex-shrink: 0;
  background: var(--bg-dark-2);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.leader-card:hover .leader-photo img {
  transform: scale(1.06);
}

.leader-name {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.leader-role {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--violet);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.leader-quote {
  font-size: 14.5px;
  color: var(--fog);
  line-height: 1.65;
  font-style: italic;
}

/* ---------- FOUNDER QUOTE ---------- */
.founder {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
  align-items: center;
}

@media (max-width:820px) {
  .founder {
    grid-template-columns: 1fr;
  }
}

.founder-photo {
  aspect-ratio: 1/1;
  border-radius: 26px;
  background: linear-gradient(150deg, #171826, #08080b);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder-photo .initials {
  font-family: var(--ff-display);
  font-size: 64px;
  font-weight: 600;
  background: var(--grad-ascend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: none !important;
}

.founder-quote {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}

.founder-name {
  font-weight: 600;
  font-size: 15px;
}

.founder-role {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fog-dim);
  margin-top: 4px;
}

/* ---------- TIMELINE (service detail process) ---------- */
.process-list {
  display: grid;
  gap: 0;
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.process-item .step-num {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--violet);
  font-weight: 600;
}

.process-item h4 {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.process-item p {
  font-size: 14.5px;
  color: var(--fog);
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--line-dark);
}

.section-dark .faq-list {
  border-top-color: var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line-dark);
  padding: 24px 0;
}

.section-dark .faq-item {
  border-bottom-color: var(--line);
}

.faq-item summary {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--ff-mono);
  font-size: 20px;
  color: var(--violet);
  transition: transform .25s ease;
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 14.5px;
  color: #4a4a52;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 64ch;
}

.section-dark .faq-item p {
  color: var(--fog);
}

/* ---------- RELATED LINKS ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

@media (max-width:820px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: all .3s ease;
}

.related-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.related-card .eyebrow {
  margin-bottom: 12px;
}

.related-card h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
}

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

/* ---------- CTA / CONTACT ---------- */
.cta-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-wrap h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(30px, 5.4vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 22px 0 30px;
}

form.contact-form {
  max-width: 580px;
  margin: 40px auto 0;
  text-align: left;
  display: grid;
  gap: 16px;
}

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

@media (max-width:560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--bg-dark-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--ff-body);
  font-size: 14.5px;
  transition: border-color .25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 12px rgba(138, 107, 255, 0.25);
}

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

.contact-form button {
  justify-self: start;
  background: var(--grad-ascend);
  color: #08080b;
  font-weight: 700;
  font-size: 14.5px;
  padding: 15px 34px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(138, 107, 255, 0.4);
}

.form-note {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--fog-dim);
  margin-top: 4px;
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  margin-top: 8px;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  text-align: left;
}

@media (max-width:820px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: all .25s ease;
}

.contact-info-card:hover {
  border-color: rgba(138, 107, 255, 0.35);
  transform: translateY(-3px);
}

.contact-info-card .eyebrow {
  margin-bottom: 14px;
}

.contact-info-card p {
  font-size: 14.5px;
  color: var(--fog);
  line-height: 1.6;
}

.contact-info-card a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- ARTICLE / PROSE (about page etc) ---------- */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.01em;
  margin: 50px 0 18px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fog);
  margin-bottom: 18px;
}

.section-light .prose p {
  color: #3f3f47;
}

/* ---------- FOOTER ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  background: var(--bg-dark-2);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.footer-cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fog-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--fog);
  margin-bottom: 10px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom span {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--fog-dim);
}

@media (max-width:768px) {
  .footer-cols {
    gap: 36px 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .btn-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-form button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ---------- LIVE CLIENT LINK BADGE ---------- */
.live-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(77, 141, 255, 0.12);
  border: 1px solid rgba(77, 141, 255, 0.35);
  padding: 6px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: all .25s ease;
}

.live-link-btn:hover {
  background: var(--cyan);
  color: #08080b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(77, 141, 255, 0.4);
}

.live-link-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ---------- BLOG & INSIGHTS ---------- */
.blog-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 44px;
  justify-content: center;
}

.blog-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--fog);
  font-family: var(--ff-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.blog-filter-btn.active {
  background: var(--grad-ascend);
  color: #08080b;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(138, 107, 255, 0.4);
}

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

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

@media (max-width:680px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.blog-card:hover {
  border-color: var(--violet);
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(138, 107, 255, 0.15);
}

.blog-card.featured {
  grid-column: span 2;
}

@media (max-width:1024px) {
  .blog-card.featured {
    grid-column: span 2;
  }
}

@media (max-width:680px) {
  .blog-card.featured {
    grid-column: span 1;
  }
}

.blog-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.blog-tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(138, 107, 255, 0.14);
  border: 1px solid rgba(138, 107, 255, 0.3);
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-tag.cyan {
  background: rgba(77, 141, 255, 0.14);
  border-color: rgba(77, 141, 255, 0.3);
  color: var(--cyan);
}

.blog-tag.amber {
  background: rgba(255, 154, 77, 0.14);
  border-color: rgba(255, 154, 77, 0.3);
  color: var(--amber);
}

.blog-meta {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--fog-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.blog-card.featured .blog-card-title {
  font-size: 24px;
}

.blog-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fog);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  margin-top: auto;
}

.blog-author {
  font-size: 12.5px;
  color: var(--fog);
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad-ascend);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #08080b;
}

.blog-read-link {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: gap .2s ease;
}

.blog-card:hover .blog-read-link {
  gap: 8px;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}


/* ==========================================================================
   ASCENSIFY AI COPILOT (Technical Solution Architect & Estimator)
   ========================================================================== */
.copilot-trigger {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(22, 24, 38, 0.92), rgba(12, 13, 24, 0.96));
  border: 1px solid rgba(138, 107, 255, 0.45);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 25px rgba(138, 107, 255, 0.25);
  cursor: pointer;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.copilot-trigger:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--cyan);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 35px rgba(77, 141, 255, 0.45);
  color: #ffffff;
}

.copilot-trigger-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-ascend);
  border-radius: 50%;
  color: #08080b;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(77, 141, 255, 0.6);
  animation: copilotPulse 2.8s infinite ease-in-out;
}

@keyframes copilotPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(77, 141, 255, 0.6);
  }

  50% {
    transform: scale(1.12);
    box-shadow: 0 0 20px rgba(138, 107, 255, 0.85);
  }
}

/* Copilot Modal Dialog */
.copilot-modal {
  position: fixed;
  bottom: 86px;
  left: 28px;
  width: 420px;
  max-width: calc(100vw - 36px);
  height: 590px;
  max-height: calc(100vh - 110px);
  z-index: 1000;
  background: rgba(11, 12, 20, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(138, 107, 255, 0.35);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(138, 107, 255, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transition: opacity .3s ease, transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.copilot-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Copilot Header */
.copilot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  background: linear-gradient(180deg, rgba(24, 26, 42, 0.9), rgba(15, 17, 28, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.copilot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.copilot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #101222, #1d1e3a);
  border: 1px solid var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 0 14px rgba(138, 107, 255, 0.35);
}

.copilot-header-title {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.copilot-header-subtitle {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.copilot-status-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: statusGlow 2s infinite ease-in-out;
}

@keyframes statusGlow {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.copilot-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.copilot-btn-icon {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--fog);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s ease;
}

.copilot-btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--violet);
}

/* Copilot Messages Container */
.copilot-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.copilot-body::-webkit-scrollbar {
  width: 5px;
}

.copilot-body::-webkit-scrollbar-track {
  background: transparent;
}

.copilot-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

/* Message Bubbles */
.copilot-msg {
  max-width: 92%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.copilot-msg.bot {
  align-self: flex-start;
}

.copilot-msg.user {
  align-self: flex-end;
}

.copilot-bubble {
  padding: 13px 16px;
  font-size: 13.5px;
  line-height: 1.58;
}

.copilot-msg.bot .copilot-bubble {
  background: rgba(22, 25, 42, 0.85);
  border: 1px solid rgba(138, 107, 255, 0.25);
  border-radius: 16px 16px 16px 4px;
  color: #e2e4ef;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.copilot-msg.user .copilot-bubble {
  background: linear-gradient(135deg, rgba(138, 107, 255, 0.35), rgba(77, 141, 255, 0.3));
  border: 1px solid rgba(138, 107, 255, 0.45);
  border-radius: 16px 16px 4px 16px;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(77, 141, 255, 0.18);
}

.copilot-msg-time {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--fog-dim);
  padding: 0 4px;
}

.copilot-msg.user .copilot-msg-time {
  text-align: right;
}

/* Structured Architecture Card inside bot message */
.copilot-spec-card {
  margin-top: 10px;
  background: rgba(12, 13, 24, 0.85);
  border: 1px solid rgba(77, 141, 255, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.copilot-spec-title {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.copilot-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.copilot-badge {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(138, 107, 255, 0.15);
  border: 1px solid rgba(138, 107, 255, 0.3);
  color: var(--violet);
}

.copilot-badge.cyan {
  background: rgba(77, 141, 255, 0.15);
  border-color: rgba(77, 141, 255, 0.3);
  color: var(--cyan);
}

.copilot-badge.amber {
  background: rgba(255, 154, 77, 0.15);
  border-color: rgba(255, 154, 77, 0.3);
  color: var(--amber);
}

.copilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.copilot-action-btn {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--violet);
  background: rgba(138, 107, 255, 0.2);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s ease;
}

.copilot-action-btn:hover {
  background: var(--grad-ascend);
  color: #08080b;
  border-color: transparent;
  transform: translateY(-1px);
}

.copilot-action-btn.whatsapp {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
  color: #25d366;
}

.copilot-action-btn.whatsapp:hover {
  background: #25d366;
  color: #fff;
}

/* Quick Starter Chips */
.copilot-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.copilot-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cyan);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-family: var(--ff-mono);
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.copilot-chip:hover {
  background: rgba(77, 141, 255, 0.16);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-1px);
}

/* Typing Indicator */
.copilot-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  background: rgba(22, 25, 42, 0.85);
  border: 1px solid rgba(138, 107, 255, 0.25);
  border-radius: 16px 16px 16px 4px;
  width: fit-content;
}

.copilot-typing-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.copilot-typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.copilot-typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingBounce {

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

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Copilot Footer / Input Area */
.copilot-footer {
  padding: 14px 16px 12px;
  background: rgba(15, 17, 28, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copilot-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copilot-input {
  flex: 1;
  background: rgba(24, 27, 44, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 11px 14px;
  color: #fff;
  font-family: var(--ff-body);
  font-size: 13.5px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.copilot-input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 12px rgba(138, 107, 255, 0.3);
}

.copilot-input::placeholder {
  color: var(--fog-dim);
}

.copilot-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-ascend);
  border: none;
  color: #08080b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}

.copilot-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(77, 141, 255, 0.5);
}

.copilot-send-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.copilot-disclaimer {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--fog-dim);
  text-align: center;
  margin-top: 8px;
  opacity: 0.8;
}

@media (max-width:560px) {
  .copilot-trigger {
    bottom: 20px;
    left: 20px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .copilot-modal {
    bottom: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: 85vh;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
  }
}

.apple-h-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.apple-h-metric .val {
  font-family: var(--ff-display);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  background: var(--grad-ascend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.apple-h-metric .lbl {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--fog-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- 5. FROSTED GLASS BENTO GRID ---------- */
.apple-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

.bento-col-8 {
  grid-column: span 8;
}

.bento-col-12 {
  grid-column: span 12;
}

.bento-card {
  background: rgba(17, 18, 28, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0, 0.2, 1);
}

.bento-card:hover {
  border-color: rgba(138, 107, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(138, 107, 255, 0.15);
}

.bento-card .bento-num {
  font-family: var(--ff-display);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-ascend);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.bento-card h4 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.bento-card p {
  color: var(--fog);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 900px) {

  .bento-col-4,
  .bento-col-6,
  .bento-col-8 {
    grid-column: span 12;
  }
}

/* ==========================================================================
   MULTI-BILLION DOLLAR ENTERPRISE AI & TITANIUM MARQUEE SYSTEM
   ========================================================================== */

/* ---------- 1. TITANIUM CAPSULE MARQUEE RIBBON ---------- */
.titanium-marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(138, 107, 255, 0.06) 0%, rgba(8, 8, 11, 0.95) 75%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin: 40px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent 100%);
}

.titanium-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: titaniumScroll 32s linear infinite;
  user-select: none;
}

.titanium-marquee-track.reverse {
  animation: titaniumScrollReverse 38s linear infinite;
  margin-top: 14px;
}

.marquee-capsule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: rgba(18, 20, 32, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #e5e7eb;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.marquee-capsule:hover {
  border-color: rgba(138, 107, 255, 0.6);
  background: rgba(28, 30, 48, 0.9);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 107, 255, 0.25);
}

.capsule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.capsule-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
}

@keyframes titaniumScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes titaniumScrollReverse {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* ---------- 2. ENTERPRISE MULTI-MODEL AI COMMAND CENTER ---------- */
.ai-command-section {
  position: relative;
  padding: 130px 0 110px;
  background: radial-gradient(circle at 50% 30%, rgba(138, 107, 255, 0.12) 0%, rgba(8, 8, 11, 0.98) 70%);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-deck-container {
  max-width: 1160px;
  margin: 50px auto 0;
  background: rgba(12, 13, 22, 0.88);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 50px rgba(138, 107, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.ai-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.ai-deck-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  text-transform: uppercase;
}

.ai-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--emerald);
  font-weight: 600;
}

.ai-status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse 2s infinite;
}

/* Model Selector Tabs */
.ai-model-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(8, 8, 14, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-model-tab {
  padding: 20px 22px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.ai-model-tab:last-child {
  border-right: none;
}

.ai-model-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-ascend);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ai-model-tab:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ai-model-tab.active {
  background: rgba(22, 24, 38, 0.85);
}

.ai-model-tab.active::before {
  opacity: 1;
}

.model-tab-id {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--violet);
  margin-bottom: 4px;
}

.model-tab-name {
  font-family: var(--ff-display);
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
}

.model-tab-desc {
  font-size: 12px;
  color: var(--fog-dim);
  margin-top: 4px;
}

/* Interactive Simulator Body */
.ai-deck-body {
  padding: 38px 36px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: start;
}

.ai-terminal-panel {
  background: rgba(8, 8, 14, 0.8);
  border: 1px solid rgba(138, 107, 255, 0.25);
  border-radius: 18px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.ai-terminal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-prompt-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.ai-prompt-input {
  flex: 1;
  background: rgba(18, 19, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-prompt-input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 14px rgba(138, 107, 255, 0.35);
}

.ai-run-btn {
  background: var(--grad-ascend);
  color: #08080b;
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 12px;
  padding: 0 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.ai-run-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(138, 107, 255, 0.5);
}

.ai-output-stream {
  font-family: var(--ff-mono);
  font-size: 13px;
  line-height: 1.75;
  color: #e2e8f0;
  min-height: 180px;
  max-height: 260px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.ai-output-stream .hl-key {
  color: #ff9a4d;
}

.ai-output-stream .hl-val {
  color: #10b981;
}

.ai-output-stream .hl-fn {
  color: #4d8dff;
}

.ai-output-stream .hl-metric {
  color: #c4b5fd;
  font-weight: 700;
}

/* Metrics & Telemetry Gauges */
.ai-gauges-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ai-gauge-card {
  background: rgba(18, 19, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.ai-gauge-card:hover {
  border-color: rgba(138, 107, 255, 0.4);
  background: rgba(24, 26, 42, 0.9);
  transform: translateX(4px);
}

.ai-gauge-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fog);
  text-transform: uppercase;
}

.ai-gauge-sub {
  font-size: 12px;
  color: var(--fog-dim);
  margin-top: 3px;
}

.ai-gauge-val {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 800;
  text-align: right;
}

@media (max-width: 900px) {
  .ai-model-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .ai-deck-body {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .ai-model-tabs {
    grid-template-columns: 1fr;
  }
}

/* ---------- 3. GLOBAL ENTERPRISE EDGE DEPLOYMENTS ---------- */
.global-infra-section {
  padding: 100px 0;
  background: #08080b;
  position: relative;
  overflow: hidden;
}

.global-cluster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.cluster-card {
  background: rgba(16, 17, 27, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.cluster-card:hover {
  border-color: rgba(138, 107, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(138, 107, 255, 0.18);
}

.cluster-region {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--violet);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cluster-card h4 {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.cluster-status-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fog);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cluster-status-row span.online {
  color: var(--emerald);
  font-weight: 700;
}

@media (max-width: 960px) {
  .global-cluster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .global-cluster-grid {
    grid-template-columns: 1fr;
  }
}