/* ============================
   GLOBAL VARIABLES
============================ */

:root {
  /* Color palette */
  --color-bg-start: #0c0627;
  --color-bg-end: #2b1356;
  --color-accent: #9d6fff;
  --color-text-primary: #ffffff;
  --color-text-secondary: #d7c5ff;
  --color-button-start: #6a47ff;
  --color-button-end: #9d6fff;
  --color-accent-orange: #ff9d3e;
  --color-accent-blue: #4169e1;
  --color-accent-purple: #9063cd;
  --color-card-bg: #131b2f;
  --color-icon-blue: #4990e2;
  --color-icon-red: #ff5a5a;
  --color-icon-gold: #ffca42;
  --color-icon-pink: #ff6b9e;
  --color-dna-blue: #3e84ff;
  --color-elevation: #a78bfa;
  --color-mind-purple: #6d28d9;
  --color-mind-blue: #3B82F6;
  --color-mind-purple-light: #9b87f5;
  --color-mind-cosmic: #0a0518;
  
  /* Section background colors */
  --color-section-1-bg: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  --color-section-2-bg: #0a101d;
  --color-section-3-bg: #0f1729;
  --color-section-4-bg: #0a101d;
  --color-section-5-bg: #0f1729;
  --color-section-6-bg: #0a101d;
}

/* ============================
   BASE STYLES
============================ */

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  scroll-behavior: smooth; /* Add smooth scrolling for the whole page */
}

body {
  background: var(--color-section-1-bg);
  color: var(--color-text-primary);
  overflow-y: auto; /* Allow natural scrolling */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Inter', sans-serif;
}

a:hover {
  text-decoration: underline;
}

/* ============================
   LAYOUT & SECTIONS
============================ */

.section {
  min-height: 100vh;
  padding: 2rem 0;
  position: relative;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(109, 40, 217, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
}

.back-to-top:hover {
  background-color: rgba(109, 40, 217, 0.5);
  transform: translateY(-2px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================
   SECTION BACKGROUND COLORS
============================ */

/* Section-specific backgrounds */
.hero-section {
  background: var(--color-section-1-bg);
}

.philosophy-section {
  background-color: var(--color-section-2-bg);
}

.audience-section {
  background-color: var(--color-section-3-bg);
}

.metaminded-section {
  background-color: var(--color-section-4-bg);
}

.services-section {
  background-color: var(--color-section-5-bg);
}

.benefits-section {
  background-color: var(--color-section-6-bg);
}

.outcomes-section {
  background-color: var(--color-section-5-bg);
}

.cta-section {
  background-color: var(--color-section-6-bg);
  position: relative;
  overflow: hidden;
}

/* CTA Section Styles */
.animate-pulse-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% { opacity: 0.3; transform: scale(0.95); }
  50% { opacity: 0.7; transform: scale(1.05); }
  100% { opacity: 0.3; transform: scale(0.95); }
}

.bg-force-gradient {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.4) 0%, rgba(59, 130, 246, 0.4) 100%);
}

.bg-neural-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  outline: none;
  cursor: pointer;
  text-decoration: none;
}

.cta-primary {
  background: linear-gradient(to right, var(--color-mind-purple), var(--color-mind-blue));
  color: white;
  box-shadow: 0 0 15px rgba(109, 40, 217, 0.4);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.6);
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(155, 135, 245, 0.6);
}

.cta-secondary:hover {
  background: rgba(155, 135, 245, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(155, 135, 245, 0.3);
}

/* ============================
   ANIMATIONS
============================ */

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float-1 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(10px, 10px); }
  100% { transform: translate(0, 0); }
}

@keyframes float-2 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-10px, 15px); }
  100% { transform: translate(0, 0); }
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0.6; transform: scale(0.98); }
}

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

.hero-orb-1 {
  animation: float-1 8s infinite ease-in-out;
}

.hero-orb-2 {
  animation: float-2 6s infinite ease-in-out alternate;
}

/* ============================
   HERO SECTION
============================ */

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section h2 {
  margin-top: 2rem;
}

.glow {
  text-shadow: 0 0 10px rgba(215, 197, 255, 0.7);
}

.hero-orb {
  z-index: 1;
  position: fixed;
}

/* ============================
   PHILOSOPHY SECTION
============================ */

.philosophy-section .h-1 {
  height: 2px;
}

.philosophy-section .italic {
  font-style: italic;
}

/* ============================
   AUDIENCE SECTION
============================ */

.audience-section .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.emoji-circle {
  background-color: #ffffff0d;
  border-radius: 9999px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 1.5rem;
}

/* ============================
   METAMINDED SECTION
============================ */

.metaminded-section .w-1 {
  width: 4px;
}

.metaminded-section .text-elevation {
  color: var(--color-elevation);
}

.quote-box {
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background-color: #0000004d;
  border-left: 4px solid var(--color-mind-purple);
  border-radius: 0 0.5rem 0.5rem 0;
  position: relative;
}

.quote-box::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 0;
  height: 100%;
  width: 0.25rem;
  background: linear-gradient(to bottom, var(--color-mind-purple-light), var(--color-mind-blue));
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  line-height: 2.25rem;
  color: white;
  font-style: italic;
}

