/* ============================================================
   Serabi CRM — Landing page styles (reuses styles.css tokens)
   ============================================================ */

.lp { overflow-x: hidden; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp section { position: relative; }

/* soft warm page tint */
body.lp-body { background: var(--bg); }

/* ============ NAV ============ */
.lp-nav { position: sticky; top: 0; z-index: 50; background: oklch(0.985 0.005 95 / 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.lp-nav.scrolled { border-color: var(--border); box-shadow: var(--shadow-xs); }
.lp-nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.lp-nav-links { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.lp-nav-links a { padding: 8px 13px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .14s, color .14s; }
.lp-nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.lp-nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lp-lang { display: flex; gap: 3px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 9px; padding: 3px; }
.lp-lang button { padding: 6px 10px; border-radius: 7px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.lp-lang button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }
.lp-burger { display: none; }

/* ============ HERO ============ */
.lp-hero { padding: 64px 0 80px; position: relative; }
.lp-hero-glow { position: absolute; top: -120px; right: -10%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, var(--green-soft2), transparent 62%); filter: blur(20px); z-index: 0; pointer-events: none; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); font-size: 13px; font-weight: 650; color: var(--ink-2); }
.lp-eyebrow svg { color: var(--green); }
.lp-eyebrow .sd { width: 7px; height: 7px; border-radius: 99px; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.lp-h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-top: 22px; text-wrap: balance; }
.lp-h1 .hl { color: var(--green-600); position: relative; white-space: nowrap; }
.lp-h1 .hl-mark { background: linear-gradient(180deg, transparent 62%, var(--green-soft2) 62%); padding: 0 2px; }
.lp-sub { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); line-height: 1.6; margin-top: 22px; max-width: 540px; text-wrap: pretty; }
.lp-cta-row { display: flex; align-items: center; gap: 13px; margin-top: 30px; flex-wrap: wrap; }
.lp-trust { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.lp-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); font-weight: 550; }
.lp-trust-item svg { color: var(--green); flex: none; }

/* hero visual — phone chat mock */
.lp-hero-visual { position: relative; display: flex; justify-content: center; }
.lp-phone { width: 320px; background: var(--surface); border-radius: 32px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 10px; position: relative; z-index: 2; }
.lp-phone-screen { background: linear-gradient(oklch(0.97 0.008 150), oklch(0.96 0.01 150)); border-radius: 24px; overflow: hidden; }
.lp-phone-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--green-700); color: white; }
.lp-phone-head .nm { font-weight: 700; font-size: 14.5px; }
.lp-phone-head .st { font-size: 11.5px; opacity: 0.85; display: flex; align-items: center; gap: 5px; }
.lp-phone-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 340px; }
.lp-msg { max-width: 80%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; box-shadow: var(--shadow-xs); animation: lpMsgIn .5s cubic-bezier(.2,.8,.3,1) backwards; }
@keyframes lpMsgIn { from { transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .lp-msg { animation: none; } }
.lp-msg.them { background: white; align-self: flex-start; border-top-left-radius: 5px; }
.lp-msg.ai { background: oklch(0.96 0.025 295); border: 1px solid var(--violet-soft); align-self: flex-end; border-top-right-radius: 5px; }
.lp-msg .ai-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; }
.lp-msg .mt { display: block; text-align: right; font-size: 9.5px; color: var(--ink-3); margin-top: 3px; }
.lp-float { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 15px; box-shadow: var(--shadow-lg); padding: 13px 15px; z-index: 3; display: flex; align-items: center; gap: 11px; }
.lp-float-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.lp-float .lab { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.lp-float .val { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.lp-float-1 { top: 40px; left: -36px; animation: lpFloat 5s ease-in-out infinite; }
.lp-float-2 { bottom: 56px; right: -30px; animation: lpFloat 5.5s ease-in-out infinite 0.6s; }
@keyframes lpFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ============ MARQUEE / TRUST STRIP ============ */
.lp-strip { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.lp-strip-inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.lp-strip-label { font-size: 13px; font-weight: 650; color: var(--ink-3); }
.lp-strip-stats { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: center; }
.lp-strip-stat { text-align: center; }
.lp-strip-stat .n { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--green-700); }
.lp-strip-stat .l { font-size: 12.5px; color: var(--ink-2); font-weight: 550; }
.lp-strip-sep { width: 1px; height: 34px; background: var(--border-2); }

/* ============ SECTION SHELL ============ */
.lp-sec { padding: 88px 0; }
.lp-sec-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.lp-tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 99px; background: var(--green-soft); color: var(--green-ink); font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.lp-h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-top: 16px; text-wrap: balance; }
.lp-lead { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin-top: 14px; text-wrap: pretty; }

/* ============ PROBLEM ============ */
.lp-problem { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-prob-card { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.lp-prob-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.lp-prob-card h3 { font-size: 17px; font-weight: 750; letter-spacing: -0.01em; }
.lp-prob-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin-top: 8px; }

/* ============ FEATURES ============ */
.lp-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-feat { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.lp-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.lp-feat-ic { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.lp-feat-ic.green { background: var(--green-soft); color: var(--green); }
.lp-feat-ic.violet { background: var(--violet-soft); color: var(--violet); }
.lp-feat-ic.amber { background: var(--amber-soft); color: var(--amber-600); }
.lp-feat-ic.blue { background: var(--blue-soft); color: var(--blue); }
.lp-feat-ic.red { background: var(--red-soft); color: var(--red); }
.lp-feat h3 { font-size: 18px; font-weight: 750; letter-spacing: -0.015em; }
.lp-feat p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin-top: 9px; }
.lp-feat-chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 12.5px; font-weight: 650; color: var(--green-ink); }

/* ============ SHOWCASE (alternating) ============ */
.lp-show { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-show + .lp-show { margin-top: 96px; }
.lp-show.rev .lp-show-text { order: 2; }
.lp-show-text h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin-top: 16px; text-wrap: balance; }
.lp-show-text p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin-top: 14px; }
.lp-show-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.lp-show-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--ink); list-style: none; }
.lp-show-list .ck { width: 22px; height: 22px; border-radius: 99px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.lp-show-visual { position: relative; }

/* showcase mock cards */
.lp-mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.lp-mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.lp-mock-bar .tl { width: 11px; height: 11px; border-radius: 99px; }
.lp-mock-body { padding: 18px; }
.lp-kb-item { display: flex; gap: 12px; padding: 13px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 10px; background: var(--surface); }
.lp-kb-item:last-child { margin-bottom: 0; }
.lp-kb-q { font-weight: 700; font-size: 14px; }
.lp-kb-a { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.lp-kb-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }

.lp-escal { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 13px; background: var(--red-soft); border: 1px solid var(--red-soft2); }
.lp-escal-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--red); color: white; display: flex; align-items: center; justify-content: center; flex: none; }

