/* ===== FlowEasy Landing Page - Custom Styles ===== */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Floating navbar - card with 3D elevation */
.floating-navbar {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 10px 25px -5px rgba(0, 0, 0, 0.06),
    0 20px 50px -12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
}

.floating-navbar.scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.06),
    0 12px 30px -5px rgba(0, 0, 0, 0.1),
    0 25px 60px -12px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
}

/* Parallax floating icons */
.parallax-icon {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Custom gradient backgrounds */
.hero-gradient {
  background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 30%, #e0f2f1 60%, #f1f8ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(79, 195, 247, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(129, 212, 250, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Glassmorphism card */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Dashboard mockup styles */
.dashboard-wrapper {
  perspective: 1200px;
}

.dashboard-card {
  transform: rotateX(4deg) rotateY(-2deg);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.12),
    0 12px 24px -8px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.dashboard-card:hover {
  transform: rotateX(1deg) rotateY(0deg) translateY(-4px);
}

/* Button gradient */
.btn-primary-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary-gradient:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

/* Outline button */
.btn-outline {
  border: 2px solid #2563eb;
  color: #2563eb;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Feature card hover */
.feature-card {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Floating animation */
@keyframes float {

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

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

.float-animation {
  animation: float 6s ease-in-out infinite;
}

.float-animation-delay {
  animation: float 6s ease-in-out 2s infinite;
}

/* Pulse glow on icon */
@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 6px rgba(37, 211, 102, 0.15);
  }
}

.whatsapp-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlowInsta {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(225, 48, 108, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 6px rgba(225, 48, 108, 0.15);
  }
}

.instagram-glow {
  animation: pulseGlowInsta 3s ease-in-out 1s infinite;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sidebar nav item */
.sidebar-item {
  transition: all 0.2s ease;
}

.sidebar-item:hover {
  background: #f0f4ff;
}

.sidebar-item.active {
  background: #eff6ff;
  color: #2563eb;
  border-left: 3px solid #2563eb;
}

/* Metric card */
.metric-card {
  transition: all 0.3s ease;
}

.metric-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Nav link underline animation */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Pricing card popular */
.pricing-popular {
  border: 2px solid #2563eb;
  position: relative;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

/* Scroll indicator */
@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

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

.scroll-indicator {
  animation: scrollDown 1.5s ease-in-out infinite;
}

/* Section divider wave */
.wave-divider {
  position: relative;
}

.wave-divider::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Smooth reveal for mobile menu */
.mobile-menu-enter {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-menu-enter.open {
  max-height: 400px;
}


/* Testimonial card */
.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ========== BEVART FLOW SECTION STYLES ========== */

.gradient-text-flow {
  background: linear-gradient(135deg, #60a5fa, #34d399, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flow-card {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.flow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1);
}

.flow-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.flow-card:hover .flow-tag {
  border-color: rgba(59, 130, 246, 0.3);
  color: white;
}

.flow-node-center {
  width: 40px;
  height: 40px;
  position: relative;
}

.flow-node-dot {
  width: 32px;
  height: 32px;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.flow-node-dot-large {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2563eb, #10b981);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
  z-index: 10;
}

.flow-pulse-ring::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.4);
  animation: pulseNode 2s infinite;
  z-index: -1;
}

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

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

.flow-branch-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
}

.flow-branch-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.flow-branch-connector {
  height: 3px;
  width: 100%;
  opacity: 0.4;
}

.flow-tag-sm {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
}

.flow-branch-card:hover .flow-tag-sm {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.flow-branch-card-esocial {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 24px;
  height: 100%;
  transition: all 0.4s ease;
}

.flow-branch-card-esocial:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.flow-branch-connector-esocial {
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #10b981, #34d399);
}

.flow-tag-esocial {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Cycle Indicator */
.cycle-rotate {
  animation: rotate 30s linear infinite;
}

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

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

.cycle-item {
  width: 70px;
  height: 28px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 1px solid;
  transition: all 0.3s ease;
}

.cycle-item:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.1);
}

/* Responsiveness for flow section */
@media (max-width: 768px) {
  .flow-main-line {
    left: 20px;
    transform: none;
  }

  .flow-node-center {
    width: 32px;
    align-self: flex-start;
    margin-left: 4px;
  }

  .flow-node-dot {
    width: 24px;
    height: 24px;
  }
}

/* ===== NR Badges & Labels ===== */
.nr-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-width: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nr-badge-white {
  background-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.1);
}

.nr-badge-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.nr-badge-primary {
  background-color: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.2);
}

.nr-badge-primary:hover {
  background-color: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

/* ===== Testimonials Slider ===== */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  animation: scroll 60s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

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

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

.testimonial-card {
  width: 350px;
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-0.5rem);
  border-color: #dbeafe;
}

/* ===== FAQ Accordion ===== */
.faq-item {
  border-bottom: 1px solid #f3f4f6;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  text-align: left;
  font-weight: 700;
  color: #111827;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-button:hover {
  color: #2563eb;
}

.faq-content {
  overflow: hidden;
  transition: all 0.5s ease;
  max-height: 0;
}

.faq-content p {
  padding-bottom: 1.5rem;
  color: #6b7280;
  line-height: 1.625;
  font-size: 0.875rem;
}