/* ============================================
   SPECTACULAR EFFECTS - HEAL Landing Page
   Mind-blowing visual effects and animations
   ============================================ */

/* ============================================
   Enhanced Logo
   ============================================ */
.logo-icon-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md, 12px);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  transition: var(--transition-base, 0.3s ease);
}

.logo-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  animation: logo-ring-pulse 3s ease-in-out infinite;
}

.logo-ring-2 {
  animation-delay: 1.5s;
}

@keyframes logo-ring-pulse {

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

  50% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #86efac 0%, #10b981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  transform: skewX(-6deg);
  display: inline-block;
  text-shadow: 0 0 40px rgba(16, 185, 129, 0.5);
}

@keyframes brand-shimmer {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.2);
  }
}

/* ============================================
   Navigation Link Animations
   ============================================ */
.nav-link-animated {
  position: relative;
  overflow: hidden;
}

.nav-link-animated::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #34d399, #10b981);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-animated:hover::before,
.nav-link-animated.active::before {
  transform: scaleX(1);
  transform-origin: left;
  animation: nav-gradient-move 2s linear infinite;
}

@keyframes nav-gradient-move {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

/* ============================================
   Glass Card Effect
   ============================================ */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 24px);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(16, 185, 129, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

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

/* ============================================
   Magnetic Button Effects
   ============================================ */
.magnetic-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glow {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4), 0 0 60px rgba(16, 185, 129, 0.2);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: none;
}

.magnetic-btn:hover .btn-shine {
  animation: btn-shine-sweep 0.8s ease-in-out;
}