/* ============ HOW IT WORKS ============ */
.lp-how { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.lp-step { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); position: relative; }
.lp-step-num { width: 42px; height: 42px; border-radius: 12px; background: var(--green); color: white; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; box-shadow: var(--shadow-green); }
.lp-step h3 { font-size: 18px; font-weight: 750; letter-spacing: -0.015em; margin-top: 18px; }
.lp-step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin-top: 9px; }
.lp-step-arrow { position: absolute; right: -22px; top: 44px; color: var(--border-2); z-index: 2; }

/* ============ ANTI-BAN BANNER ============ */
.lp-shield-band { background: linear-gradient(150deg, var(--green-700), var(--green-800)); border-radius: var(--radius-xl); padding: 48px; color: white; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.lp-shield-band .glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, oklch(0.7 0.16 150 / 0.45), transparent 65%); top: -140px; right: -80px; }
.lp-shield-band > * { position: relative; z-index: 1; }
.lp-shield-band h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.lp-shield-band p { color: oklch(0.92 0.03 156); font-size: 16px; line-height: 1.6; margin-top: 12px; max-width: 540px; }
.lp-shield-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.lp-shield-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: oklch(1 0 0 / 0.12); border: 1px solid oklch(1 0 0 / 0.16); font-size: 13px; font-weight: 600; }
.lp-shield-ring { flex: none; }

/* ============ PRICING ============ */
.lp-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin: 0 auto; }
.lp-price { padding: 30px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-xl); position: relative; }
.lp-price.feat { border-color: var(--amber-600); box-shadow: 0 0 0 4px var(--amber-soft); }
.lp-price-badge { position: absolute; top: -13px; left: 30px; padding: 5px 13px; border-radius: 99px; background: var(--amber-600); color: white; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
.lp-price h3 { font-size: 20px; font-weight: 750; }
.lp-price .desc { color: var(--ink-2); font-size: 14px; margin-top: 6px; min-height: 40px; }
.lp-price-amt { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 4px; }
.lp-price-amt .cur { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.lp-price-amt .n { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; }
.lp-price-amt .per { color: var(--ink-3); font-size: 15px; }
.lp-price-old { font-size: 15px; font-weight: 600; color: var(--ink-3); text-decoration: line-through; }
.lp-price-beta { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--green-ink); background: var(--green-soft); padding: 3px 10px; border-radius: 99px; }
.lp-price-list { display: flex; flex-direction: column; gap: 11px; margin: 22px 0; }
.lp-price-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); list-style: none; }
.lp-price-list .ck { color: var(--green); flex: none; }
.lp-price-list .ck.amber { color: var(--amber-600); }
.lp-price-note { text-align: center; color: var(--ink-3); font-size: 13.5px; margin-top: 22px; }

