/* Elegant Landing Page Styles - Cutting Edge Design */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Hide header on landing page */
header {
  display: none !important;
}

.landing-container {
  min-height: 100vh;
  background: #000000;
  background: radial-gradient(ellipse at center, rgba(237, 179, 51, 0.08) 0%, rgba(0, 0, 0, 0.95) 50%, #000000 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Loading Animation Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh; /* Ensure minimum full viewport height */
  background: linear-gradient(135deg, #000000 0%, rgba(237, 179, 51, 0.05) 50%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(20px);
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 600px;
  padding: 2rem;
}

/* Elegant Progress Circle */
.progress-circle-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.progress-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

/* Rising Sun Inner Circle - Conditionally shown based on toggle */
.progress-svg.show-solid-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #edb333, #ffd700);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  animation: risingSun 5s ease-in-out forwards;
  box-shadow: 0 0 30px rgba(237, 179, 51, 0.8);
  z-index: 5;
}

@keyframes risingSun {
  0% {
    transform: translate(-50%, -50%) scale(0) translateY(20px);
    opacity: 0;
  }
  20% {
    transform: translate(-50%, -50%) scale(0.3) translateY(15px);
    opacity: 0.6;
  }
  40% {
    transform: translate(-50%, -50%) scale(0.6) translateY(10px);
    opacity: 0.8;
  }
  60% {
    transform: translate(-50%, -50%) scale(0.8) translateY(5px);
    opacity: 0.9;
  }
  80% {
    transform: translate(-50%, -50%) scale(0.9) translateY(2px);
    opacity: 0.95;
  }
  100% {
    transform: translate(-50%, -50%) scale(1) translateY(0px);
    opacity: 1;
  }
}

.progress-ring {
  filter: drop-shadow(0 0 10px rgba(237, 179, 51, 0.5));
  animation: progressFill 5s ease-in-out forwards;
}

.glow-ring {
  filter: drop-shadow(0 0 20px rgba(237, 179, 51, 0.8));
  animation: progressGlow 5s ease-in-out forwards;
}

@keyframes progressFill {
  0% {
    stroke-dashoffset: 565.48;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes progressGlow {
  0% {
    stroke-dashoffset: 565.48;
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }
}

/* Logo Reveal */
.logo-reveal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.logo-placeholder {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(237, 179, 51, 0.6);
  animation: logoPulse 5s ease-in-out infinite;
  overflow: hidden;
}

.logo-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: logoReveal 5s ease-in-out forwards, logoGrow 5s ease-in-out forwards;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes logoGrow {
  0% {
    transform: scale(0.8);
  }
  30% {
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.2);
  }
}

.logo-text {
  font-size: 3rem;
  font-weight: 900;
  color: #000000;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: logoReveal 5s ease-in-out forwards;
}

.logo-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 80%,
    transparent 100%);
  border-radius: 50%;
  animation: logoShine 5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(237, 179, 51, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(237, 179, 51, 0.8);
  }
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoShine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Typing Effect */
.typing-container {
  text-align: center;
  margin-top: 2rem;
}

.typewriter { 
  animation: type 0.5s ease-in-out; 
}

.term-display {
  margin-bottom: 1rem;
}

.term-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: #edb333;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(237, 179, 51, 0.5);
}

.cursor {
  animation: blink 1s infinite;
  color: #edb333;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.definition-display {
  margin-top: 1.5rem;
  max-width: 500px;
}

.definition-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out forwards;
  margin-bottom: 0.5rem;
}

.tap-hint {
  font-size: 0.9rem;
  color: rgba(237, 179, 51, 0.7);
  font-weight: 500;
  text-align: center;
  animation: fadeInUp 1s ease-out forwards;
  transition: color 0.3s ease;
}

.definition-display:hover .tap-hint {
  color: #edb333;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Hero Section */
.hero-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-section.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Welcome Message */
.welcome-message {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(237, 179, 51, 0.1), rgba(237, 179, 51, 0.05));
  border: 1px solid rgba(237, 179, 51, 0.2);
  border-radius: 50px;
  padding: 1rem 2rem;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #edb333;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(237, 179, 51, 0.1);
}

.welcome-icon {
  font-size: 1.5rem;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-10deg); }
}

/* Hero Logo */
.hero-logo-container {
  margin-bottom: 4rem;
}

