:root {
  --blue: #2872E5;
  --blue-dark: #1B5FB8;
  --blue-light: #EAF3FF;
  --green: #2DAA74;
  --teal: #3FB1B1;
  --ink: #16263A;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #2DAA74 0%, #3FB1B1 50%, #2872E5 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --nav-height: 60px;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100vw;
}

body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, #2DAA74 0%, #2fa8c0 50%, #2872E5 100%) fixed;
  background-attachment: fixed;
  color: white;
  overflow-x: hidden;
  line-height: 1rem;
  width: 100%;
  max-width: 100vw;
  height: 100%;

}

h1,
h2,
h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  color: white;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

a {
  display: inline
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}



/* INTRO */
#intro-bg {
  position: fixed;
  inset: 0;
  z-index: 998;
  background-color: #2872E5;
}

#intro-bg::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: linear-gradient(135deg, #2DAA74 0%, #2fa8c0 50%, #2872E5 100%);
  filter: blur(80px);
  opacity: 0;
  animation: seepFromTopLeft 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes seepFromTopLeft {
  0% {
    opacity: 0;
    transform: scale(0.8) translate(-10%, -10%);
  }

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

#intro-wrap {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

#intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

#intro-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin-bottom: 2rem;
  opacity: 0;
  animation: kFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

#intro-text {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3.2rem;
  color: white;
  letter-spacing: 0.06em;
  opacity: 0;
  animation: kFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.55s both;
}

@keyframes kFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px)
  }

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

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 7rem;
  max-width: 100vw;
}

.nav-inner {
  display: flex;

  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 5%;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15%;
}

.nav-logo img {
  height: 55px;
  width: auto;
  display: block
}

.nav-logo span {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20%;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue);
  padding: 10px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
}



.nav-cta:hover {
  background: white;
  transform: translateY(-1px);
}

/* JOURNEY */
#journey-container {
  height: 550vh;
  position: relative;
}

#journey-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

#road-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;

}

/* JOURNEY TEXT */
#journey-intro {
  position: absolute;
  left: 50%;
  top: 22%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10;
  margin-top: 60px;
}

.j-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.j-title {
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.j-title em {
  font-style: italic;
  background: linear-gradient(135deg, #C5FF91, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.j-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.644);
  font-size: 1rem;
}

.scroll-cue-icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(5px)
  }
}

/* CARDS */

.j-card {
  position: absolute;
  width: 35vw;
  max-width: 300px;
  height: 18vh;
  max-height: 200px;
  opacity: 0;
  z-index: 20;
  pointer-events: none;
  will-change: transform, opacity;
  perspective: 800px;
  top: 0;
  left: 0;
}

.j-card-inner {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 5%;
  transition: transform 0.2s ease;
  transform-style: preserve-3d;
}

.j-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.j-card h3 {
  color: white;
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
}

.j-card p {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.j-xp {
  display: inline-flex;
  align-items: center;
  gap: 1%;
  font-size: 1.5rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 4px 10px;
  color: white;
}

/* END MSG */
#journey-end-msg {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 20;
  pointer-events: none;
}

#journey-end-msg.visible {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 1;
  transition: opacity 1s ease;
  z-index: 20;
  pointer-events: auto;
}

#journey-end-msg h2 {
  margin-bottom: 14px;
}

#journey-end-msg p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
}

.btn-white-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--blue);
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.btn-white-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}



/* ── MANIFESTO ── */

.manifesto {
  height: 300vh;
  position: relative;
  padding: 3rem 5rem 0;
}

.manifesto-sticky {
  position: sticky;
  top: 0;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4rem;
}

.manifesto-line {
  display: flex;
  padding-top: 4rem;
  gap: 20px;
  align-items: baseline;
  opacity: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  will-change: opacity;
}

.manifesto-line:last-child {
  margin-bottom: 0vh;
}

.manifesto-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  min-width: 32px;
}

.manifesto-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  flex: 1;
}

.manifesto-text em {
  font-style: italic;
  background: linear-gradient(135deg, #C5FF91, var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── BENTO FEATURES ── */
.features {
  position: relative;
  height: 400vh;
}

.features-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  perspective: 1000px;
}

.bento-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  opacity: 0;
  will-change: opacity;
}