/* ============ TESTIMONIALS ============ */
.lp-test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-test { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.lp-test-stars { display: flex; gap: 2px; color: var(--amber-600); margin-bottom: 14px; }
.lp-test-quote { font-size: 15px; line-height: 1.6; color: var(--ink); flex: 1; text-wrap: pretty; }
.lp-test-author { display: flex; align-items: center; gap: 11px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.lp-test-author .nm { font-weight: 700; font-size: 14px; }
.lp-test-author .biz { font-size: 12.5px; color: var(--ink-3); }

/* ============ FAQ ============ */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 12px; overflow: hidden; transition: box-shadow .16s; }
.lp-faq-item.open { box-shadow: var(--shadow-sm); }
.lp-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 18px 20px; text-align: left; font-weight: 650; font-size: 15.5px; }
.lp-faq-q .ic { flex: none; color: var(--ink-3); transition: transform .2s; }
.lp-faq-item.open .lp-faq-q .ic { transform: rotate(45deg); color: var(--green); }
.lp-faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .26s ease, padding .26s ease; }
.lp-faq-item.open .lp-faq-a { padding: 0 20px 18px; max-height: 240px; }
.lp-faq-a p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* ============ FINAL CTA ============ */
.lp-final { text-align: center; padding: 96px 0; }
.lp-final-card { background: linear-gradient(160deg, var(--green-600), var(--green-800)); border-radius: var(--radius-xl); padding: 64px 40px; position: relative; overflow: hidden; }
.lp-final-card .glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, oklch(0.72 0.16 150 / 0.5), transparent 64%); top: -160px; left: 50%; transform: translateX(-50%); }
.lp-final-card > * { position: relative; z-index: 1; }
.lp-final-card h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; color: white; line-height: 1.1; text-wrap: balance; }
.lp-final-card p { color: oklch(0.93 0.03 156); font-size: 17px; margin-top: 16px; max-width: 480px; margin-left: auto; margin-right: auto; }
.lp-final-cta { display: flex; gap: 13px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.btn-on-green { background: white; color: var(--green-700); }
.btn-on-green:hover { background: oklch(0.96 0.02 150); }
.btn-ghost-green { background: oklch(1 0 0 / 0.12); color: white; border: 1.5px solid oklch(1 0 0 / 0.25); }
.btn-ghost-green:hover { background: oklch(1 0 0 / 0.2); }

/* ============ FOOTER ============ */
.lp-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.lp-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.lp-foot-brand p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin-top: 14px; max-width: 280px; }
.lp-foot-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin-bottom: 14px; }
.lp-foot-col a { display: block; color: var(--ink-2); font-size: 14px; padding: 5px 0; transition: color .14s; }
.lp-foot-col a:hover { color: var(--green-ink); }
.lp-foot-bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.lp-foot-bot span { color: var(--ink-3); font-size: 13px; }
.lp-foot-social { display: flex; gap: 8px; }
.lp-foot-social a { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.lp-foot-social a:hover { background: var(--green-soft); color: var(--green-ink); }

/* reveal on scroll */
.lp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); }
.lp-reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 940px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .lp-hero-visual { order: -1; }
  .lp-show { grid-template-columns: 1fr; gap: 32px; }
  .lp-show.rev .lp-show-text { order: 0; }
  .lp-prob-grid, .lp-feat-grid, .lp-steps, .lp-test-grid { grid-template-columns: 1fr 1fr; }
  .lp-step-arrow { display: none; }
  .lp-shield-band { grid-template-columns: 1fr; text-align: left; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .lp-nav-links { display: none; }
  .lp-burger { display: flex; }
  .lp-nav-mobile { display: none; }
  .lp-sec { padding: 64px 0; }
  .lp-prob-grid, .lp-feat-grid, .lp-steps, .lp-test-grid, .lp-price-grid { grid-template-columns: 1fr; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; }
  .lp-shield-band, .lp-final-card { padding: 36px 26px; }
  .lp-hide-sm { display: none; }
}
@media (max-width: 480px) {
  .lp-foot-grid { grid-template-columns: 1fr; }
  .lp-strip-stats { gap: 20px; }
  .lp-phone { width: 280px; }
  .lp-float-1 { left: -16px; }
  .lp-float-2 { right: -10px; }
}
