/* ============================================

   Fund X - Design System v3

   Light Pillar theme (site-wide, no animation)

   ============================================ */



:root {

  /* --- PRIMARY COLORS --- */

  --color-bg-primary: #05010d;

  --color-bg-secondary: #0c061c;

  --color-bg-tertiary: #120a24;



  /* --- ACCENT COLORS (Light Pillar) --- */

  --color-accent-gold: #5227ff;

  --color-accent-gold-light: #ff9ffc;

  --color-accent-gold-dark: #3d1acc;



  /* --- TEXT COLORS --- */

  --color-text-primary: #ffffff;

  --color-text-secondary: rgba(226, 212, 255, 0.85);

  --color-text-muted: rgba(255, 255, 255, 0.68);



  /* --- BORDER & SURFACE --- */

  --color-border: rgba(255, 159, 252, 0.18);

  --color-surface: rgba(12, 6, 28, 0.55);

  --color-surface-light: rgba(18, 10, 36, 0.75);



  /* --- SEMANTIC COLORS --- */

  --color-error: #ef4444;

  --color-success: #10b981;

  --color-warning: #ff9ffc;



  /* --- SPACING --- */

  --spacing-xs: 0.25rem;

  --spacing-sm: 0.5rem;

  --spacing-md: 1rem;

  --spacing-lg: 1.5rem;

  --spacing-xl: 2rem;

  --spacing-2xl: 3rem;

  --spacing-3xl: 4rem;



  /* --- RADIUS --- */

  --radius-sm: 0.375rem;

  --radius-md: 0.5rem;

  --radius-lg: 0.75rem;

  --radius-xl: 1rem;



  /* --- SHADOWS --- */

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);

  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);

  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);

  --shadow-gold: 0 0 20px rgba(82, 39, 255, 0.28);

  --shadow-gold-strong: 0 0 40px rgba(255, 159, 252, 0.35);

}



/* --- Base & Reset --- */

html {

  scroll-behavior: auto;

  color-scheme: dark;

}



/* --- Global background: Orchid Depths Top (PatternCraft) --- */

.orchid-bg {

  position: fixed;

  inset: 0;

  z-index: 0;

  width: 100%;

  height: 100%;

  pointer-events: none;

  background: #000000;

  background-image: radial-gradient(125% 125% at 50% 10%, #000000 40%, #350136 100%);

  background-size: 100% 100%;

  contain: strict;

}

/* Keep all page content above the fixed background */

#page-main {

  position: relative;

  z-index: 1;

}

.site-gooey-header {

  z-index: 99;

}

footer {

  position: relative;

  z-index: 1;

}



.site-footer {

  background: linear-gradient(180deg, rgba(12, 6, 28, 0) 0%, rgba(12, 6, 28, 0.55) 100%);

  border-top: 1px solid rgba(162, 139, 255, 0.14);

}



.site-footer__logo {

  display: inline-flex;

  align-items: center;

  gap: 0.6rem;

  text-decoration: none;

}



.site-footer__logo img {

  height: 52px;

  width: auto;

  filter: drop-shadow(0 0 10px rgba(162, 89, 255, 0.55));

}



