/* reset & fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Text selection styling */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(201, 168, 76, 0.3);
  color: #fff;
}

:root {
  --bg-dark: #050505;
  --text-main: #f5f5f7;
  --text-muted: #a1a1aa;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-glow: rgba(255, 255, 255, 0.02);
  --accent-indigo: #c9a84c;
  --accent-blue: #b8943e;
  --accent-violet: #d4af37;
  --accent-green: #1a6b4a;
  --accent-red: #ef4444;
  --accent-cyan: #2d8a6e;
  --accent-pink: #d4af37;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Elements */
.bg-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float 20s infinite ease-in-out alternate;
}

.sphere-1 {
  width: 600px;
  height: 600px;
  top: -10%;
  left: -10%;
  background: #c9a84c;
}

.sphere-2 {
  width: 400px;
  height: 400px;
  top: 40%;
  right: -5%;
  background: #1a6b4a;
  animation-delay: -5s;
}

.sphere-3 {
  width: 500px;
  height: 500px;
  bottom: -20%;
  left: 30%;
  background: #d4af37;
  animation-delay: -10s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -50px) scale(1.1);
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 30%, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, #c9a84c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--accent-indigo);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

.min-h-screen {
  min-height: 100vh;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.flex-row {
  display: flex;
  gap: 4rem;
}

.flex-row-reverse {
  display: flex;
  gap: 4rem;
  flex-direction: row-reverse;
}

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

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

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

.mt-medium {
  margin-top: 3rem;
}

.mt-large {
  margin-top: 5rem;
}

.mb-medium {
  margin-bottom: 3rem;
}

.mb-large {
  margin-bottom: 5rem;
}

.mb-xl {
  margin-bottom: 8rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .flex-row,
  .flex-row-reverse {
    flex-direction: column;
  }

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

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

@media (max-width: 768px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2-cols {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 5rem 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: #e4e4e7;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

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

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 10;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 60px;
  border-radius: 100px;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

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

.preloader-logo-img {
  height: clamp(32px, 4vw, 48px);
  width: auto;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin: 0 1rem;
  transition: color 0.2s;
}

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

/* Hamburger Button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 102;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.mobile-menu-links a:hover {
  color: var(--accent-indigo);
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* Glassmorphism */
.glass-panel {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.02),
    0 20px 40px rgba(0, 0, 0, 0.5);
}

.glass-card {
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

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

/* Cards hover specific */
.hover-glow:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(201, 168, 76, 0.1);
}

.hover-expand {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hover-expand:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Section Specifics */
/* Hero Visuals */
.hero {
  padding-top: 120px;
  position: relative;
}

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

.floating-card {
  position: absolute;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: floatCard 6s infinite alternate ease-in-out;
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-20px);
  }
}

.card-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.card-2 {
  top: 60%;
  right: 10%;
  animation-delay: -2s;
}

.card-3 {
  bottom: 15%;
  left: 25%;
  animation-delay: -4s;
}

.var-green {
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  padding: 8px;
  border-radius: 8px;
}

.var-red {
  color: var(--accent-red);
  background: rgba(239, 68, 68, 0.1);
  padding: 8px;
  border-radius: 8px;
}

.var-blue {
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.1);
  padding: 8px;
  border-radius: 8px;
}

.card-text {
  display: flex;
  flex-direction: column;
}

.card-text .label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-text .value {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  width: 100%;
  height: 100%;
}

/* Signal Cards (pipeline section) */
.signal-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.signal-card {
  padding: 1rem 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Pillars Section */
.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid;
}

.glow-blue {
  border-color: rgba(184, 148, 62, 0.3);
  color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(184, 148, 62, 0.2);
}

.glow-indigo {
  border-color: rgba(201, 168, 76, 0.3);
  color: var(--accent-indigo);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}

.glow-violet {
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--accent-violet);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.glow-cyan {
  border-color: rgba(45, 138, 110, 0.3);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(45, 138, 110, 0.2);
}

/* Pipeline Flow */
.flow-pipeline {
  display: inline-flex;
  align-items: center;
  background: rgba(20, 20, 20, 0.6);
  padding: 1rem 2rem;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  gap: 1.5rem;
}

.flow-step {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.flow-arrow {
  color: rgba(255, 255, 255, 0.2);
  font-family: monospace;
}

.flow-step.highlight {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.flow-step.outcome {
  color: var(--accent-indigo);
  background: rgba(201, 168, 76, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

/* Dashboard Visual */
.dashboard-visual {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  overflow: hidden;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.5);
}

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

.dash-header .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}

.dash-header .dots span:nth-child(1) {
  background: #ef4444;
}

.dash-header .dots span:nth-child(2) {
  background: #eab308;
}

.dash-header .dots span:nth-child(3) {
  background: #10b981;
}

.dash-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
  margin: 0 auto;
}

.dash-body {
  padding: 1.5rem;
  gap: 2rem;
}

.dash-sidebar {
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skeleton-line {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.skeleton-line.short {
  width: 60%;
}

.skeleton-line.medium {
  width: 80%;
}

.dash-main {
  flex: 1;
  position: relative;
}

.chart-container {
  height: 160px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.chart-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.1), transparent);
}

.sine-wave-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sine-wave {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 2s ease-out;
}

.sine-wave.animated {
  stroke-dashoffset: 0;
}

.ai-recommendation {
  position: absolute;
  bottom: -30px;
  right: 20px;
  width: 280px;
  padding: 1.5rem;
  text-align: left;
  background: rgba(10, 10, 15, 0.9);
}

.pulse-border {
  position: relative;
  box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(201, 168, 76, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
  }
}

.ai-badge {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #c9a84c;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 700;
}

/* Industry Experience */
.industry-selector {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.industry-tiles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.industry-tile {
  padding: 1.25rem;
  border-radius: 12px;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.3s;
  text-align: left;
}

.industry-tile:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
}

.industry-tile.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.industry-display {
  flex: 2;
  padding: 3rem;
  border-radius: 24px;
  min-height: 400px;
}

.display-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.display-layers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.layer {
  padding: 1.5rem;
  border-radius: 16px;
  border-left: 4px solid;
  background: rgba(0, 0, 0, 0.3);
}

.layer-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  display: block;
}

.layer p {
  margin: 0;
  font-size: 1.1rem;
}

.ai-layer {
  border-color: var(--accent-indigo);
}

.strat-layer {
  border-color: var(--accent-blue);
}

.exec-layer {
  border-color: var(--accent-green);
}

@media (max-width: 1024px) {
  .industry-selector {
    flex-direction: column;
  }

  .industry-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}

/* AI + Human Split Sec */
.split-content {
  flex: 1;
}

.split-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.integration-flow {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.if-step {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.if-step span {
  font-weight: 700;
  color: var(--accent-indigo);
  font-family: monospace;
}

.hologram-effect {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.3);
  animation: spin 10s linear infinite;
}

.circle-ring.delay {
  width: 70%;
  height: 70%;
  border: 1px dotted rgba(26, 107, 74, 0.5);
  animation: spinReverse 15s linear infinite;
}

.human-ai-node {
  width: 80px;
  height: 80px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
  z-index: 2;
}

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

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

/* Detail Pillars */
.feature-text {
  flex: 1;
}

.feature-visual {
  flex: 1;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-list li {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-main);
}

/* Strategic Chart Abstract */
.abstract-bars {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  height: 150px;
}

.bar {
  width: 40px;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.05);
}

.bar.h-40 {
  height: 40%;
}

.bar.h-60 {
  height: 60%;
}

.bar.h-80 {
  height: 80%;
}

.bar.h-100 {
  height: 100%;
}

.bar.highlight {
  background: linear-gradient(to top, var(--accent-indigo), var(--accent-green));
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

/* Execution Gear */
.gear-rotator {
  color: rgba(255, 255, 255, 0.1);
  width: 120px;
  height: 120px;
  animation: spin 20s linear infinite;
}

/* Human Ripple */
.border-glow-pink {
  border-color: rgba(236, 72, 153, 0.2);
}

.ripple-container {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(236, 72, 153, 0.5);
  animation: rippleAnim 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ripple.r2 {
  animation-delay: 1s;
}

.ripple.r3 {
  animation-delay: 2s;
}

.text-pink {
  color: var(--accent-pink);
}

@keyframes rippleAnim {
  0% {
    transform: scale(1);
    opacity: 1;
  }

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

/* Timeline */
.timeline {
  position: relative;
  width: 100%;
  height: 100px;
  margin-top: 4rem;
}

.timeline-line {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 20px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-green));
  z-index: 2;
}

.timeline-nodes {
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.t-node {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.t-node .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s;
}

/* Timeline dot animations now handled by GSAP ScrollTrigger */

.t-node span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

@media (max-width: 768px) {
  .timeline-nodes .t-node span {
    display: none;
  }
}

/* CTA */
.cta-glass-panel {
  padding: 6rem 2rem;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 25, 0.8),
    rgba(10, 10, 15, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 40px rgba(201, 168, 76, 0.05);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 600px) {
  .cta-actions {
    flex-direction: column;
  }
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem;
  background: rgba(5, 5, 5, 0.9);
}

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

.footer-brand h3 {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 250px;
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links a {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* Sustainability */
.badge-green {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
}

.text-green {
  color: var(--accent-green);
}

.border-glow-green {
  border-color: rgba(16, 185, 129, 0.2);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.globe-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-wireframe {
  width: 250px;
  height: 250px;
  animation: spinGlobe 20s linear infinite;
}

@keyframes spinGlobe {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.pulse-point {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow:
    0 0 10px var(--accent-green),
    0 0 20px var(--accent-green);
  animation: pointPulse 2s infinite;
}

.pulse-point.p1 {
  top: 30%;
  left: 40%;
  animation-delay: 0s;
}

.pulse-point.p2 {
  top: 60%;
  right: 30%;
  animation-delay: 0.5s;
}

.pulse-point.p3 {
  bottom: 20%;
  left: 50%;
  animation-delay: 1s;
}

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

@keyframes pointPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(2);
    opacity: 0.2;
  }

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

/* =============================================
   ENHANCED ANIMATIONS & EFFECTS
   ============================================= */

/* Lenis Smooth Scroll */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-green));
  z-index: 101;
  transform-origin: left;
  transform: scaleX(0);
}

/* Morphing Navbar */
.navbar {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar--scrolled {
  width: 85%;
  max-width: 1000px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  height: 54px;
  padding: 0 1.25rem;
}

.nav-links a {
  position: relative;
}

.nav-links a.active {
  color: var(--text-main);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c9a84c;
}

/* Text Split Animations */
.word-wrap {
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}

.word-wrap .word {
  display: inline-block;
}

.char-wrap {
  display: inline-block;
}

.char-wrap .char {
  display: inline-block;
}

/* GSAP handles all initial states via gsap.set() — no CSS opacity fallback needed */

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  text-align: left;
  padding: 2.5rem 2rem;
  border-top: 3px solid transparent;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.service-card:hover .service-detail {
  max-height: 80px;
  opacity: 1;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top-color: rgba(255, 255, 255, 0.06);
}

.service-icon {
  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: 1.5rem;
  color: var(--text-main);
}

.border-top-indigo {
  border-top-color: var(--accent-indigo);
}

.border-top-indigo .service-icon {
  color: var(--accent-indigo);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.border-top-blue {
  border-top-color: var(--accent-blue);
}

.border-top-blue .service-icon {
  color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(184, 148, 62, 0.15);
}

.border-top-violet {
  border-top-color: var(--accent-violet);
}

.border-top-violet .service-icon {
  color: var(--accent-violet);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.border-top-cyan {
  border-top-color: var(--accent-cyan);
}

.border-top-cyan .service-icon {
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(45, 138, 110, 0.15);
}

.border-top-green {
  border-top-color: var(--accent-green);
}

.border-top-green .service-icon {
  color: var(--accent-green);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

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

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

/* =============================================
   ENGAGEMENT MODELS SECTION
   ============================================= */
.engagement-card {
  text-align: left;
  padding: 2.5rem 2rem;
  border-left: 3px solid var(--accent-indigo);
  position: relative;
}

.engagement-card:nth-child(2) {
  border-left-color: var(--accent-blue);
}

.engagement-card:nth-child(3) {
  border-left-color: var(--accent-violet);
}

.engagement-card:nth-child(4) {
  border-left-color: var(--accent-cyan);
}

.engagement-number {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.engagement-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.engagement-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =============================================
   ABOUT US SECTION
   ============================================= */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  border-left: 4px solid;
  padding: 1.75rem;
}

.about-card h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.border-left-indigo {
  border-left-color: var(--accent-indigo);
}

.border-left-violet {
  border-left-color: var(--accent-violet);
}

/* About visual — orbit rings */
.orbit-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.orbit-1 {
  width: 280px;
  height: 280px;
  animation: spin 25s linear infinite;
}

.orbit-2 {
  width: 200px;
  height: 200px;
  border-style: dashed;
  border-color: rgba(26, 107, 74, 0.25);
  animation: spinReverse 18s linear infinite;
}

.orbit-3 {
  width: 120px;
  height: 120px;
  border-color: rgba(201, 168, 76, 0.3);
  animation: spin 12s linear infinite;
}

.orbit-center {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.15);
  z-index: 2;
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-indigo);
  box-shadow: 0 0 10px var(--accent-indigo);
}

.od-1 {
  top: calc(50% - 140px);
  left: 50%;
  animation: pointPulse 2s infinite;
}

.od-2 {
  top: 50%;
  right: calc(50% - 100px);
  animation: pointPulse 2s infinite 0.5s;
  background: var(--accent-violet);
  box-shadow: 0 0 10px var(--accent-violet);
}

.od-3 {
  bottom: calc(50% - 60px);
  left: calc(50% - 60px);
  animation: pointPulse 2s infinite 1s;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-wrapper {
  border-radius: 24px;
  padding: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-detail-item svg {
  color: var(--accent-indigo);
  flex-shrink: 0;
}

.contact-cta {
  display: flex;
  gap: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

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

.form-input:focus {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

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

.btn-full {
  width: 100%;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .contact-wrapper {
    padding: 2rem;
  }

  .contact-cta {
    flex-direction: column;
  }
}

/* Timeline pinned state */
.use-case-flow.pin-spacer {
  background: transparent;
}

/* Magnetic button transition reset (GSAP handles) */
.btn,
.industry-tile {
  will-change: transform;
}

@media (max-width: 768px) {
  .navbar--scrolled {
    width: 90%;
  }
}

/* Service Card Links */
.service-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: #c9a84c;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, gap 0.2s;
}

.service-link:hover {
  color: #d4af37;
}

/* Footer Legal Links */
.footer-legal {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}

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

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
  flex: 1;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
}

/* Flow Pipeline Glow Animation */
.flow-step.glow {
  color: #c9a84c;
  text-shadow: 0 0 15px rgba(201, 168, 76, 0.5);
  transition: all 0.4s ease;
}

.flow-arrow.glow {
  color: rgba(201, 168, 76, 0.6);
  transition: color 0.4s ease;
}

/* Form Submit States */
.btn-loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.btn-loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: var(--bg-dark);
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
}

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

.form-success-msg {
  text-align: center;
  padding: 2rem;
  color: #1a6b4a;
  font-weight: 500;
  font-size: 1.1rem;
}

.form-success-msg .checkmark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(26, 107, 74, 0.1);
  border: 2px solid #1a6b4a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