.bento-card:hover {
  background: rgba(255, 255, 255, 0.18);
}

.bento-card.large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  color: white;
}

.bento-card h3 {
  color: white;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.88rem;
}

.bento-large-text h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.bento-large-text p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.bento-large-visual {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-quest {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: white;
}

.mini-quest-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.mini-xp {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
}

/* ── QUESTS ── */
.quests-section {
  padding: 80px 0;
}

.quests-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.quests-header h2 {
  max-width: 420px;
}

.quests-header p {
  max-width: 300px;
  text-align: right;
  font-size: 0.92rem;
}

.quests-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quest-card {
  background: rgba(22, 38, 58, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s;
}

.quest-card:hover {
  background: rgba(22, 38, 58, 0.75);
  transform: translateY(-3px);
}

.quest-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.quest-type {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.quest-xp {
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  color: white;
}

.quest-card h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 10px;
}

.quest-card p {
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.quest-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quest-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── PROGRESSION ── */
.progression {
  padding: 80px 0;
}

.prog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.prog-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--ink);
}

.prog-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #7A8A99;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.prog-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.level-bar {
  height: 10px;
  background: #EDF1F5;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 4px;
}

.level-fill {
  height: 100%;
  background: linear-gradient(90deg, #2DAA74, #3FB1B1, #2872E5);
  border-radius: 99px;
}

.level-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #7A8A99;
}

.badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid #DDE5EC;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.streak-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #EDF1F5;
}

.sd {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.sd-done {
  background: #2DAA74;
  color: white;
}

.sd-today {
  background: white;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 11px;
}

.sd-empty {
  background: #EDF1F5;
  color: #7A8A99;
  font-size: 11px;
}

.prog-copy h2 {
  margin-bottom: 18px;
}

.prog-copy p {
  margin-bottom: 28px;
}

.prog-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prog-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.prog-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: white;
}

.prog-item h3 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.prog-item p {
  font-size: 0.83rem;
}

/* DOWNLOAD */
.dl-section {
  padding: 100px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
}

.dl-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.dl-section>.container>p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 44px;
  font-size: 1.05rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.dl-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  border-radius: 14px;
  padding: 14px 24px;
  text-decoration: none;
  transition: all 0.2s;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.store-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
}

.store-sm {
  font-size: 0.72rem;
  opacity: 0.75;
}

.store-big {
  font-size: 1rem;
  font-weight: 700;
}

.notify-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
}

.notify-label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.notify-input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
}

