/* PayQora Landing - Attractive & Animated */

:root {
  --primary: #1eea7a;
  --primary-rgb: 30, 234, 122;
  --card: #0f2c22;
  --border: rgba(30, 234, 122, 0.2);
}

/* ----- Background & atmosphere ----- */
.landing-page {
  position: relative;
  overflow-x: hidden;
}

.landing-page::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -25%;
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(30, 234, 122, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 20s ease-in-out infinite;
}

.landing-page::after {
  content: '';
  position: fixed;
  bottom: -30%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(30, 234, 122, 0.04) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 25s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(5%, 5%) scale(1.05); opacity: 1; }
}

/* ----- Header ----- */
.landing-header {
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-header .nav-link {
  position: relative;
}

.landing-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.landing-header .btn-primary {
  animation: btnGlowPulse 3s ease-in-out infinite;
}

@keyframes btnGlowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.35); }
  50% { box-shadow: 0 0 32px rgba(var(--primary-rgb), 0.5); }
}

/* ----- Mobile menu ----- */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(19, 236, 91, 0.3);
  border-radius: 0.5rem;
  background: rgba(19, 236, 91, 0.08);
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.nav-toggle:hover {
  background: rgba(19, 236, 91, 0.15);
  border-color: rgba(19, 236, 91, 0.5);
}
.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-mobile {
  display: none;
  padding: 1rem 1.5rem 1.5rem;
  background: rgba(7, 27, 20, 0.98);
  border-top: 1px solid rgba(19, 236, 91, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.nav-mobile.is-open {
  display: block;
}
.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  transition: color 0.2s;
}
.nav-mobile a:hover {
  color: var(--primary);
}
.nav-mobile a.nav-mobile-cta {
  border-bottom: none;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  text-align: center;
  border-radius: 0.5rem;
  background: var(--primary);
  color: #071b14;
  font-weight: 700;
}
.nav-mobile a.nav-mobile-cta:hover {
  opacity: 0.9;
}
@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

/* ----- Hero ----- */
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease-out 0.3s forwards;
}

.hero-desc {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out 0.45s forwards;
}

.hero-btns {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out 0.6s forwards;
}

.hero-visual {
  opacity: 0;
  transform: translateX(40px) scale(0.96);
  animation: fadeSlide 1s ease-out 0.4s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Hero card: dark green rounded square, subtle radial gradient, thin bright green border */
.landing-hero-card {
  min-height: 280px;
  background: #0f261e;
  background: radial-gradient(ellipse 120% 100% at 20% 20%, #1a322c 0%, #0d2019 50%, #0a1a14 100%);
  border: 1px solid rgba(19, 236, 91, 0.35);
  box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.08);
  animation: cardGlow 4s ease-in-out infinite;
  position: relative;
  overflow: visible;
}

.landing-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Central padlock: large, bright green */
.landing-hero-lock {
  font-size: clamp(120px, 18vw, 160px) !important;
  color: var(--primary) !important;
  opacity: 1;
  filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.3));
}

/* Top-right badge: lighter green overlay, shield + white text */
.landing-hero-badge {
  background: rgba(26, 50, 44, 0.95);
  border: 1px solid rgba(19, 236, 91, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@keyframes cardGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.08); }
  50% { box-shadow: 0 0 56px rgba(var(--primary-rgb), 0.14); }
}

.hero-badge {
  animation: badgeFloat 5s ease-in-out infinite;
}

.hero-badge-pulse {
  animation: badgeFloat 5s ease-in-out infinite, badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.35); }
  50% { box-shadow: 0 0 28px rgba(var(--primary-rgb), 0.5); }
}

.hero-check {
  animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Hero lock: orange-gold with glow + float */
.hero-lock-wrap {
  animation: heroLockFloat 4s ease-in-out infinite;
}

.hero-lock-icon {
  color: #f59e0b;
  fill: #f59e0b;
  animation: heroLockGlow 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
}

@keyframes heroLockFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes heroLockGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4)); opacity: 1; }
  50% { filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.6)); opacity: 0.95; }
}

/* Hero mini icons: staggered fade-in + hover */
.hero-mini-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  background: rgba(var(--primary-rgb), 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: heroMiniFadeIn 0.5s ease-out forwards;
}

.hero-mini-icon:nth-child(1) { animation-delay: 0.6s; }
.hero-mini-icon:nth-child(2) { animation-delay: 0.75s; }
.hero-mini-icon:nth-child(3) { animation-delay: 0.9s; }

