/* Restored pre-refresh nav + hero (git d768e71^ theme.css), scoped to .legacy-hero.
   Generated; edit the hero by editing these rules. */
.legacy-hero{font-family:'Outfit',sans-serif;color:var(--text-main,#fff);position:relative}
.legacy-hero *{margin:0;padding:0;box-sizing:border-box}
.legacy-hero{
  --bg: #09090b;
  --bg-secondary: #18181b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #7c3aed;
  --accent-secondary: #8b5cf6;
  --font-main: 'Outfit', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container-max: 1200px;
}
@media (min-width: 1200px){
.legacy-hero{
    --container-max: 1300px;
    
  }
}
.legacy-hero .glow{position: absolute;
  width: 500px;
  height: 500px;
  background: var(--accent);
  filter: blur(150px);
  border-radius: 50%;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;}
.legacy-hero .glow-top{top: -100px;
  left: -100px;}
.legacy-hero .glow-right{top: 30%;
  right: 0;
  transform: translateX(50%);
  background: var(--accent-secondary);
  opacity: 0.1;}
.legacy-hero nav{padding: 1.5rem 5%;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;}
.legacy-hero .nav-links{display: flex;
  gap: 2rem;
  align-items: center;}
.legacy-hero .nav-links a{color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  font-family: var(--font-main);}
.legacy-hero .nav-links a:hover{color: var(--text-main);}
.legacy-hero .btn-primary{display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-main);
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);}
.legacy-hero .btn-primary:hover{background: var(--accent-secondary);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
  color: white;}
.legacy-hero .logo{font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  text-decoration: none;}
.legacy-hero .logo img{width: clamp(32px, 8vw, 44px);
  height: clamp(32px, 8vw, 44px);
  border-radius: 8px;}
.legacy-hero .mobile-menu-btn{display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 100;}
.legacy-hero .mobile-menu-btn span{display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;}
.legacy-hero .mobile-menu-btn.active span:nth-child(1){transform: rotate(45deg) translate(5px, 5px);}
.legacy-hero .mobile-menu-btn.active span:nth-child(2){opacity: 0;}
.legacy-hero .mobile-menu-btn.active span:nth-child(3){transform: rotate(-45deg) translate(5px, -5px);}
.legacy-hero .hero{display: flex;
  flex-direction: column;
  padding: 2rem 5% 6rem;
  max-width: var(--container-max);
  margin: 0 auto;
  flex: 1;
  gap: 4rem;}
@media (min-width: 992px){
.legacy-hero .hero{flex-direction: row;
    align-items: center;
    justify-content: space-between;}
}
.legacy-hero .hero-content{flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;}
.legacy-hero .hero-content h1{font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 800px;}
.legacy-hero .highlight{background: linear-gradient(135deg, #c4a1ff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;}
.legacy-hero .highlight.glint-text{background-image: linear-gradient(to right,
      var(--accent) 0%,
      var(--accent-secondary) 20%,
      #a855f7 35%,
      #d8b4fe 45%,
      #ffffff 50%,
      #d8b4fe 55%,
      #a855f7 65%,
      var(--accent-secondary) 80%,
      var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: text-glint 4s linear infinite;}
.legacy-hero .hero-content .description{font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;}
.legacy-hero .hero-actions,.legacy-hero .hero-actions-secondary{display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;}
.legacy-hero .hero-actions-secondary{margin-top: 1rem;}
.legacy-hero .store-link-wrapper{display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;}
.legacy-hero .store-label{font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-family: var(--font-main);}
.legacy-hero .playstore-placeholder-container{transition: transform 0.2s ease;
  cursor: pointer;
  display: inline-flex;}
.legacy-hero .playstore-placeholder-container:hover{transform: translateY(-2px);}
.legacy-hero .playstore-badge{height: 56px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));}
.legacy-hero .custom-store-badge{display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  padding: 0 16px;
  gap: 12px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-decoration: none;}
.legacy-hero .custom-store-text{display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;}
.legacy-hero .custom-store-sub{font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: -2px;}
.legacy-hero .custom-store-main{font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;}
.legacy-hero .hero-image{flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;}
.legacy-hero .story-carousel-container{position: relative;
  width: 100%;
  max-width: 400px;
  height: 660px;
  border-radius: 36px;
  border: 10px solid #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.2);
  background: #000;
  overflow: hidden;
  isolation: isolate;}
.legacy-hero .story-progress-bar{position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  z-index: 10;
  transition: opacity 0.3s ease;}
.legacy-hero .story-carousel-container.is-paused .story-progress-bar{opacity: 0;}
.legacy-hero .story-progress-segment{height: 4px;
  flex: 1;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  transition: background 0.3s ease;}
.legacy-hero .story-carousel-container[data-theme="light"] .story-progress-segment{background: rgba(124, 58, 237, 0.2);}
.legacy-hero .story-progress-fill{height: 100%;
  background: #ffffff;
  width: 0%;
  border-radius: 2px;
  transition: background 0.3s ease;}
.legacy-hero .story-carousel-container[data-theme="light"] .story-progress-fill{background: var(--accent);}
.legacy-hero .app-image{width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
  object-fit: cover;
  object-position: center top;
  display: block;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;}
.legacy-hero .story-nav-btn{position: absolute;
  bottom: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  color: white;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);}