@keyframes btn-shine-sweep {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.btn-ripple {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  animation: ripple-effect 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-effect {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.btn-block {
  width: 100%;
}

/* ============================================
   Hero Section Enhancements
   ============================================ */
.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 0;
}

/* Animated Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  margin-bottom: 2.5rem;
  position: relative;
}

.badge-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: transparent;
  border: 2px solid rgba(16, 185, 129, 0.3);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {

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

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0;
  }
}

.badge-text {
  font-weight: 600;
  color: #4ade80;
}

/* Animated Title */
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.title-line {
  display: block;
}

.title-line-2 {
  margin-top: 0.1em;
}

.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-20deg);
  animation: word-reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.title-line-1 .word-reveal:nth-child(1) {
  animation-delay: 0.1s;
}

.title-line-1 .word-reveal:nth-child(2) {
  animation-delay: 0.2s;
}

.title-line-2 .word-reveal:nth-child(1) {
  animation-delay: 0.4s;
}

@keyframes word-reveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Animated Gradient Text */
.text-gradient-animated {
  background: linear-gradient(135deg, #4ade80 0%, #10b981 25%, #34d399 50%, #10b981 75%, #4ade80 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Hero Description */
.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-tertiary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.typewriter-container {
  display: inline-block;
  vertical-align: bottom;
}

.typewriter-text {
  display: inline;
  border-right: 2px solid #10b981;
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {

  0%,
  100% {
    border-color: #10b981;
  }

  50% {
    border-color: transparent;
  }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 3.5rem;
}

.hero-stat {
  padding: 24px 28px;
  min-width: 150px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: card-fade-in 0.5s ease-out forwards;
}

.hero-stat:nth-child(1) {
  animation-delay: 0.8s;
}

.hero-stat:nth-child(2) {
  animation-delay: 0.95s;
}

.hero-stat:nth-child(3) {
  animation-delay: 1.1s;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  margin-bottom: 12px;
}

.stat-content {
  position: relative;
  z-index: 1;
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.stat-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 0 3px 3px 0;
  animation: progress-fill 1.5s ease-out forwards;
  animation-delay: 1s;
}

@keyframes progress-fill {
  from {
    width: 0;
  }

  to {
    width: var(--progress, 0%);
  }
}

/* Hero Visual */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-40px);
}

/* --- Minimalist HUD Aura --- */
.hud-node {
  position: absolute;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  pointer-events: none;
  transition: all 0.5s var(--ease-smooth);
}

.hud-marker {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: 50%;
  position: relative;
}

.hud-marker::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
  animation: hud-marker-pulse 2s infinite;
}

@keyframes hud-marker-pulse {

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

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

.node-1 {
  top: 12%;
  left: -8%;
  animation: float-hud 8s ease-in-out infinite;
}

.node-2 {
  top: 50%;
  right: -8%;
  animation: float-hud 9s ease-in-out infinite reverse;
}

.node-3 {
  bottom: 10%;
  left: 0%;
  animation: float-hud 10s ease-in-out infinite;
}

@keyframes float-hud {

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

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

/* Scanner Sweep */
.scanner-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(16, 185, 129, 0.3),
      transparent);
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  animation: scanner-move 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scanner-move {
  0% {
    top: 20%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    top: 80%;
    opacity: 0;
  }
}

/* Main Visual Core */
.hero-main-visual {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-aura {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: aura-breath 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes aura-breath {

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

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

.visual-core {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg, 24px);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 100px rgba(16, 185, 129, 0.45);
}

.core-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg, 32px);
  border: 2px solid rgba(16, 185, 129, 0.4);
  animation: core-pulse 2s ease-out infinite;
}

.core-pulse-2 {
  animation-delay: 1s;
}

@keyframes core-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

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

/* ECG Animation */
.ecg-animation {
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 50px;
}

.ecg-trace-bg {
  opacity: 0.3;
}

.ecg-pulse-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: ecg-draw 3s linear infinite;
  filter: drop-shadow(0 0 8px #4ade80);
}

@keyframes ecg-draw {
  0% {
    stroke-dashoffset: 800;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -800;
    opacity: 0;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 13px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: #10b981;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {

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

  100% {
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
  }
}

@keyframes scroll-bounce {

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

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


/* ============================================
   Trusted By Section
   ============================================ */
.trusted-by {
  padding: clamp(40px, 6vw, 60px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.trusted-label {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
}

.logo-carousel {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logo-track {
  display: flex;
  gap: 60px;
  animation: scroll-logos 30s linear infinite;
}

.logo-item {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.logo-item:hover {
  color: rgba(255, 255, 255, 0.6);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

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

/* ============================================
   Section Label
   ============================================ */
.section-label {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

/* ============================================
   Feature Cards 3D
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--gap-grid, clamp(20px, 3vw, 30px));
}

.feature-card-3d {
  perspective: 1000px;
  opacity: 0;
  transform: translateY(40px);
  animation: card-fade-in 0.6s ease-out forwards;
}

.feature-card-3d:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card-3d:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card-3d:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card-3d:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card-3d:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-card-3d:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes card-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card-3d .card-inner {
  padding: var(--card-padding-lg, 40px);
  transition: transform var(--transition-base, 0.3s ease), box-shadow var(--transition-base, 0.3s ease);
  transform-style: preserve-3d;
}

.feature-card-3d:hover .card-inner {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(16, 185, 129, 0.1);
}

.feature-card-3d .card-icon {
  width: 70px;
  height: 70px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.feature-card-3d .card-icon .icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.feature-card-3d:hover .card-icon .icon-bg {
  transform: translateX(0);
}

.feature-card-3d .card-icon.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.feature-card-3d .card-icon.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.feature-card-3d .card-icon.icon-orange {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
}

.feature-card-3d .card-icon.icon-pink {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
}

.feature-card-3d .card-icon.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

.feature-card-3d .card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card-3d .card-description {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-card-3d .card-footer {
  margin-top: auto;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: gap 0.3s ease;
}

.learn-more:hover {
  gap: 12px;
}

/* ============================================
   Steps Timeline
   ============================================ */
.steps-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.timeline-line {
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  z-index: 0;
}

.timeline-progress {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 2px;
  width: 0;
  transition: width 1s ease;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-marker {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
}

.step-number {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #000;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.step-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.5);
  animation: step-pulse 2s ease-out infinite;
}

@keyframes step-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* ============================================
   Radial HUD Nodes (New Layout)
   ============================================ */
.hud-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  z-index: 10;
  width: 0;
  height: 0;
}

.hud-marker {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  position: absolute;
  left: -4px;
  top: -4px;
}

.hud-text {
  position: absolute;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(16, 185, 129, 0.8);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  opacity: 0;
  animation: hud-text-fade 4s ease-in-out infinite alternate;
}

/* Radial Positioning for 6 nodes */
/* Radius: 145px (Close orbit around logo) */
.node-1 {
  transform: rotate(-90deg) translateX(145px) rotate(90deg);
  animation: hud-float-1 3s ease-in-out infinite;
}

/* Top */
.node-2 {
  transform: rotate(-30deg) translateX(145px) rotate(30deg);
  animation: hud-float-2 3.5s ease-in-out infinite;
}

/* Top Right */
.node-3 {
  transform: rotate(30deg) translateX(145px) rotate(-30deg);
  animation: hud-float-3 4s ease-in-out infinite;
}

/* Bottom Right */
.node-4 {
  transform: rotate(90deg) translateX(145px) rotate(-90deg);
  animation: hud-float-4 3.2s ease-in-out infinite;
}

/* Bottom */
.node-5 {
  transform: rotate(150deg) translateX(145px) rotate(-150deg);
  animation: hud-float-5 3.8s ease-in-out infinite;
}

/* Bottom Left */
.node-6 {
  transform: rotate(210deg) translateX(145px) rotate(-210deg);
  animation: hud-float-6 4.2s ease-in-out infinite;
}

/* Top Left */

/* Floating Animations for organic feel */
@keyframes hud-float-1 {

  0%,
  100% {
    transform: rotate(-90deg) translateX(145px) rotate(90deg) translateY(0);
  }

  50% {
    transform: rotate(-90deg) translateX(145px) rotate(90deg) translateY(-8px);
  }
}

@keyframes hud-float-2 {

  0%,
  100% {
    transform: rotate(-30deg) translateX(145px) rotate(30deg) translateY(0);
  }

  50% {
    transform: rotate(-30deg) translateX(145px) rotate(30deg) translateY(-6px);
  }
}

@keyframes hud-float-3 {

  0%,
  100% {
    transform: rotate(30deg) translateX(145px) rotate(-30deg) translateY(0);
  }

  50% {
    transform: rotate(30deg) translateX(145px) rotate(-30deg) translateY(-8px);
  }
}

@keyframes hud-float-4 {

  0%,
  100% {
    transform: rotate(90deg) translateX(145px) rotate(-90deg) translateY(0);
  }

  50% {
    transform: rotate(90deg) translateX(145px) rotate(-90deg) translateY(-6px);
  }
}

@keyframes hud-float-5 {

  0%,
  100% {
    transform: rotate(150deg) translateX(145px) rotate(-150deg) translateY(0);
  }

  50% {
    transform: rotate(150deg) translateX(145px) rotate(-150deg) translateY(-8px);
  }
}

@keyframes hud-float-6 {

  0%,
  100% {
    transform: rotate(210deg) translateX(145px) rotate(-210deg) translateY(0);
  }

  50% {
    transform: rotate(210deg) translateX(145px) rotate(-210deg) translateY(-6px);
  }
}

/* Text positioning relative to marker - Compact */
.node-1 .hud-text {
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

/* Text ABOVE marker */
.node-2 .hud-text {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
}

.node-3 .hud-text {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
}

.node-4 .hud-text {
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}

/* Text BELOW marker */
.node-5 .hud-text {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.node-6 .hud-text {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.node-1 .hud-text,
.node-2 .hud-text,
.node-3 .hud-text,
.node-4 .hud-text,
.node-5 .hud-text,
.node-6 .hud-text {
  animation: hud-text-pulse 3s ease-in-out infinite alternate;
}

@keyframes hud-text-pulse {
  0% {
    opacity: 0.7;
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.2);
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
  }
}

.step-content {
  padding: var(--card-padding-md, 32px);
  text-align: center;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.step-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--gap-grid, clamp(20px, 3vw, 30px));
}

.testimonial-card {
  padding: var(--card-padding-lg, 40px);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: card-fade-in 0.6s ease-out forwards;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}

.quote-mark {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: rgba(16, 185, 129, 0.15);
  line-height: 1;
}

.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #10b981;
  position: relative;
}

.author-avatar.avatar-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
  color: #60a5fa;
}

.author-avatar.avatar-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.1));
  color: #a78bfa;
}

.avatar-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.3;
  animation: avatar-ring-pulse 3s ease-in-out infinite;
}

@keyframes avatar-ring-pulse {

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

  50% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-primary);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  color: #fbbf24;
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.pricing-card {
  flex: 1;
  min-width: 320px;
  max-width: 380px;
  padding: var(--card-padding-lg, 40px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-base, 0.3s ease);
  opacity: 0;
  animation: card-fade-in 0.6s ease-out forwards;
  overflow: visible !important;
}

.pricing-card:nth-child(1) {
  animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
  animation-delay: 0.25s;
}

.pricing-card:nth-child(3) {
  animation-delay: 0.4s;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-featured {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
  padding-top: 60px !important;
}

.pricing-featured:hover {
  transform: translateY(-10px);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
  white-space: nowrap;
  z-index: 20;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
}

.pricing-plan {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: #10b981;
}

.pricing-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.pricing-features {
  flex: 1;
  margin-bottom: 30px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.pricing-feature svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #10b981;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon span {
  position: absolute;
  width: 14px;
  height: 2px;
  background: currentColor;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-icon span:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-icon span:last-child {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer>div {
  overflow: hidden;
}

.faq-answer p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding: 0 30px 12px;
  /* Padding moved here for stability */
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 0;
  text-align: center;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, transparent 50%, rgba(16, 185, 129, 0.1) 100%);
}

.cta-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(16, 185, 129, 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: particles-move 20s linear infinite;
}

@keyframes particles-move {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 40px 40px;
  }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.5), rgba(16, 185, 129, 0.2));
  border: 2px solid rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
}

.trust-avatar:first-child {
  margin-left: 0;
}

/* ============================================
   Footer Enhancements
   ============================================ */
.footer {
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
}

.footer-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1), transparent);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #10b981;
  border-color: #10b981;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
}