.site-footer__wordmark {

  font-size: 1.15rem;

  font-weight: 800;

  letter-spacing: 0.3px;

  background: linear-gradient(90deg, #ffffff 0%, #c9b6ff 45%, #ff9ffc 100%);

  -webkit-background-clip: text;

  background-clip: text;

  -webkit-text-fill-color: transparent;

  color: transparent;

}



body {

  background: var(--color-bg-primary);

  color: var(--color-text-primary);

  font-family: Outfit, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  font-size: 16px;

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

  min-height: 100vh;

}



/* --- Form Inputs (shared across checkout, contact, login, etc.) --- */

.df-input {

  width: 100%;

  padding: var(--spacing-md);

  background: var(--color-surface);

  border: 1px solid var(--color-border);

  border-radius: var(--radius-md);

  color: var(--color-text-primary);

  font-size: 0.95rem;

  outline: none;

  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;

}



.df-input::placeholder {

  color: var(--color-text-muted);

}



.df-input:focus {

  border-color: var(--color-accent-gold);

  background: var(--color-surface-light);

  box-shadow: 0 0 0 3px rgba(82, 39, 255, 0.18);

}



.df-input--icon {

  padding-left: 2.75rem;

}



/* --- Input Group (icon positioned inside) --- */

.df-input-group {

  position: relative;

}



.df-input-icon {

  position: absolute;

  left: var(--spacing-md);

  top: 50%;

  transform: translateY(-50%);

  color: var(--color-text-muted);

  font-size: 0.9rem;

  pointer-events: none;

  transition: color 0.2s ease;

}



.df-input-group:focus-within .df-input-icon {

  color: var(--color-accent-gold);

}



/* --- Buttons --- */

.df-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: var(--spacing-sm);

  font-weight: 700;

  font-size: 0.95rem;

  border: none;

  border-radius: var(--radius-md);

  cursor: pointer;

  letter-spacing: 0.02em;

  transition: all 0.25s ease;

  text-decoration: none;

  min-height: 44px;

}



.df-btn--primary {

  padding: var(--spacing-md) var(--spacing-lg);

  background: #ffffff;

  color: #05010d;

  font-weight: 600;

  box-shadow: 0 8px 24px rgba(82, 39, 255, 0.22);

}



.df-btn--primary:hover {

  background: #f3e8ff;

  transform: translateY(-1px);

  box-shadow: var(--shadow-gold-strong);

}



.df-btn--primary:active {

  transform: translateY(0);

  box-shadow: var(--shadow-gold);

}



.df-btn--primary:focus-visible {

  outline: 2px solid var(--color-accent-gold);

  outline-offset: 2px;

}



.df-btn--secondary {

  padding: var(--spacing-md) var(--spacing-lg);

  background: transparent;

  color: var(--color-accent-gold);

  border: 2px solid var(--color-accent-gold);

}



.df-btn--secondary:hover {

  background: rgba(245, 158, 11, 0.1);

  border-color: var(--color-accent-gold-light);

}



.df-btn--secondary:focus-visible {

  outline: 2px solid var(--color-accent-gold);

  outline-offset: 2px;

}



.df-btn--outline {

  padding: var(--spacing-md) var(--spacing-lg);

  background: transparent;

  color: var(--color-accent-gold);

  border: 2px solid var(--color-accent-gold);

}



.df-btn--outline:hover {

  background: rgba(245, 158, 11, 0.1);

  border-color: var(--color-accent-gold-light);

}



.df-btn--ghost {

  padding: var(--spacing-md) var(--spacing-lg);

  background: var(--color-surface);

  color: var(--color-text-secondary);

  border: 1px solid var(--color-border);

}



.df-btn--ghost:hover {

  background: var(--color-surface-light);

  color: var(--color-accent-gold);

  border-color: var(--color-accent-gold);

}



.df-btn--full {

  width: 100%;

}



.df-btn--lg {

  padding: var(--spacing-lg) var(--spacing-xl);

  font-size: 1.1rem;

  min-height: 48px;

}



.df-btn--sm {

  padding: var(--spacing-sm) var(--spacing-md);

  font-size: 0.875rem;

  min-height: 36px;

}



/* --- Glassmorphism Card --- */

.df-card {

  background: var(--color-surface-light);

  backdrop-filter: blur(24px);

  -webkit-backdrop-filter: blur(24px);

  border: 1px solid var(--color-border);

  border-radius: var(--radius-xl);

  padding: var(--spacing-xl);

  position: relative;

  transition: all 0.3s ease;

}



.df-card:hover {

  border-color: var(--color-accent-gold);

  box-shadow: var(--shadow-gold);

}



