/* ==========================================================================
   Bible AI Guide - 3D Interactive Stylesheet (bibleaiguide.com)
   Ultra-premium, 3D spatial depth, interactive stage, perfectly matched store buttons
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts Import
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   CSS Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --font-main: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Hanken Grotesk', sans-serif;

  /* Deep Space Cosmic Palette */
  --bg-dark: #02040c;
  --bg-space: #050818;
  --bg-card: rgba(14, 19, 38, 0.75);
  --bg-card-hover: rgba(24, 32, 64, 0.9);
  --surface-border: rgba(255, 255, 255, 0.1);
  --surface-border-bright: rgba(168, 85, 247, 0.45);

  /* Vibrant 3D Glow Accents */
  --primary-purple: #8b5cf6;
  --primary-glow: #7c3aed;
  --electric-blue: #3b82f6;
  --celestial-cyan: #38bdf8;
  --divine-gold: #fbbf24;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* 3D Constants */
  --stage-perspective: 1600px;
  --card-radius: 26px;
  --btn-radius: 14px;
  --transition-3d: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.4s ease;
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 1220px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #0c1236 0%, #05081a 40%, #02040c 100%);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  line-height: 1.5;
}

#downloadSection,
.hero-section,
.showcase-3d-section,
.features-summary-section,
.bottom-cta-section {
  scroll-margin-top: 5rem;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3D Ambient Light, Stars & Aurora
   -------------------------------------------------------------------------- */
.ambient-glow-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  max-width: 100vw;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.35) 0%, rgba(37, 99, 235, 0.18) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-center {
  position: absolute;
  top: 600px;
  left: 50%;
  transform: translateX(-50%);
  width: 1300px;
  max-width: 100vw;
  height: 800px;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, rgba(147, 51, 234, 0.1) 45%, transparent 70%);
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-beam-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  height: 800px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.9;
}

.hero-beam-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 25%, black 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 25%, black 45%, transparent 85%);
}

/* Floating 3D Star Particles in Background */
.stars-container {
  position: absolute;
  inset: 0;
  height: 1200px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.star-particle {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
  opacity: 0.6;
  animation: float-particle 8s infinite ease-in-out alternate;
}

@keyframes float-particle {
  0% {
    transform: translateY(0px) scale(0.8);
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(-30px) scale(1.2);
    opacity: 0.4;
  }
}

/* --------------------------------------------------------------------------
   Sticky Glass Navigation Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(3, 6, 18, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-glow-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-glow-wrap::after {
  content: '';
  position: absolute;
  inset: -6px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.7) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
  opacity: 0.7;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.brand-wrapper:hover .brand-logo {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(59, 130, 246, 0.15));
  color: #ffffff;
  border: 1px solid rgba(168, 85, 247, 0.4);
  padding: 0.6rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 9999px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.3));
  border-color: rgba(192, 132, 252, 0.8);
  box-shadow: 0 6px 25px rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.25rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 3D Glowing Center Logo */
.hero-center-logo-wrap {
  margin-bottom: 2rem;
  position: relative;
  cursor: pointer;
  perspective: 600px;
}

.hero-center-logo-wrap::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.65) 0%, rgba(99, 102, 241, 0.3) 50%, transparent 75%);
  filter: blur(30px);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-glow-3d 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow-3d {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.hero-center-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-center-logo-wrap:hover .hero-center-logo {
  transform: scale(1.1) rotateX(10deg) rotateY(-10deg);
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #e9d5ff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.25);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: blink-dot 2s infinite ease-in-out;
}

@keyframes blink-dot {

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

  50% {
    opacity: 0.3;
    transform: scale(0.7);
  }
}

/* Hero Heading */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #d8b4fe 55%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   PERFECTLY MATCHED & SIZED STORE BUTTONS (Solves "one big, second small")
   ========================================================================== */
.store-buttons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
  width: 100%;
}

/* Base Pill Card: Both buttons share EXACT same dimensions, padding and structure */
.store-badge-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 225px;
  height: 62px;
  padding: 0 1.25rem;
  gap: 0.95rem;
  border-radius: var(--btn-radius);
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Shimmer Light Sweep on Hover */
.store-badge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.store-badge-card:hover::before {
  left: 100%;
}

.store-badge-card:hover {
  transform: translateY(-4px) scale(1.025);
  border-color: rgba(168, 85, 247, 0.85);
  box-shadow: 0 16px 36px -4px rgba(124, 58, 237, 0.5), 0 0 20px rgba(147, 51, 234, 0.3);
}

.store-badge-card:active {
  transform: translateY(-1px) scale(0.98);
}

/* Vector Icon: Exact 28px width/height bounding box */
.store-badge-icon-wrap {
  width: 30px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-badge-icon-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Dual-line Typography: Exact identical sizes, line heights, and font hierarchy */
.store-badge-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.15;
}

.store-badge-subtext {
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 2px;
}

.store-badge-maintext {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* No badge overlays on buttons */
.store-badge-card::after {
  content: none !important;
}

/* Trust / Rating Indicators */
.trust-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.35rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 650px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--surface-border);
}

