:root {
  /* Colors - Modern Sophisticated Palette */
  --color-bg-light: #ffffff;
  --color-bg-soft: #f8fafc;
  --color-bg-accent: #f0f4ff;
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;

  --color-primary: #3BDC51;
  /* Indigo */
  --color-secondary: #3BDC51;
  /* Vibrant Green from Design */
  --color-accent: #f43f5e;
  /* Rose/Pink */
  --color-gold: #f59e0b;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(20px);

  /* Feature Colors */
  --color-phone-grey: #f1f5f9;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Geist', sans-serif;
  --font-body: 'Geist', sans-serif;
}

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

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem 0;
}

.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-main);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
  position: relative;
  display: grid;
  place-items: center;
}

.logo-mark::after {
  content: "";
  width: 18px;
  height: 18px;
  background: white;
  clip-path: polygon(30% 15%, 70% 10%, 60% 45%, 80% 50%, 45% 90%, 35% 55%, 20% 50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--color-primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
  border-radius: var(--radius-full);
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
  width: 100%;
}

.btn-cta {
  background: var(--color-secondary);
  color: var(--color-text-main);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cta:hover {
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.4);
  filter: brightness(1.1);
}

.btn-cta--small {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-main);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-text-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ghost:hover {
  background: var(--color-bg-soft);
  border-color: var(--color-text-muted);
}

/* Mobile nav */

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1f2933;
  border-radius: 999px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: inherit;
  border-radius: inherit;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1001;
    /* Above the overlay */
  }

  /* Transform Hamburger to X when active */
  .nav-links.mobile-active+.menu-toggle span {
    background: #fff;
  }

  /* We can't select .menu-toggle based on .nav-links sibling status easily in CSS without :has, 
     so we relies on JS adding a class to body or toggle. 
     Let's handle the X transformation via a class on the toggle button toggled by JS 
     OR just use z-index and keep hamburger. 
     Let's stick to simple overlay for now, styling .nav-links.mobile-active.
  */

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    gap: 2rem;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
    overflow-y: auto;
  }

  .nav-links.mobile-active {
    transform: translateY(0%) !important;
    opacity: 1 !important;
    pointer-events: all !important;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
  }
}

/* Hero sections */