.df-card::before {

  content: '';

  position: absolute;

  top: 0;

  left: 50%;

  transform: translateX(-50%);

  width: 60%;

  height: 2px;

  background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);

  border-radius: 2px;

}



/* --- Alert Messages --- */

.df-alert {

  border-radius: var(--radius-md);

  padding: var(--spacing-md);

  font-size: 0.875rem;

  display: flex;

  align-items: center;

  gap: var(--spacing-sm);

}



.df-alert--error {

  background: rgba(239, 68, 68, 0.1);

  border: 1px solid rgba(239, 68, 68, 0.3);

  color: #fca5a5;

}



.df-alert--success {

  background: rgba(16, 185, 129, 0.1);

  border: 1px solid rgba(16, 185, 129, 0.3);

  color: #86efac;

}



.df-alert--warning {

  background: rgba(245, 158, 11, 0.1);

  border: 1px solid rgba(245, 158, 11, 0.3);

  color: var(--color-accent-gold-light);

}



/* --- Divider --- */

.df-divider {

  display: flex;

  align-items: center;

  gap: var(--spacing-lg);

  margin: var(--spacing-lg) 0;

}



.df-divider::before,

.df-divider::after {

  content: '';

  flex: 1;

  height: 1px;

  background: var(--color-border);

}



/* --- Password Toggle --- */

.df-password-toggle {

  position: absolute;

  right: var(--spacing-md);

  top: 50%;

  transform: translateY(-50%);

  background: none;

  border: none;

  cursor: pointer;

  color: var(--color-text-muted);

  padding: var(--spacing-sm);

  transition: color 0.2s ease;

  min-width: 44px;

  min-height: 44px;

  display: flex;

  align-items: center;

  justify-content: center;

}



.df-password-toggle:hover {

  color: var(--color-accent-gold);

}



.df-password-toggle:focus-visible {

  outline: 2px solid var(--color-accent-gold);

  outline-offset: 2px;

}



/* --- Ambient Glow (for centered pages like login, success, etc.) --- */

.df-ambient {

  position: relative;

  overflow: hidden;

}



.df-ambient::before {

  content: '';

  position: absolute;

  top: -40%;

  right: -20%;

  width: 600px;

  height: 600px;

  background: radial-gradient(circle, rgba(82, 39, 255, 0.18) 0%, transparent 70%);

  pointer-events: none;

}



.df-ambient::after {

  content: '';

  position: absolute;

  bottom: -30%;

  left: -15%;

  width: 500px;

  height: 500px;

  background: radial-gradient(circle, rgba(255, 159, 252, 0.1) 0%, transparent 70%);

  pointer-events: none;

}



/* --- Dot Grid Background --- */

.df-dot-grid {

  background-image: radial-gradient(circle, var(--color-accent-gold) 1px, transparent 1px);

  background-size: 32px 32px;

  opacity: 0.04;

  pointer-events: none;

}



/* --- Plan Selector Buttons --- */

.btn-default-plan,

.btn-default-type {

  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

  position: relative;

  overflow: hidden;

  min-height: 44px;

  border-radius: var(--radius-lg);

}



.btn-default-plan::before {

  content: '';

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);

  transition: left 0.5s ease;

}



.btn-default-plan:hover::before {

  left: 100%;

}



.btn-default-plan.active {

  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-dark) 100%) !important;

  color: var(--color-bg-primary) !important;

  border-color: var(--color-accent-gold) !important;

  box-shadow: var(--shadow-gold-strong), inset 0 0 20px rgba(255, 255, 255, 0.1);

  transform: scale(1.02);

}



.btn-default-plan:not(.active) {

  background-color: var(--color-bg-primary);

  color: var(--color-accent-gold);

  border: 2px solid rgba(245, 158, 11, 0.3);

  box-shadow: var(--shadow-md);

}



.btn-default-plan:not(.active):hover {

  background-color: var(--color-surface);

  border-color: var(--color-accent-gold);

  box-shadow: var(--shadow-gold);

  transform: translateY(-2px);

}



