/* ==========================================================================
   product-page.css — Lucihub product page (lucihub.html)
   ========================================================================== */

/* ─── 1. Hero ──────────────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  background: #0d1117;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 6.5rem) var(--section-pad-x) 3rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.lp-hero__glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56.25rem;
  max-width: 180vw;
  height: 31.25rem;
  border-radius: 50%;
  opacity: 0.2;
  background: radial-gradient(ellipse, #00c957 0%, transparent 70%);
}

.lp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.lp-hero__eyebrow {
  color: var(--accent-glow);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1.25rem;
}

.lp-hero__title {
  color: #fff;
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.lp-hero__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.lp-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}

.lp-hero__actions .btn {
  padding: 1rem 1.75rem;
  font-size: var(--fs-base);
}

.lp-hero__shot {
  max-width: 640px;
  margin: 2.5rem auto 0;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
}

.lp-hero__shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── 2. Value prop ────────────────────────────────────────────────────── */
.lp-value {
  background: #fff;
  padding: var(--section-pad-y) var(--section-pad-x);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.lp-value .lp-value__grid {
  width: 100%;
}

.lp-value__grid {
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.lp-value__eyebrow {
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.lp-value__title {
  font-weight: 900;
  color: var(--text);
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.lp-value__desc {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--fs-md);
  margin-bottom: 2rem;
}

.lp-value__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.lp-value__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.lp-value__item svg {
  flex-shrink: 0;
  color: var(--accent);
}

.lp-value__shot {
  filter: drop-shadow(0 20px 35px rgba(15, 23, 42, 0.2));
}

.lp-value__shot img {
  width: 100%;
  height: auto;
}

/* ─── 3. Redefining experience ─────────────────────────────────────────── */
.lp-redefine {
  background: var(--surface-section-alt);
  padding: var(--section-pad-y) var(--section-pad-x);
  text-align: center;
}

.lp-redefine__inner {
  max-width: 800px;
  margin: 0 auto;
}

.lp-redefine__title {
  font-weight: 900;
  color: var(--text);
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.lp-redefine__desc {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--fs-md);
  max-width: 720px;
  margin: 0 auto;
}

/* ─── 4. How it Works ──────────────────────────────────────────────────── */
.lp-steps {
  background: #fff;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.lp-steps__inner {
  max-width: 1152px;
  margin: 0 auto;
}

.lp-steps__eyebrow {
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 1rem;
}

.lp-steps__title {
  font-weight: 900;
  color: var(--text);
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 1rem;
}

.lp-steps__sub {
  color: var(--text-secondary);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
  font-size: var(--fs-md);
}

.lp-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.lp-step {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  background: var(--surface-card-alt);
  transition: transform 0.2s ease;
}

.lp-step:hover {
  transform: translateY(-0.25rem);
}

.lp-step__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(0, 153, 64, 0.1);
  color: var(--accent);
}

.lp-step__num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.9rem;
  opacity: 0.2;
}

.lp-step__title {
  color: var(--text);
  font-weight: 700;
  font-size: var(--fs-md);
  margin-bottom: 0.5rem;
}

.lp-step__desc {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* ─── 5. Use Cases ──────────────────────────────────────────────────────── */
.lp-usecases {
  background: #0d1117;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.lp-usecases__inner {
  max-width: 1152px;
  margin: 0 auto;
}

.lp-usecases__eyebrow {
  color: var(--accent-glow);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 1rem;
}

.lp-usecases__title {
  font-weight: 900;
  color: #fff;
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 3rem;
}

.lp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  list-style: none;
}

.lp-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lp-tab:hover {
  color: rgba(255, 255, 255, 0.85);
}

.lp-tab.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.lp-usecase-panels {
  position: relative;
}

.lp-usecase-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.lp-usecase-panel.is-active {
  display: grid;
}

.lp-usecase-panel__shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-usecase-panel__shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lp-usecase-panel__label {
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-xl);
  margin-bottom: 1rem;
}

.lp-usecase-panel__desc {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  font-size: var(--fs-md);
}

.lp-usecase-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--accent-glow);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.lp-usecase-panel__link:hover {
  gap: 0.75rem;
}

/* ─── 6. See It In Action: How-To carousel ──────────────────────────────── */
.lp-howto {
  background: var(--surface-section-alt);
  padding: var(--section-pad-y) var(--section-pad-x);
}

.lp-howto__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.lp-howto__header {
  text-align: center;
  margin-bottom: 2rem;
}

.lp-howto__title {
  font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 0.5rem;
}

.lp-howto__pills {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.lp-howto__pill {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  font-weight: 700;
  font-size: var(--fs-sm);
  background: #e2e8f0;
  color: var(--text-muted);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lp-howto__pill:hover {
  transform: scale(1.12);
}

.lp-howto__pill.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(0, 153, 64, 0.4);
}

.lp-howto__frame {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 1.842 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-card);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
}

.lp-howto__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lp-howto__img.is-active {
  opacity: 1;
  position: relative;
}

.lp-howto__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 860px;
  margin: 2rem auto 0;
}

.lp-howto__nav {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: #fff;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lp-howto__nav:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
}

.lp-howto__nav svg {
  width: 1.125rem;
  height: 1.125rem;
}

.lp-howto__caption {
  flex: 1;
  text-align: center;
  min-height: 5.625rem;
}

.lp-howto__step-panel {
  display: none;
}

.lp-howto__step-panel.is-active {
  display: block;
  animation: lp-howto-caption-in 0.5s ease both;
}

@keyframes lp-howto-caption-in {
  from { opacity: 0; transform: translateY(0.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.lp-howto__step-label {
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}

.lp-howto__step-panel h3 {
  color: var(--text);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lp-howto__step-panel p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 auto;
}

.lp-howto__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.lp-howto__dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.lp-howto__dots button.is-active {
  width: 1.75rem;
  border-radius: var(--radius-xs);
  background: var(--accent);
}

@media (max-width: 640px) {
  .lp-howto__caption {
    min-height: 7.5rem;
  }
}

/* ─── 7. Testimonial ────────────────────────────────────────────────────── */
.lp-testimonial {
  background: #fff;
  padding: var(--section-pad-y) var(--section-pad-x);
  text-align: center;
}

.lp-testimonial__inner {
  max-width: 800px;
  margin: 0 auto;
}

.lp-testimonial__icon {
  color: var(--accent);
  margin: 0 auto 2rem;
  display: block;
}

.lp-testimonial__quote {
  color: var(--text);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  font-style: normal;
}

.lp-testimonial__name {
  color: var(--accent);
  font-weight: 700;
  font-size: var(--fs-md);
}

.lp-testimonial__role {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── 8. CTA band (matches footer__cta-band visual family) ─────────────── */
.cta-band {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--cta-band-bg);
}

.cta-band__inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-band__headline {
  color: #fff;
  font-weight: 900;
  font-size: var(--fs-h2);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cta-band__accent {
  color: var(--accent-glow);
}

.cta-band__sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-md);
  margin-bottom: 2rem;
}

.cta-band__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .lp-value__list {
    grid-template-columns: 1fr 1fr;
  }

  .lp-steps__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .lp-value__grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-usecase-panel {
    grid-template-columns: 1fr 1fr;
  }
}

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