/* ============================
   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;
}

body {
  background: var(--color-section-1-bg);
  color: var(--color-text-primary);
  overflow-y: auto;
}

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;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section {
  min-height: 100vh;
  padding: 4rem 0;
  position: relative;
  display: flex;
  align-items: center;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 0.25rem;
  background: linear-gradient(to right, var(--color-mind-purple), var(--color-mind-blue));
  border-radius: 2px;
}

/* ============================
   SECTION 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;
}

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

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

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

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 3rem;
}

.logo-svg {
  width: 100%;
  max-width: 32rem;
  height: auto;
}

.hero-title {
  font-size: 3.75rem;
  line-height: 1;
  margin: 2rem 0;
  font-weight: 700;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.75;
  margin: 2rem 0 3rem;
  color: var(--color-text-secondary);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-top: 3rem;
}

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

.philosophy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.philosophy-text {
  space-y: 1.5rem;
}

.philosophy-paragraph {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.philosophy-image {
  display: flex;
  justify-content: center;
}

.image-container {
  position: relative;
  width: 20rem;
  height: 20rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.philosophy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart-icon {
  animation: pulse 3s infinite ease-in-out;
  opacity: 0.4;
}

.highlight {
  color: var(--color-mind-purple-light);
  font-style: italic;
}

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

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.audience-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
}

.card-description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

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

.metaminded-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
}

.quote-box {
  margin: 3rem auto;
  padding: 2.5rem 2rem;
  background-color: rgba(0, 0, 0, 0.3);
  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;
  margin: 0;
}

.metaminded-text {
  text-align: left;
  margin-top: 3rem;
}

.metaminded-paragraph {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

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

.services-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.services-description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  background: linear-gradient(to right, rgba(155, 135, 245, 0.2), rgba(96, 165, 250, 0.2));
  backdrop-filter: blur(4px);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  max-width: 48rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.service-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);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
}

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

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.service-description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================
   BENEFITS SECTION
============================ */

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.benefits-column {
  max-width: 36rem;
}

.benefits-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.title-icon {
  font-size: 1.25rem;
}

.benefits-card {
  background: linear-gradient(to bottom right, rgba(109, 40, 217, 0.3), rgba(59, 130, 246, 0.3));
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem;
  margin-bottom: 1rem;
  transition: background-color 0.2s ease;
  border-radius: 0.5rem;
}

.benefit-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.bullet {
  color: var(--color-mind-purple-light);
  font-size: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.case-study-card {
  background: linear-gradient(to bottom right, rgba(109, 40, 217, 0.2), rgba(59, 130, 246, 0.2));
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  height: 100%;
}

.case-study-card:hover {
  box-shadow: 0 15px 30px rgba(109, 40, 217, 0.2);
}

.case-study-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.avatar {
  width: 3rem;
  height: 3rem;
  background: rgba(109, 40, 217, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.case-study-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.case-study-content p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================
   OUTCOMES SECTION
============================ */

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

.outcomes-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.outcomes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.outcome-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.outcome-item .bullet {
  color: var(--color-mind-purple-light);
  flex-shrink: 0;
}

/* ============================
   CTA SECTION
============================ */

.cta-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.4) 0%, rgba(59, 130, 246, 0.4) 100%);
  opacity: 0.7;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-line {
  display: block;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.btn-cta {
  max-width: 12.5rem;
  width: 100%;
}

/* ============================
   CONTACT SECTION
============================ */

.contact-content {
  max-width: 48rem;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(155, 135, 245, 0.2);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-primary);
}

.label-icon {
  width: 1rem;
  height: 1rem;
}

.required {
  color: #ef4444;
}

.form-input, .form-textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-primary);
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-mind-purple-light);
  box-shadow: 0 0 0 2px rgba(155, 135, 245, 0.2);
}

.form-textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.checkbox-label:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.checkbox-required {
  flex-direction: column;
  gap: 0.25rem;
}

.checkbox-input {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.125rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.checkbox-text {
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  flex: 1;
  color: var(--color-text-primary);
}

.form-help {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

/* ============================
   BUTTONS
============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.btn-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);
}

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

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

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

.btn-hero {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-submit {
  width: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

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

@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); }
}

@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); }
}

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

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

/* ============================
   BACKGROUND ORBS
============================ */

.orb {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent) 0%, rgba(157, 111, 255, 0) 70%);
  opacity: 0.5;
  filter: blur(10px);
  z-index: 1;
}

.hero-orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation: float-1 8s infinite ease-in-out;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  top: 70%;
  right: 15%;
  animation: float-2 6s infinite ease-in-out alternate;
}

/* ============================
   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;
  border: none;
  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;
}

.back-to-top .h-6 {
  width: 1.5rem;
  height: 1.5rem;
}

/* ============================
   MODERN RESPONSIVE NAVBAR
============================ */

