/* Landing page — visual marketing layer */

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body[data-page="landing"] .site-shell {
  overflow-x: clip;
}

body[data-page="landing"] .hero-section {
  position: relative;
  padding: 48px 0 72px;
  overflow: hidden;
}

.landing-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.landing-glow--a {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  top: -120px;
  left: -80px;
  background: rgba(91, 141, 239, 0.22);
}

.landing-glow--b {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  top: 10%;
  right: -60px;
  background: rgba(167, 139, 250, 0.16);
}

.landing-glow--c {
  width: min(360px, 50vw);
  height: min(360px, 50vw);
  bottom: -80px;
  left: 35%;
  background: rgba(61, 214, 140, 0.08);
}

.landing-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
}

.landing-hero-title {
  margin: 18px 0 16px;
  font-size: clamp(2.35rem, 5.5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.landing-hero-title .accent {
  display: block;
  background: linear-gradient(120deg, #7eb3ff 0%, #a78bfa 45%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero-lead {
  max-width: 540px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.75;
}

.landing-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.landing-platforms span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-landing-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 1rem;
}

.landing-hero-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.landing-hero-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
  max-width: 520px;
}

.landing-stat {
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 24, 0.55);
  box-shadow: var(--shadow-inset);
}

.landing-stat strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.landing-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.35;
}

/* Phone mockup */
.landing-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  width: min(100%, 400px);
  margin-inline: auto;
  isolation: isolate;
}

.landing-phone {
  position: relative;
  z-index: 1;
  width: min(280px, 78vw);
  padding: 12px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, #1a2238 0%, #0c101c 100%);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(91, 141, 239, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.landing-phone-notch {
  width: 36%;
  height: 5px;
  margin: 4px auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.landing-phone-screen {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  background: #0a0f1c;
}

.landing-phone-feed {
  position: absolute;
  inset: 0 0 88px;
  overflow-y: hidden;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-y;
}

@media (max-width: 767px) {
  .landing-phone-feed {
    overflow-y: auto;
  }
}

.landing-phone-feed::-webkit-scrollbar {
  display: none;
}

.landing-phone-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.landing-phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0f1c;
}

.landing-phone-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 15%, rgba(91, 141, 239, 0.35), transparent 45%),
    linear-gradient(180deg, #1e2d52 0%, #0a0f1c 100%);
}

.landing-phone-placeholder--b {
  background:
    radial-gradient(circle at 50% 15%, rgba(167, 139, 250, 0.32), transparent 45%),
    linear-gradient(180deg, #2a2450 0%, #0a0f1c 100%);
}

.landing-phone-placeholder--c {
  background:
    radial-gradient(circle at 50% 15%, rgba(61, 214, 140, 0.22), transparent 45%),
    linear-gradient(180deg, #1a3a32 0%, #0a0f1c 100%);
}

.landing-phone-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 78px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  pointer-events: none;
}

.landing-phone-dot {
  pointer-events: auto;
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition:
    width 0.25s var(--ease-out),
    background 0.25s var(--ease-out);
}

.landing-phone-dot.is-active {
  width: 18px;
  background: linear-gradient(90deg, #5b8def, #a78bfa);
}

.landing-phone-feed--video .landing-phone-caption {
  background: rgba(5, 9, 20, 0.82);
}

.landing-phone-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 42%;
  max-height: 120px;
}

.landing-phone-wave--mini {
  height: 36%;
}

.landing-phone-wave span {
  width: 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, #7eb3ff, #5b8def);
  animation: landing-wave 1.2s ease-in-out infinite;
}

.landing-phone-wave span:nth-child(1) { height: 28%; animation-delay: 0s; }
.landing-phone-wave span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.landing-phone-wave span:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.landing-phone-wave span:nth-child(4) { height: 45%; animation-delay: 0.15s; }
.landing-phone-wave span:nth-child(5) { height: 70%; animation-delay: 0.25s; }
.landing-phone-wave span:nth-child(6) { height: 38%; animation-delay: 0.05s; }
.landing-phone-wave span:nth-child(7) { height: 62%; animation-delay: 0.18s; }

@keyframes landing-wave {
  0%, 100% { transform: scaleY(0.65); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.landing-phone-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 9, 20, 0.72);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.landing-phone-caption .chip {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.18);
  color: #8ef0c4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-phone-caption h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
}

.landing-phone-caption p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.landing-float-card {
  position: absolute;
  z-index: 3;
  max-width: min(168px, 42vw);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(14, 20, 36, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  animation: landing-float 4s ease-in-out infinite;
  pointer-events: none;
}

.landing-float-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.88rem;
}

.landing-float-card span {
  color: var(--text-soft);
}

.landing-float-card--tl {
  top: 12%;
  right: calc(50% + 152px);
  left: auto;
  animation-delay: 0s;
}

.landing-float-card--br {
  left: calc(50% + 152px);
  right: auto;
  bottom: 16%;
  animation-delay: 1.2s;
}

@keyframes landing-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Marquee */
.landing-marquee-section {
  padding: 0 0 56px;
  border-bottom: 1px solid var(--line);
}

.landing-marquee-label {
  text-align: center;
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.landing-marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.landing-marquee span {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Transform strip */
.landing-transform {
  padding: 88px 0;
}

.landing-transform-box {
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(91, 141, 239, 0.2);
  background:
    linear-gradient(135deg, rgba(91, 141, 239, 0.08) 0%, rgba(14, 20, 36, 0.9) 50%),
    var(--panel);
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.landing-transform-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.landing-transform-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.landing-transform-head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.landing-transform-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.landing-source-bar {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.landing-source-bar .label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.landing-source-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.landing-source-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d4f7a, #5b8def 40%, #a78bfa);
}

.landing-source-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.landing-transform-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-transform-arrow::before {
  content: "→";
  font-size: 2rem;
  line-height: 1;
}

.landing-clips-out {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.landing-mini-clip {
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top, rgba(91, 141, 239, 0.3), transparent 50%),
    linear-gradient(180deg, #243456 0%, #121a2e 100%);
  font-size: 0.72rem;
  font-weight: 700;
}

.landing-mini-clip em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-weight: 600;
  color: #8ef0c4;
  font-size: 0.68rem;
}

/* Bento features */
.landing-features {
  padding: 88px 0;
}

.landing-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.landing-bento-card {
  grid-column: span 6;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm), var(--shadow-inset);
  transition:
    transform 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out);
}

.landing-bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 141, 239, 0.25);
}