.legacy-hero .story-carousel-container:hover .story-nav-btn{opacity: 1;}
.legacy-hero .story-nav-btn:hover{background: rgba(0, 0, 0, 0.7);}
.legacy-hero .story-nav-prev{left: 12px;}
.legacy-hero .story-nav-next{right: 12px;}
.legacy-hero .story-pause-btn{left: 50%;
  transform: translateX(-50%);}
.legacy-hero .story-nav-btn svg{width: 18px;
  height: 18px;}
.legacy-hero .story-pause-btn svg{width: 16px;
  height: 16px;}
.legacy-hero .hero-content h1{animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;}
.legacy-hero .hero-content .description{animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
  opacity: 0;}
.legacy-hero .hero-actions,.legacy-hero .hero-actions-secondary{animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
  opacity: 0;}
.legacy-hero .hero-actions-secondary{animation-delay: 0.25s;}
.legacy-hero .hero-image{animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
  opacity: 0;}
@media (max-width: 991px){
.legacy-hero .hero{text-align: center;
    padding: 2rem 5% 4rem;}
.legacy-hero .hero-content .description{margin: 0 auto;}
.legacy-hero .hero-actions,.legacy-hero .hero-actions-secondary{justify-content: center;}
.legacy-hero .hero-image{justify-content: center;}
.legacy-hero .app-image{transform: none;}
.legacy-hero .app-image:hover{transform: none;}
.legacy-hero .glow{width: 300px;
    height: 300px;}
.legacy-hero .story-carousel-container{max-width: min(85vw, 340px);
    height: auto;
    aspect-ratio: 9 / 17.5;}
.legacy-hero .story-nav-btn{display: none !important;}
.legacy-hero .nav-links{display: none;}
.legacy-hero .nav-actions{display: none;}
.legacy-hero .mobile-menu-btn{display: flex;}
.legacy-hero .nav-links.mobile-open{display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 9, 11, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 99;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;}
.legacy-hero .nav-links.mobile-open a{font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);}
}
@media (max-width: 640px){
.legacy-hero .web-app-badge .custom-store-sub{color: rgba(255, 255, 255, 0.8);}
}
@keyframes text-glint{
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: -200% center;
  }
}
@keyframes stats-border-glint{
  0% {
    --bg-angle: 0deg;
  }

  15% {
    --bg-angle: 75deg;
  }

  35% {
    --bg-angle: 105deg;
  }

  50% {
    --bg-angle: 180deg;
  }

  65% {
    --bg-angle: 255deg;
  }

  85% {
    --bg-angle: 285deg;
  }

  100% {
    --bg-angle: 360deg;
  }
}
@keyframes slideUp{
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop gets the restored nav + hero; phones and tablets keep the new header + hero.
   1100px: below that the old nav no longer fits on one line. */
@media (max-width: 1099px){
  .legacy-hero{display:none !important}
}
@media (min-width: 1100px){
  #site-header,#mobile-menu,#hero{display:none !important}
}