.btn-default-type {

  position: relative;

  z-index: 1;

}



.btn-default-type.active {

  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-dark) 100%) !important;

  color: var(--color-bg-primary) !important;

  box-shadow: var(--shadow-gold-strong);

  transform: scale(1.05);

}



.btn-default-type:not(.active) {

  background-color: rgba(245, 158, 11, 0.05);

  color: var(--color-text-muted);

  border: 2px solid rgba(245, 158, 11, 0.2);

}



.btn-default-type:not(.active):hover {

  color: var(--color-accent-gold);

  border-color: var(--color-accent-gold);

  background-color: rgba(245, 158, 11, 0.1);

}



/* --- Animations --- */

@keyframes float {

  0%, 100% { transform: translateY(0px); }

  50% { transform: translateY(-20px); }

}



@keyframes pulse-soft {

  0%, 100% { opacity: 1; }

  50% { opacity: 0.7; }

}



@keyframes scale-pulse {

  0%, 100% { transform: scale(1); }

  50% { transform: scale(1.1); }

}



@keyframes shake {

  0%, 100% { transform: translateX(0); }

  25% { transform: translateX(-10px); }

  75% { transform: translateX(10px); }

}



@keyframes float-up {

  0% { transform: translateY(0px) rotate(0deg); opacity: 1; }

  100% { transform: translateY(-100px) rotate(20deg); opacity: 0; }

}



@keyframes gold-glow {

  0%, 100% {

    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);

  }

  50% {

    box-shadow: 0 0 40px rgba(245, 158, 11, 0.5);

  }

}



.animate-float { animation: float 6s ease-in-out infinite; }

.animate-float-delay { animation: float 8s ease-in-out 2s infinite; }

.animate-pulse-soft { animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

.animate-scale-pulse { animation: scale-pulse 0.6s ease-out; }

.animate-shake { animation: shake 0.5s ease-in-out; }

.animate-float-up { animation: float-up 3s ease-in forwards; }

.animate-gold-glow { animation: gold-glow 3s ease-in-out infinite; }



/* --- Security Badge (shared across login, checkout, etc.) --- */

.df-security-badge {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: var(--spacing-lg);

  color: var(--color-text-muted);

  font-size: 0.75rem;

}



.df-security-badge span {

  display: flex;

  align-items: center;

  gap: var(--spacing-xs);

}



.df-security-badge i {

  color: var(--color-accent-gold);

}



/* --- Standalone Page Base (for pages not using base.html) --- */

.df-standalone {

  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 3rem 1rem;

}



/* ============================================

   Navbar Logo & Navigation Styling

   ============================================ */



/* Logo - Clean Brand Mark (No Button Look) */

.navbar-logo {

  display: flex;

  align-items: center;

  justify-content: center;

  outline: none;

  background: none;

  border: none;

  padding: 0;

  margin: 0;

  cursor: pointer;

  text-decoration: none;

  transition: opacity 0.3s ease;

}



.navbar-logo:focus,

.navbar-logo:focus-visible {

  outline: none;

}



.navbar-logo:hover {

  opacity: 0.8;

}



.navbar-logo:active {

  opacity: 0.7;

}



/* Logo Image */

.navbar-logo-img {

  height: 4.5rem; /* 72px on desktop */

  width: auto;

  display: block;

  object-fit: contain;

}



/* Desktop Navigation Links */

.navbar-nav-link {

  display: inline-flex;

  align-items: center;

  padding: var(--spacing-sm);

  color: var(--color-text-secondary);

  text-decoration: none;

  font-weight: 500;

  font-size: 0.95rem;

  letter-spacing: 0.01em;

  transition: all 0.25s ease;

  position: relative;

  min-height: 44px;

}



.navbar-nav-link::after {

  content: '';

  position: absolute;

  bottom: -2px;

  left: 0;

  width: 0;

  height: 2px;

  background: var(--color-accent-gold);

  transition: width 0.3s ease;

}



.navbar-nav-link:hover {

  color: var(--color-accent-gold);

  padding-bottom: var(--spacing-md);

}



.navbar-nav-link:hover::after {

  width: 100%;

}



.navbar-nav-link:focus-visible {

  outline: 2px solid var(--color-accent-gold);

  outline-offset: 2px;

  border-radius: var(--radius-sm);

}



.navbar-nav-link.text-accent {

  color: var(--color-accent-gold);

}



.navbar-nav-link.border-b-2 {

  border-bottom: 2px solid var(--color-accent-gold);

}



/* Mobile Menu Links */

.navbar-mobile-link {

  color: var(--color-text-secondary);

  text-decoration: none;

  font-weight: 500;

  font-size: 0.95rem;

  letter-spacing: 0.01em;

  transition: all 0.25s ease;

  display: block !important;

  min-height: 44px;

  display: flex;

  align-items: center;

}



.navbar-mobile-link:hover {

  color: var(--color-accent-gold);

  background-color: rgba(245, 158, 11, 0.1) !important;

}



.navbar-mobile-link:focus-visible {

  outline: 2px solid var(--color-accent-gold);

  outline-offset: -2px;

}



.navbar-mobile-link.text-accent {

  color: var(--color-accent-gold);

  background-color: rgba(245, 158, 11, 0.1) !important;

  font-weight: 600;

}



/* Mobile Menu Styles */

#mobile-menu {

  animation: slideDown 0.3s ease-out;

  max-width: 100%;

  box-shadow: var(--shadow-lg);

  background: var(--color-surface-light);

  border-bottom: 1px solid var(--color-border);

}



