/* ==========================================================================
   BergX Hero Section Stylesheet
   Precision match with looping video background & glassmorphic UI
   ========================================================================== */

:root {
  --bg-main: #040c09;
  --border-teal: rgba(45, 212, 191, 0.28);
  --border-teal-glow: rgba(45, 212, 191, 0.45);
  --glow-mint: #2dd4bf;
  --glow-emerald: #10b981;
  --glow-light: #5eead4;
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-teal: #5eead4;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-main);
  font-family: var(--font-family);
  color: var(--text-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  position: relative;
  background-color: #040907;
}

/* ==========================================================================
   Outer Background Matrix Grid & Top-Left Ambient Light
   ========================================================================== */

.matrix-grid-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(45, 212, 191, 0.22) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 48% 38% at 0% 0%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 72%),
              radial-gradient(ellipse 48% 38% at 100% 0%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 72%);
  -webkit-mask-image: radial-gradient(ellipse 48% 38% at 0% 0%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 72%),
                      radial-gradient(ellipse 48% 38% at 100% 0%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 72%);
  animation: gridShimmer 18s ease-in-out -7s infinite alternate;
  will-change: opacity;
}

.outer-glow-top-left {
  display: none;
}

/* ==========================================================================
   Hero Fullscreen Frame (Edge-to-Edge)
   ========================================================================== */

.hero-card-wrapper {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Looping Background Video Layer
   ========================================================================== */

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  transform: scale(1.08);
  transform-origin: center center;
}

/* Hero Ambient Cosmic Glow, Nebula Layers & Planet Arc */
.hero-bg-glow,
.hero-bg-glow-teal {
  position: absolute;
  top: -70px;
  left: 50%;
  width: 920px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.13) 0%, rgba(8, 28, 22, 0.22) 48%, transparent 70%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  animation: nebulaDriftA 58s cubic-bezier(0.4, 0, 0.2, 1) -18s infinite alternate;
  will-change: transform, opacity;
}

.hero-bg-glow-emerald {
  position: absolute;
  top: -90px;
  left: 50%;
  width: 860px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.1) 0%, rgba(4, 20, 16, 0.2) 42%, transparent 68%);
  filter: blur(75px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.55;
  animation: nebulaDriftB 68s cubic-bezier(0.4, 0, 0.2, 1) -32s infinite alternate;
  will-change: transform, opacity;
}


.hero-bg-stars {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background-image: 
    radial-gradient(1px 1px at 15% 15%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 35% 25%, rgba(94, 234, 212, 0.6), transparent),
    radial-gradient(1px 1px at 60% 12%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 80% 30%, rgba(45, 212, 191, 0.5), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 25% 45%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 70% 50%, rgba(94, 234, 212, 0.4), transparent),
    radial-gradient(1px 1px at 50% 60%, rgba(255, 255, 255, 0.25), transparent);
  background-size: 550px 550px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 2;
  mask-image: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
  animation: starfieldDrift 60s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  will-change: transform, opacity;
}

/* ==========================================================================
   Twinkling Stars Layer
   Individual organic opacity pulsing on selected stars with randomized timing
   ========================================================================== */
.twinkling-stars-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.star-dot {
  position: absolute;
  border-radius: 50%;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.star-dot.mint {
  background-color: #5eead4;
}

.star-dot.twinkle {
  animation: twinkle var(--dur, 6s) ease-in-out infinite;
  animation-delay: var(--del, 0s);
  will-change: opacity, transform;
}

/* ==========================================================================
   Floating Navbar
   ========================================================================== */

.navbar-wrapper {
  position: absolute;
  top: 28px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  padding: 0 20px;
}

.navbar {
  display: flex;
  align-items: center;
  background: rgba(8, 24, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 9999px;
  padding: 6px 8px 6px 18px;
  box-shadow: 
    0 10px 25px -5px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(45, 212, 191, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar:hover {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 
    0 12px 30px -5px rgba(0, 0, 0, 0.7),
    0 0 25px rgba(45, 212, 191, 0.15);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-white);
  padding-right: 14px;
}

.logo-icon {
  width: 20px;
  height: 20px;
  color: var(--glow-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-family);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
  line-height: 1;
}

/* Divider line */
.nav-divider {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.2);
  margin-right: 18px;
}

/* Nav links list */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
  margin: 0;
  padding: 0;
  margin-right: 18px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(45, 212, 191, 0.6);
}

.nav-link.active {
  color: #ffffff;
  font-weight: 500;
  position: relative;
  text-shadow: 0 0 12px rgba(45, 212, 191, 0.7);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--glow-mint);
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.85);
}