.scroll-progress {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #fff;
  animation: scroll-progress-rotate 1s linear infinite paused;
}

.scroll-top.visible .scroll-progress {
  animation-play-state: running;
}

@keyframes scroll-progress-rotate {
  from {
    transform: rotate(0deg);
  }

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

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 1200px) {
  .hero-container {
    gap: 60px;
  }

  .hero-main-visual {
    width: 280px;
    height: 280px;
  }

  .core-logo {
    width: 160px;
    height: 160px;
  }
}

/* Tablet Breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-container {
    gap: 50px;
  }

  .hero-main-visual {
    width: 260px;
    height: 260px;
  }

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

  .pricing-cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-card {
    min-width: 280px;
    max-width: 340px;
  }

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

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
    margin-bottom: 40px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .floating-card {
    display: none;
  }

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

  .timeline-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .hero-stat {
    width: 100%;
    max-width: 300px;
  }

  .steps-timeline {
    grid-template-columns: 1fr;
  }

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

  .testimonials-carousel {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-badge {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================
   Light Theme Overrides
   ============================================ */
[data-theme="light"] .glass-card {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .glass-card::before {
  background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.1), transparent);
}

[data-theme="light"] .hero-title,
[data-theme="light"] .section-header h2,
[data-theme="light"] .card-title,
[data-theme="light"] .step-title,
[data-theme="light"] .pricing-amount,
[data-theme="light"] .cta-title {
  color: var(--color-text-primary);
}