#mobile-menu.hidden {

  animation: slideUp 0.3s ease-out forwards;

  display: none !important;

}



@keyframes slideDown {

  from {

    opacity: 0;

    transform: translateY(-10px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}



@keyframes slideUp {

  from {

    opacity: 1;

    transform: translateY(0);

  }

  to {

    opacity: 0;

    transform: translateY(-10px);

  }

}



/* ============================================

   ANIMATIONS & TRANSITIONS

   ============================================ */



@keyframes fadeInUp {

  from {

    opacity: 0;

    transform: translateY(30px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}



@keyframes fadeInDown {

  from {

    opacity: 0;

    transform: translateY(-20px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}



@keyframes fadeInLeft {

  from {

    opacity: 0;

    transform: translateX(-30px);

  }

  to {

    opacity: 1;

    transform: translateX(0);

  }

}



@keyframes fadeInRight {

  from {

    opacity: 0;

    transform: translateX(30px);

  }

  to {

    opacity: 1;

    transform: translateX(0);

  }

}



@keyframes glow {

  0%, 100% {

    box-shadow: var(--shadow-gold);

  }

  50% {

    box-shadow: var(--shadow-gold-strong);

  }

}



@keyframes pulse {

  0%, 100% {

    opacity: 1;

  }

  50% {

    opacity: 0.8;

  }

}



@keyframes shimmer {

  0% {

    background-position: -1000px 0;

  }

  100% {

    background-position: 1000px 0;

  }

}



@keyframes cardLift {

  0% {

    transform: translateY(0px);

  }

  50% {

    transform: translateY(-8px);

  }

  100% {

    transform: translateY(0px);

  }

}



@keyframes smoothGlow {

  0%, 100% {

    box-shadow: var(--shadow-gold), inset 0 0 0px rgba(245, 158, 11, 0);

  }

  50% {

    box-shadow: var(--shadow-gold-strong), inset 0 0 10px rgba(245, 158, 11, 0.15);

  }

}



/* Animation Classes */

.animate-fade-in-up {

  animation: fadeInUp 0.6s ease-out;

}



.animate-fade-in-down {

  animation: fadeInDown 0.6s ease-out;

}



.animate-fade-in-left {

  animation: fadeInLeft 0.6s ease-out;

}



.animate-fade-in-right {

  animation: fadeInRight 0.6s ease-out;

}



.animate-glow {

  animation: glow 3s ease-in-out infinite;

}



.animate-pulse {

  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;

}



/* Section animations */

section {

  animation: none;

}



/* Smooth scroll-triggered animations */

section[data-animate] {

  scroll-behavior: smooth;

  transition: all 0.4s ease;

}



/* Stagger animations for lists */

.card-grid > div {

  animation: fadeInUp 0.6s ease-out both;

}



.card-grid > div:nth-child(1) { animation-delay: 0.1s; }

.card-grid > div:nth-child(2) { animation-delay: 0.2s; }

.card-grid > div:nth-child(3) { animation-delay: 0.3s; }

.card-grid > div:nth-child(4) { animation-delay: 0.4s; }

.card-grid > div:nth-child(5) { animation-delay: 0.5s; }

.card-grid > div:nth-child(6) { animation-delay: 0.6s; }



/* Typography Improvements */

h1, h2, h3, h4, h5, h6 {

  line-height: 1.2;

  letter-spacing: -0.01em;

  margin-bottom: var(--spacing-md);

  color: var(--color-text-primary);

}



h1 {

  font-size: clamp(1.875rem, 5vw, 3.75rem);

  font-weight: 700;

}



h2 {

  font-size: clamp(1.5rem, 4vw, 2.25rem);

  font-weight: 600;

}



h3 {

  font-size: clamp(1.25rem, 3vw, 1.875rem);

  font-weight: 600;

}



p {

  max-width: 65ch;

  line-height: 1.7;

  color: var(--color-text-secondary);

  margin-bottom: var(--spacing-md);

}



/* Responsive Utility Classes */

@media (max-width: 768px) {

  section {

    padding: var(--spacing-2xl) var(--spacing-md);

  }



  h1 {

    font-size: 1.875rem;

  }



  h2 {

    font-size: 1.5rem;

  }

}



/* Smooth Transition Utilities */

.transition-smooth {

  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.animate-card-lift {

  animation: cardLift 4s ease-in-out infinite;

}



.animate-smooth-glow {

  animation: smoothGlow 3s ease-in-out infinite;

}



/* Enhanced Hover Effects */

.hover-lift {

  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.hover-lift:hover {

  transform: translateY(-6px);

}



.hover-glow {

  transition: all 0.3s ease;

}



.hover-glow:hover {

  box-shadow: var(--shadow-gold-strong), inset 0 0 10px rgba(82, 39, 255, 0.15);

  border-color: var(--color-accent-gold);

}



/* ============================================

   CTA & ACTION BUTTONS

   ============================================ */



/* Primary CTA Button */

.df-btn--primary {

  background: #ffffff;

  color: #05010d;

  font-weight: 600;

  letter-spacing: 0.5px;

  box-shadow: 0 8px 24px rgba(82, 39, 255, 0.22);

  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;

  position: relative;

  overflow: hidden;

}



.df-btn--primary::before {

  display: none;

}



.df-btn--primary:hover {

  background: #f3e8ff;

  transform: translateY(-1px);

  box-shadow: 0 12px 32px rgba(255, 159, 252, 0.28);

}



.df-btn--primary:active {

  transform: translateY(0);

}



/* Secondary CTA Button */

.df-btn--secondary {

  background: transparent;

  border: 2px solid rgba(162, 139, 255, 0.55);

  color: #e2d4ff;

  font-weight: 600;

  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;

}



.df-btn--secondary:hover {

  background: rgba(82, 39, 255, 0.12);

  border-color: rgba(255, 159, 252, 0.65);

  transform: translateY(-1px);

  box-shadow: 0 8px 16px rgba(82, 39, 255, 0.2);

}



/* Responsive adjustments for smaller screens */

@media (max-width: 768px) {

  .navbar-logo-img {

    height: 3.5rem; /* 56px on mobile */

  }



  .navbar-nav-link {

    font-size: 0.9rem;

  }



  #mobile-menu {

    position: absolute;

    top: 80px;

    left: 0;

    right: 0;

    background: hsl(240, 10%, 12%);

    border-radius: 0;

    width: 100%;

    border-bottom: 1px solid hsl(240, 5%, 25%);

  }



  .navbar-mobile-link {

    padding: 1rem 1.5rem;

  }

}



/* ============================================

   SECTION STYLING & LAYOUT

   ============================================ */



/* Global Section Styling — solid Light Pillar base (no blue washes) */

section {

  padding: var(--spacing-3xl) var(--spacing-lg);

  scroll-behavior: smooth;

  position: relative;

  overflow: hidden;

  background: transparent;

  border-top: 1px solid rgba(162, 139, 255, 0.1);

}



section:first-of-type {

  border-top: none;

  background: transparent;

}



section.df-standalone {

  min-height: calc(100vh - var(--header-offset, 88px));

  display: flex !important;

  align-items: center;

  justify-content: center;

  padding: 2rem 1rem;

}



section::after {

  display: none;

}



section:nth-of-type(3)::before,

section:nth-of-type(4),

section:nth-of-type(5),

section:nth-of-type(6) {

  background: transparent;

  content: none;

}



/* Container width for large screens */

section > .max-w-7xl,

section > .max-w-5xl,

section > .max-w-3xl {

  padding: 0 var(--spacing-xl);

}



@media (min-width: 1024px) {

  section {

    padding: var(--spacing-3xl) var(--spacing-xl);

  }



  section > .max-w-7xl,

  section > .max-w-5xl,

  section > .max-w-3xl {

    padding: 0;

  }

}

/* ============================================
   Apex-style navbar background (nebula / beam)
   ============================================ */
#site-nav.apex-nav {
  position: fixed;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(96, 165, 250, 0.22);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 40px rgba(59, 130, 246, 0.08);
  background: transparent !important;
}

#site-nav.apex-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../../images/backgrounds/bg-hero-beam.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.85;
  pointer-events: none;
}

#site-nav.apex-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 140% at 50% 120%, rgba(59, 130, 246, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.55) 0%, rgba(2, 6, 23, 0.72) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#site-nav.apex-nav .apex-nav__inner,
#site-nav.apex-nav #mobile-menu {
  position: relative;
  z-index: 2;
}

#site-nav.apex-nav .apex-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

#site-nav.apex-nav .apex-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 34px rgba(59, 130, 246, 0.55);
}

#site-nav.apex-nav .apex-nav__mobile {
  border-bottom: 1px solid rgba(96, 165, 250, 0.22);
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(59, 130, 246, 0.22) 0%, transparent 60%),
    rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Fund X social buttons */
.fundx-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  margin: 0;
  padding: 0.4rem 0 0;
  list-style: none;
}

.fundx-social {
  --social-glow: rgba(139, 92, 246, 0.4);
  --social-hover: #7c3aed;
  position: relative;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, 0.2);
  border-radius: 50%;
  color: rgba(237, 233, 254, 0.78);
  background: linear-gradient(145deg, rgba(30, 18, 52, 0.96), rgba(12, 6, 28, 0.98));
  box-shadow: 0 10px 26px rgba(3, 1, 10, 0.32), inset 0 1px rgba(255, 255, 255, 0.05);
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), border-color 280ms ease,
    color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.fundx-social--telegram {
  --social-hover: #6d5dfc;
  --social-glow: rgba(109, 93, 252, 0.42);
}