.navbar {
  background: rgba(10, 5, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(10, 5, 24, 0.98);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand:hover {
  color: var(--color-mind-purple-light);
  text-decoration: none;
}

/* Logo text styling to match hero logo */
.logo-jedi {
  color: #ffffff;
}

.logo-onthefly {
  color: #B994FF;
}

/* Navigation logo circles */
.navbar-logo-circles {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo-circles {
  transform: scale(1.1);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

/* Ensure horizontal layout only on desktop */
@media (min-width: 769px) {
  .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    gap: 2.5rem;
    align-items: center;
  }
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  display: inline-block;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-mind-purple), var(--color-mind-blue));
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--color-text-primary);
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-link:hover::before {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--color-mind-purple-light);
}

.nav-link.active::before {
  transform: scaleX(1);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.05);
}

.mobile-menu-toggle.active {
  transform: rotate(90deg);
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 5, 24, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-content {
  text-align: center;
  width: 90%;
  max-width: 400px;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateY(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.mobile-nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-link {
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::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;
}

.mobile-nav-link:hover::before {
  left: 100%;
}

.mobile-nav-link:hover {
  background: rgba(109, 40, 217, 0.2);
  border-color: var(--color-mind-purple-light);
  color: var(--color-mind-purple-light);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(109, 40, 217, 0.3);
}

.mobile-nav-link.active {
  background: linear-gradient(135deg, var(--color-mind-purple), var(--color-mind-blue));
  border-color: var(--color-mind-purple-light);
  color: var(--color-text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav,
  .navbar-nav {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.75rem 0;
  }
  
  .mobile-nav-link {
    font-size: 1.1rem;
    padding: 0.875rem 1.5rem;
  }
  
  .mobile-nav-menu {
    gap: 1.5rem;
  }
  
  .mobile-nav-header {
    margin-bottom: 2.5rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .navbar,
  .nav-link,
  .mobile-menu-toggle,
  .hamburger-line,
  .mobile-nav-overlay,
  .mobile-nav-content,
  .mobile-nav-close,
  .mobile-nav-link {
    transition: none;
  }
  
  .nav-link:hover {
    transform: none;
  }
  
  .mobile-nav-link:hover {
    transform: none;
  }
}

/* ============================
   PAGE CONTENT
============================ */

.page-content {
  padding: 4rem 0;
  min-height: 100vh;
  background-color: var(--color-section-2-bg);
}

.page-article {
  max-width: 48rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 3rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.page-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.page-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

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

.page-cover {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.page-cover img {
  width: 100%;
  height: auto;
}

.page-content-body {
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.page-content-body h1,
.page-content-body h2,
.page-content-body h3,
.page-content-body h4,
.page-content-body h5,
.page-content-body h6 {
  color: var(--color-text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

.page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(155, 135, 245, 0.2);
  color: var(--color-mind-purple-light);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

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

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

.footer-content {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.footer-tagline {
  color: var(--color-text-secondary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-copyright p,
.footer-credits p {
  color: var(--color-text-secondary);
  margin: 0;
}

.footer-link {
  color: var(--color-mind-purple-light);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-mind-purple);
  text-decoration: none;
}

/* ============================
   RESPONSIVE DESIGN
============================ */

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 2rem 0;
    min-height: auto;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .logo-svg {
    max-width: 24rem;
  }
  
  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .audience-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  
  .orb {
    display: none;
  }
  
  .quote-box {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1.5rem;
  }
  
  .quote-text {
    font-size: 1.5rem;
    line-height: 1.8;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .page-article {
    padding: 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    min-height: 3rem;
    font-size: 0.875rem;
  }
  
  .checkbox-input {
    min-width: 1.25rem;
    min-height: 1.25rem;
  }
}

/* ============================
   FOOTER REBELS FUNCTIONALITY
============================ */

.footer-credits {
  position: relative;
}

.footer-rebels-btn {
  background: none;
  border: none;
  color: var(--color-mind-purple-light);
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: color 0.2s ease;
  padding: 0;
  margin: 0 0.25rem;
}

.footer-rebels-btn:hover {
  color: var(--color-mind-purple);
  text-decoration: none;
}

.footer-rebels-btn:focus {
  outline: none;
  color: var(--color-mind-purple);
}

/* 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;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
}

.rebels-dropdown.hidden {
  display: none;
}

.rebels-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rebel-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.rebel-link {
  color: var(--color-mind-purple-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rebel-link:hover {
  color: var(--color-mind-purple);
  text-decoration: none;
}

/* ============================
   CONTACT DRAWER
============================ */

.contact-drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 36rem;
  background-color: #030508;
  backdrop-filter: blur(16px);
  border-left: 1px solid rgba(155, 135, 245, 0.2);
  color: white;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  transform: translateX(100%);
  overflow-y: auto;
}

.contact-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  padding: 1.5rem;
}

.drawer-title {
  font-weight: 600;
  font-size: 1.5rem;
  color: white;
  margin: 0;
}

.drawer-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.drawer-form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.125rem;
  transition: color 0.2s ease;
}

.drawer-close:hover {
  color: white;
}

.drawer-close:focus {
  outline: none;
  color: white;
  box-shadow: 0 0 0 2px rgba(155, 135, 245, 0.5);
}

/* Mobile adjustments for drawer */
@media (max-width: 640px) {
  .contact-drawer {
    max-width: 100%;
  }
}