@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #020202;
  --surface: rgba(255, 255, 255, 0.02);
  --surface-border: rgba(255, 255, 255, 0.06);
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --font-family: 'Manrope', sans-serif;
  --accent: #cef728;
  --accent-glow: rgba(206, 247, 40, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  /* Rich, multi-layered starry background */
  background-image: 
    radial-gradient(circle at 50% -20%, rgba(206, 247, 40, 0.15) 0%, transparent 60%),
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.5px 1.5px at 60px 100px, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 150px 180px, var(--accent-glow), transparent),
    radial-gradient(1px 1px at 220px 40px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2.5px 2.5px at 300px 300px, rgba(206, 247, 40, 0.2), transparent);
  background-size: 100% 100%, 200px 200px, 150px 150px, 300px 300px, 250px 250px, 400px 400px;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

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

@keyframes pulseGlow {
  0% { box-shadow: 0 0 30px var(--accent-glow); }
  50% { box-shadow: 0 0 50px rgba(206, 247, 40, 0.6); }
  100% { box-shadow: 0 0 30px var(--accent-glow); }
}

/* Ambient side glows */
.glow-panel {
  position: absolute;
  top: -15vh;
  height: 140vh;
  width: 50vw;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

.glow-left {
  left: -35vw;
  box-shadow: inset -40px 0 100px rgba(206, 247, 40, 0.15),
              0 0 120px rgba(206, 247, 40, 0.05);
  border-right: 1px solid rgba(206, 247, 40, 0.2);
}

.glow-right {
  right: -35vw;
  box-shadow: inset 40px 0 100px rgba(206, 247, 40, 0.15),
              0 0 120px rgba(206, 247, 40, 0.05);
  border-left: 1px solid rgba(206, 247, 40, 0.2);
}

/* Animations & Magnetism */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}



/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphism Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1000px;
  margin: 1.5rem auto 0;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  position: sticky;
  top: 1.5rem;
  z-index: 100;
  animation: slideUp 0.8s ease-out forwards;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.logo img {
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(206, 247, 40, 0.3);
}

.logo span,
.footer-logo span {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: var(--text-main);
  border: 1px solid var(--surface-border);
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #000000;
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  animation: pulseGlow 3s infinite;
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transition: all 0.6s ease;
  z-index: -1;
  transform: skewX(-25deg);
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(206, 247, 40, 0.5);
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 6rem;
  padding: 0 1.5rem;
  opacity: 0;
  animation: slideUp 1s ease-out 0.2s forwards;
}

.trusted-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 0.3rem 1.2rem 0.3rem 0.3rem;
  border-radius: 9999px;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.avatars {
  display: flex;
}

.avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #000;
  margin-left: -12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.avatars img:first-child {
  margin-left: 0;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.1em; /* Prevent descender clipping with webkit-background-clip */
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 500;
}

.app-available {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.store-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.store-icons svg {
  transition: transform 0.2s ease, filter 0.2s ease;
}
.store-icons svg:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

.hero-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 5rem;
  width: 100%;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}

.mockup-center {
  max-width: 380px;
  width: 100%;
  position: relative;
  z-index: 2;
  animation: slideUp 1.2s ease-out 0.4s forwards, float 6s ease-in-out infinite alternate;
}

.mockup-center::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
}

.mockup-center img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8));
}

.arsenal-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.left-column {
  align-items: flex-end;
  margin-right: -10px;
}

.right-column {
  align-items: flex-start;
  margin-left: -10px;
}

.arsenal-pill {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.3s ease, background 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  animation: float-pill 4s ease-in-out infinite alternate;
  scale: 1;
  z-index: 3;
}

@keyframes float-pill {
  0% { translate: 0 0px; }
  100% { translate: 0 -12px; }
}