.hero-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.hero-logo-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(237, 179, 51, 0.6));
  animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-main {
  font-size: 8rem;
  font-weight: 900;
  color: #edb333;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 0 40px rgba(237, 179, 51, 0.6);
  background: linear-gradient(135deg, #edb333, #ffd700, #edb333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-accent {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  margin-top: -1rem;
  display: block;
}

.logo-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(237, 179, 51, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: logoGlowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logoGlow {
  from { filter: brightness(1); }
  to { filter: brightness(1.2); }
}

@keyframes logoGlowPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.logo-tagline {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.8);
   font-family: 'Playfair Display', serif;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 1rem;
}

/* Mission Section */
.mission-section {
  margin-bottom: 5rem;
}

.mission-statement {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 1rem;
}

.mission-subtitle {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-weight: 400;
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.center-card {
  grid-column: 1 / -1;
  max-width: 400px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.value-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(237, 179, 51, 0.1), transparent);
  transition: left 0.6s ease;
}

.value-card:hover::before {
  left: 100%;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(237, 179, 51, 0.15);
  border-color: rgba(237, 179, 51, 0.3);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 2rem;
  display: block;
  position: relative;
}

/* Custom Icon Alternatives for more elegance */
.value-card .value-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(237, 179, 51, 0.2), rgba(237, 179, 51, 0.1));
  border: 2px solid rgba(237, 179, 51, 0.3);
  animation: iconPulse 3s ease-in-out infinite;
}

.value-card .value-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 60px;
  height: 60px;
  background-image: url('https://images.groovetech.io/CpIFegsaWWrGuFEpZenmA9399oP_NHnXa5wjE6Ec-mk/rs:fit:0:0:0/g:no:0:0/c:0:0/aHR0cHM6Ly9hc3NldHMuZ3Jvb3ZlYXBwcy5jb20vaW1hZ2VzLzVkYzRhMDE0MmEwYzYyMGNhNTM0YjU4ZS8xNzQwNjQwMDQxX0FjcXVpcmVwcmVuZXVyTG9nb0ZpbmFsRHJhZnQucG5n.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  filter: brightness(0) invert(1);
}

@keyframes iconPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 20px rgba(237, 179, 51, 0.2);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(237, 179, 51, 0.4);
  }
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #edb333;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.value-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  margin-bottom: 4rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1.25rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

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

.cta-button:hover::before {
  left: 100%;
}

.cta-button.primary {
  background: linear-gradient(135deg, #edb333, #ffd700, #edb333);
  color: #000000;
  box-shadow: 0 8px 25px rgba(237, 179, 51, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(237, 179, 51, 0.4);
}

.cta-button.secondary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

.cta-button.secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.3));
}

.cta-button.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.cta-button.ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(237, 179, 51, 0.5);
  color: #edb333;
  box-shadow: 0 10px 30px rgba(237, 179, 51, 0.1);
}

.button-icon {
  font-size: 1.2rem;
  vertical-align: middle;
}

/* Typewriter Effect for Wealth Wise */
.typewriter-container {
  margin: 1rem 0;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.typewriter {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  animation: typewriterPulse 3s ease-in-out infinite;
  display: inline-block;
}

.text-gold {
  color: #edb333;
  text-shadow: 0 0 15px rgba(237, 179, 51, 0.5);
}

@keyframes typewriterPulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* Trust Section */
.trust-section {
  margin-top: 3rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.badge {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.badge:hover {
  transform: translateY(-2px);
  border-color: rgba(237, 179, 51, 0.3);
  color: #edb333;
}

/* Background Effects - Space Flying Effect */
.background-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Stars Background */
.stars-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
}

.star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  animation: twinkle 4s ease-in-out infinite;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.star:nth-child(4n) {
  background: rgba(237, 179, 51, 0.9);
  box-shadow: 0 0 3px rgba(237, 179, 51, 0.6);
}

.star:nth-child(6n) {
  background: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 3px rgba(59, 130, 246, 0.5);
}

.star:nth-child(8n) {
  background: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 3px rgba(139, 92, 246, 0.4);
}

.star:nth-child(odd) {
  animation-delay: -1s;
  animation-duration: 5s;
}

.star:nth-child(3n) {
  animation-delay: -2s;
  animation-duration: 6s;
}

.star:nth-child(5n) {
  animation-delay: -0.5s;
  animation-duration: 4.5s;
}

.star:nth-child(7n) {
  animation-delay: -1.5s;
  animation-duration: 5.5s;
}

@keyframes twinkle {
  0% {
    opacity: 0.2;
    transform: scale(0.8);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
  }
  25% {
    opacity: 0.6;
    transform: scale(1);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
  }
  75% {
    opacity: 0.6;
    transform: scale(1);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
  }
  100% {
    opacity: 0.2;
    transform: scale(0.8);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
  }
}

/* Shooting Stars */
.shooting-stars {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: linear-gradient(45deg, #ffffff, rgba(237, 179, 51, 0.8));
  border-radius: 50%;
  animation: shoot 8s linear infinite;
  box-shadow: 0 0 6px rgba(237, 179, 51, 0.6);
}

.shooting-star::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(237, 179, 51, 0.8), transparent);
  border-radius: 50%;
  animation: trail 8s linear infinite;
}

@keyframes shoot {
  0% {
    transform: translateX(-100px) translateY(100vh) scale(0) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 0.3;
    transform: translateX(-50px) translateY(90vh) scale(0.5) rotate(5deg);
  }
  15% {
    opacity: 1;
    transform: translateX(50px) translateY(70vh) scale(1) rotate(15deg);
  }
  85% {
    opacity: 1;
    transform: translateX(calc(100vw - 200px)) translateY(30vh) scale(1) rotate(45deg);
  }
  95% {
    opacity: 0.7;
    transform: translateX(calc(100vw + 50px)) translateY(10vh) scale(0.8) rotate(50deg);
  }
  100% {
    transform: translateX(calc(100vw + 100px)) translateY(-50px) scale(0) rotate(55deg);
    opacity: 0;
  }
}

@keyframes trail {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  10% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* Comets */
.comets {
  position: absolute;
  width: 100%;
  height: 100%;
}

.comet {
  position: absolute;
  width: 3px;
  height: 3px;
  background: linear-gradient(45deg, #ffffff, rgba(59, 130, 246, 0.8));
  border-radius: 50%;
  animation: cometFly 12s linear infinite;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.comet::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 5px;
  height: 5px;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.6), transparent);
  border-radius: 50%;
  animation: cometGlow 12s linear infinite;
}

.comet::after {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4));
  animation: cometTail 12s linear infinite;
}

