.landing {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ---- Nav ---- */

.landing__nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.8), transparent);
}

.landing__nav .btn--ghost {
  border-color: var(--color-accent);
  color: var(--color-accent-text);
}

.landing__nav .btn--ghost:hover {
  background: var(--color-accent-muted);
  border-color: var(--color-accent-hover);
}

.landing__nav-logo {
  font-size: var(--text-lg);
  color: var(--color-text-primary);
}

/* ---- Hero ---- */

.landing__hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
}

.landing__hero-bg {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}

.landing__hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: var(--space-12) var(--space-10);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.landing__hero-content::before {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--space-16));
  background: radial-gradient(
    ellipse 60% 70% at 50% 45%,
    rgba(10,10,11, 0.78) 0%,
    rgba(10,10,11, 0.55) 40%,
    rgba(10,10,11, 0.20) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
  border-radius: var(--radius-xl);
}

.landing__title {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  text-shadow: 0 0 40px rgba(10,10,11, 0.9), 0 0 80px rgba(10,10,11, 0.6);
}

.landing__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
  text-shadow: 0 0 30px rgba(10,10,11, 0.8);
}

.landing__hero-ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.landing__hero-ctas .btn--ghost {
  border-color: var(--color-border-strong);
  background: rgba(10,10,11, 0.45);
  color: var(--color-text-primary);
}
.landing__hero-ctas .btn--ghost:hover {
  border-color: var(--color-text-secondary);
  background: rgba(10,10,11, 0.65);
  color: var(--color-text-primary);
}

/* ---- Hero content reveal ---- */

.landing__hero-content--hidden {
  opacity: 0;
  transform: scale(0.95);
}

.landing__hero-content--visible {
  opacity: 1;
  transform: scale(1);
}

/* Safety: if animation never starts, reveal after 5s */
@keyframes landing-hero-fallback {
  to { opacity: 1; transform: scale(1); }
}
.landing__hero-content--hidden:not(.landing__hero-content--visible) {
  animation: landing-hero-fallback 0.6s ease 5s forwards;
}

/* ---- Shared section styles ---- */

.landing__section {
  position: relative;
  padding: var(--space-20) var(--space-8);
  text-align: center;
}

.landing__section--transparent::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    ellipse 120% 100% at 50% 50%,
    rgba(10,10,11, 0.92) 0%,
    rgba(10,10,11, 0.88) 50%,
    rgba(10,10,11, 0.80) 100%
  );
  pointer-events: none;
  z-index: 0;
}

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

.landing__container {
  max-width: var(--container-lg);
  margin: 0 auto;
  width: 100%;
}

.landing__section-label {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--color-accent-text);
  text-shadow: 0 0 20px rgba(10,10,11, 0.8);
}

.landing__section-title {
  font-size: var(--text-4xl);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.landing__section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-12);
  line-height: var(--leading-relaxed);
}

.landing__section .grid {
  gap: var(--space-6);
}

/* ---- Scroll reveal ---- */

[data-controller="scroll-reveal"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---- S2: Pain points ---- */

.landing__pain-card {
  text-align: center;
  background: rgba(20,20,22, 0.5);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
}

.landing__pain-stat {
  display: block;
  font-size: var(--text-4xl);
  color: var(--color-accent-text);
  margin-bottom: var(--space-3);
  font-weight: 600;
  text-shadow: 0 0 30px rgba(10,10,11, 0.85);
}

.landing__pain-desc {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ---- S3: Features ---- */

.landing__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 680px;
  margin: 0 auto;
}

.landing__feature {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  text-align: left;
  background: rgba(20,20,22, 0.45);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-base);
}

.landing__feature:hover {
  border-color: var(--color-border-strong);
}

.landing__feature-icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(212,168,83, 0.10);
  border: 1px solid rgba(212,168,83, 0.18);
}

.landing__feature-svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent-text);
}

.landing__feature-text {
  flex: 1;
  min-width: 0;
}

.landing__feature-name {
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.landing__feature-desc {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}

/* ---- S4: Steps ---- */

.landing__steps-list {
  counter-reset: step;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.landing__step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  position: relative;
  padding-bottom: var(--space-8);
}

.landing__step:last-child {
  padding-bottom: 0;
}

.landing__step::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: var(--color-border-strong);
  opacity: 0.7;
}

.landing__step:last-child::after {
  display: none;
}