.notify-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.notify-btn {
  background: rgba(255, 255, 255, 0.932);
  color: #257da6;
  padding: 13px 22px;
  border-radius: 12px;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.notify-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* FAQ */
.faq-section {
  padding: 80px 0;
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.faq-intro h2 {
  margin-bottom: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: opacity 0.2s;
}

.faq-q:hover {
  opacity: 0.75;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.faq-a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-bottom: 18px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* FOOTER */
footer {
  background: rgba(22, 38, 58, 0.92);
  padding: 56px 0 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-top: 14px;
}

.footer-col-title {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.87rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
}

@media (max-width:900px) {

  nav {
    padding: 0.9rem 0.3rem;

  }

  .nav-links a {
    display: flex;
    align-items: center;
    font-size: clamp(0.2rem, 1.5vw + 0.5rem, 7rem);
    gap: 4%;
    list-style: none;
  }

  .nav-logo img {
    height: clamp(1rem, 5vw + 1rem, 15rem);
    width: auto;
    display: block
  }

  .nav-logo span {
    font-size: clamp(0.5rem, 2vw + 0.5rem, 6rem);
  }

  .nav-inner {
    gap: 1rem;
    font-size: 0.5rem;
  }

  .store-btn {
    padding: 0.6rem 0.7rem;
    font-size: 0.8rem;
  }

  .j-sub {
    margin-bottom: 0.8 rem;
  }

  .j-card {
    width: 55vw !important;
    max-width: 500px;
    height: 55vh;
    max-height: 700px;
    padding: 16px !important;
  }

  .j-card h3 {
    font-size: clamp(1rem, 2vw + 0.5rem, 3rem);
  }

  .j-card p {
    font-size: clamp(0.5rem, 1vw + 0.5rem, 2rem);
    line-height: 1rem;
  }

  .j-card-tag {
    font-size: clamp(0.5rem, 1vw + 0.5rem, 2rem);
    padding: 0.45rem 0.6rem;
    margin: 0 0 0.4rem;
  }

  .j-title {
    font-size: clamp(2rem, 4vw + 1rem, 10rem);
  }

  .j-sub {
    font-size: clamp(0.5rem, 1.5vw + 0.4rem, 5rem);
  }

  .j-card-inner {
    padding: 8%;
  }


  .manifesto {
    padding: 1rem;
  }


  .manifesto-sticky {
    gap: 2rem;
  }

  .manifesto-line {
    padding-top: 2rem;
  }

  .manifesto-line.fade-in.visible {
    opacity: 1;
  }

  .features {
    height: auto;
    padding: 60px 0;
  }

  .features-sticky {
    position: static;
    height: auto;
    overflow: visible;
  }

  .bento {
    grid-template-columns: 1fr;
    margin-top: 2vh;
  }

  .bento-card.large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  /* ── QUESTS MOBILE ── */
  .quests-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .quests-header p {
    text-align: left;
    max-width: 100%;
  }

  .quests-duo {
    grid-template-columns: 1fr;
  }

  /* ── PROGRESSION MOBILE ── */
  .prog-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* ── FAQ MOBILE ── */
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* ── DOWNLOAD MOBILE ── */
  .notify-form {
    flex-direction: column;
    align-items: stretch;
  }

  .notify-btn {
    width: 100%;
  }

  /* ── FOOTER MOBILE ── */
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* ── POPUP MOBILE ── */

  .popup-box {
    width: 90% !important;
    padding: 7%;
  }

  .popup-form {
    flex-direction: column;
  }

  .popup-btn {
    width: 100%;
  }

}

/* pop-up */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(22, 38, 58, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  background: rgba(74, 95, 141, 0.164);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(187, 185, 185, 0.18);
  border-radius: var(--radius-lg);
  padding: 3%;
  width: 30%;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.popup-overlay.open .popup-box {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #727272;
}

.popup-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.popup-box h3 {
  font-size: 1.5rem;
  color: var(--blue-light);
  margin-bottom: 10px;
}

.popup-box p {
  font-size: 0.9rem;
  color: var(--blue-light);
  line-height: 1.6;
  margin-bottom: 22px;
}

.popup-form {
  display: flex;
  gap: 8px;
}

.popup-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border 0.2s;
  color: #16263A;
}

.popup-input:focus {
  border-color: var(--teal);
}

.popup-btn {
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
  border: 1px solid rgba(253, 253, 253, 0.336);
}

.popup-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.popup-success {
  color: #2DAA74;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 8px;
}


/* ── PHONE DEMO SECTION ── */
.demo-section {
  padding: 100px 0;

}

.demo-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 100vw;
  margin: 0 7%;
  gap: 5%;
}

.demo-section h1 {
  margin: 50px 0;
  letter-spacing: -0.02em;
}

.demo-section em {
  font-style: italic;
  background: linear-gradient(135deg, #C5FF91 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.demo-section p {
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 38px;
}

.demo-sub {
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 38px;
}

.demo-container {
  margin: 5%
}

.phone-demo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 340px;
  height: 700px;
  background: #111;
  border-radius: 44px;
  border: 8px solid #222;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px #333, inset 0 0 0 1px #444;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #111;
  border-radius: 0 0 18px 18px;
  z-index: 100;
}

#app-screen {
  width: 100%;
  height: 100%;
  background: #f5f6fa;
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
  position: relative;
}

/* ── APP COMMON ── */
.app-scroll {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f5f6fa;
}

.app-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px 8px;
  scrollbar-width: none;
}

.app-body::-webkit-scrollbar {
  display: none;
}

/* ── TOP BAR ── */
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 14px 6px;
  background: var(--teal);
}

.app-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--blue-light);
}

.app-top-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-stat-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.app-stat-pill.flame {
  background: #FFF3E0;
  color: #E65100;
}

.app-stat-pill.bolt {
  background: #FFFDE7;
  color: #F57F17;
}

