/* —— Design tokens —— */
:root {
  --bg: #030303;
  --bg-elevated: #0a0a0c;
  --text: #fafafa;
  --text-muted: rgba(250, 250, 250, 0.55);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.45);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.4);
  --cyan: #22d3ee;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --radius-lg: 28px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(4rem, 10vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .loader__logo,
  .loader__mark {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: var(--bg);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logo-float 2.4s ease-in-out infinite;
}

.loader__logo {
  width: 72px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: none;
}

.loader__text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes logo-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.55)) drop-shadow(0 0 28px rgba(168, 85, 247, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.5)) drop-shadow(0 0 32px rgba(190, 242, 100, 0.25));
  }
}

/* Particles canvas */
.particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(3, 3, 3, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.is-scrolled {
  border-bottom-color: var(--glass-border);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}

.nav__logo:hover {
  opacity: 0.92;
}

.nav__logo-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
}

.nav__logo-text {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .nav__logo-mark {
    width: 40px;
    height: 40px;
  }
}

.nav__links {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.nav__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 24px var(--blue-glow);
  transform: translateY(-1px);
}

@media (min-width: 860px) {
  .nav__links {
    display: flex;
  }
}

main {
  position: relative;
  z-index: 1;
}

/* Glass utility */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.glass-inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(80px + 2rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-bg {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(64px, 64px);
  }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: blob-float 18s ease-in-out infinite;
}

.blob--1 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  top: -10%;
  right: -15%;
  animation-delay: 0s;
}

.blob--2 {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  bottom: 10%;
  left: -20%;
  animation-delay: -6s;
}

.blob--3 {
  width: min(40vw, 300px);
  height: min(40vw, 300px);
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: 45%;
  left: 35%;
  opacity: 0.25;
  animation-delay: -12s;
}

@keyframes blob-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(4%, -3%) scale(1.05);
  }
  66% {
    transform: translate(-3%, 4%) scale(0.98);
  }
}

.hero__inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin: 0 0 1rem;
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 32ch;
  margin: 0 0 2rem;
}

.launch-countdown {
  max-width: 460px;
  padding: 0.95rem 1rem;
  margin: 0 0 1.2rem;
}

.launch-countdown__label {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.launch-countdown__grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.launch-countdown__item {
  padding: 0.45rem 0.3rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.launch-countdown__value {
  display: block;
  font-size: clamp(1rem, 2.6vw, 1.28rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 18px rgba(59, 130, 246, 0.3);
}

.launch-countdown__unit {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.55);
}

.launch-countdown__date {
  margin: 0.65rem 0 0;
  font-size: 0.76rem;
  color: rgba(250, 250, 250, 0.48);
}

.launch-status__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.launch-status__copy {
  margin: 0;
  color: rgba(250, 250, 250, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-update {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(34, 211, 238, 0.08);
  color: rgba(250, 250, 250, 0.84);
}

.site-update__label {
  flex: 0 0 auto;
  padding: 0.24rem 0.48rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.18);
  color: #a5f3fc;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-update__text {
  font-size: 0.82rem;
  line-height: 1.4;
}

.launch-timezone {
  margin-top: 0.75rem;
  padding: 0.7rem;
}

.launch-timezone__label {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 250, 250, 0.58);
  margin-bottom: 0.45rem;
}

.launch-timezone__select {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 0.65rem;
  outline: none;
  color-scheme: dark;
}

.launch-timezone__select:focus {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.launch-timezone__select option,
.launch-timezone__select optgroup {
  color: #111;
  background: #fff;
}

.launch-timezone__result {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: rgba(250, 250, 250, 0.8);
}

.launch-reminder-btn {
  margin-top: 0.72rem;
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.88), rgba(168, 85, 247, 0.84));
  color: white;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s, filter 0.25s;
}

@media (hover: hover) and (pointer: fine) {
  .launch-reminder-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 16px 34px rgba(59, 130, 246, 0.24), 0 0 22px rgba(168, 85, 247, 0.15);
  }
}

@media (max-width: 460px) {
  .launch-countdown__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s, background 0.25s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), #6366f1);
  color: white;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 4px 24px var(--blue-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 8px 32px var(--blue-glow), 0 0 40px var(--purple-glow);
}

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn--block {
  width: 100%;
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn__text {
  white-space: nowrap;
}

/* Coming soon badge */
.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(250, 250, 250, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
}

.btn .coming-soon-pill {
  margin-left: 0.65rem;
}

.coming-soon-pill--large {
  font-size: 0.7rem;
  padding: 0.32rem 0.7rem;
}

.btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.78;
}