[data-theme="light"] .hero-badge {
  background: rgba(5, 150, 105, 0.05);
  border-color: rgba(5, 150, 105, 0.1);
}

[data-theme="light"] .hero-description,
[data-theme="light"] .card-description,
[data-theme="light"] .step-description,
[data-theme="light"] .testimonial-content,
[data-theme="light"] .pricing-plan {
  color: #111827 !important;
}

[data-theme="light"] .btn-secondary {
  background: #f3f4f6;
  color: #111827;
  border-color: transparent;
}

[data-theme="light"] .btn-secondary:hover {
  background: #e5e7eb;
}

[data-theme="light"] .pricing-featured {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-color: var(--color-primary);
}

[data-theme="light"] .glass-pill {
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.2);
  color: #064e3b;
}

[data-theme="light"] .text-gradient-animated {
  background: linear-gradient(135deg, #059669 0%, #064e3b 50%, #059669 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .author-avatar {
  background: #f0fdf4;
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3);
}


[data-theme="light"] .hero-description,
[data-theme="light"] .card-description,
[data-theme="light"] .step-description,
[data-theme="light"] .testimonial-content,
[data-theme="light"] .faq-answer p {
  color: rgba(6, 78, 59, 0.7);
}

[data-theme="light"] .brand-text {
  background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ============================================
   3D Rotating Brain Logo
   ============================================ */
.brain-logo-3d {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.brain-logo-container {
  position: relative;
  width: 180px;
  height: 180px;
  transform-style: preserve-3d;
  animation: brain-rotate-3d 8s ease-in-out infinite;
}

@keyframes brain-rotate-3d {

  0%,
  100% {
    transform: rotateY(0deg) rotateX(0deg) scale(1);
  }

  25% {
    transform: rotateY(15deg) rotateX(5deg) scale(1.05);
  }

  50% {
    transform: rotateY(0deg) rotateX(0deg) scale(1);
  }

  75% {
    transform: rotateY(-15deg) rotateX(-5deg) scale(1.05);
  }
}

.brain-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.5));
  animation: brain-pulse-glow 3s ease-in-out infinite;
}