.hero--home {
  padding-top: 0;
  min-height: 100vh;
  /* Use sky blue background color base for transparency */
  background-color: #e0f2fe;
  /* Mobile-first: 640w image (64KB) */
  background-image:
    url('assets/hero-home-640w.webp'),
    linear-gradient(to bottom, #ffffff 0%, #dbeafe 50%, #fff 100%);
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  /* Allow phone to peek if needed */
}

/* Tablet: 1280w image */
@media (min-width: 768px) {
  .hero--home {
    background-image:
      url('assets/hero-home-1280w.webp'),
      linear-gradient(to bottom, #ffffff 0%, #dbeafe 50%, #fff 100%);
  }
}

/* Desktop: 1920w image for better bandwidth */
@media (min-width: 1440px) {
  .hero--home {
    background-image:
      url('assets/hero-home-1920w.webp'),
      linear-gradient(to bottom, #ffffff 0%, #dbeafe 50%, #fff 100%);
  }
}

/* 2K/QHD: 2560w image */
@media (min-width: 1921px) {
  .hero--home {
    background-image:
      url('assets/hero-home-2560w.webp'),
      linear-gradient(to bottom, #ffffff 0%, #dbeafe 50%, #fff 100%);
    background-size: 100% auto;
    background-position: center bottom;
  }
}

/* 4K: 3840w image */
@media (min-width: 2561px) {
  .hero--home {
    background-image:
      url('assets/hero-home-3840w.webp'),
      linear-gradient(to bottom, #ffffff 0%, #dbeafe 50%, #fff 100%);
    background-size: 100% auto;
    background-position: center bottom;
  }
}

/* Subpage Hero (Split Layout) */
.hero--split {
  min-height: 100vh;
  position: relative;
  background-color: #e0f2fe;
  /* Light blue base */
  overflow: visible;
  display: flex;
  align-items: center;
}

.hero--split .hero-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding-top: 6rem;
  /* Header clearance */
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero--split .hero-text-content {
  flex: 1;
  max-width: 50%;
  text-align: left;
  padding: 0 2rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero--split .hero-ctas {
  justify-content: flex-start;
}

/* Background Images per Page - Mobile-first responsive images */
.hero--individuals {
  background-image: url('assets/hero-individuals-640w.webp');
  background-repeat: no-repeat;
  background-position: 140% 90%;
  background-size: 65% auto;
}

.hero--advisors {
  background-image: url('assets/hero-advisors-640w.webp');
  background-repeat: no-repeat;
  background-position: 120% 0%;
  background-size: 60% auto;
}

.hero--businesses {
  background-image: url('assets/hero-businesses-640w.webp');
  background-repeat: no-repeat;
  background-position: 140% 40%;
  background-size: 70% auto;
}

.hero--influencers {
  background-image: url('assets/hero-influencers-640w.webp');
  background-repeat: no-repeat;
  background-position: 140% 40%;
  background-size: 80% auto;
}

/* Tablet: 1280w hero images */
@media (min-width: 768px) {
  .hero--individuals {
    background-image: url('assets/hero-individuals-1280w.webp');
  }

  .hero--advisors {
    background-image: url('assets/hero-advisors-1280w.webp');
  }

  .hero--businesses {
    background-image: url('assets/hero-businesses-1280w.webp');
  }

  .hero--influencers {
    background-image: url('assets/hero-influencers-1280w.webp');
  }
}

/* Desktop: 1920w hero images for better bandwidth */
@media (min-width: 1440px) {
  .hero--individuals {
    background-image: url('assets/hero-individuals-1920w.webp');
  }

  .hero--advisors {
    background-image: url('assets/hero-advisors-1920w.webp');
  }

  .hero--businesses {
    background-image: url('assets/hero-businesses-1920w.webp');
  }

  .hero--influencers {
    background-image: url('assets/hero-influencers-1920w.webp');
  }
}

/* 2K/QHD: 2560w hero images */
@media (min-width: 1921px) {
  .hero--individuals {
    background-image: url('assets/hero-individuals-2560w.webp');
  }

  .hero--advisors {
    background-image: url('assets/hero-advisors-2560w.webp');
  }

  .hero--businesses {
    background-image: url('assets/hero-businesses-2560w.webp');
  }

  .hero--influencers {
    background-image: url('assets/hero-influencers-2560w.webp');
  }
}

/* 4K: 3840w hero images */
@media (min-width: 2561px) {
  .hero--individuals {
    background-image: url('assets/hero-individuals-3840w.webp');
  }

  .hero--advisors {
    background-image: url('assets/hero-advisors-3840w.webp');
  }

  .hero--businesses {
    background-image: url('assets/hero-businesses-3840w.webp');
  }

  .hero--influencers {
    background-image: url('assets/hero-influencers-3840w.webp');
  }
}


@media (max-width: 768px) {
  .hero-video-wrapper {
    background-image: url('assets/hero-video-placeholder-1280w.webp');
    background-repeat: no-repeat;
    background-size: cover;
  }
}

@media (max-width: 1440px) {
  .hero-video-wrapper {
    background-image: url('assets/hero-video-placeholder-1920w.webp');
    background-repeat: no-repeat;
    background-size: cover;
  }
}

@media (max-width: 1920px) {
  .hero-video-wrapper {
    background-image: url('assets/hero-video-placeholder-2560w.webp');
    background-repeat: no-repeat;
    background-size: cover;
  }
}

@media (max-width: 2560px) {
  .hero-video-wrapper {
    background-image: url('assets/hero-video-placeholder-3840w.webp');
    background-repeat: no-repeat;
    background-size: cover;
  }
}

/* Responsive adjustments for Split Hero */
@media (max-width: 1024px) {
  .hero--split {
    padding-bottom: 2rem;
  }

  .hero--split .hero-container {
    flex-direction: column !important;
    text-align: center;
    padding-top: 8rem;
  }

  .hero--split .hero-text-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
  }

  .hero--split .hero-ctas {
    justify-content: center;
  }

  /* Adjust backgrounds for mobile - move to bottom */
  .hero--individuals,
  .hero--advisors,
  .hero--businesses,
  .hero--influencers {
    background-position: center bottom;
    background-size: 100% auto;
    padding-bottom: 30vh;
    /* Reduced from 40vh to reduce empty space while keeping image visible */
  }
}

@media (max-width: 600px) {

  .hero--individuals,
  .hero--advisors,
  .hero--businesses,
  .hero--influencers {
    background-size: 110% auto;
    /* Slightly larger on smaller screens */
    padding-bottom: 25vh;
  }
}



.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 12rem;
  /* Space for header */
  position: relative;
  z-index: 10;
}

.hero-text-content {
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
  margin-bottom: 3rem;
  /* Space between text and phone */
  animation: heroFadeIn 0.8s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  text-shadow: none;
  /* Clean title as per new design */
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

/* Phone / Video Placeholder */
.hero-video-wrapper {
  perspective: 1000px;
  margin-top: auto;
  /* Push to bottom if space allows, or just flow naturally */
  padding-bottom: 0;
  z-index: 20;
  margin-top: 2rem;
  width: 100%;
  max-width: 1360px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16/9;
  height: 100%;
  border-radius: var(--radius-xl);
}

.video-play-button-large {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.9);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.video-play-button-large svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.video-play-button-large:hover {
  transform: scale(1.15);
  background: var(--color-primary);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.4);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6.5vw, 4.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  /* Multi-layered shadow for premium legibility on complex backgrounds */
  text-shadow:
    0 2px 4px rgba(255, 255, 255, 0.8),
    0 10px 30px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 42rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.3);
}

/* Central Video Trigger */
.video-portal-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-icon {
  width: 80px;
  height: 80px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-icon svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
  /* Optical center */
}

.video-portal-trigger:hover .play-icon {
  transform: scale(1.1);
  background: var(--color-primary);
  box-shadow: 0 0 0 15px rgba(79, 70, 229, 0.2);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero--home .hero-ctas {
  justify-content: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

.hero--split .hero-subtitle {
  font-size: 1.125rem;
  max-width: 36rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-meta-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-secondary);
  box-shadow: 0 0 0 4px var(--color-primary-soft);
}

/* video / hero art */

.hero-media {
  position: relative;
  z-index: 1;
}

.hero-media-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0 0, #e0f2fe 0, #eff6ff 40%, #e9d5ff 100%);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.video-placeholder {
  border-radius: 24px;
  background: radial-gradient(circle at 15% 10%, #fef9c3 0, #fecaca 22%, #dbebff 70%, #c4b5fd 100%);
  aspect-ratio: 16/9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-button {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.4);
  position: relative;
}

.video-play-button::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-play-button svg {
  fill: #f9fafb;
  margin-left: 3px;
}

.video-floating-tag {
  position: absolute;
  top: 10%;
  left: 8%;
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.video-floating-tag span.icon-pill {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #4ade80, #22c55e);
}

/* secondary hero art for other pages */

.hero-art-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 12% 0, #e0f2fe 0, #eff6ff 45%, #e9d5ff 100%);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.hero-art-illustration {
  border-radius: 24px;
  aspect-ratio: 5/5;
  position: relative;
  overflow: hidden;
  max-height: 575px;
  max-width: 575px;
  margin: 0 auto;
}

.hero-art-illustration::after {
  /* placeholder for game-style art; replace with your own image */
  content: "";
  position: absolute;
  inset: 0;
  /* background-image: url("images/hero-quest-placeholder.png"); */
  /* File doesn't exist */
  background-size: contain;
  background-position: center;
  opacity: 0.9;
}

.hero-art-illustration>img {
  display: block;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: contain;
  object-position: center;
}

/* Sections */

.section-wrapper {
  width: 100%;
}

.section-wrapper--alt {
  /* Full-width background that matches surrounding sections */
  background: linear-gradient(to bottom, #fff 0%, #f8fafc 100%);
  padding-top: 2rem;
}

/* Parallax Features Wrapper */
.wrapper-features-parallax {
  position: relative;
  background-color: #f0f9ff;
  /* Light sky blue fallback for edges */
  background-image: url('assets/features-background.webp');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  /* Anchor to bottom so sky extends upward */
  padding-bottom: 0;
  overflow: hidden;
}

/* Gradient overlay for smooth transition from section-wrapper--alt */
.wrapper-features-parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, #f8fafc 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Gradient overlay for smooth transition TO wrapper-ready-to-start */
.wrapper-features-parallax::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to bottom, transparent 0%, #f0f9ff 100%);
  z-index: 1;
  pointer-events: none;
}

/* 2K+ screens: scale to fill width while preserving aspect ratio */
@media (min-width: 1920px) {
  .wrapper-features-parallax {
    background-size: 100% auto;
    background-position: center bottom;
  }
}

.wrapper-features-parallax .section:last-child {
  padding-bottom: 2rem;
}

.wrapper-features-parallax .section {
  background: transparent;
  position: relative;
  z-index: 2;
}

/* Parallax Coins */
.parallax-coin {
  position: absolute;
  width: 80px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
  opacity: 0.9;
}

.coin-1 {
  top: 5%;
  left: 5%;
  width: 60px;
}

.coin-2 {
  top: 15%;
  right: 8%;
  width: 90px;
}

.coin-3 {
  bottom: 10%;
  left: 8%;
  width: 70px;
}

.coin-4 {
  bottom: 25%;
  right: 5%;
  width: 50px;
}

.section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 5;
}

.section--transparent {}

/* Ready To Start Parallax Wrapper */
.wrapper-ready-to-start {
  position: relative;
  width: 100%;
  min-height: auto;
  overflow: hidden;
  padding: 0;
  /* Pull up to overlap with wrapper-features-parallax and hide transition line */
  padding-top: 100px;
}

/* Gradient overlay for smooth transition from wrapper-features-parallax */
.wrapper-ready-to-start::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, #f0f9ff 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Background Layer */
.parallax-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/ready-to-start-bg.webp') no-repeat center bottom;
  background-size: contain;
  z-index: 0;
}

/* 2K+ screens: scale to fill width while preserving aspect ratio */
@media (min-width: 1920px) {
  .parallax-bg-layer {
    background-size: 100% auto;
  }
}

/* Floating Parallax Layers */
.parallax-layer {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: auto;
  left: 0;
  top: 0;
}

.layer-clouds {
  z-index: 1;
  transform: translateY(10);
  padding-bottom: 2rem;
}

.layer-elf {
  z-index: 2;
  width: 100%;
  max-width: 560px;
  right: 0%;
  left: auto;
  bottom: 5%;
  top: auto;
}

.layer-coins {
  z-index: 99;
}

.ready-content-container {
  position: relative;
  z-index: 10;
  padding-top: 0;
}

.ready-content-container .section {
  padding-top: 18rem;
}

.center-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-title--large {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

/* Glassmorphism Audience Grid */
.audience-grid-glass {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.audience-card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.audience-card-glass:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.audience-card-glass .audience-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.audience-card-glass .audience-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.audience-card-glass .audience-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.audience-card-glass .audience-pill {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}

.audience-card-glass:hover .audience-pill {
  gap: 0.75rem;
}

.section--tight {
  padding: 4rem 1.5rem;
}

.section-header {
  max-width: 48rem;
  margin-bottom: 4rem;
}

.section-header.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Dark Section Variants / Panel */
.adventurers-dark-panel {
  border: 24px solid;
  border-image: linear-gradient(155deg, rgba(239, 221, 221, 0.12) 5.96%, rgba(68, 65, 65, 0.07) 75.72%) 1;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  /* Deep dark green/black */
  color: #000000;
  padding: 4rem;
  border-radius: 8px;
  /* border: 1px solid rgba(255, 255, 255, 0.1); Optional if needed */
  position: relative;
  z-index: 10;
}

.section-title--light {
  color: #000000;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

.section-subtitle--light {
  color: #000000;
  /* Slate 400 */
  margin-top: 1.5rem;
  max-width: 600px;
}

/* Adventurers Header & Tabs */
.adventurers-header {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
  align-items: center;
  text-align: center;
}

.adventurers-header .section-title {
  color: #000000;
  margin-bottom: 0.1rem;
}

.adventurers-header .section-subtitle {
  color: #000000;
  margin-top: 0.8rem;
}

/*@media (min-width: 992px) {
  .adventurers-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .header-text {
    max-width: 50%;
  }
}*/

.tabs-pill {
  display: inline-flex;
  background: rgba(204, 255, 144, 0.24);
  padding: 0.5rem;
  border-radius: 99px;
  border: 1px solid rgba(125, 252, 6, 1);
}

.tab-btn {
  background: transparent;
  border: none;
  color: #000000;
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.tab-btn.active {
  background: white;
  color: var(--color-text-main);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover:not(.active) {
  color: #000000;
}

/* Adventurers Content Area with Top Border */
.adventurers-content {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Content Split with Vertical Border */
.content-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .content-split {
    grid-template-columns: 1fr 1.2fr;
    /* Give more space to graph */
    gap: 6rem;
    padding-left: 2rem;
    padding-top: 4rem;
    position: relative;
  }

  /* Vertical Border */
  .content-split::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
  }
}

/* Quote Block */
.quote-block {
  position: relative;
}

.quote-mark svg {
  width: 60px;
  height: 60px;
  fill: var(--color-primary);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.quote-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 32rem;
}

.quote-author {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 600;
}

.quote-mark-bottom {
  position: absolute;
  bottom: -40px;
  right: 0;
  transform: rotate(180deg);
  opacity: 0.3;
}

/* Graph Block */
.graph-block {
  /* background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.0) 100%); Optional bg removed for cleaner look */
  /* border-radius: 24px; */
  padding: 1rem;
  /* border: 1px solid rgba(255,255,255,0.05); */
}

.graph-container {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 1rem;
  height: 300px;
}

.graph-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  font-size: 0.75rem;
  color: #64748b;
  padding-bottom: 1.5rem;
}

.graph-x-axis {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.graph-x-axis span {
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.graph-x-axis span:hover {
  color: #94a3b8;
}

.graph-x-axis span.active {
  color: var(--color-primary);
  font-weight: 700;
}

.graph-chart-area {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Dashed lines could be added as background-image */
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 20%;
  overflow: hidden;
  /* 5 lines */
}

.chart-interactive-area {
  overflow: hidden;

}

.stepped-chart-svg {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Tooltip on Active Bar */
.bar-tooltip {
  position: absolute;
  top: 0;
  /* Left is set inline for specific data point */
  transform: translate(-50%, -50%);
  /* Center on top edge */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 20;
}

.tooltip-price {
  background: #1e293b;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Donut Chart Specific Styles */
.graph-chart-area.is-donut {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  /* Taller for donut */
  overflow: visible;
  /* Needed for labels outside */
}

.donut-chart-svg {
  width: 100%;
  height: 100%;
  max-width: 320px;
  overflow: visible;
}

.donut-segment {
  transform-origin: 21 21;
  /* Center of viewBox 0 0 42 42 */
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.donut-segment:hover {
  opacity: 0.8 !important;
  /* Highlight specific hover */
  /* Could scale up slightly if desired */
}

.donut-label-text {
  font-size: 2px;
  fill: #000000;
  font-family: var(--font-body);
  font-weight: 500;
}

.donut-label-line {
  stroke: #64748b;
  stroke-width: 0.2;
}

.donut-hole-text {
  font-size: 4px;
  fill: #000000;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  opacity: 0;
  transition: opacity 0.3s;
}

.donut-container:hover .donut-hole-text {
  opacity: 1;
}



.tooltip-price {
  background: #1e293b;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.graph-cursor-line {
  position: absolute;
  left: 36%;
  /* Approximate for age 36 */
  top: 0;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #64748b 0, #64748b 4px, transparent 4px, transparent 8px);
  z-index: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Cards */

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-bg-accent);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-primary-soft);
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}

.card-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.card-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-bg-soft);
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* Feature split layout */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--color-bg-accent);
  background: var(--color-primary);
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

.badge-pill span.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.feature-body {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--color-text-main);
  font-weight: 500;
}

.feature-list li span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: white;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Hero Art / Illustration Containers */

.hero-art-card {
  border-radius: var(--radius-xl);
  background: transparent;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  max-width: 575px;
  width: 100%;
  max-height: 575px;
  height: 100%;
}

.hero-art-illustration {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-text-main));
  aspect-ratio: 5/5;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.hero-art-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.hero-art-card:hover .hero-art-illustration img {
  transform: scale(1.01);
}

/* Placeholders & Media */

.animation-box {
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
  border: 2px dashed rgba(79, 70, 229, 0.2);
  min-height: 350px;
  display: grid;
  place-items: center;
  padding: 3rem;
  text-align: center;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

.animation-box::before {
  content: "Visual Preview";
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  opacity: 0.8;
}

.video-placeholder {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  aspect-ratio: 16/9;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(79, 70, 229, 0.2), transparent);
}

.video-play-button {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: white;
  color: var(--color-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-play-button:hover {
  transform: scale(1.1);
}

.video-play-button svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  margin-left: 4px;
  /* Optical centering */
}

.video-floating-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.video-floating-tag .icon-pill {
  width: 12px;
  height: 12px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--color-secondary);
}

/* Download Section */

.download-section {
  border-radius: var(--radius-xl);
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  text-align: center;
  box-shadow: var(--shadow-premium);
}

.download-section .section-title {
  color: white;
}

.download-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.store-pill {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  background: white;
  color: var(--color-text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.store-pill:hover {
  transform: translateY(-2px);
  background: var(--color-bg-soft);
}

.store-pill .icon {
  width: 20px;
  height: 20px;
  background: var(--color-gold);
  border-radius: var(--radius-full);
  display: inline-block;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* Audience Grid */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.audience-card {
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  background: white;
  border: 1px solid var(--color-bg-accent);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.audience-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-primary);
}

.audience-tag {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.audience-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}

.audience-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.audience-pill {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audience-pill span {
  transition: transform 0.3s ease;
}

.audience-card:hover .audience-pill span {
  transform: translateX(5px);
}

/* Stats Strip */

.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
  padding: 2rem;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
}

.stats-item .label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.stats-item .value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text-main);
}

/* Footer */

/* Footer Redesign */
.site-footer {
  background: #020c09;
  color: white;
  padding: 6rem 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.footer-inner-container {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  padding-bottom: 6rem;
}

/* Footer CTA */
.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

.footer-cta-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.footer-cta .highlight-green {
  color: var(--color-primary);
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 400px;
}

.footer-cta-buttons {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  min-width: 180px;
  justify-content: center;
}

.btn-store svg {
  display: block;
  flex-shrink: 0;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-store-dark {
  background: #111827;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-store-light {
  background: white;
  color: black;
}

@media (min-width: 992px) {
  .footer-cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-cta-text {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
    flex: 1;
    margin-right: 2rem;
  }
}

/* Footer Nav */
.footer-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 4rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  /* Muted headers */
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 1rem;
}

.footer-col a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-logo-col-right {
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .footer-logo-col-right {
    justify-content: flex-end;
    align-items: flex-start;
  }
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

/* Footer Bottom */
.footer-separator-subtle {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  /* Very subtle */
  margin: 4rem 0 2rem;
}

.footer-bottom-row {
  display: flex;
  flex-direction: column-reverse;
  /* Stack copyright under icons on mobile */
  gap: 2rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  color: white;
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Background Huge Text */
.footer-bg-text {
  position: absolute;
  bottom: 0;
  /* Cutoff */
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  max-width: 1200px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  color: rgba(255, 255, 255, 0.03);
  /* Extremely subtle */
  display: flex;
  justify-content: center;
}

.footer-bg-text svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */

@media (max-width: 1024px) {
  .hero-container {
    padding-top: 6rem;
  }

  .hero-text-content {
    margin-bottom: 2rem;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .split>div:nth-child(even) {
    order: -1;
  }

  .feature-list {
    justify-items: center;
    text-align: center;
  }

  .feature-list li {
    justify-content: center;
  }

  .stats-strip {
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {

  /* Allow hero to grow based on content */
  .hero--home {
    height: auto;
    min-height: 100vh;
    padding-bottom: 2rem;
  }

  .hero-container {
    padding-top: 7rem;
  }

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

  .phone-frame {
    width: 280px;
    height: 520px;
    margin-bottom: -100px;
  }

  .section {
    padding: 2.5rem 1.25rem;
  }

  .download-section {
    padding: 2.5rem 1.5rem;
  }

  .btn-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .store-pill {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }

  .card-grid-3 {
    gap: 1.25rem;
  }

  .card {
    padding: 1.75rem 1.5rem;
  }

  .content-split {
    gap: 2rem;
    padding: 1.5rem 0;
  }

  .quote-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .quote-author {
    font-size: 1rem;
  }

  .wrapper-features-parallax {
    padding-bottom: 0;
  }

  .wrapper-ready-to-start {
    min-height: auto;
    padding: 1rem 0;
  }

  .ready-content-container {
    padding-top: 1rem;
  }

  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-logo,
  .footer-heading {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-bottom a {
    margin: 0 0.75rem;
  }

  .footer-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-store {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }

  /* Shrink phone further for very small screens */
  .phone-frame {
    width: 240px;
    height: 450px;
    margin-bottom: -80px;
  }
}

/* Mobile Nav Overlay */
/* Mobile Nav Overlay removed (duplicate) */
/* .nav-links.mobile-active definitions moved to media query above */

/* Legal Pages */
.legal-page {
  background-color: var(--color-bg-light);
  /* Default light bg */
}

.legal-content-section {
  padding-top: 8rem;
  padding-bottom: 6rem;
  min-height: 80vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.legal-date {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  font-weight: 500;
  opacity: 0.8;
}

.legal-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-main);
}

.legal-text p {
  margin-bottom: 1.5rem;
}

.legal-text h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal-text ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-text li {
  margin-bottom: 0.5rem;
}

.legal-text strong {
  font-weight: 600;
  color: var(--color-text-main);
}

/* Ensure links in legal text are visible */
.legal-text a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-text a:hover {
  color: var(--color-secondary);
}

/* Mobile Tabs Scrolling */
@media (max-width: 768px) {
  .header-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    /* Hide scrollbar visual slightly or give space */
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .header-tabs::-webkit-scrollbar {
    display: none;
  }

  .tabs-pill {
    width: max-content;
    padding-right: 1rem;
  }

  /* Usage Charts Mobile Fix */
  .graph-block>div {
    height: 220px !important;
    /* Reduced from 320px */
  }

  /* Adjust chart container padding if needed */
  .graph-block {
    padding: 0;
    max-width: 100%;
    overflow: hidden;
  }

  /* Constrain quote block to parent width */
  .quote-block {
    max-width: 100%;
    overflow: hidden;
  }

  /* Ensure canvas respects container width */
  .graph-block canvas {
    max-width: 100%;
    height: auto !important;
  }
}

/* --- FINAL MOBILE POLISH --- */

/* 1. Menu Toggle "X" Animation */
/* Using ~ because btn-cta is in between */
.nav-links.mobile-active~.menu-toggle span {
  background: transparent !important;
}

.nav-links.mobile-active~.menu-toggle span::before {
  top: 0 !important;
  transform: rotate(45deg);
  background: var(--color-text-main) !important;
}

.nav-links.mobile-active~.menu-toggle span::after {
  top: 0 !important;
  transform: rotate(-45deg);
  background: var(--color-text-main) !important;
}

/* 2. Mobile Layout & Spacing Overrides */
@media (max-width: 768px) {

  /* Fix "barely usable" tabs section by reducing huge padding */
  .adventurers-dark-panel {
    padding: 1.5rem !important;
  }

  /* Adjust Tab buttons to be more compact */
  .tabs-pill {
    padding: 0.25rem;
    /* max-width removed to allow scrolling */
  }

  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* Make chart text readable/fit on small screens */
  .graph-y-axis,
  .graph-x-axis {
    font-size: 10px !important;
  }

  /* Reduce huge section titles on mobile */
  .section-title--light {
    font-size: 2rem !important;
  }

  .section-subtitle--light {
    font-size: 1rem !important;
  }

  /* Adjust Adventurers Header layout */
  .adventurers-header {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }

  .header-text {
    max-width: 100%;
  }
}