.app-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-light);
  color: gray;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-level-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 14px 0;
  background: var(--teal);
  font-size: 0.68rem;
  color: white;

}

.app-xp-track {
  height: 5px;
  background: #eee;
  overflow: hidden;
  border-radius: 99px;
}

.app-xp-fill {
  height: 100%;
  background: #3f81d6;
  border-radius: 99px;
  transition: width 0.6s ease;
}

/* ── GREETING ── */
.app-greeting {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #16263A;
  margin-bottom: 14px;
}

/* ── FEATURE CARDS ── */
.app-cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.app-feature-card {
  border-radius: 14px;
  padding: 14px 12px;
  color: white;
  cursor: pointer;
  transition: transform 0.15s;
}

.app-feature-card:active {
  transform: scale(0.97);
}

.app-feature-card.purple {
  background: rgba(240, 128, 128, 0.849);
}

.app-feature-card.green {
  background: rgba(244, 165, 96, 0.897);
}

.feature-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 6px;
}

.feature-name {
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-sub {
  font-size: 0.68rem;
  opacity: 0.85;
  margin-top: 3px;
}

/* ── GOAL CARD ── */
.app-goal-card {
  background: rgb(4, 145, 145);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
  color: white;
}

.goal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.goal-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 4px;
}

.goal-title {
  font-size: 1rem;
  font-weight: 700;
}

.goal-count {
  text-align: right;
}

.goal-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFD700;
  line-height: 1;
}

.goal-done {
  font-size: 0.65rem;
  display: block;
  opacity: 0.8;
}

.streak-days {
  display: flex;
  justify-content: space-between;
}

.streak-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.streak-pip {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.day-done {
  background: rgba(255, 255, 255, 0.9);
  color: #2DAA74;
}

.day-today {
  background: #FFD700;
  color: #333;
}

.day-empty {
  background: rgba(255, 255, 255, 0.2);
}

.streak-label {
  font-size: 0.6rem;
  opacity: 0.8;
}

/* ── SECTION TITLE ── */
.app-section-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #aaa;
  margin-bottom: 10px;
  margin-top: 4px;
}

/* ── MISSION CARDS ── */
.app-mission-card {
  background: white;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s;
}

.app-mission-card:active {
  transform: scale(0.98);
}

.mission-top {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.mission-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.mission-tags {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.mission-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.mission-xp-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  background: #FFFDE7;
  color: #F57F17;
  border-radius: 6px;
}

.mission-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #16263A;
  margin-bottom: 3px;
}

.mission-info {
  font-size: 0.68rem;
  color: #999;
}

/* ── MINI MISSIONS ── */
.app-mission-mini {
  background: white;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s;
}

.app-mission-mini:active {
  transform: scale(0.98);
}

.app-mission-mini.done {
  opacity: 0.6;
}

.mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f5f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mini-body {
  flex: 1;
  min-width: 0;
}

.mini-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #16263A;
}

.mini-arrow {
  color: #ccc;
  font-size: 1.2rem;
}

.done-check {
  color: #2DAA74;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ── PRIMARY BUTTON ── */
.app-btn-primary {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: rgb(6, 163, 163);
  color: white;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 4px;
}

.app-btn-primary:active {
  transform: scale(0.97);
  background: teal;
}

/* ── BOTTOM NAV ── */
.app-nav {
  display: flex;
  background: white;
  border-top: 1px solid #f0f0f0;
  padding-bottom: 4px;
}

.app-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.58rem;
  color: #bbb;
  transition: color 0.15s;
}

.app-nav-btn span:first-child {
  font-size: 1.1rem;
}

.app-nav-btn.active {
  color: teal;
}

/* ── LEADERBOARD ── */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.lb-row.lb-me {
  background: #EAF3FF;
  border: 1.5px solid rgb(4, 145, 145);
}

.lb-rank {
  width: 28px;
  text-align: center;
  font-size: 1rem;
  color: gray
}

.lb-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(4, 145, 145);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-name {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: #16263A;
}

.lb-xp {
  font-size: 0.75rem;
  font-weight: 700;
  color: #F57F17;
}

/* ── PROFILE ── */
.profile-hero {
  text-align: center;
  padding: 16px 0 20px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2872E5, #3FB1B1);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.profile-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #16263A;
}

