/* ═══════════════════════════════════════════════
   RedLab Home Page — Page-specific Styles
   ═══════════════════════════════════════════════ */

/* ── Hero (centered banner) ── */
.ln-hero { padding: 140px 0 60px; text-align: center; }
.ln-hero-center { max-width: 800px; margin: 0 auto; }
.ln-hero-badge { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 20px; text-transform: uppercase; }
.ln-hero-center h1 { font-size: 48px; font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 20px; }
.ln-hero-center h1 span { color: var(--red); }
.ln-hero-sub { font-size: 17px; color: var(--gray); line-height: 1.7; margin-bottom: 36px; max-width: 620px; margin-left: auto; margin-right: auto; }
.ln-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Hero screenshot ── */
.ln-hero-screenshot { margin-top: -10px; }
.ln-container .ln-hero-ss-media { max-width: 920px; margin: 0 auto; }
.ln-hero-ss-media { width: 100%; display: block; }
.ln-hero-ss-video { width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.ln-hero-ss-video iframe { width: 100%; height: 100%; border: none; }
.ln-hero-ss-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; aspect-ratio: 16/9; background: var(--gray-light); border-radius: 12px; border: 2px dashed var(--border); color: var(--gray); font-size: 14px; }

/* ── Stats bar (horizontal, border top/bottom) ── */
.ln-stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.ln-stats-row { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.ln-stat-item { text-align: center; }
.ln-stat-item .ln-stat-num { font-size: 40px; font-weight: 900; color: var(--red); letter-spacing: -0.02em; line-height: 1.1; }
.ln-stat-item .ln-stat-label { font-size: 14px; color: var(--gray); margin-top: 4px; font-weight: 500; }

/* ── Zigzag feature rows ── */
.ln-zigzag { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ln-zigzag-reverse .ln-zigzag-visual { order: -1; }
.ln-zigzag-media { width: 100%; display: block; }
.ln-zigzag-video { width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; }
.ln-zigzag-video iframe { width: 100%; height: 100%; border: none; }

/* ── Sub-feature list ── */
.ln-sub-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 20px; }
.ln-sub-list li { display: flex; gap: 14px; align-items: flex-start; }
.ln-sub-icon { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: var(--red); margin-top: 2px; }
.ln-sub-content h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.ln-sub-content p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ── CTA ── */
.ln-cta { background: var(--dark); color: var(--white); padding: 80px 24px; }
.ln-cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.ln-cta p { font-size: 17px; color: #9CA3AF; margin-bottom: 32px; }

/* ── Dark section (SNA feature) ── */
.ln-section-dark { background: #020617; color: #fff; }
.ln-section-dark .ln-desc { color: #94a3b8; }
.ln-section-dark .ln-sub-content p { color: #94a3b8; }
.ln-section-dark .ln-media-placeholder { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: #64748b; }

/* ── Outline-light button (dark bg variant) ── */
.ln-btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.ln-btn-outline-light:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ── Zigzag image entrance animation ── */
/* ── Zigzag image slide animation ── */
.ln-zigzag-visual { overflow: hidden; }
@keyframes ln-slide-right {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}
@keyframes ln-slide-left {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}
.ln-anim-img { transform: translateX(100%); }
.ln-anim-img.ln-anim-in { animation: ln-slide-right 0.6s ease-out forwards; }
.ln-zigzag-reverse .ln-anim-img { transform: translateX(-100%); }
.ln-zigzag-reverse .ln-anim-img.ln-anim-in { animation-name: ln-slide-left; }

/* ═══════════════ Responsive ═══════════════ */
@media (max-width: 900px) {
    .ln-zigzag { grid-template-columns: 1fr; gap: 32px; }
    .ln-zigzag-reverse .ln-zigzag-visual { order: 0; }
    .ln-hero-center h1 { font-size: 36px; }
}
@media (max-width: 640px) {
    .ln-hero-center h1 { font-size: 28px; }
    .ln-hero { padding: 120px 0 48px; }
    .ln-hero-actions { flex-direction: column; align-items: center; }
    .ln-hero-actions .ln-btn { width: 100%; max-width: 280px; }
    .ln-stats-row { gap: 32px; }
    .ln-stat-item .ln-stat-num { font-size: 32px; }
}
