/* sellbright landing — base, nav, hero (Engine Split / Hero C) */

.lp { overflow-x: hidden; }

/* ---------- layout utilities ---------- */
.container { width: min(1180px, 92vw); margin: 0 auto; }
.section { position: relative; }
.eyebrow-mono {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.blur { filter: blur(12px); }
.reveal.blur.in { filter: blur(0); }

/* ---------- top nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(255,255,255,0.8); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.nav .brand .dot { width: 11px; height: 11px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }
.nav .links { display: flex; align-items: center; gap: 26px; }
.nav .links a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav .links a:hover { color: var(--ink); }
.nav .cta { font-weight: 600; color: #fff !important; background: var(--ink); padding: 9px 16px; border-radius: 999px; transition: transform .15s, background .2s; }
.nav .cta:hover { transform: translateY(-1px); background: #0b1220; }
@media (max-width: 640px) { .nav .links a:not(.cta) { display: none; } }

/* ===================================================================
   HERO — Engine Split (Hero C)
   =================================================================== */
.hero {
  position: relative; min-height: 100vh; width: 100%;
  background: radial-gradient(80% 60% at 50% 36%, #fbfcff 0%, var(--bg) 60%);
  overflow: hidden; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 30px; padding: 92px 24px 70px;
}
.hero .dots { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(2,6,23,0.06) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: radial-gradient(75% 65% at 50% 42%, #000 35%, transparent 78%); }
.hero .mouseglow { position: absolute; width: 460px; height: 460px; z-index: 1; pointer-events: none;
  border-radius: 50%; left: 0; top: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124,58,237,0.1), transparent 60%); transition: opacity .4s; opacity: 0; }

.hero .headline { position: relative; z-index: 10; text-align: center; }
.hero .headline .eb { margin-bottom: 12px; }
.hero .headline h1 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; font-size: clamp(28px, 4.4vw, 56px); }

.board { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: clamp(18px, 4vw, 64px); width: min(960px, 94vw); }

.panel { border: 1px solid var(--line); border-radius: 18px; background: #fff;
  box-shadow: 0 1px 2px rgba(2,6,23,0.04), 0 20px 50px -28px rgba(2,6,23,0.28);
  padding: 18px; min-height: 192px; display: flex; flex-direction: column; }
.panel .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); display: flex; align-items: center; gap: 7px; }
.panel .tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-ghost); }
.panel.out { position: relative; transition: box-shadow .6s; }
.panel.out.lit { box-shadow: 0 0 0 1px rgba(37,99,235,0.25), 0 26px 60px -24px rgba(37,99,235,0.5); }
.panel.out.lit .tag i { background: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.18); }