.profile-title {
  font-size: 0.75rem;
  color: #888;
  margin-top: 3px;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: white;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.pstat {
  text-align: center;
}

.pstat-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: rgb(4, 145, 145);
}

.pstat-label {
  font-size: 0.62rem;
  color: #aaa;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.badge-item {
  aspect-ratio: 1;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.badge-item.locked {
  background: #f0f0f0;
  opacity: 0.45;
  filter: grayscale(1);
}

/* ── QUEST DETAIL ── */
.quest-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 14px 10px;
  background: white;
  font-size: 0.82rem;
  font-weight: 600;
  color: #16263A;
}

.back-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: rgb(4, 145, 145);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.quest-detail-hero {
  padding: 20px 14px 16px;
  text-align: center;
}

.quest-big-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.quest-detail-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #16263A;
  margin-bottom: 6px;
}

.quest-desc {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.quest-reward-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFDE7;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 14px;
}

.reward-xp {
  color: #F57F17;
  font-weight: 700;
}

.done-banner {
  background: #E8F5E9;
  color: #2DAA74;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ── XP WIN SCREEN ── */
.xp-win-screen {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.xp-win-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2DAA74, #3FB1B1, #2872E5);
  opacity: 0.1;
}

.xp-win-content {
  text-align: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.xp-win-star {
  font-size: 4rem;
  animation: starPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  color: #FFD700;
}

@keyframes starPop {
  from {
    transform: scale(0) rotate(-20deg)
  }

  to {
    transform: scale(1) rotate(0)
  }
}

.xp-win-label {
  font-size: 1rem;
  color: #16263A;
  font-weight: 700;
  margin: 10px 0 6px;
}

.xp-win-gain {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: #2872E5;
  animation: slideUp 0.5s 0.2s both;
}

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

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

.xp-win-sub {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 20px;
}

.xp-win-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.xp-win-bar {
  width: 200px;
  height: 10px;
  background: #eee;
  border-radius: 99px;
  overflow: hidden;
}

.xp-win-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2DAA74, #2872E5);
  border-radius: 99px;
  transition: width 1s ease;
}

.xp-win-bar-wrap span {
  font-size: 0.72rem;
  color: #aaa;
}


/* ── FLOATING BADGES ── */
.phone-demo-wrap {
  position: relative;
  flex-shrink: 0;
}

.phone-hint {
  position: absolute;
  top: -2.2rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: hintPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hintPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(3px);
  }
}

.float-badge {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 12px 40px rgba(22, 38, 58, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  line-height: 1.6;
}

.float-label {
  font-size: 0.72rem;
  color: #7A8A99;
}

.float-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #16263A;
}

.float-1 {
  top: 48px;
  right: -155px;
  animation: floatA 3s ease-in-out infinite;
}

.float-2 {
  bottom: 110px;
  left: -150px;
  animation: floatB 3.5s ease-in-out infinite;
}

.float-3 {
  top: 210px;
  right: -130px;
  animation: floatA 4s ease-in-out infinite 0.5s;
}

@keyframes floatA {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes floatB {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 900px) {

  /* ── DEMO SECTION MOBILE ── */
  .demo-section {
    padding: 80px 0 0;
  }

  .demo-container {
    margin: 0;
    padding: 0 30px;
  }

  .demo-inner {
    flex-direction: column;
    align-items: center;
    margin: 0;
    gap: 48px;
  }

  .demo-section h1 {
    margin: 20px 0;
    text-align: center;
  }

  .demo-sub {
    font-size: 0.65rem;
    max-width: 100%;
    text-align: center;
    margin-bottom: 5rem;
  }

  .phone-demo-wrap {
    width: 100%;
    justify-content: center;
  }

  .phone-frame {
    transform: scale(0.75);
    transform-origin: top center;
    margin-bottom: -175px;
  }

  .phone-hint {
    font-size: 0.78rem;
    margin-bottom: 2rem;
  }

  .float-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .badges-row {
    gap: 6px;
  }

  .quest-card {
    padding: 20px;
  }

  .prog-card {
    padding: 22px;
  }

  .streak-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .dl-btns {
    flex-direction: column;
    align-items: center;
  }

  .dl-btns .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}