/* ============================================
   큐알오더 - 키워드 랜딩 페이지 스타일 (lp-*)
   custom.css 의 :root 토큰을 그대로 활용.
   페이지별 강조색은 --lp-accent / --lp-accent2 / --lp-tint 로 주입.
   ============================================ */

.lp-body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.lp-container {
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* 스크롤 등장 */
.lp-section, .lp-card, .lp-step, .lp-screen, .lp-related-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.lp-section.is-visible, .lp-card.is-visible, .lp-step.is-visible,
.lp-screen.is-visible, .lp-related-card.is-visible {
    opacity: 1;
    transform: none;
}
.lp-card, .lp-step, .lp-screen { transition-delay: .05s; }

/* ---------- 공용 섹션 ---------- */
.lp-section { padding: 96px 0; position: relative; }
.lp-section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.lp-section-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lp-accent, var(--color-primary));
    background: var(--lp-tint, #eef2ff);
    padding: 7px 14px; border-radius: 100px; margin-bottom: 18px;
}
.lp-section-badge-dark { color:#fff; background: rgba(255,255,255,.14); }
.lp-section-badge-light { color:#fff; background: rgba(255,255,255,.18); }
.lp-section-header h2 {
    font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.25;
    letter-spacing: -0.02em; color: var(--color-text); margin-bottom: 16px;
}
.lp-section-header p { font-size: 17px; color: var(--color-text-secondary); line-height: 1.7; }
.lp-section-header-light h2, .lp-section-header-light p { color: #fff; }
.lp-section-header-light p { color: rgba(255,255,255,.82); }
.lp-lead { font-size: 18px !important; color: var(--color-text) !important; font-weight: 600; }
.lp-text-gradient {
    background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- HERO ---------- */
.lp-hero {
    position: relative;
    padding: calc(var(--header-height, 72px) + 72px) 0 120px;
    background: linear-gradient(160deg, #0F172A 0%, #1E293B 55%, var(--lp-accent) 160%);
    color: #fff; overflow: hidden;
}
.lp-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.lp-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.lp-orb-1 { width: 420px; height: 420px; background: var(--lp-accent); top: -120px; right: -80px; }
.lp-orb-2 { width: 360px; height: 360px; background: var(--lp-accent2); bottom: -120px; left: -60px; opacity:.4; }
.lp-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}
.lp-breadcrumb { display:flex; gap:8px; align-items:center; font-size:13px; color:rgba(255,255,255,.65); margin-bottom: 28px; }
.lp-breadcrumb a { color: rgba(255,255,255,.85); }
.lp-breadcrumb a:hover { color:#fff; }
.lp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.lp-eyebrow {
    display:inline-flex; align-items:center; gap:8px;
    font-family: var(--font-display); font-size:13px; font-weight:700; letter-spacing:.04em;
    color:#fff; background: rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.16);
    padding:8px 14px; border-radius:100px; margin-bottom:22px;
}
.lp-eyebrow svg { width:16px; height:16px; color: var(--lp-accent2); }
.lp-h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; line-height: 1.16; letter-spacing: -0.03em; margin-bottom: 22px; }
.lp-h1-em { background: linear-gradient(120deg, var(--lp-accent2), #fff); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color: transparent; }
.lp-hero-sub { font-size: 18px; line-height: 1.75; color: rgba(255,255,255,.84); margin-bottom: 28px; }
.lp-hero-bullets { list-style:none; display:grid; gap:12px; margin-bottom: 34px; }
.lp-hero-bullets li { display:flex; gap:10px; align-items:flex-start; font-size:15.5px; color: rgba(255,255,255,.92); }
.lp-hero-bullets svg { width:20px; height:20px; flex-shrink:0; color: var(--lp-accent2); margin-top:1px; }
.lp-hero-cta { display:flex; gap:12px; flex-wrap:wrap; }

/* 버튼 */
.lp-btn {
    display:inline-flex; align-items:center; gap:8px; justify-content:center;
    font-family: var(--font-main); font-size:15px; font-weight:700;
    padding:14px 26px; border-radius:100px; transition: all var(--transition-fast); white-space:nowrap;
}
.lp-btn-primary { background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent2)); color:#fff; box-shadow: 0 10px 30px -8px var(--lp-accent); }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px var(--lp-accent); }
.lp-btn-ghost { background: rgba(255,255,255,.10); color:#fff; border:1px solid rgba(255,255,255,.22); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.18); }
.lp-btn-ghost svg { color:#FEE500; }
.lp-btn-white { background:#fff; color: var(--lp-accent); }
.lp-btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); }
.lp-btn-outline-light { background: transparent; color:#fff; border:1px solid rgba(255,255,255,.5); }
.lp-btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* 히어로 카드 */
.lp-hero-visual { position: relative; display:flex; justify-content:center; }
.lp-hero-card {
    position: relative; width: 100%; max-width: 360px;
    background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16);
    border-radius: var(--radius-lg, 24px); padding: 34px 30px; backdrop-filter: blur(14px);
    text-align:center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.lp-hero-card-glow { position:absolute; inset:0; border-radius:inherit; background: radial-gradient(circle at 50% 0%, var(--lp-accent), transparent 70%); opacity:.35; }
.lp-hero-card-icon { width:64px; height:64px; margin:0 auto 18px; display:grid; place-items:center; border-radius:18px; background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent2)); color:#fff; position:relative; }
.lp-hero-card-icon svg { width:32px; height:32px; }
.lp-hero-card-title { font-size:22px; font-weight:800; margin-bottom:4px; position:relative; }
.lp-hero-card-sub { font-size:13px; color: rgba(255,255,255,.6); font-family: var(--font-display); margin-bottom:22px; position:relative; }
.lp-hero-card-stats { list-style:none; display:grid; grid-template-columns: repeat(3,1fr); gap:8px; position:relative; }
.lp-hero-card-stats li { display:flex; flex-direction:column; gap:4px; }
.lp-hero-card-stats strong { font-size:22px; font-weight:800; color:#fff; }
.lp-hero-card-stats strong span { font-size:13px; font-weight:600; margin-left:1px; }
.lp-hero-card-stats li span:last-child { font-size:11px; color: rgba(255,255,255,.6); }
.lp-float {
    position:absolute; display:flex; align-items:center; gap:7px;
    background: rgba(255,255,255,.95); color: var(--color-text); font-size:12.5px; font-weight:700;
    padding:9px 13px; border-radius:100px; box-shadow: var(--shadow-lg);
}
.lp-float-dot { width:8px; height:8px; border-radius:50%; background: var(--lp-accent); }
.lp-float-dot-success { background:#22c55e; }
.lp-float-1 { top:6%; left:-8%; }
.lp-float-2 { bottom:8%; right:-6%; }
.lp-hero-wave { position:absolute; left:0; right:0; bottom:-1px; line-height:0; z-index:1; }
.lp-hero-wave svg { width:100%; height:64px; display:block; }

/* ---------- INTRO ---------- */
.lp-intro-body { max-width: 820px; margin: 0 auto; display:grid; gap:20px; }
.lp-intro-body p { font-size: 16.5px; line-height: 1.9; color: var(--color-text-secondary); }

/* ---------- CARDS ---------- */
.lp-card-grid { display:grid; gap:22px; }
.lp-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lp-card-grid-5 { grid-template-columns: repeat(5, 1fr); }
.lp-card {
    background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-md, 16px);
    padding: 30px 26px; transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.lp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.lp-card-icon { width:52px; height:52px; border-radius:14px; display:grid; place-items:center; color: var(--lp-accent); background: var(--lp-tint, #eef2ff); margin-bottom:18px; }
.lp-card-icon svg { width:26px; height:26px; }
.lp-card h3 { font-size:18px; font-weight:700; margin-bottom:10px; letter-spacing:-0.01em; }
.lp-card p { font-size:14.5px; line-height:1.7; color: var(--color-text-secondary); }

/* 다크 카드 (For Owners) */
.lp-business { background: var(--color-surface-dark, #0F172A); }
.lp-business .lp-section-header h2 { color:#fff; }
.lp-business .lp-section-header p { color: rgba(255,255,255,.7); }
.lp-card-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.10); }
.lp-card-dark:hover { background: rgba(255,255,255,.07); box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); }
.lp-card-dark h3 { color:#fff; }
.lp-card-dark p { color: rgba(255,255,255,.66); }
.lp-card-icon-dark { background: rgba(255,255,255,.08); color: var(--lp-accent2); }

/* ---------- HOW IT WORKS ---------- */
.lp-how { background: linear-gradient(135deg, #111827, #1E293B); color:#fff; overflow:hidden; }
.lp-how-bg { position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, var(--lp-accent), transparent 50%); opacity:.18; }
.lp-steps { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; counter-reset: step; }
.lp-how .lp-steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lp-step { position:relative; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius: var(--radius-md,16px); padding: 30px 26px; }
.lp-step-num { font-family: var(--font-display); font-size:32px; font-weight:700; color: var(--lp-accent2); margin-bottom:14px; }
.lp-step h3 { font-size:18px; font-weight:700; color:#fff; margin-bottom:10px; }
.lp-step p { font-size:14.5px; line-height:1.7; color: rgba(255,255,255,.7); }

/* ---------- APP SCREENS ---------- */
.lp-screens { background: var(--color-surface-alt, #F8FAFC); }
.lp-screens-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.lp-screen { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-md,16px); overflow:hidden; box-shadow: var(--shadow-md); }
.lp-screen img { width:100%; height:auto; display:block; background:#0F172A; }
.lp-screen-label { display:flex; align-items:center; gap:10px; padding:16px 18px; }
.lp-screen-label span { font-family: var(--font-display); font-weight:700; color: var(--lp-accent); }
.lp-screen-label strong { font-size:15px; font-weight:700; }

/* ---------- STATS ---------- */
.lp-stats { padding: 64px 0; }
.lp-stats-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; max-width:840px; margin:0 auto; }
.lp-stat { text-align:center; padding:24px; border-radius: var(--radius-md,16px); background: var(--lp-tint, #eef2ff); }
.lp-stat strong { display:block; font-family: var(--font-display); font-size: clamp(34px,5vw,48px); font-weight:700; color: var(--lp-accent); line-height:1; }
.lp-stat strong sup { font-size:18px; margin-left:2px; }
.lp-stat span { display:block; margin-top:10px; font-size:14px; font-weight:600; color: var(--color-text-secondary); }

/* ---------- FAQ ---------- */
.lp-faq { background: var(--color-surface-alt, #F8FAFC); }
.lp-faq-list { max-width: 820px; margin:0 auto; display:grid; gap:12px; }
.lp-faq-item { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-sm,8px); overflow:hidden; transition: box-shadow var(--transition-base); }
.lp-faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.lp-faq-item summary { display:flex; align-items:center; gap:14px; padding: 20px 22px; cursor:pointer; list-style:none; }
.lp-faq-item summary::-webkit-details-marker { display:none; }
.lp-faq-q { width:26px; height:26px; flex-shrink:0; display:grid; place-items:center; border-radius:7px; background: var(--lp-tint,#eef2ff); color: var(--lp-accent); font-family: var(--font-display); font-weight:700; font-size:14px; }
.lp-faq-question { flex:1; font-size:16px; font-weight:600; letter-spacing:-0.01em; }
.lp-faq-icon { position:relative; width:14px; height:14px; flex-shrink:0; }
.lp-faq-icon::before, .lp-faq-icon::after { content:''; position:absolute; background: var(--color-text-light); border-radius:2px; transition: transform var(--transition-base); }
.lp-faq-icon::before { top:6px; left:0; width:14px; height:2px; }
.lp-faq-icon::after { top:0; left:6px; width:2px; height:14px; }
.lp-faq-item[open] .lp-faq-icon::after { transform: rotate(90deg); opacity:0; }
.lp-faq-answer { padding: 0 22px 22px 62px; }
.lp-faq-answer p { font-size:15px; line-height:1.8; color: var(--color-text-secondary); }

/* ---------- BOTTOM CTA ---------- */
.lp-cta { background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent2)); color:#fff; overflow:hidden; text-align:center; }
.lp-cta-bg { position:absolute; inset:0; }
.lp-cta .lp-orb-c1 { width:320px; height:320px; background:#fff; opacity:.12; top:-120px; left:-60px; }
.lp-cta .lp-orb-c2 { width:280px; height:280px; background:#fff; opacity:.10; bottom:-120px; right:-40px; }
.lp-cta-inner { position:relative; max-width:680px; margin:0 auto; }
.lp-cta-inner h2 { font-size: clamp(26px,4vw,38px); font-weight:800; margin-bottom:14px; }
.lp-cta-inner p { font-size:17px; color: rgba(255,255,255,.9); margin-bottom:30px; line-height:1.7; }
.lp-cta-buttons { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ---------- RELATED ---------- */
.lp-related { padding: 72px 0 96px; }
.lp-related-title { text-align:center; font-size:20px; font-weight:700; margin-bottom:28px; color: var(--color-text); }
.lp-related-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap:14px; }
.lp-related-card { display:flex; flex-direction:column; gap:4px; padding:18px 20px; border:1px solid var(--color-border); border-radius: var(--radius-sm,8px); position:relative; transition: all var(--transition-base); background:#fff; }
.lp-related-card:hover { border-color: var(--lp-accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lp-related-card strong { font-size:15.5px; font-weight:700; }
.lp-related-card span { font-size:13px; color: var(--color-text-secondary); }
.lp-related-card svg { position:absolute; top:18px; right:18px; color: var(--lp-accent); opacity:0; transform: translateX(-4px); transition: all var(--transition-base); }
.lp-related-card:hover svg { opacity:1; transform: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
    .lp-hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .lp-hero-visual { order: -1; }
    .lp-card-grid-3, .lp-card-grid-4, .lp-card-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .lp-screens-grid { grid-template-columns: 1fr; max-width:460px; margin:0 auto; }
    .lp-steps, .lp-how .lp-steps { grid-template-columns: 1fr; }
    .lp-stats-grid { grid-template-columns: 1fr; max-width:360px; }
}
@media (max-width: 560px) {
    .lp-section { padding: 64px 0; }
    .lp-card-grid-3, .lp-card-grid-4, .lp-card-grid-5 { grid-template-columns: 1fr; }
    .lp-hero { padding-top: calc(var(--header-height,60px) + 48px); padding-bottom: 88px; }
    .lp-hero-cta .lp-btn, .lp-cta-buttons .lp-btn { width:100%; }
    .lp-float { display:none; }
    .lp-faq-answer { padding-left: 22px; }
}