/* ============================
   SERVICES SECTION
============================ */

.services-section .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.services-section h3 {
  border-bottom: 1px solid rgba(157, 111, 255, 0.3);
  padding-bottom: 0.75rem;
}

.mind-card {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-white {
  --tw-gradient-from: #ffffff var(--tw-gradient-from-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.to-white\/80 {
  --tw-gradient-to: rgba(255, 255, 255, 0.8);
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-mind-purple\/30 {
  --tw-gradient-from: rgba(109, 40, 217, 0.3) var(--tw-gradient-from-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(109, 40, 217, 0));
}

.to-mind-blue\/30 {
  --tw-gradient-to: rgba(59, 130, 246, 0.3);
}

.from-mind-purple\/20 {
  --tw-gradient-from: rgba(109, 40, 217, 0.2) var(--tw-gradient-from-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(109, 40, 217, 0));
}

.to-mind-blue\/20 {
  --tw-gradient-to: rgba(59, 130, 246, 0.2);
}

.from-mind-purple-light\/20 {
  --tw-gradient-from: rgba(155, 135, 245, 0.2) var(--tw-gradient-from-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(155, 135, 245, 0));
}

.to-mind-blue-light\/20 {
  --tw-gradient-to: rgba(96, 165, 250, 0.2);
}

.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.hover\:transform:hover {
  transform: translateY(-0.25rem);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.text-transparent {
  color: transparent;
}

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.bg-mind-purple\/30 {
  background-color: rgba(109, 40, 217, 0.3);
}

.hover\:bg-white\/5:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.hover\:shadow-mind-purple\/20:hover {
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.2);
}

.text-gray-200 {
  color: rgb(229, 231, 235);
}

.text-gray-300 {
  color: rgb(209, 213, 219);
}

/* ============================
   FOOTER
============================ */

.site-footer {
  background-color: var(--color-mind-cosmic);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
}

.footer-border {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
}

/* ============================
   COMPONENTS
============================ */

/* Buttons */
.btn-primary {
  background: linear-gradient(to right, var(--color-button-start), var(--color-button-end));
  border: none;
  box-shadow: 0 0 15px rgba(157, 111, 255, 0.5);
  transition: all 0.3s ease;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(157, 111, 255, 0.8);
}

/* Cards */
.card {
  background-color: var(--color-card-bg);
  border-radius: 0.75rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Decorative elements */
.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent) 0%, rgba(157, 111, 255, 0) 70%);
  opacity: 0.5;
  filter: blur(10px);
}

/* ============================
   UTILITIES
============================ */

.bg-card-bg {
  background-color: var(--color-card-bg);
}

.text-icon-blue {
  color: var(--color-icon-blue);
}

.text-icon-red {
  color: var(--color-icon-red);
}

.text-icon-gold {
  color: var(--color-icon-gold);
}

.text-icon-pink {
  color: var(--color-icon-pink);
}

.text-elevation {
  color: var(--color-elevation);
}

.bg-accent-blue {
  background-color: var(--color-accent-blue);
}

.bg-accent-purple {
  background-color: var(--color-accent-purple);
}

.border-dna-blue {
  border-color: var(--color-dna-blue);
}

.text-mind-purple-light {
  color: var(--color-mind-purple-light);
}

.from-mind-purple {
  --tw-gradient-from: var(--color-mind-purple);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(109, 40, 217, 0));
}

.to-mind-blue {
  --tw-gradient-to: var(--color-mind-blue);
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.section-header {
  position: relative;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  display: inline-block;
}

/* Rebels dropdown */
.rebels-dropdown {
  position: absolute;
  z-index: 100;
  background-color: var(--color-mind-cosmic);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  padding: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  min-width: 200px;
  animation: fadeIn 0.2s ease-in-out;
  transform: translateY(-100%);
  bottom: 100%;
  left: 50%;
  margin-bottom: 10px;
}

.rebels-dropdown.show {
  display: block;
}

.rebels-dropdown a {
  transition: color 0.2s ease;
}

.rebels-dropdown a:hover {
  text-decoration: none;
}

/* ============================
   RESPONSIVE ADJUSTMENTS
============================ */

@media (max-width: 768px) {
  .section {
    height: auto;
    min-height: 100vh;
    padding: 1rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-section h2 {
    font-size: 1.75rem;
  }
  
  .card {
    padding: 1.25rem;
  }
  
  .quote-box {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1.5rem;
  }
  
  .quote-text {
    font-size: 1.5rem;
    line-height: 1.8rem;
  }
  
  /* Hide orbs on mobile */
  .hero-orb {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-section h2 {
    font-size: 1.5rem;
  }
  
  .orb {
    display: none;
  }
  
  .cta-button, .btn-primary, .btn-lg {
    padding: 0.875rem 1.5rem;
    min-height: 3rem;
  }
  
  input[type="checkbox"] {
    min-width: 1.25rem;
    min-height: 1.25rem;
  }
  
  .emoji-circle {
    margin-left: auto;
    margin-right: auto;
  }
}