.btn.is-loading::after {
  content: "";
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.55rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Floating habit cards */
.float-cards {
  position: relative;
  min-height: 280px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .float-cards {
    margin: 0;
    margin-left: auto;
  }
}

.habit-card {
  position: absolute;
  padding: 1rem 1.25rem;
  min-width: 200px;
  animation: card-float 5s ease-in-out infinite;
}

.habit-card--1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.habit-card--2 {
  top: 38%;
  right: 0;
  left: auto;
  animation-delay: -1.6s;
}

.habit-card--3 {
  bottom: 0;
  left: 12%;
  animation-delay: -3.2s;
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.habit-card__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
  margin-bottom: 0.5rem;
}

.habit-card__dot--purple {
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple-glow);
}

.habit-card__dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}

.habit-card__label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
}

.habit-card__streak {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  animation: scroll-bob 2s ease-in-out infinite;
}

.scroll-hint__mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  position: relative;
}

.scroll-hint__mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--blue);
  border-radius: 2px;
  animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.4;
    transform: translateY(8px);
  }
}

@keyframes scroll-bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* Sections */
.section {
  padding: var(--section-pad) 1.5rem;
  position: relative;
  scroll-margin-top: 7rem;
}

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

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal--delay {
  transition-delay: 0.12s;
}

/* Features */
.features {
  border-top: 1px solid var(--glass-border);
  background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.03));
}

.feature-grid {
  display: grid;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.feature-card {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(168, 85, 247, 0.3), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(59, 130, 246, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .feature-card:hover::before {
    opacity: 1;
  }
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.15));
  color: var(--cyan);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

/* Preview / Dashboard */
.preview {
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
}

.preview__bg {
  position: absolute;
  inset: 20% -20%;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.08), transparent 55%);
  pointer-events: none;
}

.dashboard-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0;
}

.dashboard-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), rgba(168, 85, 247, 0.2), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.dashboard {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform 0.15s ease-out;
}

.dashboard__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.dashboard__title {
  font-weight: 700;
  font-size: 1.125rem;
}

.dashboard__date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.dashboard__row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .dashboard__row {
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }
}

.dashboard__circles {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ring {
  text-align: center;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.ring svg {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto 0.35rem;
}

.ring__bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3;
}

.ring__fg {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 94.25;
  stroke-dashoffset: 94.25;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.ring--done .ring__fg {
  animation: ring-draw-full 1.2s var(--ease-out) forwards;
}

.ring--partial .ring__fg {
  animation: ring-draw-66 1.2s var(--ease-out) 0.1s forwards;
}

.ring:not(.ring--done):not(.ring--partial) .ring__fg {
  animation: ring-draw-40 1.2s var(--ease-out) 0.2s forwards;
}

@keyframes ring-draw-full {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ring-draw-66 {
  to {
    stroke-dashoffset: 32;
  }
}

@keyframes ring-draw-40 {
  to {
    stroke-dashoffset: 56;
  }
}

.dashboard__stat {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard__stat-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  margin-top: 0.5rem;
}

.spark span {
  flex: 1;
  min-height: 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--blue), var(--purple));
  height: var(--h);
  opacity: 0.85;
  animation: bar-pulse 2.2s ease-in-out infinite;
}

.spark span:nth-child(2) {
  animation-delay: 0.15s;
}
.spark span:nth-child(3) {
  animation-delay: 0.3s;
}
.spark span:nth-child(4) {
  animation-delay: 0.45s;
}
.spark span:nth-child(5) {
  animation-delay: 0.6s;
}
.spark span:nth-child(6) {
  animation-delay: 0.75s;
}
.spark span:nth-child(7) {
  animation-delay: 0.9s;
}

@keyframes bar-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.dashboard__heatmap {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.heatmap__label {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.heatmap__cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  animation: heat-flicker 4s ease-in-out infinite;
}

.heatmap__cell--1 {
  background: rgba(59, 130, 246, 0.2);
}
.heatmap__cell--2 {
  background: rgba(59, 130, 246, 0.35);
}
.heatmap__cell--3 {
  background: rgba(99, 102, 241, 0.45);
}
.heatmap__cell--4 {
  background: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 12px var(--purple-glow);
}

.heatmap__cell:nth-child(odd) {
  animation-delay: -1s;
}

@keyframes heat-flicker {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.15);
  }
}

