/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Theme Colors */
  --bg-deep: #07060f;
  --bg-dark: #0c0b1a;
  --bg-card: rgba(22, 20, 42, 0.45);
  --bg-nav: rgba(12, 11, 26, 0.75);
  
  --primary-teal: #00f5d4;
  --primary-blue: #00bbf9;
  --royal-gold: #ffd166;
  --gold-dark: #ffa502;
  --accent-pink: #d81b60;
  --accent-purple: #7209b7;
  
  /* Text Colors */
  --text-light: #f4f6fa;
  --text-muted: #8d99ae;
  --text-dark: #0c0b1a;

  /* Font Families */
  --font-main: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-decor: 'Cinzel Decorative', cursive;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #ffd166 0%, #ffa502 100%);
  --grad-teal: linear-gradient(135deg, #00f5d4 0%, #00bbf9 100%);
  --grad-cosmic: linear-gradient(135deg, #7209b7 0%, #03045e 100%);
  --grad-rainbow: linear-gradient(270deg, #ffd166, #00f5d4, #00bbf9, #7209b7, #ffd166);

  /* Shadow & Blur */
  --shadow-glow-teal: 0 0 20px rgba(0, 245, 212, 0.3);
  --shadow-glow-gold: 0 0 20px rgba(255, 209, 102, 0.35);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-blur: blur(16px);
  
  /* Layout Sizing */
  --header-height: 80px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-light);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Hidden on desktop to allow custom particle cursor */
}

/* Fallback: Bring back normal cursor on touch devices */
@media (hover: none) {
  body {
    cursor: auto;
  }
  #cursor-canvas {
    display: none !important;
  }
}

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

ul {
  list-style: none;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #252243;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-teal);
}

/* ==========================================================================
   PARTICLE CURSOR CANVAS
   ========================================================================== */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ==========================================================================
   PRELOADER SCREEN (DUAL SPLIT CURTAINS & FAST 2.0s ANIMATION TIMINGS)
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  pointer-events: all;
  transition: visibility 0.5s ease;
  cursor: pointer; /* Pointer to encourage tap dismiss/audio play */
}

#preloader.fade-out {
  visibility: hidden;
  pointer-events: none;
}

/* Sliding Curtains styling - shortened to 0.5s for fast reveal */
.preloader-curtain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--bg-deep);
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.curtain-top {
  top: 0;
  border-bottom: 1px solid rgba(255, 209, 102, 0.08);
}

.curtain-bottom {
  bottom: 0;
  border-top: 1px solid rgba(255, 209, 102, 0.08);
}

/* Sliding Animation trigger */
#preloader.fade-out .curtain-top {
  transform: translateY(-100%);
}

#preloader.fade-out .curtain-bottom {
  transform: translateY(100%);
}

/* Canvas sized fullscreen behind content */
#preloader-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
}

.loader-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#preloader.fade-out .loader-content {
  opacity: 0;
  transform: scale(0.95);
}

