/* ═══════════════════════════════════════════
   STOREFRONT — Premium Dark Theme Styles
   Design Reference: DeFi SaaS aesthetic
   ═══════════════════════════════════════════ */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
body { overflow-x: hidden; max-width: 100vw; }

/* ── Text gradient ── */
.text-gradient {
  background: linear-gradient(135deg, #dde5b6, #a3b18a, #588157);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Aurora blobs ── */
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  animation: auroraFloat 12s ease-in-out infinite alternate;
}
.aurora-1 {
  width: 600px; height: 600px;
  top: -10%; right: -5%;
  background: radial-gradient(circle, #a3b18a 0%, transparent 70%);
}
.aurora-2 {
  width: 500px; height: 500px;
  bottom: 10%; left: -10%;
  background: radial-gradient(circle, #588157 0%, transparent 70%);
  animation-delay: -6s;
}
.aurora-3 {
  position: absolute;
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #a3b18a 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.08;
  pointer-events: none;
}
@keyframes auroraFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

/* ── Grid overlay ── */
.aurora-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Pill glow ── */
.pill-glow {
  box-shadow: 0 0 20px rgba(163,177,138,0.15), inset 0 0 20px rgba(163,177,138,0.05);
}

/* ── Hero phone glow ── */
.hero-phone-glow {
  position: absolute;
  width: 80%; height: 80%;
  top: 10%; left: 10%;
  background: radial-gradient(circle, rgba(163,177,138,0.2) 0%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
}

/* ── Floating animation ── */
.floating-animation {
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* ── Feature cards ── */
.feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(163,177,138,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  border-color: rgba(163,177,138,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -20px rgba(163,177,138,0.1);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ── Step cards ── */
.step-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.4s;
}
.step-card:hover {
  border-color: rgba(163,177,138,0.15);
  transform: translateY(-4px);
}
.step-number {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(163,177,138,0.3), rgba(163,177,138,0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

/* ── Pricing card ── */
.pricing-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a3b18a, transparent);
}

/* ── Navbar scroll state ── */
.nav-scrolled {
  background: rgba(10,10,11,0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive tweaks ── */
@media (max-width: 640px) {
  #hero h1 { font-size: 2.25rem; }
  .pricing-card { padding: 28px 20px; }
}