.pbody { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; margin-top: 14px; }
.ph { display: flex; align-items: center; gap: 12px; }
.ph .img { width: 52px; height: 52px; border-radius: 10px; flex: none;
  background: repeating-linear-gradient(45deg, #eef1f6 0 8px, #f6f7f9 8px 16px); border: 1px solid var(--line); }
.ph .nm { font-weight: 700; font-size: clamp(17px,2vw,21px); color: var(--ink-2); }
.ph .meta { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); margin-top: 3px; }

.after-lines { display: flex; flex-direction: column; gap: 4px; }
.after-lines span { font-weight: 800; letter-spacing: -0.02em; line-height: 1.16; font-size: clamp(17px,2.1vw,23px);
  opacity: 0; filter: blur(8px); transform: translateY(8px);
  transition: opacity .55s var(--ease-out), filter .55s var(--ease-out), transform .55s var(--ease-out); }
.after-lines span.in { opacity: 1; filter: none; transform: none; }
.out-scores { display: flex; gap: 14px; margin-top: 4px; opacity: 0; transition: opacity .5s; }
.out-scores.in { opacity: 1; }
.out-scores .s { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.out-scores .s b { font-size: 15px; }
.out-scores .s.seo b { color: var(--primary); }
.out-scores .s.ctr b { color: #16a34a; }
.out-idle { font-family: var(--mono); font-size: 13px; color: var(--ink-ghost); }
.out-img { width: 52px; height: 52px; border-radius: 10px; flex: none; align-self: flex-start;
  background: var(--bg-soft) center / cover no-repeat; border: 1px solid var(--line);
  opacity: 0; transform: scale(.92); transition: opacity .45s ease, transform .45s ease; }
.out-img.in { opacity: 1; transform: none; }

/* guest sign-up gate (hero 실행) */
.gate { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(2,6,23,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gate[hidden] { display: none; }
.gate-card { width: min(380px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 26px; text-align: center; box-shadow: 0 30px 80px -20px rgba(2,6,23,0.5);
  animation: gatePop .25s ease; }
@keyframes gatePop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.gate-ic { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(37,99,235,0.08); color: var(--primary); }
.gate-ic svg { width: 22px; height: 22px; }
.gate-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.gate-card p { margin: 0 0 22px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.gate-actions { display: flex; gap: 10px; }
.gate-actions > * { flex: 1; padding: 11px 0; border-radius: 999px; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none; text-align: center; }
.gate-cancel { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.gate-go { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border: none; }

.core { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.core .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(37,99,235,0.18); }
.core .ring.r2 { inset: -18px; border-color: rgba(124,58,237,0.12); }
.core.run .pulse { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(37,99,235,0.4);
  animation: pulse 1.6s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(0.7); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.orb { width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--primary) 55%, var(--accent));
  box-shadow: 0 8px 30px -6px rgba(37,99,235,0.55); display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.core.run .orb { animation: breathe 1.4s var(--ease-in-out) infinite; }
@keyframes breathe { 50% { transform: scale(1.08); } }
.orb svg { width: 26px; height: 26px; color: #fff; }
.corelabel { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint); white-space: nowrap; min-height: 14px; }
.flow { position: absolute; top: 50%; height: 2px; pointer-events: none; }
.flow.l { left: -64px; width: 64px; } .flow.r { right: -64px; width: 64px; }
.flow span { position: absolute; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); transform: translateY(-50%); opacity: 0; }
.core.run .flow.l span { animation: flowL 1.1s linear infinite; }
.core.run .flow.r span { animation: flowR 1.1s linear infinite; }
@keyframes flowL { 0%{ left:0; opacity:0;} 20%{opacity:1;} 100%{ left:100%; opacity:0;} }
@keyframes flowR { 0%{ left:0; opacity:0;} 20%{opacity:1;} 100%{ left:100%; opacity:0;} }

.nodes { position: relative; z-index: 10; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.node { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #fff; transition: all .3s var(--ease-out); }
.node.active { color: var(--primary); border-color: rgba(37,99,235,0.4); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

.inputbar { position: relative; z-index: 10; width: min(560px, 92vw); display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 7px 7px 7px 18px;
  box-shadow: 0 1px 2px rgba(2,6,23,0.04), 0 16px 44px -22px rgba(2,6,23,0.26); transition: box-shadow .3s, border-color .3s; }
.inputbar:focus-within { border-color: rgba(37,99,235,0.5); box-shadow: 0 0 0 4px rgba(37,99,235,0.12); }
.inputbar .pre { font-family: var(--mono); font-size: 13px; color: var(--ink-ghost); flex: none; }
.inputbar input { flex: 1; border: 0; outline: 0; background: transparent;
  font-family: var(--font); font-size: 17px; font-weight: 600; color: var(--ink); min-width: 0; }
.inputbar input::placeholder { color: var(--ink-faint); font-weight: 500; }
.inputbar button { flex: none; border: 0; cursor: pointer; white-space: nowrap;
  font-family: var(--font); font-weight: 700; font-size: 14.5px; color: #fff; background: var(--ink);
  padding: 11px 16px; border-radius: 11px; display: inline-flex; align-items: center; gap: 7px; transition: transform .15s, background .2s; }
.inputbar button:hover { transform: translateY(-1px); background: #0b1220; }
.inputbar button svg { width: 15px; height: 15px; }

.hero .tagline { position: relative; z-index: 10; text-align: center; font-size: clamp(15px,1.7vw,19px);
  font-weight: 700; letter-spacing: -0.02em; min-height: 1.2em; opacity: 0; transform: translateY(6px); transition: all .6s var(--ease-out); }
.hero .tagline.on { opacity: 1; transform: none; }

.scrollcue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 10;
  font-size: 12px; color: var(--ink-faint); font-weight: 500; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.scrollcue .mouse { width: 22px; height: 34px; border: 1.5px solid var(--ink-ghost); border-radius: 12px; position: relative; }
.scrollcue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 6px; border-radius: 2px; background: var(--ink-faint); animation: wheel 1.6s var(--ease-in-out) infinite; }
@keyframes wheel { 0%{opacity:0; top:6px;} 30%{opacity:1;} 100%{opacity:0; top:16px;} }

@media (max-width: 720px) {
  .board { grid-template-columns: 1fr; }
  .core { transform: rotate(90deg); margin: 6px auto; }
  .flow { display: none; }
}
