/* ============================================
 * LANDING PAGE STYLES
 * Kirasoft — Dark Glassmorphism Theme
 * ============================================ */

/* ---- Typography ---- */
.font-display { font-family: 'Instrument Serif', serif; }
.font-body { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ---- Glassmorphism ---- */
.glass {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-light {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- Glow Button ---- */
.btn-glow {
  background: #0d9488;
  transition: all 0.3s ease;
}

.btn-glow:hover {
  background: #14b8a6;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.4), 0 0 60px rgba(20, 184, 166, 0.1);
}

/* ---- Background Effects ---- */
.landing-mesh-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(20, 184, 166, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 90%, rgba(20, 184, 166, 0.05) 0%, transparent 50%);
}

.landing-noise::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---- Keyframe Animations ---- */
@keyframes landing-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

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

@keyframes landing-float-delayed {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-0.5deg); }
}

.landing-float-delayed {
  animation: landing-float-delayed 5s ease-in-out 1s infinite;
}

@keyframes landing-pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(20, 184, 166, 0.3), 0 0 40px rgba(20, 184, 166, 0.1); }
  50% { box-shadow: 0 0 30px rgba(20, 184, 166, 0.5), 0 0 60px rgba(20, 184, 166, 0.2); }
}

.landing-pulse-glow {
  animation: landing-pulse-glow 3s ease-in-out infinite;
}

/* ---- Gradient Text ---- */
.text-gradient {
  background: linear-gradient(135deg, #f1f5f9 0%, #14b8a6 50%, #f1f5f9 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Teal Accent Line ---- */
.teal-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, transparent);
  border-radius: 2px;
}

/* ---- Stat Number Gradient ---- */
.stat-number {
  background: linear-gradient(180deg, #f1f5f9 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Feature Card Hover ---- */
.feature-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(20, 184, 166, 0.05);
}

/* ---- Navbar Scroll State ---- */
.nav-scrolled {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---- Mockup Screen Glow ---- */
.screen-glow {
  box-shadow:
    0 0 60px rgba(20, 184, 166, 0.15),
    0 25px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ---- Pricing Card Popular ---- */
.pricing-popular {
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.1), 0 20px 40px rgba(0, 0, 0, 0.3);
}