@keyframes cometFly {
  0% {
    transform: translateX(-100px) translateY(130vh) scale(0) rotate(0deg);
    opacity: 0;
  }
  3% {
    opacity: 0.2;
    transform: translateX(-80px) translateY(110vh) scale(0.3) rotate(2deg);
  }
  8% {
    opacity: 0.8;
    transform: translateX(-20px) translateY(90vh) scale(0.8) rotate(8deg);
  }
  15% {
    opacity: 1;
    transform: translateX(100px) translateY(70vh) scale(1) rotate(15deg);
  }
  85% {
    opacity: 1;
    transform: translateX(calc(100vw - 300px)) translateY(30vh) scale(1) rotate(35deg);
  }
  95% {
    opacity: 0.6;
    transform: translateX(calc(100vw + 50px)) translateY(5vh) scale(0.7) rotate(40deg);
  }
  100% {
    transform: translateX(calc(100vw + 100px)) translateY(-50px) scale(0) rotate(45deg);
    opacity: 0;
  }
}

@keyframes cometGlow {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  5%, 95% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes cometTail {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  5%, 95% {
    opacity: 0.6;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(0);
  }
}

/* Nebula Effect */
.nebula {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(237, 179, 51, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  animation: nebulaShift 20s ease-in-out infinite;
}

@keyframes nebulaShift {
  0% {
    opacity: 0.2;
    transform: scale(1) rotate(0deg) translateX(0) translateY(0);
  }
  25% {
    opacity: 0.35;
    transform: scale(1.05) rotate(0.5deg) translateX(10px) translateY(-5px);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.08) rotate(1deg) translateX(20px) translateY(0);
  }
  75% {
    opacity: 0.35;
    transform: scale(1.05) rotate(0.5deg) translateX(10px) translateY(5px);
  }
  100% {
    opacity: 0.2;
    transform: scale(1) rotate(0deg) translateX(0) translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mission-statement {
    font-size: 3rem;
  }

  .value-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .cta-buttons {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
  }

  .mission-statement {
    font-size: 2.5rem;
  }

  .logo-main {
    font-size: 6rem;
  }

  .logo-accent {
    font-size: 2rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .value-card {
    padding: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 280px;
    justify-content: center;
  }

  .trust-badges {
    gap: 1rem;
  }

  .badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .mission-statement {
    font-size: 2rem;
  }

  .logo-main {
    font-size: 5rem;
  }

  .logo-accent {
    font-size: 1.8rem;
  }

  .mission-subtitle {
    font-size: 1.2rem;
  }

  .welcome-message {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .cta-button {
    width: 250px;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .progress-circle-container {
    width: 150px;
    height: 150px;
  }

  .term-text {
    font-size: 2rem;
  }

  .definition-text {
    font-size: 1rem;
  }
}