/* Contact Us Button inside navbar */
.nav-action {
  display: flex;
  align-items: center;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 400;
  color: #f1f5f9;
  text-decoration: none;
  background: rgba(14, 38, 32, 0.55);
  border: 1px solid rgba(45, 212, 191, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-contact:hover {
  background: rgba(45, 212, 191, 0.18);
  border-color: rgba(45, 212, 191, 0.7);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Center Content
   ========================================================================== */

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: auto;
  margin-bottom: 72px;
  padding: 0 24px;
  max-width: 900px;
  align-self: center;
}

/* Category Pill */
.category-pill-wrapper {
  margin-bottom: 24px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(12, 38, 30, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(45, 212, 191, 0.32);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.1);
  color: #5eead4;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.category-pill:hover {
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.2);
}

/* Headline */
.hero-headline {
  font-size: 58px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headline-line {
  display: block;
}

/* Description paragraph */
.hero-description {
  font-size: 15.5px;
  font-weight: 350;
  line-height: 1.62;
  color: rgba(203, 213, 225, 0.78);
  max-width: 560px;
  margin-bottom: 34px;
  letter-spacing: 0.005em;
}

/* CTA Button */
.cta-wrapper {
  display: flex;
  justify-content: center;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  border-radius: 9999px;
  background: rgba(10, 32, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(45, 212, 191, 0.48);
  box-shadow: 
    0 8px 20px -4px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(45, 212, 191, 0.16);
  color: #5eead4;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta:hover {
  background: rgba(16, 48, 38, 0.95);
  border-color: rgba(45, 212, 191, 0.8);
  color: #a7f3d0;
  box-shadow: 
    0 10px 25px -4px rgba(0, 0, 0, 0.6),
    0 0 28px rgba(45, 212, 191, 0.35);
  transform: translateY(-2px);
}

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

.cta-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5eead4;
  transition: transform 0.3s ease;
}

.btn-cta:hover .cta-icon-circle {
  transform: translateX(3px);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 900px) {
  body {
    padding: 0;
  }

  .hero-card-wrapper {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
  }

  .hero-headline {
    font-size: 42px;
  }

  .hero-description {
    font-size: 14.5px;
    max-width: 480px;
  }

  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 0;
  }

  .hero-card {
    border-radius: 0;
  }

  .navbar {
    padding: 6px 12px;
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

  .nav-divider {
    display: none;
  }

  .hero-headline {
    font-size: 32px;
  }

  .hero-description {
    font-size: 13.5px;
    padding: 0 12px;
  }

  .hero-content {
    margin-bottom: 48px;
  }
}

/* ==========================================================================
   Firebase Login Modal Styles
   ========================================================================== */

.login-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 8, 6, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.login-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.login-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(6, 22, 18, 0.92);
  border: 1px solid rgba(45, 212, 191, 0.32);
  border-radius: 28px;
  padding: 34px 28px 28px;
  box-shadow: 
    0 25px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(45, 212, 191, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-modal-backdrop.active .login-modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--glow-mint);
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.2);
}

.modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.45;
  max-width: 320px;
  margin: 0 auto;
}

/* Inline Error Banner */
.inline-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  color: #fca5a5;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
  text-align: left;
  animation: shakeError 0.35s ease;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.error-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.error-message {
  font-weight: 450;
}

/* Form Styles */
.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.field-hint {
  font-size: 11px;
  color: #64748b;
  font-family: ui-monospace, monospace;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(8, 28, 22, 0.7);
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-input::placeholder {
  color: #475569;
}

.form-input:focus {
  border-color: rgba(45, 212, 191, 0.75);
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.25);
  background: rgba(12, 38, 30, 0.92);
}

