/* Root landing page — conversion layout extensions */

.landing-root .hero-split {
  min-height: auto;
      padding: var(--space-10) var(--space-6) var(--space-16);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
      align-items: center;
      text-align: left;
}

@media (min-width: 900px) {
  .landing-root .hero-split {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-12) var(--space-8) var(--space-16);
  }
  .landing-root .hero-split .hero-content--split {
    order: 0;
  }
  .landing-root .hero-split .hero-visual {
    order: 1;
  }
}

.landing-root .hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-root .hero-visual-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.landing-root .hero-content--split {
  max-width: 640px;
  margin: 0;
  text-align: left;
}

@media (max-width: 899px) {
  .landing-root .hero-content--split {
    text-align: center;
  }
  .landing-root .hero-cta {
    justify-content: center;
  }
}

.landing-root .hero-subtitle--wide {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.landing-root .hero-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
}

/* How it works */
.how-section {
  padding: var(--space-16) var(--space-6);
  background: var(--color-surface);
}

.how-steps {
  list-style: none;
  max-width: 960px;
  margin: var(--space-10) auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-6);
  padding: 0;
}

.how-step {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.how-step h3 {
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.how-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Explore grid */
.explore-section {
  padding: var(--space-16) var(--space-6);
  background: var(--color-surface-alt);
}

.explore-grid {
  max-width: 1040px;
  margin: var(--space-10) auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-4);
}

.explore-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.explore-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.explore-card-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.explore-card-title {
  font-weight: 700;
  font-size: var(--text-md);
}

.explore-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.explore-admin-note {
  color: var(--color-primary);
  font-weight: 600;
}

/* Showcase */
.showcase-section {
  padding: var(--space-16) var(--space-6);
  background: var(--color-surface);
}

.showcase-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .showcase-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.showcase-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.showcase-desc {
  color: var(--color-text-muted);
  font-size: var(--text-md);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.showcase-bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.showcase-bullets li {
  margin-bottom: var(--space-2);
}

.showcase-media {
  display: flex;
  justify-content: center;
}

.showcase-frame {
  position: relative;
  max-width: 340px;
}

.showcase-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.showcase-float {
  position: absolute;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  animation: showcaseFloat 5s ease-in-out infinite;
}

.showcase-float--a {
  top: 12%;
  right: -4%;
  animation-delay: 0s;
}

.showcase-float--b {
  bottom: 28%;
  left: -6%;
  animation-delay: 1.2s;
}

.showcase-float--c {
  top: 38%;
  left: -4%;
  animation-delay: 2.4s;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-float {
    animation: none;
  }
}

@keyframes showcaseFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* CTA extras */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Testimonial avatar */
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

/* Section subtitle lines: centered with page (override any inherited alignment) */
.landing-root .how-section .features-subtitle,
.landing-root .explore-section .features-subtitle,
.landing-root .features > .features-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 40rem;
}

.landing-root .cta-section .cta-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
}
