/* moRHex Growth Solutions — Core Stylesheet */

:root {
  --obsidian: #050811;
  --navy: #0A0F1E;
  --surface: #0F1629;
  --cyanx: #00E5FF;
  --purplex: #8B5CF6;
}

body {
  background-color: var(--obsidian);
  color: #F8FAFC;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: crosshair;
}

a, button, input, select, textarea {
  cursor: pointer;
}

input, textarea {
  cursor: text;
}

.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.btn-morhex {
  background: var(--cyanx);
  color: var(--obsidian);
  font-weight: 700;
  box-shadow: 4px 4px 0px var(--purplex);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn-morhex:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--purplex);
  background: #33ECFF;
}

.btn-morhex:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--purplex);
}

.text-gradient-purple {
  background: linear-gradient(90deg, #00E5FF 0%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card {
  background: rgba(15, 22, 41, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

/* Seamless Logo Blending (No Box/Rectangle) */
.logo-seamless-hero {
  background: transparent;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 0 28px rgba(0, 229, 255, 0.32)) drop-shadow(0 0 55px rgba(139, 92, 246, 0.25));
  animation: logoFloatAmbient 6.5s ease-in-out infinite;
}

@keyframes logoFloatAmbient {
  0%, 100% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 0 26px rgba(0, 229, 255, 0.30)) drop-shadow(0 0 52px rgba(139, 92, 246, 0.22));
  }
  50% {
    transform: translateY(-6px) scale(1.012);
    filter: drop-shadow(0 0 36px rgba(0, 229, 255, 0.45)) drop-shadow(0 0 68px rgba(139, 92, 246, 0.34));
  }
}

.logo-icon-blend {
  background: transparent;
  border: none;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.45));
}

/* Futuristic Cyber Horizon Floor */
.cyber-floor {
  background-image:
    linear-gradient(to right, rgba(0, 229, 255, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(139, 92, 246, 0.14) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom center;
}

/* Ambient Orbital Hero Glow Rings */
@keyframes orbitSpinSlow {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitSpinReverse {
  0% { transform: translate(-50%, -50%) rotate(360deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}

.hero-orbit-ring-1 {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 680px;
  height: 680px;
  border-radius: 9999px;
  border: 1px dashed rgba(0, 229, 255, 0.16);
  animation: orbitSpinSlow 48s linear infinite;
  pointer-events: none;
}

.hero-orbit-ring-2 {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 920px;
  height: 920px;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.12);
  animation: orbitSpinReverse 64s linear infinite;
  pointer-events: none;
}

/* Marquee Ticker */
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

/* Continuous Horizontal Row Carousel for Reels & Reviews (Right to Left) */
@keyframes rowMarqueeRTL {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.row-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.row-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  animation: rowMarqueeRTL 36s linear infinite;
  will-change: transform;
}

.row-marquee-track.reviews-track {
  animation-duration: 32s;
}

.row-marquee-wrapper:hover .row-marquee-track,
.row-marquee-wrapper:focus-within .row-marquee-track {
  animation-play-state: paused;
}

/* Pulse Indicator */
@keyframes pulseCyan {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
}

.pulse-cyan {
  animation: pulseCyan 2.2s infinite;
}

/* Accordion Smooth Collapse */
.service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.service-page.is-open .service-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.service-body-inner {
  overflow: hidden;
}

/* Clean Underline Inputs */
.underline-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  padding: 0.75rem 0;
  color: #F8FAFC;
  width: 100%;
  transition: border-color 0.2s ease;
}

.underline-input:focus {
  outline: none;
  border-bottom-color: var(--cyanx);
}

.underline-input option {
  background: var(--navy);
  color: #F8FAFC;
}