/* ==========================================================================
   3D IMMERSIVE APP SHOWCASE STAGE
   ========================================================================== */
.showcase-3d-section {
  position: relative;
  z-index: 2;
  padding: 3.5rem 1.5rem 6rem;
  overflow: hidden;
  width: 100%;
}

.showcase-3d-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  width: 100%;
}

/* Stage Header & Tabs */
.stage-header-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.stage-eyebrow {
  font-size: 0.825rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--celestial-cyan);
  margin-bottom: 0.65rem;
}

.stage-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

/* Interactive 3D Feature Tab Switcher */
.stage-tabs-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(15, 21, 44, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem;
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
}

.stage-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.stage-tab-btn.active {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.stage-tab-btn:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* 3D Perspective Arena */
.stage-perspective-arena {
  perspective: var(--stage-perspective);
  perspective-origin: 50% 45%;
  position: relative;
  padding: 2rem 0;
  transform-style: preserve-3d;
}

/* Reflective Neon Horizon Pedestal Floor */
.stage-neon-pedestal {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotateX(75deg);
  width: 95%;
  max-width: 1100px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.35) 0%, rgba(59, 130, 246, 0.15) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(35px);
  pointer-events: none;
  z-index: 0;
}

/* 3D Phone Cards Row */
.stage-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.4s ease-out;
}

/* Individual 3D Mockup Card */
.phone-3d-card {
  position: relative;
  border-radius: var(--card-radius);
  background: var(--bg-card);
  border: 1.5px solid var(--surface-border);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  transition: var(--transition-3d);
  transform-style: preserve-3d;
  cursor: pointer;
}

/* Ambient Neon Rim around Card */
.phone-3d-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  padding: 2px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.6) 0%, rgba(59, 130, 246, 0.2) 60%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

/* Spatial positioning in 3D: Left Card Angled Right, Center Card Forward, Right Card Angled Left */
@media (min-width: 981px) {
  .phone-3d-card.card-left {
    transform: perspective(1400px) rotateY(10deg) translateZ(-15px) scale(0.97);
  }

  .phone-3d-card.card-center {
    transform: perspective(1400px) rotateY(0deg) translateZ(35px) scale(1.03);
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 35px 80px -10px rgba(124, 58, 237, 0.45), 0 0 30px rgba(124, 58, 237, 0.2);
    z-index: 5;
  }

  .phone-3d-card.card-center::before {
    opacity: 1;
  }

  .phone-3d-card.card-right {
    transform: perspective(1400px) rotateY(-10deg) translateZ(-15px) scale(0.97);
  }

  /* When card is hovered, elevate in 3D */
  .phone-3d-card:hover {
    transform: perspective(1400px) rotateY(0deg) translateZ(55px) scale(1.05) !important;
    border-color: var(--surface-border-bright);
    box-shadow: 0 40px 90px -10px rgba(124, 58, 237, 0.55), 0 0 35px rgba(168, 85, 247, 0.3) !important;
    z-index: 10;
  }
}

.phone-card-image-wrap {
  position: relative;
  width: 100%;
  background: #000000;
  overflow: hidden;
}

.phone-card-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-3d-card:hover .phone-card-img {
  transform: scale(1.03);
}

/* Card Caption Footer */
.phone-card-caption {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, rgba(14, 19, 38, 0.7) 0%, rgba(6, 9, 20, 0.95) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.phone-download-btn {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--celestial-cyan);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.phone-3d-card:hover .phone-download-btn {
  color: #d8b4fe;
  transform: translateX(4px);
}

/* 3D Floating Badges in Arena */
.floating-3d-chip {
  position: absolute;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  background: rgba(12, 17, 38, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(124, 58, 237, 0.35);
  font-size: 0.825rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  z-index: 25;
  animation: float-chip 5s infinite ease-in-out alternate;
}

.chip-1 {
  top: -15px;
  left: 2%;
  animation-delay: 0s;
}

.chip-2 {
  top: -15px;
  right: 2%;
  animation-delay: 1.5s;
}

.chip-3 {
  bottom: 25px;
  left: 0;
  animation-delay: 2.5s;
}

.chip-4 {
  bottom: 25px;
  right: 0;
  animation-delay: 3.5s;
}

@keyframes float-chip {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-16px) rotate(1.5deg);
  }
}

@media (max-width: 1200px) {
  .floating-3d-chip {
    display: none;
  }
}

/* ==========================================================================
   Features Highlights (Why Bible AI Guide)
   ========================================================================== */
.features-summary-section {
  position: relative;
  z-index: 2;
  padding: 4.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 7, 18, 0.6);
}