.form-input.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.04em;
}

.btn-primary-submit {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #2dd4bf 100%);
  color: #021a14;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(45, 212, 191, 0.3);
}

.btn-primary-submit:hover:not(:disabled) {
  box-shadow: 0 6px 24px rgba(45, 212, 191, 0.45);
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-primary-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(2, 26, 20, 0.3);
  border-top-color: #021a14;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modal Divider */
.modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-divider span {
  padding: 0 14px;
}

/* Option A: Guest Button */
.btn-guest-outline {
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(14, 38, 30, 0.45);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #5eead4;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-guest-outline:hover:not(:disabled) {
  background: rgba(45, 212, 191, 0.14);
  border-color: rgba(45, 212, 191, 0.7);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.22);
  transform: translateY(-1px);
}

.guest-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.guest-caption {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 9px;
  text-align: center;
  line-height: 1.45;
}

/* ==========================================================================
   Pricing Page & Section ("Pick your Edge.")
   ========================================================================== */

/* Standalone Pricing Page Layout */
.pricing-page-body {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #040907;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================================
   Ambient Cosmic Nebula Glow & Starfield Animations
   Slow, gentle, ambient drift with smooth cubic-bezier easing and infinite alternate
   ========================================================================== */

@keyframes nebulaDriftA {
  0% {
    transform: translateX(calc(-50% - 10px)) translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateX(calc(-50% + 12px)) translateY(3px) scale(1.04);
    opacity: 0.72;
  }
  100% {
    transform: translateX(calc(-50% + 20px)) translateY(-2px) scale(1.01);
    opacity: 0.62;
  }
}

@keyframes nebulaDriftB {
  0% {
    transform: translateX(calc(-50% + 14px)) translateY(0) scale(1);
    opacity: 0.52;
  }
  50% {
    transform: translateX(calc(-50% - 8px)) translateY(-3px) scale(1.03);
    opacity: 0.62;
  }
  100% {
    transform: translateX(calc(-50% - 16px)) translateY(2px) scale(0.98);
    opacity: 0.5;
  }
}

@keyframes nebulaDrift {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateX(calc(-50% + 14px)) translateY(3px) scale(1.03);
    opacity: 0.85;
  }
  100% {
    transform: translateX(calc(-50% - 12px)) translateY(-2px) scale(1.01);
    opacity: 0.72;
  }
}

@keyframes glowBreathe {
  0%, 100% {
    opacity: 0.84;
    filter: brightness(1) drop-shadow(0 0 35px rgba(45, 212, 191, 0.35));
  }
  50% {
    opacity: 0.94;
    filter: brightness(1.08) drop-shadow(0 0 55px rgba(45, 212, 191, 0.52));
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: var(--min-op, 0.3);
    transform: translate(-50%, -50%) scale(0.85);
  }
  50% {
    opacity: var(--max-op, 1);
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes gridShimmer {
  0% {
    opacity: 0.35;
  }
  100% {
    opacity: 0.55;
  }
}

@keyframes starfieldDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate3d(-10px, 4px, 0) scale(1.01);
    opacity: 0.72;
  }
  100% {
    transform: translate3d(8px, -3px, 0) scale(0.99);
    opacity: 0.58;
  }
}

/* Ambient Cosmic Background for Pricing Page */
.pricing-page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pricing-bg-glow-top {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.14) 0%, rgba(8, 28, 22, 0.35) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: nebulaDriftA 58s cubic-bezier(0.4, 0, 0.2, 1) -14s infinite alternate;
  will-change: transform, opacity;
}

.pricing-bg-stars {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background-image: 
    radial-gradient(1px 1px at 15% 15%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 35% 25%, rgba(94, 234, 212, 0.6), transparent),
    radial-gradient(1px 1px at 60% 12%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 80% 30%, rgba(45, 212, 191, 0.5), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 25% 45%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 70% 50%, rgba(94, 234, 212, 0.4), transparent),
    radial-gradient(1px 1px at 50% 60%, rgba(255, 255, 255, 0.25), transparent);
  background-size: 550px 550px;
  opacity: 0.7;
  pointer-events: none;
  animation: starfieldDrift 60s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  will-change: transform, opacity;
}

