:root {
  /* Core Colors from StorySound theme */
  --background: #04040C;
  --foreground: #FFFFFF;
  --accent-green: #129B70;
  --accent-green-glow: rgba(107, 142, 90, 0.6);
  --sound-gold: #FFD700;
  --sound-amber: #CD853F;
  --recording-button-initial: #0D6E4F;
  --recording-button-active: #6A1211;
  --sound-button-bg: #DCC218;
  --sound-button-text: #04040C;

  /* Glass morphism effects */
  --glass-bg: rgba(18, 18, 18, 0.4);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(20px);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #129B70 0%, #0D6E4F 100%);
  --gradient-accent: linear-gradient(135deg, #FFD700 0%, #CD853F 100%);
  --gradient-background: linear-gradient(180deg, #04040C 0%, #0A0A1A 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(107, 142, 90, 0.3) 0%, transparent 70%);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-medium: 300ms ease-out;
  --transition-slow: 600ms ease-out;
  --transition-zen: 800ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border radius */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 50%;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Effects */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--background);
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(4, 4, 12, 0.4) 0%,
      rgba(4, 4, 12, 0.7) 100%);
  z-index: 0;
}

.aurora-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0.6;
  animation: aurora-pulse 8s ease-in-out infinite;
}

.particle-container {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(255, 255, 255, 0.1), transparent);
  animation: particle-drift 20s linear infinite;
}

.sound-energy-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(18, 155, 112, 0.1) 0%, transparent 70%);
  border-radius: var(--border-radius-full);
  transform: translate(-50%, -50%);
  animation: energy-pulse 6s ease-in-out infinite;
}

/* Main Container */
.splash-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* Header */
.header {
  padding: var(--spacing-lg) var(--spacing-xl);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}

.logo-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  opacity: 1;
  transform: scale(1);
  animation: logo-entrance 600ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: transform, opacity;
}

.logo-text {
  font-size: 3rem;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.5px;
  margin: 0;
  opacity: 0;
  animation: logo-text-fade-in 600ms cubic-bezier(0.4, 0, 0.2, 1) 300ms forwards;
}

.logo-pulse {
  width: 12px;
  height: 12px;
  background: var(--accent-green);
  border-radius: var(--border-radius-full);
  animation: pulse 2s infinite;
}

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Benefits Section */
.benefits-section {
  margin: var(--spacing-xxl) 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefits-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.benefit-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
  box-shadow: 0 8px 30px rgba(18, 155, 112, 0.2);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-xs);
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: var(--font-weight-semibold);
  color: var(--sound-gold);
  margin: 0;
}

.benefit-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* Timeline Section */
.timeline-section {
  margin: var(--spacing-xxl) 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition: all var(--transition-medium);
  will-change: transform, opacity;
  min-height: 200px;
  justify-content: center;
}


.timeline-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
  box-shadow: 0 8px 30px rgba(18, 155, 112, 0.2);
}

.timeline-step.active {
  border-color: var(--sound-gold);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  animation: timeline-step-pulse 1000ms ease-in-out infinite;
}

.timeline-icon {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-full);
  margin-bottom: var(--spacing-sm);
  box-shadow: 0 4px 20px rgba(18, 155, 112, 0.3);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.timeline-step-title {
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--foreground);
  margin: 0;
}

.timeline-step-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.timeline-connector {
  flex: 0 0 60px;
  height: 2px;
  position: relative;
  margin: 0 var(--spacing-sm);
  display: flex;
  align-items: center;
}

.timeline-line {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 0;
  left: 0;
}

.timeline-progress {
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  position: absolute;
  top: 0;
  left: 0;
  animation: timeline-progress-fill 1200ms cubic-bezier(0.4, 0, 0.2, 1) 1600ms forwards;
  box-shadow: 0 0 10px rgba(18, 155, 112, 0.5);
}

.timeline-arrow {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--accent-green);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  opacity: 0;
  animation: timeline-arrow-fade-in 300ms ease-out 2800ms forwards;
  z-index: 1;
}

.timeline-connector:nth-child(2) .timeline-arrow {
  animation-delay: 2800ms;
}

.timeline-connector:nth-child(4) .timeline-arrow {
  animation-delay: 3200ms;
}

.timeline-connector:nth-child(2) .timeline-progress {
  animation-delay: 1600ms;
}

.timeline-connector:nth-child(4) .timeline-progress {
  animation-delay: 2000ms;
}


/* CTA Section */
.cta-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-medium);
  overflow: hidden;
}

.cta-button.primary {
  background: var(--gradient-primary);
  color: var(--foreground);
  box-shadow: 0 4px 20px rgba(18, 155, 112, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(18, 155, 112, 0.4);
}

.button-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: button-glow 3s ease-in-out infinite;
}

.store-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.store-button {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 0.75rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: var(--foreground);
  transition: all var(--transition-medium);
  min-width: 160px;
}

.store-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

.store-icon {
  font-size: 1.5rem;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-subtitle {
  font-size: 0.8rem;
  opacity: 0.7;
}

.store-title {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
}



/* Footer */
.footer {
  text-align: center;
  padding: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Animations */
@keyframes aurora-pulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@keyframes particle-drift {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-100px);
  }
}

@keyframes energy-pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.2;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

@keyframes wave-animation {

  0%,
  100% {
    height: 20px;
  }

  50% {
    height: 80px;
  }
}

@keyframes button-glow {

  0%,
  100% {
    transform: rotate(0deg);
    opacity: 0.1;
  }

  50% {
    transform: rotate(180deg);
    opacity: 0.3;
  }
}


/* Logo Animations */
@keyframes logo-entrance {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logo-text-fade-in {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Timeline Animations */
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes timeline-step-fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes timeline-step-pulse {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
  }
}

@keyframes timeline-progress-fill {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes timeline-progress-fill-vertical {
  0% {
    height: 0;
  }

  100% {
    height: 100%;
  }
}

@keyframes timeline-arrow-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    padding: var(--spacing-lg);
  }


  .store-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .logo-image {
    width: 72px;
    height: 72px;
  }

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

  .benefits-title {
    font-size: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .benefit-card {
    padding: var(--spacing-lg);
  }

  .timeline {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .timeline-connector {
    flex: 0 0 40px;
    width: 2px;
    height: 40px;
    margin: 0;
    flex-direction: column;
  }

  .timeline-line {
    width: 2px;
    height: 100%;
  }

  .timeline-progress {
    width: 2px;
    height: 0;
    animation-name: timeline-progress-fill-vertical;
  }

  .timeline-arrow {
    right: auto;
    bottom: -8px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--accent-green);
    border-bottom: none;
  }

  .timeline-connector:nth-child(2) .timeline-progress {
    animation-delay: 1600ms;
  }

  .timeline-connector:nth-child(4) .timeline-progress {
    animation-delay: 2000ms;
  }

  .hero {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }



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

@media (max-width: 480px) {
  .hero {
    padding: var(--spacing-md) var(--spacing-sm);
  }

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


}