/* Interactive playground */
.playground {
  border-top: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse 70% 45% at 85% 10%, rgba(20, 184, 166, 0.1), transparent 58%),
    radial-gradient(ellipse 55% 40% at 8% 80%, rgba(245, 158, 11, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.playground__grid {
  display: grid;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .playground__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .play-card--checklist {
    grid-row: span 2;
  }
}

.play-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  min-height: 100%;
}

.play-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15), transparent 65%);
  pointer-events: none;
  opacity: 0.8;
}

.play-card > * {
  position: relative;
  z-index: 1;
}

.play-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.play-card__kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.play-card h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.play-score,
.timer-badge {
  flex: 0 0 auto;
  min-width: 70px;
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.habit-game {
  display: grid;
  gap: 0.7rem;
}

.habit-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 58px;
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  transition: transform 0.2s var(--ease-out), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.habit-toggle strong,
.habit-toggle small {
  display: block;
}

.habit-toggle strong {
  font-size: 0.94rem;
  line-height: 1.25;
}

.habit-toggle small {
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.habit-toggle__box {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.habit-toggle__box::before {
  content: "";
  width: 12px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  opacity: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0.7);
  transition: opacity 0.2s, transform 0.2s;
}

.habit-toggle.is-done {
  border-color: rgba(34, 197, 94, 0.42);
  background: rgba(34, 197, 94, 0.12);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.1);
}

.habit-toggle.is-done .habit-toggle__box {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  border-color: rgba(255, 255, 255, 0.24);
}

.habit-toggle.is-done .habit-toggle__box::before {
  opacity: 1;
  transform: rotate(-45deg) translate(1px, -1px) scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .habit-toggle:hover,
  .timer-presets button:hover,
  .mood-picker button:hover,
  .icon-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
  }
}

.play-progress {
  height: 10px;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.play-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.28);
  transition: width 0.35s var(--ease-out);
}

.play-feedback {
  min-height: 1.4em;
  margin: 0.8rem 0 0;
  color: rgba(250, 250, 250, 0.74);
  font-size: 0.9rem;
}