/* Pricing Page Top Navbar Wrapper */
.pricing-navbar-wrapper {
  position: relative;
  z-index: 20;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 28px 20px 0 20px;
  margin-bottom: 24px;
}

/* Pricing Page Main Container */
.pricing-page-main {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1220px;
  padding: 0 24px 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-section {
  position: relative;
  width: 100%;
  padding: 100px 24px 120px 24px;
  background-color: #040907;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(45, 212, 191, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 50% 75%, rgba(16, 185, 129, 0.035) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  z-index: 2;
  scroll-margin-top: 30px;
}

.pricing-ambient-glow {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.1) 0%, rgba(45, 212, 191, 0.015) 55%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
  animation: nebulaDriftB 68s cubic-bezier(0.4, 0, 0.2, 1) -28s infinite alternate;
  will-change: transform, opacity;
}

.pricing-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pricing Header */
.pricing-header {
  text-align: center;
  max-width: 820px;
  margin-bottom: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-pill-wrapper {
  margin-bottom: 22px;
}

.pricing-heading {
  font-family: var(--font-family);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.pricing-subtext {
  font-size: 15.5px;
  font-weight: 350;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.75);
  max-width: 760px;
  letter-spacing: 0.005em;
}

/* Four Cards Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}

/* Base Glassmorphism Card Style (All 4 cards) */
.pricing-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 488px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Card Specifics */

/* Weekly: intentionally NO badge and slightly less visual weight */
.pricing-card.card-weekly {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pricing-card.card-weekly:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

/* Monthly: inherits base glassmorphism card */
.pricing-card.card-monthly {
  /* standard elevated glass */
}

/* Yearly: largest / most elevated */
.pricing-card.card-yearly {
  margin-top: -12px;
  min-height: 500px; /* 12px taller than neighbors */
  padding: 36px 26px 32px 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.15), 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-card.card-yearly:hover {
  transform: translateY(-16px); /* -12px base offset + -4px lift */
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 0 50px rgba(45, 212, 191, 0.25), 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Top Tags (Monthly & Yearly) - Restrained aesthetic, text-only, no loud color blocks */
.card-top-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #5eead4;
  background: rgba(8, 24, 20, 0.94);
  border: 1px solid rgba(45, 212, 191, 0.32);
  padding: 3px 12px;
  border-radius: 9999px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.card-top-tag.yearly-tag {
  border-color: rgba(45, 212, 191, 0.52);
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.22), 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Card Header & Plan Name */
.card-inner-top {
  display: flex;
  flex-direction: column;
}

.card-plan-name {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 14px;
}

/* Price Block */
.card-price-block {
  display: flex;
  flex-direction: column;
  min-height: 94px;
}

.card-strikethrough-slot {
  min-height: 18px;
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

.card-strikethrough-text {
  font-size: 13.5px;
  color: #64748b;
  text-decoration: line-through;
  font-weight: 400;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
  margin-bottom: 8px;
}

.card-currency {
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
}

.card-currency.teal {
  color: #2dd4bf;
}

.card-amount {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.card-amount.teal {
  color: #2dd4bf;
}

.card-unit {
  font-size: 14px;
  font-weight: 400;
  color: #94a3b8;
  margin-left: 4px;
}

.card-comparison-slot {
  min-height: 18px;
  display: flex;
  align-items: center;
}

.card-comparison-text {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
  line-height: 1.4;
}

/* Card Divider */
.card-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 20px 0 22px 0;
}

.card-divider.card-divider-yearly {
  background: rgba(45, 212, 191, 0.18);
}

/* Feature Bullets List */
.card-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1 1 auto;
  margin-bottom: 28px;
}

.card-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.45;
  font-weight: 400;
}

.feature-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-feature-bonus {
  margin-top: 2px;
}

.bonus-label {
  color: #5eead4;
  font-weight: 500;
}

/* Card CTA Slot */
.card-cta-slot {
  margin-top: auto;
}

/* Button Styles ("clear glass" premium style) */

/* Ghost/Outline Glass (Day Pass & Weekly) */
.pricing-btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

/* Filled Glass (Monthly) */
.pricing-btn-filled {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #5eead4;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-btn-filled:hover {
  background: rgba(45, 212, 191, 0.2);
  border-color: rgba(45, 212, 191, 0.7);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.28);
  transform: translateY(-1px);
}

/* Filled Glass Strongest (Yearly) */
.pricing-btn-yearly {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #5eead4;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(45, 212, 191, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-btn-yearly:hover {
  background: rgba(45, 212, 191, 0.28);
  border-color: rgba(45, 212, 191, 0.85);
  color: #ffffff;
  box-shadow: 0 0 28px rgba(45, 212, 191, 0.45);
  transform: translateY(-1px);
}

/* Trust Row */
.pricing-trust-row {
  margin-top: 42px;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .pricing-card.card-yearly {
    margin-top: 0;
  }
  .pricing-card.card-yearly:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 680px) {
  .pricing-section {
    padding: 70px 16px 90px 16px;
  }
  .pricing-heading {
    font-size: 34px;
  }
  .pricing-subtext {
    font-size: 14px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pricing-card {
    min-height: auto;
  }
  .pricing-card.card-yearly {
    margin-top: 0;
    min-height: auto;
  }
}

/* ==========================================================================
   Features Page Styles ("Capabilities")
   ========================================================================== */

.features-page-body {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #040907;
  position: relative;
  overflow-x: hidden;
}

/* Header-focused background treatment that fades to dark by the time card grid begins */
.features-page-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 480px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.features-bg-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  height: 440px;
  background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.14) 0%, rgba(8, 28, 22, 0.3) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: nebulaDriftA 58s cubic-bezier(0.4, 0, 0.2, 1) -18s infinite alternate;
  will-change: transform, opacity;
}

