/* ============ RESONA Landing ============ */
:root {
  --bg: #0B0B0F;
  --surface: #131318;
  --surface-2: #1A1A21;
  --hairline: rgba(255, 255, 255, .08);
  --text: #F5F5F7;
  --muted: #9A9AA3;
  --accent: #5E5CE6;
  --accent-soft: #8E8CF0;
  --good: #30A46C;
}

.ld { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.ld a { color: inherit; }

/* ---------- nav ---------- */
.ld-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px 0; background: rgba(11, 11, 15, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); }
.ld-brand { font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.ld-brand span { color: var(--accent); }
.ld-brand-sm { font-size: 16px; }
.ld-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; transition: color .15s; }
.ld-links a:hover { color: var(--text); }

.ld-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s, border-color .15s; }
.ld-btn:active { transform: scale(.97); }
.ld-btn-solid { background: var(--accent); color: #fff; box-shadow: 0 6px 24px rgba(94, 92, 230, .35); }
.ld-btn-solid:hover { background: var(--accent-soft); color: #fff; box-shadow: 0 8px 30px rgba(94, 92, 230, .5); }
.ld-btn-ghost { border-color: var(--hairline); color: var(--text); background: rgba(255, 255, 255, .02); }
.ld-btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.ld-btn-lg { padding: 13px 26px; font-size: 15px; }

/* ---------- hero ---------- */
.ld-hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; }
#constellation { position: absolute; inset: 0; width: 100%; height: 100%; }
.ld-hero-inner { position: relative; z-index: 2; }
.ld-hero-inner .ld-badge { margin-left: 0; }
.ld-hero h1 { max-width: 820px; }
.ld-hero .ld-sub { max-width: 660px; }
.ld-hero .ld-hero-note { max-width: 660px; }
.ld-badge { display: inline-block; font-size: 11px; letter-spacing: 2px; font-weight: 700; color: var(--accent-soft); border: 1px solid rgba(94, 92, 230, .35); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; background: rgba(94, 92, 230, .08); }
.ld-hero h1 { font-size: clamp(44px, 7.5vw, 84px); font-weight: 800; line-height: 1.02; letter-spacing: -2px; margin-bottom: 22px; }
.ld-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-soft) 60%, #B9B8FF); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.ld-hero h1 em::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: 6px; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); border-radius: 2px; opacity: .6; }
.ld-sub { font-size: clamp(15px, 2vw, 18px); color: var(--muted); line-height: 1.65; max-width: 620px; margin-bottom: 30px; }
.ld-sub b { color: var(--text); }
.ld-cta-row { margin-bottom: 16px; }
.ld-hero-note { font-size: 12.5px; color: var(--muted); letter-spacing: .3px; }

