/* ==========================================================================
   CreaterOS landing page — motion-rich marketing page (uses styles.css tokens)
   ========================================================================== */

html { overflow-x: clip; } /* landing only: decorative layers never widen the page */
.lp { position: relative; overflow-x: hidden; }
.lp-grad { background: var(--gradient); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lp-grad-shift 8s ease-in-out infinite alternate; }
@keyframes lp-grad-shift { to { background-position: 100% 0; } }
.lp-glass {
  background: color-mix(in srgb, var(--surface-solid) 72%, transparent);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow);
  border-radius: 20px;
}

/* ── Background: aurora, grid, cursor spotlight ─────────────────────── */
.lp-aurora { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.lp-aurora span { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: calc(0.32 * var(--glow-opacity) + 0.06); will-change: transform; }
.lp-aurora span:nth-child(1) { background: radial-gradient(circle, #8b5cff, transparent 68%); top: -25vmax; left: -15vmax; animation: lp-blob1 22s ease-in-out infinite alternate; }
.lp-aurora span:nth-child(2) { background: radial-gradient(circle, #ff3d7f, transparent 68%); top: -10vmax; right: -25vmax; animation: lp-blob2 26s ease-in-out infinite alternate; }
.lp-aurora span:nth-child(3) { background: radial-gradient(circle, #ff8a3d, transparent 68%); bottom: -35vmax; left: 20vmax; opacity: calc(0.18 * var(--glow-opacity) + 0.04); animation: lp-blob3 30s ease-in-out infinite alternate; }
[data-theme='light'] .lp-aurora span { opacity: 0.2; }
@keyframes lp-blob1 { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes lp-blob2 { to { transform: translate(-16vmax, 18vmax) scale(0.9); } }
@keyframes lp-blob3 { to { transform: translate(-14vmax, -10vmax) scale(1.2); } }
.lp-grid-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.55;
}
.lp-spot { position: fixed; z-index: -1; pointer-events: none; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 61, 127, 0.13), transparent 65%); transform: translate(calc(var(--mx, -999px) - 50%), calc(var(--my, -999px) - 50%)); transition: opacity 0.4s; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.lp-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 3rem); max-width: 1240px; margin: 0 auto; transition: padding 0.3s var(--ease); }
.lp-nav::before { content: ''; position: absolute; inset: 0.5rem clamp(0.5rem, 2vw, 1.5rem); border-radius: 18px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border); opacity: 0; transform: translateY(-6px); transition: opacity 0.3s, transform 0.3s var(--ease); z-index: -1; }
.lp-nav.scrolled::before { opacity: 1; transform: none; }
.lp-nav-links { display: flex; gap: 1.75rem; font-size: 0.9rem; color: var(--text-2); }
.lp-nav-links a { color: inherit; text-decoration: none; position: relative; }
.lp-nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.lp-nav-links a:hover { color: var(--text); }
.lp-nav-links a:hover::after { transform: scaleX(1); }

/* Shiny primary buttons */
.lp-shine { position: relative; overflow: hidden; isolation: isolate; }
.lp-shine::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); animation: lp-shine 4.5s ease-in-out infinite; z-index: 1; pointer-events: none; }
@keyframes lp-shine { 0%, 60% { left: -60%; } 85%, 100% { left: 130%; } }
.lp-magnet { transition: transform 0.25s var(--ease), box-shadow 0.25s; will-change: transform; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.lp-hero { max-width: 1240px; margin: 0 auto; padding: 3.5rem clamp(1rem, 4vw, 3rem) 3rem; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; min-height: min(86vh, 820px); }
.lp-pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.85rem 0.4rem 0.6rem; border-radius: 999px; font-size: 0.82rem; color: var(--text-2); text-decoration: none; background: var(--surface-2); border: 1px solid var(--border-strong); animation: lp-rise 0.8s var(--ease) both; transition: border-color 0.2s, color 0.2s; }
.lp-pill:hover { color: var(--text); border-color: var(--accent-1); }
.lp-pill .icon { width: 14px; height: 14px; transition: transform 0.2s; }
.lp-pill:hover .icon { transform: translateX(3px); }
.lp-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(51, 214, 159, 0.6); animation: pulse 2s infinite; }
.lp-title { font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: 0.95; letter-spacing: -0.06em; font-weight: 800; margin: 1.4rem 0 0; }
.lp-word { display: inline-block; animation: lp-word-in 0.9s var(--ease) both; animation-delay: calc(0.15s + var(--i) * 0.11s); }
.lp-word.lp-grad { animation: lp-word-in 0.9s var(--ease) both, lp-grad-shift 8s ease-in-out infinite alternate; animation-delay: calc(0.15s + var(--i) * 0.11s), 0s; padding-right: 0.06em; }
@keyframes lp-word-in { from { opacity: 0; transform: translateY(0.45em) rotate(4deg); filter: blur(10px); } }
@keyframes lp-rise { from { opacity: 0; transform: translateY(14px); } }
.lp-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 35rem; margin: 1.6rem 0 2rem; animation: lp-rise 0.9s var(--ease) 0.6s both; }
.lp-ctas { animation: lp-rise 0.9s var(--ease) 0.75s both; flex-wrap: wrap; }
.lp-proof { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.85rem; color: var(--text-3); animation: lp-rise 0.9s var(--ease) 0.9s both; }
.lp-proof li { display: inline-flex; align-items: center; gap: 0.4rem; }
.lp-proof .icon { width: 15px; height: 15px; color: var(--accent-1); }