.features-bg-stars {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  background-image: 
    radial-gradient(1px 1px at 15% 15%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 35% 25%, rgba(94, 234, 212, 0.6), transparent),
    radial-gradient(1px 1px at 60% 12%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 80% 30%, rgba(45, 212, 191, 0.5), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(255, 255, 255, 0.35), transparent);
  background-size: 550px 550px;
  opacity: 0.7;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  animation: starfieldDrift 60s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  will-change: transform, opacity;
}

/* Features Navbar Wrapper */
.features-navbar-wrapper {
  position: relative;
  z-index: 20;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 28px 20px 0 20px;
  margin-bottom: 24px;
}

/* Features Main Container */
.features-page-main {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px 100px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Page Header */
.features-header {
  text-align: center;
  max-width: 820px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header Entrance Animations (matching hero motion style, staggered ~100ms) */
.features-pill-wrapper {
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.features-heading {
  font-family: var(--font-family);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.features-subtext {
  font-size: 15.5px;
  font-weight: 350;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.75);
  max-width: 760px;
  letter-spacing: 0.005em;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

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

/* Features Grid: 2 columns on desktop (4 rows), 1 column on mobile */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

/* Glassmorphism Feature Card (All 8 cards) */
.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
  /* Initial state for vanilla IntersectionObserver scroll-reveal */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hover state per card: transform translateY(-6px), border-color rgba(255,255,255,0.2), 250ms ease */
.feature-card.revealed:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Icon Circle: 44px diameter, background rgba(45,212,191,0.1), border 1px solid rgba(45,212,191,0.3) */
.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--glow-mint);
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

/* Brighten icon circle glow on card hover */
.feature-card.revealed:hover .feature-icon-circle {
  box-shadow: 0 0 16px rgba(45, 212, 191, 0.35);
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(45, 212, 191, 0.15);
}

.feature-title {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature-body {
  font-size: 14.5px;
  font-weight: 350;
  line-height: 1.62;
  color: rgba(203, 213, 225, 0.78);
  letter-spacing: 0.005em;
}

/* Responsive: 1 column on mobile */
@media (max-width: 820px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .features-heading {
    font-size: 34px;
  }
  .features-subtext {
    font-size: 14px;
  }
  .feature-card {
    padding: 24px;
  }
}

/* ==========================================================================
   Full-Page Global Loading Overlay & Loading State
   ========================================================================== */
.edge-loading-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #040907;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.edge-loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.edge-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  animation: loadingFadeIn 0.3s ease-out;
}

.edge-loading-logo-box {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.3);
  box-shadow: 0 0 32px rgba(45, 212, 191, 0.18);
}

.edge-loading-logo-icon {
  width: 28px;
  height: 28px;
  color: #2dd4bf;
  animation: logoPulse 1.8s ease-in-out infinite;
}

.edge-loading-spinner {
  width: 36px;
  height: 36px;
  border: 2.5px solid rgba(45, 212, 191, 0.15);
  border-top-color: #2dd4bf;
  border-radius: 50%;
  animation: edgeSpin 0.75s linear infinite;
}

.edge-loading-text {
  font-size: 13.5px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.02em;
  margin: 0;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
    filter: drop-shadow(0 0 4px rgba(45, 212, 191, 0.4));
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(45, 212, 191, 0.8));
  }
}