.icon-btn {
  display: inline-grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.2s var(--ease-out), border-color 0.25s, background 0.25s;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.challenge-card {
  padding: 1.1rem;
  margin-bottom: 1rem;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.challenge-card__tag {
  align-self: flex-start;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: #111;
  background: #facc15;
  font-size: 0.72rem;
  font-weight: 800;
}

.challenge-card p {
  margin: 0;
  color: rgba(250, 250, 250, 0.92);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.timer-face {
  position: relative;
  display: grid;
  width: min(220px, 70vw);
  aspect-ratio: 1;
  place-items: center;
  margin: 0.5rem auto 1rem;
}

.timer-face svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-face__bg,
.timer-face__fg {
  fill: none;
  stroke-width: 8;
}

.timer-face__bg {
  stroke: rgba(255, 255, 255, 0.08);
}

.timer-face__fg {
  stroke: url(#ringGrad);
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.25s linear;
}

.timer-face span {
  font-size: clamp(2.1rem, 7vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.timer-presets,
.mood-picker {
  display: grid;
  gap: 0.5rem;
}

.timer-presets {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0.8rem;
}

.timer-presets button,
.mood-picker button {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(250, 250, 250, 0.78);
  font-weight: 800;
  transition: transform 0.2s var(--ease-out), border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
}

.timer-presets button.is-active,
.mood-picker button.is-active {
  color: #fff;
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(34, 211, 238, 0.12);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.12);
}

.timer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.mood-picker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.9rem;
}

.mood-result {
  padding: 1rem;
  min-height: 118px;
}

.mood-result span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mood-result p {
  margin: 0;
  color: rgba(250, 250, 250, 0.86);
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 420px) {
  .play-card__top,
  .timer-actions {
    grid-template-columns: 1fr;
  }

  .play-card__top {
    display: grid;
  }

  .play-score,
  .timer-badge {
    justify-self: start;
  }
}

/* Fun break */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fun-zone {
  border-top: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse 60% 42% at 12% 5%, rgba(244, 114, 182, 0.09), transparent 60%),
    radial-gradient(ellipse 60% 42% at 88% 80%, rgba(34, 197, 94, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.fun-zone__grid {
  display: grid;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .fun-zone__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.fun-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}

.fun-card::after {
  content: "";
  position: absolute;
  inset: auto -25% -45% -25%;
  height: 170px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.13), transparent 65%);
  pointer-events: none;
}

.fun-card > * {
  position: relative;
  z-index: 1;
}

.fun-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fun-card__kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: #f9a8d4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fun-card h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.fun-pill {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 900;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.tap-target {
  display: grid;
  width: 100%;
  min-height: 190px;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 38%, rgba(34, 211, 238, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(244, 114, 182, 0.14));
  color: white;
  touch-action: manipulation;
  transition: transform 0.12s var(--ease-out), box-shadow 0.2s, border-color 0.2s;
}

.tap-target span {
  font-size: clamp(3rem, 9vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.tap-target small {
  color: rgba(250, 250, 250, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tap-target.is-live {
  border-color: rgba(34, 211, 238, 0.36);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.13), inset 0 0 28px rgba(255, 255, 255, 0.035);
}

.tap-target:active {
  transform: scale(0.985);
}

.tap-meter {
  height: 10px;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.tap-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f472b6, #facc15, #22c55e);
  transition: width 0.2s var(--ease-out);
}

.fun-note {
  min-height: 1.4em;
  margin: 0.8rem 0 0;
  color: rgba(250, 250, 250, 0.7);
  font-size: 0.9rem;
}

.excuse-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.excuse-input {
  min-width: 0;
  height: 46px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  outline: none;
}

.excuse-input::placeholder {
  color: rgba(250, 250, 250, 0.36);
}

.excuse-input:focus {
  border-color: rgba(244, 114, 182, 0.45);
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.12);
}

.excuse-result,
.fortune-stage {
  padding: 1.1rem;
  min-height: 150px;
}

.excuse-result span {
  display: block;
  margin-bottom: 0.45rem;
  color: #f9a8d4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.excuse-result p,
.fortune-stage p {
  margin: 0;
  color: rgba(250, 250, 250, 0.9);
  font-size: clamp(1rem, 2.3vw, 1.28rem);
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.fortune-stage {
  display: flex;
  align-items: center;
  position: relative;
}

.fortune-burst {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  left: 50%;
  top: 50%;
  background: var(--burst-color, #facc15);
  pointer-events: none;
  animation: fortune-pop 720ms ease-out forwards;
}

@keyframes fortune-pop {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) scale(0.15);
  }
}

@media (max-width: 520px) {
  .excuse-form {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.pricing__grid {
  display: grid;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.price-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

.price-card__tag {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}

.price-card__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.price-card--premium {
  position: relative;
  padding: 0;
  border-radius: var(--radius-lg);
}

.price-card__glow-border {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    var(--blue),
    var(--purple),
    var(--cyan),
    var(--blue)
  );
  background-size: 300% 300%;
  animation: border-shift 6s linear infinite;
  z-index: 0;
}

@keyframes border-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.price-card__inner {
  position: relative;
  z-index: 1;
  margin: 2px;
  border-radius: calc(var(--radius-lg) - 2px);
  padding: calc(2rem - 2px);
  height: calc(100% - 4px);
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(24px);
}

.price-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(168, 85, 247, 0.3));
  margin-bottom: 1rem;
  align-self: flex-start;
}

.price-card--premium .price-card__list li {
  color: rgba(250, 250, 250, 0.85);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

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

.testimonial {
  margin: 0;
  padding: 1.5rem;
  animation: testimonial-float 6s ease-in-out infinite;
}

.testimonial:nth-child(2) {
  animation-delay: -2s;
}
.testimonial:nth-child(3) {
  animation-delay: -4s;
}

@keyframes testimonial-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.15);
}

.testimonial blockquote {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(250, 250, 250, 0.9);
}

.testimonial figcaption {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  border-top: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.03), transparent);
}

.faq__grid {
  display: grid;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .faq__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq__item {
  padding: 1.35rem;
}

.faq__item h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.faq__item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* CTA */
.cta {
  text-align: center;
  padding: clamp(5rem, 12vw, 8rem) 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta__blob {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(59, 130, 246, 0.15), transparent 50%),
    radial-gradient(ellipse 60% 40% at 30% 0%, rgba(168, 85, 247, 0.1), transparent 50%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  line-height: 1.15;
}

/* Waitlist */
.waitlist {
  padding: 1rem;
  max-width: 520px;
  margin: 0 auto 1.25rem;
  border-radius: 18px;
}

.waitlist__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.waitlist__row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.waitlist__input {
  flex: 1;
  height: 44px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.25s, background 0.2s;
}

.waitlist__input::placeholder {
  color: rgba(250, 250, 250, 0.35);
}

.waitlist__input:focus {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.waitlist__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(168, 85, 247, 0.85));
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.18);
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s, filter 0.25s;
}

@media (hover: hover) and (pointer: fine) {
  .waitlist__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(59, 130, 246, 0.22), 0 0 28px rgba(168, 85, 247, 0.12);
    filter: brightness(1.05);
  }
}

.waitlist__hint {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: rgba(250, 250, 250, 0.5);
}

.early-access-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 1rem;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  color: rgba(250, 250, 250, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.12);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: access-badge-float 3s ease-in-out infinite;
}

.early-access-badge__dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.8);
  animation: access-dot-pulse 1.8s ease-in-out infinite;
}