.landing__step-number {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: rgba(212,168,83, 0.18);
  border: 1px solid rgba(212,168,83, 0.25);
  color: var(--color-accent-text);
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm);
  box-shadow: 0 0 12px rgba(10,10,11, 0.6);
}

.landing__step-content {
  flex: 1;
  padding-top: var(--space-2);
}

.landing__step-title {
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.landing__step-desc {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ---- S5: ROI stats ---- */

.landing__roi-card {
  text-align: center;
  background: rgba(20,20,22, 0.6);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
}

.landing__roi-value {
  display: block;
  font-size: var(--text-5xl);
  font-family: var(--font-serif);
  color: var(--color-accent-text);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-2);
  text-shadow: 0 0 30px rgba(10,10,11, 0.85);
}

.landing__roi-label {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* ---- S6: Proof ---- */

.landing__proof {
  text-align: center;
}

.landing__proof-badge {
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  margin-top: var(--space-4);
}

/* ---- S7: Final CTA ---- */

.landing__final-cta {
  padding: var(--space-20) var(--space-8);
}

.landing__final-cta .landing__section-subtitle {
  margin-bottom: var(--space-8);
}

/* ---- Footer ---- */

.landing__footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--color-border-subtle);
  padding: var(--space-8);
  background: var(--color-bg-primary);
}

.landing__footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.landing__footer-logo {
  font-size: var(--text-2xl);
  color: var(--color-text-primary);
}

.landing__footer-nav {
  display: flex;
  gap: var(--space-6);
}

.landing__footer-nav a {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.landing__footer-nav a:hover {
  color: var(--color-text-primary);
}

.landing__footer-copy {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  opacity: 0.72;
}

/* ---- Light mode ---- */

[data-theme="light"] .landing__hero-content::before {
  background: radial-gradient(
    ellipse 60% 70% at 50% 45%,
    rgba(250,250,247, 0.85) 0%,
    rgba(250,250,247, 0.60) 40%,
    rgba(250,250,247, 0.25) 70%,
    transparent 100%
  );
}

[data-theme="light"] .landing__section--transparent::before {
  background: radial-gradient(
    ellipse 120% 100% at 50% 50%,
    rgba(250,250,247, 0.94) 0%,
    rgba(250,250,247, 0.90) 50%,
    rgba(250,250,247, 0.84) 100%
  );
}

[data-theme="light"] .landing__title {
  text-shadow: 0 0 40px rgba(250,250,247, 0.95), 0 0 80px rgba(250,250,247, 0.7);
}

[data-theme="light"] .landing__subtitle {
  text-shadow: 0 0 30px rgba(250,250,247, 0.85);
}

[data-theme="light"] .landing__pain-stat,
[data-theme="light"] .landing__roi-value,
[data-theme="light"] .landing__section-label {
  text-shadow: 0 0 30px rgba(250,250,247, 0.9);
}

[data-theme="light"] .landing__hero-ctas .btn--ghost {
  border-color: var(--color-border-default);
  background: rgba(250,250,247, 0.50);
  color: var(--color-text-primary);
}
[data-theme="light"] .landing__hero-ctas .btn--ghost:hover {
  border-color: var(--color-border-strong);
  background: rgba(250,250,247, 0.70);
}

[data-theme="light"] .landing__pain-card,
[data-theme="light"] .landing__roi-card,
[data-theme="light"] .landing__feature {
  background: rgba(255,255,255, 0.55);
  border-color: var(--color-border-subtle);
}

[data-theme="light"] .landing__feature-icon-wrap {
  background: rgba(212,168,83, 0.08);
  border-color: rgba(212,168,83, 0.14);
}

[data-theme="light"] .landing__step-number {
  box-shadow: 0 0 12px rgba(250,250,247, 0.6);
}

/* ---- Mobile ---- */

@media (max-width: 768px) {
  .landing__title { font-size: var(--text-3xl); }
  .landing__subtitle { font-size: var(--text-base); }
  .landing__section { padding: var(--space-12) var(--space-5); }
  .landing__section-title { font-size: var(--text-3xl); }
  .landing__pain-stat { font-size: var(--text-3xl); }
  .landing__roi-value { font-size: var(--text-4xl); }

  .landing__hero-content {
    padding: var(--space-8) var(--space-6);
  }
  .landing__hero-content::before {
    inset: calc(-1 * var(--space-10));
  }
  .landing__pain-card,
  .landing__roi-card {
    padding: var(--space-6) var(--space-5);
  }

  .landing__feature {
    padding: var(--space-5);
  }

  .landing__footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