@keyframes edgeSpin {
  to { transform: rotate(360deg); }
}

@keyframes loadingFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Support Page Styles
   ========================================================================== */

.support-page-main {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1080px;
  padding: 0 24px 100px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-header {
  text-align: center;
  max-width: 780px;
  margin-bottom: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-pill-wrapper {
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.support-heading {
  font-family: var(--font-family);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.support-subtext {
  font-size: 15.5px;
  font-weight: 350;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.75);
  max-width: 640px;
  letter-spacing: 0.005em;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

/* 2-column channel cards grid */
.support-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 900px;
  margin-bottom: 20px;
}

.support-channel-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 34px 32px 32px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 290px;
  
  /* Initial state for vanilla IntersectionObserver scroll-reveal */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.support-channel-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.support-channel-card.revealed:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(45, 212, 191, 0.15);
}

/* Icon Circle: strictly 44px circular dimensions to prevent stretched horizontal bar */
.card-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--glow-mint);
  margin-bottom: 22px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.2);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

/* Hover glow: soft circular halo contained closely around the 44px circle */
.support-channel-card.revealed:hover .card-icon-circle,
.support-channel-card:hover .card-icon-circle {
  background: rgba(45, 212, 191, 0.18);
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
}

.support-card-title {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.support-card-body {
  font-size: 14.5px;
  font-weight: 350;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.75);
  margin-bottom: 26px;
}

.btn-support-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.45);
  backdrop-filter: blur(10px);
  color: var(--glow-light);
  transition: all 0.25s ease;
  margin-top: auto;
}

.btn-support-pill:hover {
  background: rgba(45, 212, 191, 0.24);
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

/* FAQ Accordion Section */
.faq-section {
  width: 100%;
  max-width: 900px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-heading {
  font-family: var(--font-family);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
}

.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  
  /* Initial state for vanilla IntersectionObserver scroll-reveal */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover {
  border-color: rgba(45, 212, 191, 0.28);
}

.faq-item.active {
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--glow-mint);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 26px;
  color: rgba(203, 213, 225, 0.8);
  font-size: 14.5px;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 26px 22px 26px;
}

/* Trust Strip */
.support-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 38px;
  margin-top: 70px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
  max-width: 900px;
}

.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 400;
}

.trust-strip-icon {
  width: 18px;
  height: 18px;
  color: var(--glow-mint);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .support-cards-grid {
    grid-template-columns: 1fr;
  }
  .support-heading {
    font-size: 34px;
  }
  .support-trust-strip {
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================================
   Reduced Motion Accessibility Preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .pricing-bg-glow-top,
  .features-bg-glow,
  .pricing-ambient-glow,
  .hero-bg-glow,
  .hero-bg-glow-teal,
  .hero-bg-glow-emerald,
  .matrix-grid-overlay,
  .ambient-radial-glow,
  .pricing-bg-stars,
  .features-bg-stars,
  .hero-bg-stars,
  .hero-bg-video,
  .star-dot,
  .star-dot.twinkle,
  [class*="bg-glow"],
  [class*="bg-stars"],
  [class*="starfield"] {
    animation: none !important;
    transition: none !important;
  }
}