.arsenal-pill:hover {
  animation-play-state: paused;
  scale: 1.15 !important;
  filter: blur(0) !important;
  opacity: 1 !important;
  z-index: 10 !important;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.depth-back {
  position: absolute;
  opacity: 0.4;
  filter: blur(4px);
  scale: 0.65;
  z-index: 0;
}

.bg-pill-1 { top: 15%; left: -80px; animation-delay: 0.5s; }
.bg-pill-2 { top: 65%; right: -100px; animation-delay: 1.2s; }
.bg-pill-3 { top: 40%; left: -120px; animation-delay: 2s; }
.bg-pill-4 { top: 80%; left: -40px; animation-delay: 0.8s; }
.bg-pill-5 { top: 5%; right: -60px; animation-delay: 1.5s; }
.bg-pill-6 { top: 25%; right: -70px; animation-delay: 0.3s; }
.bg-pill-7 { top: 55%; left: -50px; animation-delay: 2.5s; }
.bg-pill-8 { top: -8%; left: 30px; animation-delay: 1.8s; }
.bg-pill-9 { top: 92%; right: 40px; animation-delay: 0.9s; }

/* Staggering the left column to create an organic scattered effect */
.pill-1 { margin-right: 20px; animation-delay: 0s; }
.pill-2 { margin-right: -10px; animation-delay: 0.5s; }
.pill-3 { margin-right: 30px; animation-delay: 1.2s; }
.pill-4 { margin-right: 0px; animation-delay: 0.3s; }
.pill-5 { margin-right: -20px; animation-delay: 1.8s; }
.pill-6 { margin-right: 15px; animation-delay: 0.9s; }

/* Staggering the right column */
.pill-7 { margin-left: -10px; animation-delay: 0.2s; }
.pill-8 { margin-left: 20px; animation-delay: 1.5s; }
.pill-9 { margin-left: 10px; animation-delay: 0.8s; }
.pill-10 { margin-left: -20px; animation-delay: 2.1s; }
.pill-11 { margin-left: 30px; animation-delay: 1.1s; }

@media (max-width: 1250px) {
  .arsenal-column {
    display: none;
  }
}

/* Sections */
section {
  padding: 8rem 0;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  text-align: center;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

/* Gamify Section Showcase */
.gamify-section {
  padding: 0 0 8rem 0;
  position: relative;
}

.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 2rem;
}

.showcase-row {
  display: flex;
  align-items: center;
  gap: 6rem;
}



.showcase-row.reverse {
  flex-direction: row-reverse;
}

.showcase-text {
  flex: 1;
}

.showcase-text h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-text p {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.showcase-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.iphone-mockup {
  position: relative;
  width: 300px;
  height: 620px;
  background: linear-gradient(145deg, #52525b 0%, #18181b 15%, #09090b 80%, #3f3f46 100%); /* Metallic chassis */
  border-radius: 48px;
  box-shadow: 
    inset 0 2px 4px rgba(255,255,255,0.2), /* Top rim highlight */
    inset 0 -2px 4px rgba(0,0,0,0.8), /* Bottom rim shadow */
    0 0 0 1px #3f3f46, /* Chassis edge */
    -10px 20px 30px rgba(0,0,0,0.5), /* Faux 3D thickness */
    -30px 50px 100px rgba(0,0,0,0.9); /* Deep floating shadow */
  padding: 12px; /* Bezel size */
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hardware Buttons */
.iphone-mockup::before {
  content: '';
  position: absolute;
  top: 120px;
  left: -3px;
  width: 3px;
  height: 25px;
  background: linear-gradient(to bottom, #52525b, #27272a);
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  box-shadow: 0 45px 0 0 #3f3f46; /* Volume down button */
}

/* Glass Glare */
.iphone-mockup::after {
  content: '';
  position: absolute;
  top: 12px; left: 12px; right: 12px; bottom: 12px;
  border-radius: 36px;
  background: linear-gradient(110deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.02) 30%, transparent 50%);
  pointer-events: none;
  z-index: 20;
}

.floating-cluster {
  width: 100%;
  max-width: 380px;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8));
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  margin: 0 auto;
}

.tilt-left .iphone-mockup {
  transform: perspective(1200px) rotateY(-18deg) rotateX(8deg) rotateZ(-2deg);
}
.tilt-right .iphone-mockup {
  transform: perspective(1200px) rotateY(18deg) rotateX(8deg) rotateZ(2deg);
}

.showcase-row:hover .tilt-left .iphone-mockup {
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) rotateZ(-1deg) translateY(-15px);
}
.showcase-row:hover .tilt-right .iphone-mockup {
  transform: perspective(1200px) rotateY(8deg) rotateX(4deg) rotateZ(1deg) translateY(-15px);
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #000;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px #000; /* Screen edge */
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 32px;
  background-color: #000;
  border-radius: 20px;
  z-index: 10;
  box-shadow: 0 0 2px rgba(255,255,255,0.1);
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: var(--accent);
  filter: blur(100px);
  opacity: 0.15;
  z-index: 1;
}

/* Problem Section */
.problem {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.01) 50%, transparent);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.problem-container {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.problem-content {
  flex: 1;
}

.problem-content .section-title {
  text-align: left;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.problem-content p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #ddd;
}

.check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(206, 247, 40, 0.1);
  color: var(--accent);
  font-size: 0.9rem;
  border: 1px solid rgba(206, 247, 40, 0.2);
}

.problem-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.glow-blob {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(206, 247, 40, 0.15) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  animation: float 8s ease-in-out infinite alternate-reverse;
}

.qr-code {
  position: relative;
  z-index: 1;
  width: 280px;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 2px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--surface);
  padding: 1rem;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease;
}

.qr-code:hover {
  transform: scale(1.05) rotate(2deg);
}

/* CTA Bottom */
.cta-bottom {
  text-align: center;
  padding: 10rem 0;
  position: relative;
}
.cta-bottom::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(206, 247, 40, 0.05) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.cta-bottom h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.cta-bottom p {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 3.5rem;
  font-weight: 500;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  position: relative;
}

.faq-container {
  max-width: 800px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-category {
  color: var(--text-light);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.faq-category:first-child {
  margin-top: 0;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-item summary {
  padding: 1.5rem 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 2rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 4rem 0 2rem;
  background: rgba(0,0,0,0.3);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-copy {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .problem-container { flex-direction: column; text-align: center; gap: 4rem; }
  .problem-content .section-title { text-align: center; }
  .check-list li { justify-content: center; }
  .showcase-row, .showcase-row.reverse { flex-direction: column; text-align: center; gap: 4rem; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .nav-links { display: none; }
  .glow-panel { display: none; }
  .footer-content { flex-direction: column; gap: 2rem; }
  .cta-bottom h2 { font-size: 2.5rem; }
}
