/* Landing — Grind N Grow Eventz */

.landing {
  --land-ink: #f4f7fb;
  --land-muted: rgba(244, 247, 251, 0.62);
  --land-faint: rgba(244, 247, 251, 0.38);
  --land-blue: #3b82f6;
  --land-blue-soft: #60a5fa;
  --land-navy: #0b1220;
  --land-navy-2: #0e1628;
  background: var(--land-navy);
  color: var(--land-ink);
  overflow-x: hidden;
}

.landing-hero__brand,
.landing-nav__word,
.landing-close__brand,
.landing-section__title,
.landing-pricing__price,
.landing-rhythm__step,
.landing-hero__headline,
.landing-door__flash span,
.landing-rhythm__list h3 {
  font-family: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
}

/* ——— Nav ——— */
.landing-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

@media (min-width: 640px) {
  .landing-nav {
    padding: 1.25rem 2rem;
  }
}

.landing-nav.is-solid {
  background: rgba(11, 18, 32, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.landing-nav__brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.landing-nav__word {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.landing-nav__mark {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--land-blue-soft);
}

.landing-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-nav__link {
  color: var(--land-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
}

.landing-nav__link:hover {
  color: #fff;
}

/* ——— Hero ——— */
.landing-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 1.25rem 3.5rem;
  isolation: isolate;
}

@media (min-width: 768px) {
  .landing-hero {
    justify-content: center;
    padding: 8rem 2.5rem 5rem;
  }
}

.landing-hero__stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #070b14;
}

.landing-hero__banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: landBanner 18s ease-in-out infinite alternate;
}

.landing-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.55) 42%, rgba(7, 11, 20, 0.25) 68%, rgba(7, 11, 20, 0.45) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.45) 0%, transparent 28%, rgba(7, 11, 20, 0.82) 100%);
}

.landing-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 72% 28%, rgba(59, 130, 246, 0.28), transparent 65%);
  pointer-events: none;
  animation: landGlow 10s ease-in-out infinite alternate;
}

.landing-hero__copy {
  position: relative;
  max-width: 42rem;
  z-index: 1;
}

.landing-hero__brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0 0 1.5rem;
  animation: landRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing-hero__brand-main {
  font-size: clamp(2.6rem, 8.5vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: #fff;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.landing-hero__brand-sub {
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--land-blue-soft);
  margin-top: 0.4rem;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.landing-hero__headline {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.28;
  color: rgba(255, 255, 255, 0.94);
  max-width: 22ch;
  animation: landRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.landing-hero__support {
  margin: 1rem 0 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--land-muted);
  max-width: 28ch;
  animation: landRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.landing-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
  animation: landRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

/* Landing buttons — self-contained (do not rely on app.css .btn-primary) */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.5rem;
  border-radius: 0.9rem;
  border: 1px solid transparent;
  background: #3b82f6;
  color: #fff !important;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.landing-btn:hover {
  background: #60a5fa;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.42);
  transform: translateY(-1px);
}
.landing-btn:active {
  transform: translateY(0);
}
.landing-btn--nav {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  border-radius: 0.7rem;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}
.landing-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: none;
  font-weight: 600;
}
.landing-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
  box-shadow: none;
  transform: none;
}

/* legacy aliases */
.landing-cta {
  /* kept for any cached markup */
}
.landing-cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.15rem;
  color: var(--land-muted);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.landing-cta-ghost:hover {
  color: #fff;
  border-bottom-color: rgba(96, 165, 250, 0.5);
}

.landing-hero__tag {
  position: absolute;
  left: 1.25rem;
  bottom: 1.35rem;
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(96, 165, 250, 0.55);
  animation: landRise 1s ease 0.45s both;
}

@media (min-width: 768px) {
  .landing-hero__tag {
    left: 2.5rem;
    bottom: 2rem;
  }
}

/* ——— Sections ——— */
.landing-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .landing-wrap {
    padding: 0 2rem;
  }
}

.landing-section {
  padding: 5.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-section__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
  text-decoration: none;
  text-rendering: optimizeLegibility;
}