/* Stage */
.lp-stage { position: relative; height: 640px; animation: lp-rise 1s var(--ease) 0.35s both; }
.lp-orbit { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1px dashed var(--border-strong); animation: spin 60s linear infinite; }
.lp-orbit::before, .lp-orbit::after { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-1); box-shadow: 0 0 18px var(--accent-1); top: -5px; left: 50%; }
.lp-orbit::after { background: var(--accent-3); box-shadow: 0 0 18px var(--accent-3); top: auto; bottom: -5px; }

.lp-phone { position: absolute; left: 50%; top: 50%; width: 292px; height: 600px; margin: -300px 0 0 -146px; border-radius: 46px; padding: 11px; background: linear-gradient(160deg, #2c2936, #0e0d13 60%); box-shadow: 0 60px 140px -30px rgba(255, 61, 127, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.09) inset, 0 0 0 2px #050408; transform: perspective(1400px) rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform 0.6s var(--ease); z-index: 2; }
.lp-notch { position: absolute; top: 20px; left: 50%; width: 88px; height: 24px; margin-left: -44px; border-radius: 20px; background: #050408; z-index: 3; }
.lp-screen { height: 100%; border-radius: 36px; overflow: hidden; background: #0b0a10; color: #f4f2f8; display: flex; flex-direction: column; }
.lp-ig-head { display: flex; align-items: center; gap: 0.55rem; padding: 3.1rem 0.9rem 0.65rem; font-size: 0.78rem; }
.lp-ig-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 0 2px #0b0a10, 0 0 0 3.5px #ff3d7f; }
.lp-ig-more { margin-left: auto; opacity: 0.5; }
.lp-post { position: relative; margin: 0 0.55rem; border-radius: 18px; aspect-ratio: 4 / 5; overflow: hidden; background: #15131d; }
.lp-scene { position: absolute; inset: 0; opacity: 0; transform: scale(1.12); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.lp-post.show .lp-scene { opacity: 1; transform: scale(1); }
.lp-post.reel .lp-scene { animation: lp-kenburns 6s ease-in-out forwards; }
@keyframes lp-kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-2%, -1%); } }
.lp-reel-badge { position: absolute; top: 10px; right: 10px; display: inline-flex; gap: 0.3rem; align-items: center; font-size: 0.65rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 999px; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); opacity: 0; transform: translateY(-6px); transition: 0.4s var(--ease); }
.lp-reel-badge .icon { width: 12px; height: 12px; }
.lp-post.reel .lp-reel-badge { opacity: 1; transform: none; }
.lp-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.lp-post.flash .lp-flash { animation: lp-flash 0.5s ease-out; }
@keyframes lp-flash { 0% { opacity: 0.7; } 100% { opacity: 0; } }
.lp-ig-actions { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.95rem 0.2rem; font-size: 0.95rem; }
.lp-eq { margin-left: auto; display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; opacity: 0; transition: opacity 0.3s; }
.lp-eq.on { opacity: 1; }
.lp-eq i { width: 3px; border-radius: 2px; background: #ff3d7f; height: 30%; animation: lp-eq 0.9s ease-in-out infinite alternate; }
.lp-eq i:nth-child(2) { animation-delay: -0.3s; background: #ff8a3d; }
.lp-eq i:nth-child(3) { animation-delay: -0.6s; background: #8b5cff; }
.lp-eq i:nth-child(4) { animation-delay: -0.15s; }
.lp-eq i:nth-child(5) { animation-delay: -0.45s; background: #ff8a3d; }
@keyframes lp-eq { to { height: 100%; } }
.lp-caption { margin: 0.25rem 0 0; padding: 0 0.95rem; font-size: 0.72rem; line-height: 1.5; color: #c9c4d6; min-height: 3.3em; }
.lp-caption b { color: #fff; }
.lp-tags { margin: 0.2rem 0 0; padding: 0 0.95rem; font-size: 0.7rem; color: #a78bff; min-height: 1.2em; opacity: 0; transition: opacity 0.4s; }
.lp-tags.on { opacity: 1; }
.lp-caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -0.15em; background: currentColor; animation: lp-blink 1s steps(1) infinite; }
@keyframes lp-blink { 50% { opacity: 0; } }

/* Scenes (pure CSS art) */
.scene-hills { background: linear-gradient(180deg, #ff9a5c 0%, #ff5f8f 42%, #7b4bd6 100%); }
.scene-hills::before { content: ''; position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; left: 31%; top: 22%; background: radial-gradient(circle, #fff3c4, #ffc36b 60%, rgba(255, 195, 107, 0) 72%); filter: blur(1px); }
.scene-hills::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(120% 60% at 20% 100%, #2a1747 50%, transparent 51%),
  radial-gradient(110% 55% at 85% 100%, #3b1d5c 50%, transparent 51%),
  radial-gradient(140% 45% at 50% 108%, #170d2b 55%, transparent 56%); }
.scene-sea { background: linear-gradient(180deg, #7dd3fc 0%, #a78bfa 45%, #f9a8d4 58%, #0e7490 58.5%, #164e63 100%); }
.scene-sea::before { content: ''; position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; left: 56%; top: 34%; background: radial-gradient(circle, #fff7ed, #fdba74 65%, transparent 72%); }
.scene-sea::after { content: ''; position: absolute; left: 0; right: 0; top: 60%; bottom: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 14px); animation: lp-waves 3s linear infinite; }
@keyframes lp-waves { to { background-position: 0 28px; } }
.scene-city { background: linear-gradient(180deg, #120b2e 0%, #3b0d4f 55%, #ff3d7f 100%); }
.scene-city::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background:
  linear-gradient(90deg, #0b0718 0 12%, transparent 12% 16%, #160c2a 16% 30%, transparent 30% 33%, #0b0718 33% 47%, transparent 47% 50%, #1b0f33 50% 66%, transparent 66% 69%, #0b0718 69% 84%, transparent 84% 87%, #160c2a 87% 100%);
  clip-path: polygon(0 30%, 12% 30%, 12% 10%, 16% 10%, 16% 45%, 30% 45%, 30% 0, 33% 0, 33% 25%, 47% 25%, 47% 50%, 50% 50%, 50% 15%, 66% 15%, 66% 40%, 69% 40%, 69% 5%, 84% 5%, 84% 35%, 87% 35%, 87% 20%, 100% 20%, 100% 100%, 0 100%); }
.scene-city::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background-image: radial-gradient(circle, #ffd56b 1.2px, transparent 1.6px); background-size: 11px 13px; opacity: 0.7; mask-image: linear-gradient(transparent 20%, #000); -webkit-mask-image: linear-gradient(transparent 20%, #000); animation: lp-twinkle 2.4s ease-in-out infinite alternate; }
@keyframes lp-twinkle { to { opacity: 0.35; } }

/* Floating cards around the phone */
.lp-card-head { white-space: nowrap; display: flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; font-weight: 600; padding: 0.75rem 0.9rem 0.5rem; }
.lp-card-head .faint { font-weight: 400; }
.lp-card-head .icon { width: 15px; height: 15px; color: var(--accent-1); }
.lp-drive { position: absolute; left: -9%; top: 9%; width: 198px; z-index: 3; animation: float 8s ease-in-out infinite; }
.lp-drive-mark { width: 16px; height: 14px; background: conic-gradient(from 210deg, #34a853 0 33%, #fbbc04 0 66%, #4285f4 0); clip-path: polygon(50% 0, 100% 86%, 0 86%); border-radius: 2px; }
.lp-queue { list-style: none; margin: 0; padding: 0 0.55rem 0.6rem; display: grid; gap: 0.35rem; }
.lp-queue li { display: flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.45rem; border-radius: 10px; font-size: 0.72rem; font-family: var(--font-mono); color: var(--text-2); background: var(--surface-2); transition: background 0.3s, transform 0.5s var(--ease), opacity 0.5s; }
.lp-queue li .thumb { width: 26px; height: 26px; border-radius: 6px; flex: none; position: relative; overflow: hidden; }
.lp-queue li.next { background: color-mix(in srgb, var(--accent-1) 16%, transparent); color: var(--text); }
.lp-queue li.next::after { content: 'next'; margin-left: auto; font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-1); }
.lp-queue li.fly { animation: lp-fly 0.9s cubic-bezier(0.6, 0, 0.4, 1) forwards; }
@keyframes lp-fly { 40% { transform: translate(40px, 10px) scale(1.05); opacity: 1; } 100% { transform: translate(180px, 160px) scale(0.3); opacity: 0; } }
.lp-queue li.enter { animation: lp-enter 0.5s var(--ease) both; }
@keyframes lp-enter { from { opacity: 0; transform: translateY(8px); } }

.lp-log { position: absolute; right: -3%; bottom: 13%; width: 236px; z-index: 3; animation: float 9s ease-in-out -3s infinite; }
.lp-live { margin-left: auto; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ok); display: inline-flex; align-items: center; gap: 0.3rem; }
.lp-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.lp-log ol { list-style: none; margin: 0; padding: 0 0.9rem 0.8rem; display: grid; gap: 0.45rem; font-size: 0.74rem; color: var(--text-3); }
.lp-log li { display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.lp-log li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--border-strong); transition: 0.3s var(--ease); }
.lp-log li.run { color: var(--text-2); }
.lp-log li.run::before { border-color: var(--accent-1); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.lp-log li.done { color: var(--text); }
.lp-log li.done::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2309080d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }

.lp-music { position: absolute; left: 3%; bottom: 8%; display: flex; align-items: center; gap: 0.65rem; padding: 0.7rem 0.95rem; font-size: 0.78rem; z-index: 3; opacity: 0; transform: translateY(12px) scale(0.96); transition: 0.5s var(--ease); }
.lp-music.on { opacity: 1; transform: none; }
.lp-music-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--gradient); color: #fff; }
.lp-toast { position: absolute; right: 2%; top: 14%; display: flex; align-items: center; gap: 0.65rem; padding: 0.7rem 0.95rem; font-size: 0.8rem; z-index: 4; opacity: 0; transform: translateY(-10px) scale(0.92); transition: 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
.lp-toast.on { opacity: 1; transform: none; }
.lp-tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #09080d; }
.lp-tick .icon { width: 16px; height: 16px; stroke-width: 3; }

/* ── Marquee ─────────────────────────────────────────────────────────── */
.lp-marquee { border-block: 1px solid var(--border); padding: 1.1rem 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); background: color-mix(in srgb, var(--bg) 60%, transparent); }
.lp-marquee-track { display: flex; gap: 2rem; width: max-content; animation: lp-marquee 38s linear infinite; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; color: var(--text-2); white-space: nowrap; }
.lp-marquee-track span:nth-child(even) { color: var(--accent-1); }
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────────────────── */
.lp-section { max-width: 1240px; margin: 0 auto; padding: 6rem clamp(1rem, 4vw, 3rem) 0; }
.lp-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.lp-eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-1); margin-bottom: 0.9rem; }
.lp-section h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.05em; line-height: 1.02; font-weight: 800; }
.lp-sub { color: var(--text-2); font-size: 1.08rem; margin-top: 1.1rem; max-width: 30rem; }

/* Reveal on scroll */
/* Only hidden once landing.js has run, so the page still reads fine without JS */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 0.12s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Zero work */
.lp-zero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.lp-zero-card { position: relative; padding: 1.6rem 1.6rem 1.6rem 1.4rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; overflow: hidden; }
.lp-chores { margin: 0; padding: 0; list-style: none; counter-reset: chore; display: grid; gap: 0.55rem; }
.lp-chores li { counter-increment: chore; position: relative; padding: 1px 0 1px 36px; min-height: 26px; font-size: 0.95rem; color: var(--text); transition: color 0.4s, opacity 0.4s; }
.lp-chores li::before { content: counter(chore); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; font-size: 0.72rem; font-weight: 700; background: var(--surface-2); color: var(--text-2); transition: 0.4s var(--ease); }
.lp-chores li span { background: var(--gradient) no-repeat 0 55% / 0% 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 0.45s var(--ease); }
.lp-chores li.struck span { background-size: 100% 2px; }
.lp-chores li.struck::before { content: '✓'; background: var(--ok); color: #09080d; }
.lp-zero-count { text-align: center; min-width: 120px; }
.lp-zero-count span { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 10vw, 8rem); line-height: 0.9; letter-spacing: -0.06em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 0.3s var(--ease); }
.lp-zero-count span.bump { transform: scale(1.12); }
.lp-zero-count small { display: block; color: var(--text-3); font-size: 0.82rem; line-height: 1.35; margin-top: 0.4rem; }

/* Steps */
.lp-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lp-steps-line { position: absolute; left: 16%; right: 16%; top: 62px; height: 2px; background: var(--border-strong); border-radius: 2px; overflow: hidden; }
.lp-steps-line span { display: block; height: 100%; width: 100%; background: var(--gradient); transform: scaleX(var(--p, 0)); transform-origin: left; }
.lp-step { position: relative; padding: 1.75rem 1.5rem 1.6rem; text-align: center; }
.lp-step-num { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); }
.lp-step-icon { width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 20px; display: grid; place-items: center; background: var(--gradient); color: #fff; box-shadow: 0 16px 40px -12px rgba(255, 61, 127, 0.6); position: relative; z-index: 1; }
.lp-step-icon .icon { width: 28px; height: 28px; }
.lp-step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.lp-step p { color: var(--text-2); font-size: 0.93rem; margin: 0; }

/* Bento */
.lp-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lp-tile { position: relative; padding: 1.6rem; overflow: hidden; transform: perspective(1000px) rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)); transition: transform 0.4s var(--ease), border-color 0.3s; }
.js .lp-tile[data-reveal], .js .lp-tile[data-reveal].in { transform: perspective(1000px) rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)); }
.lp-tile::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(380px circle at var(--tx, 50%) var(--ty, 0%), rgba(255, 61, 127, 0.14), transparent 45%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.lp-tile:hover { border-color: color-mix(in srgb, var(--accent-1) 45%, var(--border-strong)); }
.lp-tile:hover::before { opacity: 1; }
.lp-tile h3 { font-size: 1.3rem; margin: 1rem 0 0.45rem; }
.lp-tile p { color: var(--text-2); font-size: 0.92rem; margin: 0; }
.lp-tile-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.lp-type-demo { border-radius: 16px; padding: 1rem 1.1rem; background: #0b0a10; color: #e9e6f2; font-size: 0.85rem; line-height: 1.55; min-height: 150px; border: 1px solid rgba(255, 255, 255, 0.08); }
.lp-voice { font-family: var(--font-mono); font-size: 0.72rem; color: #a78bff; margin-bottom: 0.7rem; padding-bottom: 0.6rem; border-bottom: 1px dashed rgba(255, 255, 255, 0.12); }
.lp-wave { display: flex; align-items: center; gap: 4px; height: 46px; margin-top: 1.3rem; }
.lp-wave i { flex: 1; border-radius: 3px; background: var(--gradient); height: 20%; animation: lp-wave 1.2s ease-in-out infinite alternate; }
.lp-wave i:nth-child(3n) { animation-duration: 0.9s; }
.lp-wave i:nth-child(4n+1) { animation-duration: 1.5s; }
.lp-wave i:nth-child(5n+2) { animation-delay: -0.7s; }
.lp-wave i:nth-child(odd) { animation-delay: -0.35s; }
@keyframes lp-wave { to { height: 100%; } }
.lp-checks { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.2rem; }
.lp-checks span { font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.65rem; border-radius: 999px; background: rgba(51, 214, 159, 0.12); color: var(--ok); opacity: 0; transform: translateY(6px); }
.lp-tile.in .lp-checks span { animation: lp-pop-in 0.5s var(--ease) forwards; }
.lp-tile.in .lp-checks span:nth-child(2) { animation-delay: 0.35s; }
.lp-tile.in .lp-checks span:nth-child(3) { animation-delay: 0.7s; }
@keyframes lp-pop-in { to { opacity: 1; transform: none; } }
.lp-avatars { display: flex; margin-top: 1.2rem; }
.lp-avatars span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; margin-left: -10px; border: 3px solid var(--surface-solid); background: var(--gradient); transition: transform 0.3s var(--ease); }
.lp-avatars span:first-child { margin-left: 0; }
.lp-avatars span:nth-child(2) { background: linear-gradient(135deg, #8b5cff, #4f46e5); }
.lp-avatars span:nth-child(3) { background: linear-gradient(135deg, #ff8a3d, #f43f5e); }
.lp-avatars span:nth-child(4) { background: var(--surface-2); color: var(--text-2); }
.lp-tile:hover .lp-avatars span { transform: translateX(calc(var(--n, 0) * 6px)); }
.lp-avatars span:nth-child(2) { --n: 1; }
.lp-avatars span:nth-child(3) { --n: 2; }
.lp-avatars span:nth-child(4) { --n: 3; }
.lp-files { position: relative; height: 46px; margin-top: 1.2rem; }
.lp-files span { position: absolute; left: 0; top: 6px; width: 34px; height: 34px; border-radius: 8px; background: var(--gradient); animation: lp-file 4.5s var(--ease) infinite; opacity: 0; }
.lp-files span:nth-child(2) { animation-delay: 1.5s; background: linear-gradient(135deg, #8b5cff, #4f46e5); }
.lp-files span:nth-child(3) { animation-delay: 3s; background: linear-gradient(135deg, #ff8a3d, #f43f5e); }
.lp-files::after { content: 'posted/'; position: absolute; right: 0; top: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); padding: 0.45rem 0.6rem; border: 1px dashed var(--border-strong); border-radius: 8px; }
@keyframes lp-file { 0% { opacity: 0; transform: translateX(0) scale(0.8); } 15% { opacity: 1; transform: translateX(0) scale(1); } 70% { opacity: 1; transform: translateX(calc(100% + 120px)) scale(0.85); } 85%, 100% { opacity: 0; transform: translateX(calc(100% + 140px)) scale(0.5); } }
.lp-tile-band { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: center; }
.lp-countdown { display: grid; justify-items: center; gap: 0.35rem; padding: 1.4rem; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.8rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.lp-countdown b { font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; letter-spacing: -0.02em; color: var(--text); text-transform: none; }
.lp-countdown .lp-live { margin: 0; }

/* Coming soon: DM automation */
.lp-soon-dot { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.1rem 0.4rem; border-radius: 999px; margin-left: 0.25rem; background: var(--gradient); color: #fff; vertical-align: 1px; }
.lp-dm { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
.lp-soon { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-1); background: color-mix(in srgb, var(--accent-1) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent-1) 35%, transparent); margin-bottom: 1rem; }
.lp-soon .lp-pill-dot { background: var(--accent-1); box-shadow: none; animation: lp-soon-pulse 1.6s ease-in-out infinite; }
@keyframes lp-soon-pulse { 50% { opacity: 0.3; } }
.lp-dm-points { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: 0.75rem; }
.lp-dm-points li { display: flex; align-items: center; gap: 0.7rem; color: var(--text-2); font-size: 0.95rem; }
.lp-dm-points .icon { width: 30px; height: 30px; padding: 7px; flex: none; border-radius: 9px; color: #fff; background: var(--gradient); }
.lp-dm-stage { position: relative; height: 520px; }
.lp-dm-card { position: absolute; overflow: hidden; }
.lp-dm-comments { left: 0; top: 0; width: 72%; padding-bottom: 0.6rem; animation: float 9s ease-in-out infinite; }
.lp-dm-rule { margin-left: auto; font-weight: 400; font-size: 0.72rem; color: var(--text-3); }
.lp-dm-rule b { font-family: var(--font-mono); color: var(--accent-1); }
.lp-dm-comments ul { list-style: none; margin: 0; padding: 0 0.9rem; display: grid; gap: 0.55rem; min-height: 190px; align-content: start; }
.lp-dm-comments li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.82rem; animation: lp-enter 0.45s var(--ease) both; }
.lp-dm-comments li .av { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: #fff; }
.lp-dm-comments li b { margin-right: 0.3rem; }
.lp-dm-comments li .kw { font-family: var(--font-mono); font-weight: 600; color: var(--accent-1); }
.lp-dm-comments li.reply { margin-left: 2.1rem; color: var(--text-2); }
.lp-dm-comments li.reply .av { width: 22px; height: 22px; background: var(--gradient); }
.lp-dm-comments li .hit { margin-left: auto; flex: none; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ok); }
.lp-dm-inbox { right: 0; bottom: 0; width: 70%; z-index: 2; animation: float 10s ease-in-out -4s infinite; }
.lp-dm-inbox-head { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.lp-dm-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, #8b5cff, #4f46e5); }
.lp-dm-thread { padding: 1rem; display: grid; gap: 0.5rem; min-height: 190px; align-content: end; }
.lp-bubble { max-width: 85%; justify-self: end; padding: 0.6rem 0.85rem; border-radius: 18px 18px 4px 18px; background: var(--gradient); color: #fff; font-size: 0.84rem; line-height: 1.45; animation: lp-bubble 0.45s cubic-bezier(0.2, 1.3, 0.4, 1) both; transform-origin: bottom right; }
.lp-bubble.link { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); display: flex; align-items: center; gap: 0.6rem; }
.lp-bubble.link .thumb { position: relative; overflow: hidden; width: 38px; height: 38px; border-radius: 9px; flex: none; }
.lp-bubble.link small { display: block; color: var(--text-3); font-size: 0.7rem; }
@keyframes lp-bubble { from { opacity: 0; transform: scale(0.6) translateY(10px); } }
.lp-typing { justify-self: end; display: inline-flex; gap: 4px; padding: 0.7rem 0.85rem; border-radius: 18px; background: var(--surface-2); }
.lp-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: lp-typing 1s ease-in-out infinite; }
.lp-typing i:nth-child(2) { animation-delay: 0.15s; }
.lp-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes lp-typing { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: 0.4; } }
.lp-dm-stat { position: absolute; left: 4%; bottom: 8%; z-index: 3; display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 1.1rem; animation: float 8s ease-in-out -2s infinite; }
.lp-dm-stat b { font-family: var(--font-display); font-size: 2rem; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 1.6ch; }
.lp-dm-stat span { font-size: 0.72rem; color: var(--text-3); line-height: 1.3; }

/* Trust */
.lp-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: 22px; overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.lp-trust-item { background: color-mix(in srgb, var(--bg) 88%, transparent); padding: 1.6rem 1.4rem; display: grid; gap: 0.45rem; align-content: start; transition: background 0.3s; }
.lp-trust-item:hover { background: color-mix(in srgb, var(--surface-solid) 90%, transparent); }
.lp-trust-item .icon { width: 22px; height: 22px; color: var(--accent-1); margin-bottom: 0.4rem; }
.lp-trust-item b { font-size: 1rem; }
.lp-trust-item span { color: var(--text-2); font-size: 0.88rem; }

/* CTA */
.lp-cta { position: relative; border-radius: 30px; padding: 2px; overflow: hidden; margin-bottom: 5rem; }
.lp-cta::before { content: ''; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; background: conic-gradient(from 0deg, #8b5cff, #ff3d7f, #ff8a3d, #8b5cff); animation: lp-cta-spin 8s linear infinite; }
@keyframes lp-cta-spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.lp-cta-inner { position: relative; border-radius: 28px; background: var(--bg-elev); padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; text-align: center; overflow: hidden; }
.lp-cta-inner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(255, 61, 127, 0.18), transparent 70%); pointer-events: none; }
.lp-cta-inner > * { position: relative; }
.lp-cta p { color: var(--text-2); max-width: 34rem; margin: 1.1rem auto 2rem; font-size: 1.05rem; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .lp-drive { left: -3%; }
  .lp-log { right: -5%; }
}
@media (max-width: 960px) {
  .lp-nav-links { display: none; }
  .lp-hero { grid-template-columns: 1fr; text-align: center; padding-top: 2rem; min-height: 0; }
  .lp-lead, .lp-sub { margin-left: auto; margin-right: auto; }
  .lp-ctas, .lp-proof { justify-content: center; }
  .lp-stage { height: 620px; max-width: 520px; width: 100%; margin: 0 auto; }
  .lp-zero { grid-template-columns: 1fr; text-align: center; }
  .lp-dm { grid-template-columns: 1fr; text-align: center; }
  .lp-dm-points { justify-items: center; }
  .lp-dm-points li { text-align: left; }
  .lp-dm-stage { max-width: 560px; width: 100%; margin: 0 auto; text-align: left; }
  .lp-zero-card { text-align: left; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-steps-line { display: none; }
  .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-tile-wide { grid-column: span 2; }
  .lp-tile-band { grid-column: span 2; }
  .lp-trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lp-nav .btn-ghost { display: none; }
  .lp-stage { height: 560px; }
  .lp-phone { transform: scale(0.86); }
  .lp-orbit { width: 330px; height: 330px; margin: -165px 0 0 -165px; }
  .lp-stage, .lp-dm-stage { overflow: hidden; }
  .lp-drive { left: 0; top: 2%; width: 168px; transform-origin: top left; }
  .lp-drive .lp-queue li:nth-child(n+3) { display: none; }
  .lp-drive .lp-card-head .faint { display: none; }
  .lp-log, .lp-music { display: none; }
  .lp-toast { right: 0; top: 34%; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-dm-stage { height: 540px; }
  .lp-dm-comments, .lp-dm-inbox { width: 92%; }
  .lp-dm-comments { top: 16px; left: 2%; }
  .lp-dm-inbox { bottom: 16px; right: 2%; }
  .lp-dm-stat { display: none; }
  .lp-dm-points { justify-items: start; }
  .lp-tile-wide, .lp-tile-band { grid-column: auto; grid-template-columns: 1fr; }
  .lp-trust-grid { grid-template-columns: 1fr; }
  .lp-zero-card { grid-template-columns: 1fr; }
  .lp-zero-count { display: flex; align-items: baseline; gap: 0.8rem; justify-content: center; }
  .lp-zero-count small br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .lp-scene { opacity: 1; transform: none; }
  .lp-checks span { opacity: 1; transform: none; }
  .lp-files span:first-child { opacity: 1; }
}

/* ── FAQ (landing + guides) ───────────────────────────────────────────── */
.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0.75rem; }
.lp-faq-item { border: 1px solid var(--border); border-radius: 18px; background: color-mix(in srgb, var(--surface-solid) 70%, transparent); transition: border-color 0.25s, background 0.25s; }
.lp-faq-item[open] { border-color: rgba(255, 61, 127, 0.35); }
.lp-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 600; font-size: 1.02rem; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary .icon { flex: none; color: var(--text-3); transition: transform 0.25s var(--ease); }
.lp-faq-item[open] summary .icon { transform: rotate(45deg); color: var(--accent-1); }
.lp-faq-item p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--text-2); line-height: 1.65; }

.landing-foot-guides { margin-bottom: 0.6rem; }

/* ── Guide pages ──────────────────────────────────────────────────────── */
.guide .lp-nav-links a[aria-current="page"] { color: var(--text); }
.guide-main { max-width: 980px; margin: 0 auto; padding: 7.5rem clamp(1rem, 4vw, 2.5rem) 0; position: relative; }
.guide-crumbs { font-size: 0.82rem; color: var(--text-3); margin-bottom: 2rem; }
.guide-crumbs a { color: inherit; }
.guide-hero { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.guide-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.05em; line-height: 1.02; font-weight: 800; margin: 0 0 1.25rem; }
.guide-intro { color: var(--text-2); font-size: 1.12rem; line-height: 1.65; margin: 0 auto 2rem; max-width: 640px; }
.guide-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 3.5rem; }
.guide-steps .lp-step { text-align: left; }
.guide-step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--gradient); color: #fff; font-weight: 700; margin-bottom: 0.9rem; }
.guide-block { max-width: 760px; margin: 0 auto 3rem; }
.guide-block h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -0.03em; margin: 0 0 1rem; }
.guide-block p, .guide-block li { color: var(--text-2); line-height: 1.7; font-size: 1.02rem; }
.guide-block ul { padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.guide-block .lp-faq { max-width: none; }
.guide-cta { margin-top: 4rem; }
.guide-cta h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.05em; line-height: 1.02; font-weight: 800; margin-bottom: 1rem; }
.guide-cta p { max-width: 640px; margin-left: auto; margin-right: auto; }
.guide-related { text-align: center; margin: -2.5rem 0 3rem; font-size: 0.92rem; }
.guide-related a { color: var(--accent-1); }
@media (max-width: 760px) {
  .guide-steps { grid-template-columns: 1fr; }
  .guide-main { padding-top: 6rem; }
}