.ld-node-tip { position: fixed; z-index: 60; pointer-events: none; background: var(--surface-2); border: 1px solid var(--hairline); color: var(--text); font-size: 12.5px; padding: 7px 12px; border-radius: 10px; opacity: 0; transform: translate(-50%, -130%); transition: opacity .12s; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.ld-node-tip.on { opacity: 1; }
.ld-node-tip b { color: var(--accent-soft); }

/* ---------- problem strip ---------- */
.ld-strip { padding: 70px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(94, 92, 230, .04), transparent); }
.ld-stat { max-width: 320px; margin: 0 auto; }
.ld-stat-n { font-size: 54px; font-weight: 800; letter-spacing: -2px; line-height: 1; margin-bottom: 12px; background: linear-gradient(180deg, var(--text), var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-stat-n span { font-size: 26px; color: var(--accent-soft); -webkit-text-fill-color: var(--accent-soft); }
.ld-stat p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.ld-stat p i, .ld-stat p b { color: var(--text); font-style: normal; }

/* ---------- sections ---------- */
.ld-section { padding: 110px 0; }
.ld-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.ld-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.ld-head p { color: var(--muted); font-size: 16px; }

/* steps */
.ld-steps { max-width: 720px; margin: 0 auto; position: relative; }
.ld-steps::before { content: ''; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(180deg, transparent, var(--accent) 12%, var(--accent) 88%, transparent); opacity: .35; }
.ld-step { position: relative; padding: 0 0 44px 84px; }
.ld-step:last-child { padding-bottom: 0; }
.ld-step-n { position: absolute; left: 0; top: -4px; width: 56px; height: 56px; border-radius: 18px; background: var(--surface); border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: var(--accent-soft); box-shadow: 0 0 0 6px var(--bg); }
.ld-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.ld-step p { color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 560px; }
.ld-step p i, .ld-step p b { color: var(--text); font-style: normal; }

/* analyze spotlight */
.ld-analyze { background: radial-gradient(900px 500px at 20% 30%, rgba(94, 92, 230, .10), transparent 65%); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.ld-analyze h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -1.2px; margin: 14px 0 18px; }
.ld-lead { color: var(--muted); font-size: 16px; line-height: 1.65; }
.ld-lead-sm { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin-top: 18px; }
.ld-lead-sm b { color: var(--text); }
.ld-list { list-style: none; padding: 0; margin: 22px 0 6px; }
.ld-list li { position: relative; padding: 9px 0 9px 30px; color: var(--muted); font-size: 14.5px; line-height: 1.55; border-bottom: 1px dashed var(--hairline); }
.ld-list li:last-child { border-bottom: 0; }
.ld-list li::before { content: '◆'; position: absolute; left: 4px; top: 10px; color: var(--accent); font-size: 11px; }
.ld-list li b { color: var(--text); }

.ld-mock { background: var(--surface); border: 1px solid var(--hairline); border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(94, 92, 230, .08); transform: rotate(1.2deg); }
.ld-mock-head { font-size: 12px; letter-spacing: 1.4px; color: var(--muted); font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.ld-mock-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ld-chip { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--hairline); color: var(--muted); }
.ld-chip-a { background: rgba(94, 92, 230, .16); color: var(--accent-soft); border-color: rgba(94, 92, 230, .4); }
.ld-mock-pillar { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 14px; padding: 13px 15px; margin-bottom: 10px; font-size: 13.5px; }
.ld-mock-pillar b { margin-right: 8px; }
.ld-mock-pillar div { color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.ld-tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; padding: 3px 8px; border-radius: 6px; background: rgba(94, 92, 230, .12); color: var(--accent-soft); margin-right: 5px; text-transform: uppercase; }
.ld-mock-bar { height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin: 16px 0 10px; }
.ld-mock-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); border-radius: 4px; }
.ld-mock-foot { font-size: 12.5px; color: var(--muted); }

/* feature cards */
.ld-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 26px 24px; height: 100%; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.ld-card:hover { transform: translateY(-5px); border-color: rgba(94, 92, 230, .45); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.ld-card-ic { width: 44px; height: 44px; border-radius: 13px; background: rgba(94, 92, 230, .12); color: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 16px; }
.ld-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.ld-card p { color: var(--muted); font-size: 13.5px; line-height: 1.62; margin: 0; }
.ld-card p b { color: var(--accent-soft); }

/* final cta */
.ld-final { padding: 130px 0; background: radial-gradient(700px 400px at 50% 0%, rgba(94, 92, 230, .14), transparent 70%); border-top: 1px solid var(--hairline); }
.ld-final h2 { font-size: clamp(30px, 5vw, 54px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.1; }

.ld-foot { padding: 26px 0 34px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 13px; }
.ld-foot a { color: var(--accent-soft); text-decoration: none; }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  .ld-hero { min-height: auto; padding: 130px 0 60px; }
  #constellation { opacity: .5; }
  .ld-section { padding: 70px 0; }
  .ld-steps::before { left: 23px; }
  .ld-step { padding-left: 70px; padding-bottom: 36px; }
  .ld-step-n { width: 48px; height: 48px; border-radius: 15px; }
  .ld-mock { transform: none; margin-top: 10px; }
  .ld-final { padding: 90px 0; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ld-card, .ld-btn { transition: none; }
}