.landing-bento-card--wide {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(91, 141, 239, 0.12) 0%, rgba(14, 20, 36, 0.85) 55%),
    var(--panel);
}

.landing-bento-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(91, 141, 239, 0.15);
  font-size: 1.35rem;
}

.landing-bento-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.landing-bento-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.95rem;
}

.landing-bento-visual {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.landing-bento-pill {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
}

/* Workflow */
.landing-workflow {
  padding: 88px 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.landing-step {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.landing-step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(91, 141, 239, 0.25), rgba(139, 124, 248, 0.15));
  color: #c8dcff;
  font-weight: 800;
  font-size: 1rem;
}

.landing-step h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.landing-step p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

/* Pricing landing */
.landing-pricing {
  padding: 88px 0;
}

.landing-pricing-grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
}

.landing-price-beta-note {
  text-align: center;
  margin: 0 auto 20px;
  max-width: 520px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.landing-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 40px auto 0;
}

.landing-price-card--solo {
  border-color: rgba(61, 214, 140, 0.3);
}

.landing-price-badge--solo {
  background: rgba(61, 214, 140, 0.18);
  color: #8ef0c4;
}

.landing-price-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--panel);
}

.landing-price-card--pro {
  border-color: rgba(91, 141, 239, 0.35);
  background:
    linear-gradient(165deg, rgba(91, 141, 239, 0.14) 0%, rgba(14, 20, 36, 0.9) 60%),
    var(--panel);
  box-shadow: 0 24px 48px rgba(91, 141, 239, 0.12);
}

.landing-price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(91, 141, 239, 0.2);
  color: #d4e4ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-price-card h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.landing-price-amount {
  margin: 0 0 20px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.landing-price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.landing-price-card li::before {
  content: "✓ ";
  color: var(--success);
  font-weight: 700;
}

.landing-price-link {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

/* Final CTA */
.landing-final-cta {
  padding: 88px 0 100px;
}

.landing-final-box {
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(91, 141, 239, 0.22);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91, 141, 239, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(14, 20, 36, 0.95) 0%, rgba(8, 12, 22, 0.98) 100%);
  box-shadow: var(--shadow-lg);
}

.landing-final-box h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.landing-final-box p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--text-soft);
  line-height: 1.7;
}

.landing-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Scroll reveal */
.landing-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.landing-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .landing-phone-wave span,
  .landing-float-card {
    animation: none;
  }

  .landing-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .landing-visual {
    min-height: 360px;
  }

  .landing-transform-flow {
    grid-template-columns: 1fr;
  }

  .landing-transform-arrow {
    flex-direction: row;
  }

  .landing-transform-arrow::before {
    content: "↓";
  }

  .landing-bento-card,
  .landing-bento-card--wide {
    grid-column: span 12;
  }

  .landing-bento-card--wide {
    grid-template-columns: 1fr;
  }

  .landing-steps,
  .landing-pricing-grid,
  .landing-pricing-grid--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .landing-stats {
    grid-template-columns: 1fr;
  }

  .landing-clips-out {
    grid-template-columns: 1fr;
    max-width: 140px;
    margin: 0 auto;
  }

  .landing-visual {
    width: 100%;
    min-height: 380px;
  }

  .landing-float-card--tl {
    top: 0;
    right: auto;
    left: 0;
    max-width: min(150px, 46vw);
  }

  .landing-float-card--br {
    left: auto;
    right: 0;
    bottom: 8%;
    max-width: min(150px, 46vw);
  }
}