.preloader-animation-container {
  position: relative;
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-flute-container {
  position: relative;
  width: 320px;
  z-index: 10;
  filter: drop-shadow(0 0 25px rgba(255, 209, 102, 0.65));
}

.loader-text-container {
  margin-top: 20px;
  text-align: center;
}

.loader-logo-text {
  font-family: var(--font-decor);
  font-size: 2.1rem;
  letter-spacing: 4px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.loader-sub {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--primary-teal);
  letter-spacing: 2px;
  opacity: 0.8;
  font-style: italic;
}

/* Pulsing text indicator to encourage user tap */
.loader-enter-tip {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--royal-gold);
  letter-spacing: 2px;
  font-weight: 600;
  opacity: 0.75;
  text-transform: uppercase;
  animation: pulse-glow 1.5s infinite ease-in-out;
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */
@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255, 209, 102, 0.4));
    opacity: 0.65;
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 20px rgba(255, 209, 102, 0.8));
    opacity: 0.95;
  }
}

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

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-counter {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes gradient-scroll {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scroll Trigger Reveal Base Classes */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ==========================================================================
   BACKGROUND DECORATIONS
   ========================================================================== */
.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg-feather {
  position: absolute;
  opacity: 0.7;
}

.bg-feather-1 {
  top: 15%;
  right: -5%;
  width: 250px;
  transform: rotate(-15deg);
  animation: float-slow 8s infinite ease-in-out;
}

.bg-feather-2 {
  top: 60%;
  left: -5%;
  width: 200px;
  transform: rotate(35deg);
  animation: float-slow 10s infinite ease-in-out alternate;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-nav);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  z-index: 990;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background: var(--bg-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-logo-feather {
  width: 32px;
  height: 32px;
  animation: spin-clockwise 20s infinite linear;
}

.logo-text {
  font-family: var(--font-decor);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtext {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--primary-teal);
  letter-spacing: 4px;
  -webkit-text-fill-color: var(--primary-teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-teal);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-support-btn {
  background: var(--grad-teal);
  color: var(--text-dark) !important;
  padding: 8px 20px !important;
  border-radius: 30px;
  box-shadow: var(--shadow-glow-teal);
}

.nav-support-btn::after {
  display: none !important;
}

.nav-support-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 8px 25px rgba(0, 245, 212, 0.5);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: radial-gradient(circle at 75% 30%, rgba(114, 9, 183, 0.15) 0%, transparent 60%);
  z-index: 2;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.badge-new-era {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-teal);
  border-radius: 50%;
  box-shadow: var(--shadow-glow-teal);
  animation: pulse-glow 1.5s infinite;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gold-gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-main);
  font-weight: 700;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Primary Button */
.btn-primary {
  position: relative;
  background: var(--grad-gold);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-glow-gold);
  overflow: hidden;
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-primary span {
  position: relative;
  z-index: 3;
}

.btn-primary svg {
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 165, 2, 0.5);
}

.btn-primary:hover svg {
  transform: translateY(3px);
}

/* Secondary Button */
.btn-secondary {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 40px;
  transition: var(--transition-smooth);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  transform: translateY(-3px);
}

/* Hero Interactive Right */
.hero-interactive {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.canvas-container {
  position: relative;
  width: 100%;
  height: 420px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: var(--glass-blur);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.03);
}

#flute-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.flute-showcase-box {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.peacock-feather-back {
  position: absolute;
  width: 180px;
  height: 270px;
  transform: rotate(-5deg) translate(-30px, -20px);
  filter: drop-shadow(0 0 15px rgba(0, 187, 249, 0.25));
  animation: float 6s infinite ease-in-out;
  pointer-events: none;
}

/* Redesigned Interactive Flute Wrapper */
.interactive-flute-wrapper {
  position: relative;
  width: 95%;
  transform: rotate(-12deg) translateY(10px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  cursor: pointer;
}

.interactive-flute-svg {
  width: 100%;
  height: auto;
  display: block;
}

.interactive-flute-wrapper:hover {
  transform: rotate(-8deg) scale(1.04) translateY(0);
}

/* Finger Holes interactive properties */
.flute-hole-glow {
  transition: fill 0.3s ease;
  cursor: pointer;
}

.flute-hole {
  transition: r 0.2s ease, fill 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.flute-hole:hover {
  r: 4.5px;
  fill: var(--primary-teal);
  filter: drop-shadow(0 0 6px var(--primary-teal));
}

.flute-hole-glow:hover + .flute-hole {
  r: 4.5px;
  fill: var(--primary-teal);
  filter: drop-shadow(0 0 6px var(--primary-teal));
}

.hover-tip {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--primary-teal);
  letter-spacing: 1px;
  opacity: 0.7;
  pointer-events: none;
  animation: pulse-glow 2s infinite ease-in-out;
  white-space: nowrap;
}

/* Shape Wave Divider at bottom */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

.wave-divider .shape-fill {
  fill: var(--bg-dark);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  background: var(--bg-dark);
  padding: 100px 0;
  position: relative;
  z-index: 3;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--primary-teal);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.font-decorative {
  font-family: var(--font-serif);
  font-style: italic;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-decor-line {
  width: 80px;
  height: 3px;
  background: var(--grad-gold);
  margin: 0 auto;
  border-radius: 2px;
}

.section-subtitle {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(22, 20, 42, 0.7);
  border-color: rgba(0, 245, 212, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(0, 245, 212, 0.05);
}

.stat-icon-wrapper {
  color: var(--primary-teal);
  margin-bottom: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 245, 212, 0.05);
  box-shadow: inset 0 0 10px rgba(0, 245, 212, 0.05);
  transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon-wrapper {
  color: var(--royal-gold);
  background: rgba(255, 209, 102, 0.08);
  transform: rotateY(360deg);
}

.stat-number-wrapper {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--font-main);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-suffix {
  color: var(--royal-gold);
  font-size: 2rem;
  margin-left: 2px;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   APPS SECTION
   ========================================================================== */
.apps-section {
  padding: 100px 0;
  background: radial-gradient(circle at 10% 50%, rgba(0, 187, 249, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(114, 9, 183, 0.08) 0%, transparent 50%);
  position: relative;
  z-index: 3;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.app-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
}

.app-card-inner {
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}

.box-teal { background: rgba(0, 245, 212, 0.1); color: var(--primary-teal); }
.box-gold { background: rgba(255, 209, 102, 0.1); color: var(--royal-gold); }
.box-pink { background: rgba(216, 27, 96, 0.1); color: var(--accent-pink); }
.box-blue { background: rgba(0, 187, 249, 0.1); color: var(--primary-blue); }

.app-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.app-card:hover .app-icon-box.box-teal { background: var(--primary-teal); color: var(--text-dark); box-shadow: var(--shadow-glow-teal); }
.app-card:hover .app-icon-box.box-gold { background: var(--royal-gold); color: var(--text-dark); box-shadow: var(--shadow-glow-gold); }
.app-card:hover .app-icon-box.box-pink { background: var(--accent-pink); color: var(--text-light); }
.app-card:hover .app-icon-box.box-blue { background: var(--primary-blue); color: var(--text-dark); }

.app-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.app-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.app-tags span {
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 4px 12px;
  border-radius: 12px;
  color: var(--text-muted);
}

.app-footer-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
}

.app-count-tag {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--royal-gold);
  letter-spacing: 1px;
}

.app-play-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-teal);
  transition: var(--transition-smooth);
}

.app-play-link svg {
  transition: transform 0.3s ease;
}

.app-play-link:hover {
  color: var(--text-light);
}

.app-play-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   PHILOSOPHY SECTION
   ========================================================================== */
.philosophy-section {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
  z-index: 3;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Divine Orb Graphics */
.philosophy-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mystic-orb-container {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.05);
}

.orb-1 {
  width: 320px;
  height: 320px;
  border-color: rgba(255, 209, 102, 0.15);
  animation: spin-clockwise 25s infinite linear;
}

.orb-2 {
  width: 260px;
  height: 260px;
  border-color: rgba(0, 245, 212, 0.15);
  border-style: double;
  animation: spin-counter 20s infinite linear;
}

.orb-3 {
  width: 200px;
  height: 200px;
  border-color: rgba(0, 187, 249, 0.15);
  border-style: dotted;
  animation: spin-clockwise 15s infinite linear;
}

.peacock-icon-center {
  position: absolute;
  width: 110px;
  height: 110px;
  background: rgba(12, 11, 26, 0.9);
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 187, 249, 0.3);
  z-index: 2;
  animation: pulse-glow 3s infinite ease-in-out;
}

.peacock-icon-center svg {
  width: 70%;
  height: 70%;
}

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

.philosophy-content .section-title-wrap {
  text-align: left;
  margin-bottom: 24px;
}

.philosophy-content .section-decor-line {
  margin: 0;
}

.philosophy-paragraph {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-bullet-group {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bullet-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bullet-icon {
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.2);
  color: var(--primary-teal);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bullet-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.bullet-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SUPPORT & CONTACT SECTION (MAILTO ONLY)
   ========================================================================== */
.support-section {
  padding: 160px 0 100px;
  background: radial-gradient(circle at center, rgba(114, 9, 183, 0.15) 0%, transparent 60%);
  position: relative;
  z-index: 3;
}

/* Shape Wave Divider at top of Support */
.wave-divider-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-divider-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

.wave-divider-top .shape-fill {
  fill: var(--bg-dark);
}

.support-box-wrapper {
  display: flex;
  justify-content: center;
}

.support-card {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 20, 42, 0.6) 0%, rgba(12, 11, 26, 0.85) 100%);
  border: 1px solid rgba(255, 209, 102, 0.15);
  border-radius: 32px;
  padding: 60px 48px;
  width: 100%;
  max-width: 900px;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 209, 102, 0.02);
}