.landing-section__lede {
  margin: 1rem 0 0;
  color: var(--land-muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Rhythm */
.landing-rhythm {
  background: linear-gradient(180deg, #0b1220 0%, #0e1628 100%);
}

.landing-rhythm__list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .landing-rhythm__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.landing-rhythm__list li {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(96, 165, 250, 0.28);
}

.landing-rhythm__step {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--land-blue-soft);
  margin-bottom: 0.85rem;
}

.landing-rhythm__list h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.landing-rhythm__list p {
  margin: 0.5rem 0 0;
  color: var(--land-faint);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Door */
.landing-door {
  background: #080d18;
}

.landing-door__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .landing-door__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.landing-door__stage {
  display: flex;
  justify-content: center;
}

.landing-door__phone {
  width: min(100%, 280px);
  aspect-ratio: 9 / 16;
  border-radius: 2rem;
  padding: 0.65rem;
  background: linear-gradient(160deg, #1a2332, #0b1220);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(59, 130, 246, 0.15);
}

.landing-door__flash {
  height: 100%;
  border-radius: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: #065f46;
  color: #ecfdf5;
  animation: landFlash 3.5s ease-in-out infinite;
}

.landing-door__flash span {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.landing-door__flash em {
  margin-top: 0.65rem;
  font-style: normal;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Pricing */
.landing-pricing__row {
  margin-top: 2.75rem;
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
}

@media (min-width: 768px) {
  .landing-pricing__row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.landing-pricing__name {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--land-blue-soft);
}

.landing-pricing__price {
  margin: 0.55rem 0 0;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.landing-pricing__price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--land-faint);
  margin-left: 0.15rem;
}

.landing-pricing__blurb {
  margin: 0.4rem 0 0;
  color: var(--land-faint);
  font-size: 0.9rem;
}

.landing-pricing__row .is-featured {
  position: relative;
}

.landing-pricing__row .is-featured::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: -0.35rem;
  bottom: -0.35rem;
  width: 2px;
  background: var(--land-blue);
  border-radius: 2px;
}

@media (max-width: 767px) {
  .landing-pricing__row .is-featured::before {
    left: 0;
    top: -0.75rem;
    bottom: auto;
    width: 2.5rem;
    height: 2px;
  }
}

/* Close */
.landing-close {
  padding: 6rem 0 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(59, 130, 246, 0.2), transparent 60%),
    #0b1220;
}

.landing-close__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.landing-close__brand {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.landing-close__line {
  margin: 0;
  color: var(--land-muted);
  font-size: 1.15rem;
}

.landing-footer {
  padding: 2rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--land-faint);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-footer__tag {
  margin-top: 0.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: rgba(96, 165, 250, 0.45);
}

/* Motion */
@keyframes landRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes landBanner {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.1) translate(-1.2%, 1%);
  }
}

@keyframes landGlow {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}

@keyframes landFlash {
  0%,
  70%,
  100% {
    background: #065f46;
    transform: scale(1);
  }
  78% {
    background: #047857;
    transform: scale(1.02);
  }
  86% {
    background: #065f46;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero__brand,
  .landing-hero__headline,
  .landing-hero__support,
  .landing-hero__cta,
  .landing-hero__tag,
  .landing-hero__banner,
  .landing-hero__glow,
  .landing-door__flash,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .landing-hero__banner {
    transform: scale(1.04) !important;
  }
}

/* ——— Light landing ——— */
html[data-theme="light"] .landing {
  --land-ink: #0f172a;
  --land-muted: rgba(15, 23, 42, 0.62);
  --land-faint: rgba(15, 23, 42, 0.42);
  --land-blue: #2563eb;
  --land-blue-soft: #3b82f6;
  --land-navy: #f4f7fb;
  --land-navy-2: #eef2f7;
  background: var(--land-navy);
  color: var(--land-ink);
}

/* Keep nav readable over the dark hero… */
html[data-theme="light"] .landing-nav:not(.is-solid) {
  color: #f4f7fb;
}

html[data-theme="light"] .landing-nav:not(.is-solid) .landing-nav__link {
  color: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .landing-nav:not(.is-solid) .landing-nav__link:hover {
  color: #fff;
}

html[data-theme="light"] .landing-nav:not(.is-solid) .theme-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f4f7fb;
}

/* …then switch to ink once the bar goes solid */
html[data-theme="light"] .landing-nav.is-solid {
  background: rgba(244, 247, 251, 0.92);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

html[data-theme="light"] .landing-nav.is-solid .landing-nav__link {
  color: rgba(15, 23, 42, 0.6);
}

html[data-theme="light"] .landing-nav.is-solid .landing-nav__link:hover {
  color: #0f172a;
}

html[data-theme="light"] .landing-hero__brand-main,
html[data-theme="light"] .landing-hero__headline {
  color: #fff;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .landing-hero__support {
  color: rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .landing-hero__scrim {
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.78) 0%, rgba(7, 11, 20, 0.45) 45%, rgba(7, 11, 20, 0.2) 70%, rgba(7, 11, 20, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.35) 0%, transparent 30%, rgba(7, 11, 20, 0.75) 100%);
}

html[data-theme="light"] .landing-btn--ghost {
  color: rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="light"] .landing-cta-ghost {
  color: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .landing-rhythm,
html[data-theme="light"] .landing-door,
html[data-theme="light"] .landing-close {
  background: #ffffff;
  border-top-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .landing-rhythm__list li {
  border-top-color: rgba(37, 99, 235, 0.25);
}

html[data-theme="light"] .landing-door {
  background: #f8fafc;
}

html[data-theme="light"] .landing-door__phone {
  background: linear-gradient(160deg, #e2e8f0, #ffffff);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .landing-pricing__row {
  border-top-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .landing-close {
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(37, 99, 235, 0.1), transparent 60%),
    #ffffff;
}

html[data-theme="light"] .landing-footer {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.45);
}

/* About */
.landing-about {
  background: #0b1220;
}
.landing-about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .landing-about__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}
.landing-about__points {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.landing-about__points li {
  padding-left: 1rem;
  border-left: 2px solid rgba(96, 165, 250, 0.45);
  color: var(--land-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.landing-about__points strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.landing-about__media,
.landing-door__photo {
  margin: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}
.landing-about__media img,
.landing-door__photo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.landing-about.is-in .landing-about__media img,
.landing-door.is-in .landing-door__photo img {
  transform: scale(1);
}
.landing-pricing__cta {
  margin-top: 2.5rem;
}