.fundx-social--instagram {
  --social-hover: #a855f7;
  --social-glow: rgba(168, 85, 247, 0.44);
}

.fundx-social--discord {
  --social-hover: #9b6dff;
  --social-glow: rgba(155, 109, 255, 0.44);
}

.fundx-social:hover,
.fundx-social:focus-visible {
  color: #fff;
  border-color: rgba(221, 214, 254, 0.62);
  background: var(--social-hover);
  box-shadow: 0 14px 32px var(--social-glow), inset 0 1px rgba(255, 255, 255, 0.18);
  transform: translateY(-5px) scale(1.06);
  outline: none;
}

.fundx-social__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.75rem);
  z-index: 2;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(221, 214, 254, 0.22);
  border-radius: 0.45rem;
  color: #fff;
  background: #21143b;
  box-shadow: 0 10px 26px rgba(3, 1, 10, 0.38);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 7px) scale(0.94);
  transition: opacity 200ms ease, transform 280ms cubic-bezier(.2,.8,.2,1);
}

.fundx-social__tooltip::after {
  position: absolute;
  left: 50%;
  bottom: -0.28rem;
  width: 0.52rem;
  height: 0.52rem;
  content: "";
  background: #21143b;
  transform: translateX(-50%) rotate(45deg);
}

.fundx-social:hover .fundx-social__tooltip,
.fundx-social:focus-visible .fundx-social__tooltip {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

@media (min-width: 768px) {
  .fundx-socials { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .fundx-social,
  .fundx-social__tooltip { transition: none; }
}

/* Animated final CTA — adapted to the Fund X violet/pink palette. */
.fx-prism-wrap {
  display: flex;
  justify-content: center;
}

.fx-prism-btn {
  --prism-radius: 999px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-width: min(20rem, 100%);
  min-height: 3.65rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(239, 227, 255, 0.72);
  border-radius: var(--prism-radius);
  background: #6f35ff;
  box-shadow: 0 16px 40px rgba(82, 39, 255, 0.3), inset 0 1px rgba(255,255,255,.42);
  color: #fff;
  text-decoration: none;
  transition: transform 300ms cubic-bezier(.23,1,.32,1), box-shadow 300ms ease, border-color 300ms ease;
}

.fx-prism-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -2;
  width: 185%;
  aspect-ratio: 1;
  pointer-events: none;
  background: conic-gradient(from 20deg, #5227ff, #b85cff, #ff9ffc, #7547ff, #271255, #5227ff);
  transform: translate(-50%, -50%);
  animation: fx-prism-rotate 7s linear infinite;
}

.fx-prism-layer--b {
  z-index: -1;
  width: 150%;
  opacity: .48;
  filter: blur(13px) saturate(1.2);
  animation-duration: 10s;
  animation-direction: reverse;
}

.fx-prism-light {
  position: absolute;
  top: 0.22rem;
  left: 12%;
  width: 76%;
  height: 1.35rem;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(8px);
  animation: fx-prism-pulse 3.6s ease-in-out infinite;
}

.fx-prism-label {
  position: relative;
  z-index: 2;
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .025em;
  text-shadow: 0 2px 12px rgba(16, 4, 35, .55);
  transition: transform 300ms cubic-bezier(.23,1,.32,1), letter-spacing 300ms ease;
}

.fx-prism-btn:hover,
.fx-prism-btn:focus-visible {
  border-color: #fff;
  box-shadow: 0 20px 52px rgba(145, 77, 255, .46), 0 0 28px rgba(255,159,252,.18), inset 0 1px rgba(255,255,255,.55);
  transform: translateY(-3px) scale(1.02);
  outline: none;
}

.fx-prism-btn:hover .fx-prism-label,
.fx-prism-btn:focus-visible .fx-prism-label {
  letter-spacing: .055em;
  transform: scale(1.035);
}

.fx-prism-btn:active { transform: translateY(0) scale(.97); }

@keyframes fx-prism-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fx-prism-pulse {
  0%, 100% { opacity: .9; transform: scaleX(1); }
  50% { opacity: .25; transform: scaleX(.82); }
}

@media (prefers-reduced-motion: reduce) {
  .fx-prism-layer,
  .fx-prism-light { animation: none; }
  .fx-prism-btn,
  .fx-prism-label { transition: none; }
}

