:root {
  /* Brand Colors */
  --celestial-blue: #080d21;
  /* Slightly softer, richer midnight blue */
  --promised-land-terracotta: #e05c3e;
  /* More vibrant, sun-drenched terracotta */

  /* Text */
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-accent: #e0cea4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background: var(--celestial-blue);
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: linear-gradient(180deg,
      var(--celestial-blue) 0%,
      var(--celestial-blue) 60%,
      var(--promised-land-terracotta) 100%);
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

/* Navbar & Buttons */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo-brand {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Slightly tighter with dividers */
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.lang-divider {
  opacity: 0.3;
}

.lang-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: inherit;
}

.lang-btn.active {
  color: #fff;
}

.lang-btn:hover:not(.active) {
  color: rgba(255, 255, 255, 0.8);
}

.lang-divider {
  opacity: 0.3;
}

.play-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.play-store-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn-content {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.btn-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.btn-text {
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem 2rem;
  border-radius: 50px;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Hero */
.hero-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding: 0 5%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  width: 100%;
  max-width: 1400px;
  align-items: center;
}

.hero-text-col {
  text-align: left;
}

.hero-title {
  font-size: 5.5rem;
  line-height: 0.95;
  margin-bottom: 2.5rem;
  color: #fff;
}

.hero-title .italic {
  font-style: italic;
  color: var(--text-accent);
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 500px;
}

.hero-icon-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.vidda-icon {
  width: 320px;
  height: 320px;
  background: linear-gradient(180deg, #080d21 0%, #080d21 45%, #e05c3e 100%);
  border-radius: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 180px;
  font-weight: 700;
  /* Bold V */
  color: #fff;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -4px 6px rgba(0, 0, 0, 0.3), 0 40px 80px rgba(0, 0, 0, 0.5);
  z-index: 2;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: float 8s ease-in-out infinite;
}

.vidda-icon::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  z-index: -1;
  filter: blur(40px);
}

.vidda-icon span {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  background: linear-gradient(to bottom, #fff 30%, #ddd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(2deg);
  }
}

/* Scroll Showcase */
.scroll-container {
  position: relative;
}

.sticky-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visuals-layer {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.feature-visual {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateY(60px) scale(0.95);
  filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-visual.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.visual-content {
  width: 100%;
  max-width: 1000px;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visual-content.full-image {
  max-width: 100%;
  height: 100vh;
  overflow: hidden;
  /* For scale effect */
}

.visual-content.full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  /* Enhance sharpness for high-res screens */
  image-rendering: crisp-edges;
  /* Smooth gradient mask for text readability at bottom */
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 75%, transparent 100%);
  opacity: 0.7;
  /* Dimmed initially for reveal */
  transform: scale(1.05);
  /* Reduced initial scale to avoid pixelation */
  transition: transform 12s cubic-bezier(0.1, 0, 0.2, 1), opacity 2s ease;
}

/* Cinematic Reveal State */
.feature-visual.active .visual-content.full-image img {
  transform: scale(1.0);
  /* Slow zoom out effect */
  opacity: 1;
  /* Maximum brightness when visible */
}


.text-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 12vh;
}

.feature-text {
  position: absolute;
  width: 100%;
  bottom: 15vh;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  padding: 0 5%;
  text-align: center;
}

.feature-text.active {
  opacity: 1;
  transform: translateY(0);
}

.feature-text h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #fff;
  font-style: italic;
  font-weight: 700;
  /* Bolder as requested */
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Patterns */
.journal-lines {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0cea4;
  box-shadow: 0 0 50px rgba(224, 206, 164, 0.4);
}

.light-source {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(255, 255, 255, 0.8);
  animation: breathe 4s infinite ease-in-out;
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(2);
    opacity: 1;
  }
}

/* Footer */
footer {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #05081c;
  position: relative;
  z-index: 20;
}

.scroll-triggers {
  position: relative;
  z-index: 0;
}

.step-trigger {
  height: 150vh;
}

@media (max-width: 1024px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .hero-stage {
    padding-top: 60px;
    /* Reduced to move text up */
    align-items: center;
    /* Center vertically in the available top space */
    padding-bottom: 20px;
  }

  .hero-title {
    font-size: 3.2rem;
    margin-top: 0;
    /* Remove extra gap */
    margin-bottom: 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    /* Tighter gap */
  }

  .hero-text-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vidda-icon {
    width: 200px;
    height: 200px;
    font-size: 110px;
    margin: 0 auto;
  }

  .feature-text h2 {
    font-size: 2.5rem;
  }

  .feature-text p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  /* Focus on subjects in mobile vertical crop */
  #vis-1 img {
    object-position: 80% center;
    /* Focus on hikers on the right */
  }

  #vis-2 img {
    object-position: 70% center;
    /* Focus on praying girl perfectly centered on mobile */
  }

  #vis-3 img {
    object-position: center bottom;
    /* Show the ground and people better */
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .navbar {
    padding: 1rem;
  }

  .logo-brand {
    font-size: 1.25rem;
  }
}