@keyframes brain-pulse-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.5)) brightness(1);
  }

  50% {
    filter: drop-shadow(0 0 50px rgba(16, 185, 129, 0.8)) drop-shadow(0 0 80px rgba(52, 211, 153, 0.4)) brightness(1.1);
  }
}

.brain-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle,
      rgba(16, 185, 129, 0.4) 0%,
      rgba(52, 211, 153, 0.2) 30%,
      transparent 70%);
  border-radius: 50%;
  animation: brain-glow-pulse 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes brain-glow-pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.brain-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.brain-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 15px #4ade80, 0 0 30px #10b981;
  animation: brain-particle-orbit 6s linear infinite;
}

.brain-particles span:nth-child(1) {
  animation-delay: 0s;
  --orbit-radius: 100px;
  --start-angle: 0deg;
}

.brain-particles span:nth-child(2) {
  animation-delay: -1s;
  --orbit-radius: 110px;
  --start-angle: 60deg;
}

.brain-particles span:nth-child(3) {
  animation-delay: -2s;
  --orbit-radius: 95px;
  --start-angle: 120deg;
}

.brain-particles span:nth-child(4) {
  animation-delay: -3s;
  --orbit-radius: 105px;
  --start-angle: 180deg;
}

.brain-particles span:nth-child(5) {
  animation-delay: -4s;
  --orbit-radius: 115px;
  --start-angle: 240deg;
}

.brain-particles span:nth-child(6) {
  animation-delay: -5s;
  --orbit-radius: 90px;
  --start-angle: 300deg;
}

@keyframes brain-particle-orbit {
  from {
    transform: rotate(var(--start-angle)) translateX(var(--orbit-radius)) rotate(calc(-1 * var(--start-angle)));
    opacity: 0.8;
  }

  to {
    transform: rotate(calc(var(--start-angle) + 360deg)) translateX(var(--orbit-radius)) rotate(calc(-1 * (var(--start-angle) + 360deg)));
    opacity: 0.8;
  }
}

.core-pulse-3 {
  animation-delay: 2s;
}

/* Navbar Brain Logo - Rotation disabled for professionalism */


/* Keyframes kept for reference but not used
@keyframes navbar-logo-rotate {
  0%, 100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(360deg);
  }
} */

.navbar-brain-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  animation: navbar-logo-glow 3s ease-in-out infinite;
}

@keyframes navbar-logo-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.8));
  }
}

/* ============================================
   Enhanced Typewriter Effect
   ============================================ */
.hero-description-large {
  font-size: 1.15rem !important;
  line-height: 1.7 !important;
  max-width: 580px;
  min-height: 90px;
}

.typewriter-container {
  display: block;
  position: relative;
}

.typewriter-text {
  display: inline;
  color: var(--color-text-secondary);
}

.typewriter-text.typing {
  border-right: 3px solid #10b981;
  animation: blink-cursor 0.7s step-end infinite;
}

.typewriter-text.typing-complete {
  border-right: 3px solid transparent;
}

@keyframes blink-cursor {

  0%,
  100% {
    border-color: #10b981;
  }

  50% {
    border-color: transparent;
  }
}

/* ============================================
   Enhanced Footer Styling
   ============================================ */