.support-peacock-accent {
  position: absolute;
  right: -5%;
  bottom: -15%;
  width: 250px;
  pointer-events: none;
  z-index: 1;
}

.support-header {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.support-icon-badge {
  background: rgba(255, 209, 102, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.2);
  color: var(--royal-gold);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-glow-gold);
  animation: pulse-glow 2s infinite ease-in-out;
}

.support-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.support-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.support-action-area {
  position: relative;
  z-index: 2;
}

/* Massive support mailto button */
.support-email-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 48px;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  background: var(--grad-rainbow);
  background-size: 400% 400%;
  animation: gradient-scroll 10s infinite linear;
  box-shadow: 0 20px 40px rgba(0, 187, 249, 0.3);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.support-email-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s ease;
}

.support-email-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 245, 212, 0.5);
}

.support-email-btn:hover::before {
  left: 100%;
}

.support-email-btn .arrow-icon {
  transition: transform 0.3s ease;
}

.support-email-btn:hover .arrow-icon {
  transform: translateX(6px);
}

.support-timing-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 0;
  position: relative;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 64px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand .logo-group {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  color: var(--royal-gold);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-col ul a:hover {
  color: var(--primary-teal);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 30px 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.support-direct {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.support-direct a {
  color: var(--royal-gold);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.support-direct a:hover {
  color: var(--primary-teal);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .philosophy-grid {
    gap: 40px;
  }
  .canvas-container {
    height: 380px;
  }
}

@media (max-width: 768px) {
  /* Navigation mobile menu */
  .mobile-nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-deep);
    border-top: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 60px 24px;
    gap: 40px;
    transform: translateY(100%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  /* Hamburger transform when menu active */
  .mobile-nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Grid Layout collapses */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .canvas-container {
    height: 340px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .philosophy-content .section-title-wrap {
    text-align: center;
  }
  
  .philosophy-content .section-decor-line {
    margin: 0 auto;
  }

  .feature-bullet-group {
    align-items: center;
  }

  .bullet-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .support-card {
    padding: 40px 24px;
  }

  .support-title {
    font-size: 2rem;
  }

  .support-email-btn {
    font-size: 1rem;
    padding: 16px 28px;
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 30px 20px;
  }
  .canvas-container {
    height: 280px;
  }
}