.early-access {
  position: relative;
  display: grid;
  gap: 1.1rem;
  max-width: 560px;
  margin: 1.25rem auto 0;
  padding: clamp(1rem, 3vw, 1.35rem);
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s, filter 0.45s;
}

.early-access::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%, rgba(34, 211, 238, 0.08));
  opacity: 0.7;
  pointer-events: none;
}

.early-access__shine {
  position: absolute;
  inset: -45% auto auto -25%;
  width: 52%;
  height: 190%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: rotate(18deg) translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.early-access__status,
.early-access__actions {
  position: relative;
  z-index: 1;
}

.early-access__status {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.early-access__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.12);
}

.early-access__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out);
}

.early-access__unlock {
  position: absolute;
  opacity: 0;
  transform: scale(0.72) rotate(-12deg);
}

.early-access__kicker {
  margin: 0 0 0.15rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.early-access__title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1rem, 2.4vw, 1.28rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.early-access__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
}

.early-access__download {
  grid-column: 1 / -1;
}

.early-access.is-locked {
  border-color: rgba(255, 255, 255, 0.1);
}

.early-access.is-locked .early-access__download {
  pointer-events: auto;
  cursor: not-allowed;
  filter: grayscale(0.45);
  opacity: 0.45;
  box-shadow: none;
}

.early-access.is-locked .early-access__status {
  filter: blur(0.15px);
}

.early-access.is-unlocked {
  border-color: rgba(34, 211, 238, 0.32);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), 0 0 48px rgba(34, 211, 238, 0.16);
}

.early-access.is-unlocked .early-access__shine {
  animation: access-shine 0.9s var(--ease-out);
}

.early-access.is-unlocked .early-access__lock {
  opacity: 0;
  transform: scale(0.72) rotate(12deg);
}

.early-access.is-unlocked .early-access__unlock {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.early-access.is-unlocked .early-access__verify,
.early-access.is-unlocked .early-access__join {
  display: none;
}

.early-access.is-unlocked .early-access__download {
  grid-column: 1 / -1;
  opacity: 1;
  filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .early-access:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 78px rgba(0, 0, 0, 0.42), 0 0 46px rgba(59, 130, 246, 0.16);
  }

  .early-access__join:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 12px 38px rgba(59, 130, 246, 0.34), 0 0 42px rgba(34, 211, 238, 0.15);
  }
}

@keyframes access-badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes access-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

@keyframes access-shine {
  0% {
    opacity: 0;
    transform: rotate(18deg) translateX(-120%);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(18deg) translateX(250%);
  }
}

@media (max-width: 420px) {
  .waitlist__row {
    flex-direction: column;
    align-items: stretch;
  }
  .waitlist__btn {
    width: 100%;
  }

  .early-access__status {
    align-items: flex-start;
  }

  .early-access__actions {
    grid-template-columns: 1fr;
  }

  .early-access__actions .btn {
    width: 100%;
  }
}

/* Footer */
.footer {
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: none;
}