.hero-mini-icon:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.hero-mini-icon svg {
  flex-shrink: 0;
}

@keyframes heroMiniFadeIn {
  to { opacity: 1; }
}

.hero-icon-wrap:not(.hero-lock-wrap) {
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ----- Scroll-in sections ----- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ----- Cards ----- */
.landing-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  transform: translateY(0);
}

.landing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 24px rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.4);
}

.landing-card .card-icon {
  transition: transform 0.35s ease, background 0.35s ease;
}

.landing-card:hover .card-icon {
  transform: scale(1.1);
  background: rgba(var(--primary-rgb), 0.25);
}

/* ----- Feature icons: colors & animations ----- */
.feature-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon-wrap svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.feature-icon-wrap.icon-purple { color: #a855f7; }
.feature-icon-wrap.icon-purple svg { fill: #a855f7; }

.feature-icon-wrap.icon-light-green { color: #4ade80; }
.feature-icon-wrap.icon-light-green svg { fill: #4ade80; }

.feature-icon-wrap.icon-orange { color: #fb923c; }
.feature-icon-wrap.icon-orange svg { fill: #fb923c; }

.feature-icon-wrap.icon-primary { color: var(--primary); }
.feature-icon-wrap.icon-primary svg { fill: var(--primary); }

.feature-icon-wrap.icon-teal { color: #2dd4bf; }
.feature-icon-wrap.icon-teal svg { fill: #2dd4bf; }

/* Icon animations */
.feature-icon-wrap.icon-float {
  animation: iconFloat 3s ease-in-out infinite;
}

.feature-icon-wrap.icon-pulse {
  animation: iconPulse 2.5s ease-in-out infinite;
}

.feature-icon-wrap.icon-flash {
  animation: iconFlash 2s ease-in-out infinite;
}

.feature-icon-wrap.icon-check-pop {
  animation: iconCheckPop 2s ease-in-out infinite;
}

.feature-icon-wrap.icon-shine {
  animation: iconShine 4s ease-in-out infinite;
}

.feature-icon-wrap.icon-glow {
  animation: iconGlow 3s ease-in-out infinite;
}

.landing-card:hover .feature-icon-wrap {
  border-color: rgba(var(--primary-rgb), 0.6);
  box-shadow: 0 0 14px rgba(var(--primary-rgb), 0.15);
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes iconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes iconFlash {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.85; filter: brightness(1.3); }
}

@keyframes iconCheckPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes iconShine {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes iconGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.2); }
  50% { box-shadow: 0 0 12px 2px rgba(45, 212, 191, 0.25); }
}

/* ----- Buttons ----- */
.btn-primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(var(--primary-rgb), 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(var(--primary-rgb), 0.25);
}

/* ----- Step numbers ----- */
.step-num {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.landing-card.step-card:hover .step-num {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 24px rgba(var(--primary-rgb), 0.3);
}

/* ----- Ecosystem pills ----- */
.landing-eco-item {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.landing-eco-item:hover {
  transform: scale(1.05);
  color: var(--primary);
  border-color: rgba(var(--primary-rgb), 0.5);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

/* ----- Pricing card ----- */
.pricing-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(var(--primary-rgb), 0.12);
  border-color: rgba(var(--primary-rgb), 0.45);
}

.pricing-card .price-value {
  animation: priceShine 6s ease-in-out infinite;
}

@keyframes priceShine {
  0%, 100% { text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3); }
  50% { text-shadow: 0 0 40px rgba(var(--primary-rgb), 0.5); }
}

/* ----- FAQ ----- */
.faq-item {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(var(--primary-rgb), 0.4);
}

.faq-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s;
}

.faq-item .faq-content {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-content p {
  margin: 0;
}

/* ----- Final CTA ----- */
.cta-final {
  position: relative;
}

.cta-final .cta-title span {
  display: inline-block;
  animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2); }
  50% { text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.4); }
}

.cta-final .btn-primary {
  animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.35); transform: scale(1); }
  50% { box-shadow: 0 0 36px rgba(var(--primary-rgb), 0.55); transform: scale(1.02); }
}

/* ----- Shine sweep on hover (optional) ----- */
.landing-card.shine-wrap {
  position: relative;
  overflow: hidden;
}

.landing-card.shine-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 0.6s ease;
}

.landing-card.shine-wrap:hover::after {
  left: 100%;
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.35);
}
