@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #0554F2;
  --primary-dark: #003ECB;
  --primary-light: #EEF4FF;
  --accent: #0066FF;
  --grad-accent: #0088FF;
  --cyan: #06B6D4;
  --secondary: #0A0F1C;
  --text-main: #374151;
  --text-dark: #0A0F1C;
  --bg-secondary: #F8FAFC;
  --star: #FACC15;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Master Root Isolation */
.gmx-master-root {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: #FFFFFF;
  width: 100%;
  overflow-x: hidden;
  color: #374151;
}

.font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Gradients */
.text-gradient-blue {
  background: linear-gradient(135deg, #0554F2 0%, #0066FF 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.animate-gradient-text {
  background: linear-gradient(to right, #0554F2, #0066FF, #06B6D4, #0554F2);
  background-size: 200% auto;
  color: #0A0F1C;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-x 4s linear infinite;
}

@keyframes gradient-x {
  0%, 100% { background-position: left center; }
  50% { background-position: right center; }
}

/* Bento Shadows & Glows */
.shadow-bento {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.shadow-blue-glow {
  box-shadow: 0 20px 45px -10px rgba(5, 84, 242, 0.35);
}

/* Pop-Up Hover Effect (Omeiro Style) */
.hover-lift-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  will-change: transform, box-shadow;
}

.hover-lift-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px -16px rgba(10, 15, 28, 0.16);
  border-color: rgba(5, 84, 242, 0.25);
  z-index: 20;
}

/* Shimmer Sweep Effect */
.shimmer-card {
  position: relative;
  overflow: hidden;
}

.shimmer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 15;
}

@media (min-width: 769px) {
  .shimmer-card:hover::before {
    left: 150%;
  }
}

/* Interactive Buttons */
.btn-sweep {
  background-color: var(--primary);
  color: #FFFFFF;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-sweep:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -6px rgba(5, 84, 242, 0.4);
}

.btn-outline-sweep {
  background-color: #FFFFFF;
  color: var(--secondary);
  border: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}

.btn-outline-sweep:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(10, 15, 28, 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

/* Interactive Tool Pills */
.tool-pill {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.tool-pill:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 20px -3px rgba(5, 84, 242, 0.12);
  border-color: rgba(5, 84, 242, 0.3);
}

/* Image Zoom */
.img-zoom {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.group:hover .img-zoom,
.hover-lift-card:hover .img-zoom {
  transform: scale(1.08);
}

/* Infinite Marquees */
.logo-track {
  display: flex;
  width: max-content;
}

.animate-marquee {
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  filter: grayscale(100%) opacity(40%);
  transition: all 0.4s ease;
}

.logo-item:hover {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.15);
  color: var(--primary);
}

/* Review Track */
.animate-review-slide {
  animation: review-slide 34s linear infinite;
  display: flex;
  width: max-content;
}

.review-track-container:hover .animate-review-slide {
  animation-play-state: paused;
}

@keyframes review-slide {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Roadmap Timeline */
.roadmap-timeline-container {
  position: relative;
}

.roadmap-line {
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  background: linear-gradient(to bottom, #F8FAFC, #0554F2, #0066FF, #06B6D4, #F8FAFC);
  border-radius: 9999px;
  z-index: 0;
  box-shadow: 0 0 15px rgba(5, 84, 242, 0.2);
}

@media (min-width: 640px) {
  .roadmap-line {
    left: 2.5rem;
  }
}

.timeline-node {
  transition: all 0.5s ease;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 1);
}

.group:hover .timeline-node {
  background-color: #EEF4FF;
  border-color: #0554F2;
  transform: scale(1.3);
  box-shadow: 0 0 18px rgba(5, 84, 242, 0.35), 0 0 0 4px rgba(255, 255, 255, 1);
}

/* Floating Badges */
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.animate-badgeFloat {
  animation: badgeFloat 4s ease-in-out infinite;
}

/* FAQ Accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 380px;
  opacity: 1;
  padding-top: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: #0554F2;
  color: #FFFFFF;
}

/* Input Fields */
.gmx-input {
  transition: all 0.3s ease;
}

.gmx-input:focus {
  outline: none;
  border-color: #0554F2;
  box-shadow: 0 0 0 4px rgba(5, 84, 242, 0.15);
}

/* Scroll Reveal */
.reveal-elem {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-elem.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (max-width: 768px) {
  .shimmer-card::before { display: none; }
  .hover-lift-card:hover { transform: translate3d(0, -4px, 0); }
  .reveal-elem { opacity: 1 !important; transform: none !important; }
}