.footer {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(6, 78, 59, 0.2) 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.8), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 300px;
  background: radial-gradient(ellipse at bottom, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, #34d399, #10b981, transparent);
  animation: footer-glow-pulse 3s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

@keyframes footer-glow-pulse {

  0%,
  100% {
    opacity: 0.5;
    width: 60%;
  }

  50% {
    opacity: 1;
    width: 80%;
  }
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: var(--logo-footer-icon, 46px) !important;
  height: var(--logo-footer-icon, 46px) !important;
  background: rgba(16, 185, 129, 0.2) !important;
  border: 2px solid rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4) !important;
}

.footer-brain-logo {
  width: var(--logo-footer-image, 36px);
  height: var(--logo-footer-image, 36px);
  object-fit: contain;
  animation: navbar-logo-glow var(--anim-decorative, 3s) ease-in-out infinite;
}

.footer-brand-text {
  font-size: 2rem !important;
}

.footer-tagline {
  color: var(--color-text-tertiary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 24px;
}

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

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  color: #4ade80;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, #10b981, #34d399);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: 0;
}

.social-link:hover::before {
  width: 150%;
  height: 150%;
}

.social-link:hover {
  color: #000;
  border-color: #10b981;
  transform: translateY(-5px) scale(1.1);
  box-shadow:
    0 10px 30px rgba(16, 185, 129, 0.4),
    0 0 40px rgba(16, 185, 129, 0.2);
}

.social-link svg {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #10b981, transparent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--color-text-tertiary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #10b981;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #4ade80;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  margin-top: 60px;
  border-top: 1px solid var(--color-border);
}

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

.footer-legal {
  display: flex;
  gap: 30px;
}

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

.footer-legal a:hover {
  color: #4ade80;
}

/* ============================================
   Pricing "Most Popular" Badge Fix
   ============================================ */
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 28px;
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #4ade80 100%);
  color: #000;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 50px;
  box-shadow:
    0 4px 20px rgba(16, 185, 129, 0.5),
    0 0 40px rgba(16, 185, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  z-index: 10;
  animation: badge-shine 3s ease-in-out infinite;
}

@keyframes badge-shine {

  0%,
  100% {
    box-shadow:
      0 4px 20px rgba(16, 185, 129, 0.5),
      0 0 40px rgba(16, 185, 129, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  50% {
    box-shadow:
      0 4px 30px rgba(16, 185, 129, 0.7),
      0 0 60px rgba(16, 185, 129, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

/* ============================================
   Responsive Footer
   ============================================ */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand-link {
    justify-content: center;
  }

  .footer-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

}

@media (max-width: 768px) {
  .hero-description-large {
    font-size: 1.15rem !important;
    min-height: 120px;
  }

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

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .scroll-top {
    bottom: 20px;
    right: 20px;
  }
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #10b981;
  /* Green background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  /* White icon */
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  border: none;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  transform: translateY(-5px);
  border-color: #10b981;
}

.scroll-progress {
  display: none;
}

/* ============================================
   Feature Video Placeholder
   ============================================ */
.feature-video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent);
  opacity: 0.5;
}

.video-play-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.feature-card-3d:hover .feature-video-placeholder {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.feature-card-3d:hover .video-play-icon {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
  background: #10b981;
}

[data-theme="light"] .video-play-icon {
  color: #fff;
}

@media (max-width: 576px) {
  .hero-description-large {
    font-size: 1.05rem !important;
    min-height: 160px;
  }

  .brain-logo-3d {
    width: 160px;
    height: 160px;
  }

  .brain-logo-container {
    width: 140px;
    height: 140px;
  }
}

/* ============================================
   Accessibility: Reduced Motion Support
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  /* Disable logo animations but keep static appearance */
  .navbar-brain-logo,
  .footer-brain-logo {
    animation: none !important;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
  }

  /* Keep hero brain visible but static */
  .brain-logo-container {
    animation: none !important;
  }

  /* Disable ring rotations */
  .visual-ring,
  .logo-ring {
    animation: none !important;
  }

  /* Keep cards visible without animation delays */
  .feature-card-3d,
  .testimonial-card,
  .pricing-card,
  .hero-stat {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Keep button glow but disable shine */
  .btn-shine {
    display: none !important;
  }
}