.footer__brand-text {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.footer__contacts {
  margin: 0 auto 2.25rem;
  max-width: 400px;
  text-align: left;
  scroll-margin-top: 5.5rem;
}

.footer__contacts-title {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.footer__mail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__mail-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__mail {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.2s, text-shadow 0.25s;
}

.footer__mail:hover {
  color: #fff;
  text-shadow: 0 0 20px var(--blue-glow);
}

.footer__mail-hint {
  font-size: 0.75rem;
  color: rgba(250, 250, 250, 0.45);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer__social a {
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}

.footer__social a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__resource {
  max-width: 460px;
  margin: 0 auto 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.08));
}

.footer__resource-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__resource a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.footer__resource a:hover {
  text-shadow: 0 0 18px rgba(59, 130, 246, 0.4);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.5rem;
  margin-bottom: 1rem;
}

.footer__legal a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.footer__domain {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
}

.footer__domain a {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s, text-shadow 0.25s;
}

.footer__domain a:hover {
  color: var(--text);
  text-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

.footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(250, 250, 250, 0.35);
}

/* Free resources */
.resource-page {
  min-height: 100vh;
  padding: calc(90px + 2.5rem) 1.5rem 4rem;
  background:
    radial-gradient(ellipse 70% 45% at 80% 5%, rgba(59, 130, 246, 0.14), transparent 58%),
    radial-gradient(ellipse 60% 45% at 15% 20%, rgba(168, 85, 247, 0.1), transparent 60%),
    var(--bg);
}

.resource-hero {
  max-width: 840px;
  margin: 0 auto 3rem;
  text-align: center;
}

.resource-hero__eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.resource-hero h1 {
  margin: 0 auto 1.2rem;
  max-width: 780px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.resource-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.resource-content {
  display: grid;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.resource-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.resource-card h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.resource-card p {
  margin: 0;
  color: rgba(250, 250, 250, 0.72);
}

.resource-card p + p {
  margin-top: 0.9rem;
}

.resource-checklist {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-checklist li {
  position: relative;
  padding-left: 1.65rem;
  color: rgba(250, 250, 250, 0.78);
}

.resource-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.28);
}

.resource-card--highlight {
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(168, 85, 247, 0.12));
}

.resource-card--highlight p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.resource-card--highlight .btn {
  margin-top: 1.35rem;
}

.deletion-content {
  max-width: 860px;
}

.deletion-confirmation {
  text-align: left;
}

.deletion-confirmation h2,
.deletion-confirmation p {
  text-align: center;
}

.deletion-confirmation__check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 680px;
  margin: 1.3rem auto 0;
  color: rgba(250, 250, 250, 0.78);
  cursor: pointer;
}

.deletion-confirmation__check input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.22rem;
  accent-color: var(--cyan);
}

.deletion-confirmation__button {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.deletion-confirmation__button.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
  filter: grayscale(0.4);
  box-shadow: none;
}

.deletion-confirmation__support {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.deletion-confirmation__support a {
  color: var(--cyan);
}

/* Demo toast */
.demo-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  background: rgba(15, 15, 18, 0.95);
  border: 1px solid var(--glass-border);
  font-size: 0.875rem;
  max-width: min(90vw, 380px);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.45s var(--ease-out);
}

.demo-toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

.tester-modal-open {
  overflow: hidden;
}

.tester-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out), visibility 0.28s;
}

.tester-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.tester-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(16px);
}

.tester-modal__panel {
  position: relative;
  width: min(100%, 440px);
  padding: clamp(1.25rem, 4vw, 1.65rem);
  border-radius: 24px;
  text-align: center;
  transform: translateY(18px) scale(0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 48px rgba(59, 130, 246, 0.16);
  transition: transform 0.36s var(--ease-out);
}

.tester-modal.is-visible .tester-modal__panel {
  transform: translateY(0) scale(1);
}

.tester-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  color: rgba(250, 250, 250, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s var(--ease-out), color 0.2s, background 0.2s;
}

.tester-modal__close svg {
  width: 1rem;
  height: 1rem;
}

.tester-modal__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(8deg) scale(1.04);
}

.tester-modal__icon {
  display: inline-grid;
  place-items: center;
  width: 3.45rem;
  height: 3.45rem;
  margin-bottom: 1rem;
  border-radius: 20px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.18);
}

.tester-modal__icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.tester-modal__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tester-modal__title {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tester-modal__copy {
  margin: 0.85rem 0 1.25rem;
  color: rgba(250, 250, 250, 0.66);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tester-modal__link,
.tester-modal__joined {
  width: 100%;
}

.tester-modal__joined {
  margin-top: 0.65rem;
}