.features-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.features-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.feature-box {
  background: rgba(14, 20, 42, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--card-radius);
  padding: 2rem 1.75rem;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  background: rgba(22, 33, 66, 0.7);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(124, 58, 237, 0.2);
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(37, 99, 235, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.35rem;
}

.feature-box-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.feature-box-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Bottom Download Callout
   ========================================================================== */
.bottom-cta-section {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}

.bottom-cta-box {
  max-width: 950px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(22, 30, 64, 0.85) 0%, rgba(9, 13, 28, 0.98) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: 32px;
  padding: 4rem 2rem;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 50px rgba(124, 58, 237, 0.25);
  position: relative;
  overflow: hidden;
}

.bottom-cta-box::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.4) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.bottom-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
}

.bottom-cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #02040a;
  padding: 4rem 1.5rem 2.5rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-disclaimer {
  max-width: 620px;
  line-height: 1.6;
}

/* ==========================================================================
   Sticky Mobile Bottom Bar (High Conversion)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(130%);
  width: calc(100% - 2rem);
  max-width: 440px;
  background: rgba(10, 14, 28, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 9999px;
  padding: 0.65rem 1.15rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(124, 58, 237, 0.35);
  z-index: 999;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: center;
  justify-content: space-between;
}

.mobile-sticky-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.sticky-bar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sticky-bar-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.sticky-bar-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.sticky-bar-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sticky-bar-btn {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.45);
  white-space: nowrap;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
/* ==========================================================================
   Responsive Adjustments across All Screen Sizes
   ========================================================================== */

/* Tablets and Mobile: Transform 3D Arena into a smooth horizontal snap carousel */
@media (max-width: 980px) {
  .stage-perspective-arena {
    perspective: none;
    transform-style: flat;
    padding: 0.5rem 0 1.5rem;
    overflow: visible;
    width: 100%;
  }

  .stage-neon-pedestal {
    display: none;
  }

  .stage-cards-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1.25rem;
    padding: 1rem max(1.25rem, calc((100% - min(84vw, 340px)) / 2)) 2rem;
    margin: 0;
    width: 100%;
    transform: none !important;
    transform-style: flat;
  }

  .stage-cards-container::-webkit-scrollbar {
    display: none;
  }

  .phone-3d-card {
    flex: 0 0 min(84vw, 340px);
    max-width: 340px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: none !important;
    box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.8);
    opacity: 0.78;
    transition: opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  }

  .phone-3d-card.card-center {
    opacity: 1;
    border-color: rgba(168, 85, 247, 0.75);
    box-shadow: 0 25px 60px -10px rgba(124, 58, 237, 0.5), 0 0 30px rgba(147, 51, 234, 0.35);
  }

  .phone-card-caption {
    padding: 1rem 1.25rem;
  }
}

/* Tablet & Mobile navigation, tabs, and footer */
@media (max-width: 768px) {
  .header-actions {
    display: none;
  }

  .hero-section {
    padding: 3.25rem 1rem 2rem;
  }

  .stage-header-block {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Smooth scrollable / clean tab pill bar: flex-wrap nowrap prevents 2-line break */
  .stage-tabs-nav {
    display: inline-flex;
    flex-wrap: nowrap;
    max-width: calc(100vw - 2rem);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 9999px;
    padding: 0.35rem 0.5rem;
    gap: 0.35rem;
    justify-content: flex-start;
    margin: 0 auto 1.75rem;
  }

  .stage-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .stage-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 0.95rem;
    font-size: 0.825rem;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  .site-footer {
    padding: 3.5rem 1.25rem calc(7.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links {
    justify-content: center;
    gap: 1.25rem 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (min-width: 541px) and (max-width: 768px) {
  .stage-tabs-nav {
    justify-content: center;
  }
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
  .trust-indicators {
    gap: 0.5rem;
    padding: 0 0.5rem;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .trust-divider {
    display: none;
  }

  .trust-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.78rem;
  }
}

/* Mobile Phones (<= 540px) */
@media (max-width: 540px) {
  .hero-section {
    padding: 2.25rem 0.85rem 1.75rem;
  }

  .hero-center-logo-wrap {
    margin-bottom: 1.15rem;
  }

  .hero-center-logo {
    width: 78px;
    height: 78px;
  }

  .hero-badge {
    margin-bottom: 0.9rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.6rem;
    line-height: 1.55;
  }

  .store-buttons-container {
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    gap: 0.85rem;
    margin-bottom: 1.6rem;
  }

  .store-badge-card {
    width: 100%;
    max-width: 290px;
    height: 60px;
    padding: 0 1.25rem;
    gap: 0.95rem;
    justify-content: center;
  }

  .store-badge-icon-wrap {
    width: 28px;
    height: 30px;
  }

  .store-badge-maintext {
    font-size: 1.18rem;
  }

  .bottom-cta-box {
    padding: 2.75rem 1.25rem;
    border-radius: 24px;
  }

  .bottom-cta-box .store-buttons-container {
    padding: 0;
  }

  .bottom-cta-box .store-badge-card {
    max-width: 290px;
  }
}

/* Small / Compact Phones (<= 380px) */
@media (max-width: 380px) {
  .header-container {
    padding: 0.7rem 0.85rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.95rem;
  }

  .trust-item {
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
  }

  .stage-tab-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.775rem;
  }
}