/* ==========================================
   랜딩 페이지 전용 스타일 (lp- prefix)
   기장업체 프로젝트 관리 시스템 — 대문
   ========================================== */

:root {
    /* 신뢰감 있는 블루 톤 (회계/세무 도메인) */
    --lp-primary: #1E40AF;
    --lp-primary-hover: #1E3A8A;
    --lp-primary-soft: #EFF4FF;
    --lp-accent: #0EA5E9;
    --lp-success: #10B981;
    --lp-warning: #F59E0B;
    --lp-danger: #EF4444;

    --lp-text: #0F172A;
    --lp-text-muted: #64748B;
    --lp-text-light: #94A3B8;

    --lp-bg: #FFFFFF;
    --lp-bg-alt: #F8FAFC;
    --lp-bg-dark: #0F172A;

    --lp-border: #E2E8F0;
    --lp-border-dark: #CBD5E1;

    --lp-radius-sm: 6px;
    --lp-radius-md: 10px;
    --lp-radius-lg: 16px;
    --lp-radius-pill: 9999px;

    --lp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --lp-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --lp-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);

    --lp-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   공통 컨테이너 / 섹션
   ========================================== */
.lp-section {
    padding: 6rem 0;
    position: relative;
}

.lp-section--alt {
    background: var(--lp-bg-alt);
}

.lp-section--dark {
    background: var(--lp-bg-dark);
    color: white;
}

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lp-section-header {
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.lp-eyebrow {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--lp-primary);
    background: var(--lp-primary-soft);
    border-radius: var(--lp-radius-pill);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.lp-h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--lp-text);
    margin-bottom: 1rem;
}

.lp-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--lp-text-muted);
}

/* ==========================================
   버튼
   ========================================== */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--lp-radius-md);
    transition: all 0.2s var(--lp-ease);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.lp-btn--primary {
    background: var(--lp-primary);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 1px 2px rgba(30, 64, 175, 0.2);
}

.lp-btn--primary:hover {
    background: var(--lp-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.25);
}

.lp-btn--outline {
    background: #fff;
    color: var(--lp-text) !important;
    -webkit-text-fill-color: var(--lp-text) !important;
    border-color: var(--lp-border-dark);
}

.lp-btn--outline:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary) !important;
    -webkit-text-fill-color: var(--lp-primary) !important;
}

.lp-btn--ghost {
    background: transparent;
    color: var(--lp-text) !important;
    -webkit-text-fill-color: var(--lp-text) !important;
}

.lp-btn--ghost:hover {
    background: var(--lp-bg-alt);
}

.lp-btn--lg {
    padding: 1rem 1.75rem;
    font-size: 1rem;
}

.lp-btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s var(--lp-ease);
}

.lp-btn:hover .lp-btn-arrow {
    transform: translateX(3px);
}

/* ==========================================
   HERO 섹션
   ========================================== */
.lp-hero {
    padding: 9rem 0 5rem;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-pill);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--lp-primary);
    margin-bottom: 1.75rem;
    box-shadow: var(--lp-shadow-sm);
}

.lp-hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lp-success);
}

.lp-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--lp-text);
    margin-bottom: 1.5rem;
}

.lp-hero-title-mark {
    background: linear-gradient(120deg, var(--lp-primary), var(--lp-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--lp-text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.lp-hero-trust {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--lp-text-light);
}

.lp-hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lp-hero-trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--lp-success);
}

/* Hero 비주얼: 대시보드 모형 */
.lp-hero-visual {
    position: relative;
}

.lp-mock-window {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-lg);
    overflow: hidden;
}

.lp-mock-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    background: var(--lp-bg-alt);
    border-bottom: 1px solid var(--lp-border);
}

.lp-mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
}

.lp-mock-dot:nth-child(1) { background: #FCA5A5; }
.lp-mock-dot:nth-child(2) { background: #FCD34D; }
.lp-mock-dot:nth-child(3) { background: #86EFAC; }

.lp-mock-body {
    padding: 1.25rem;
}

.lp-mock-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
}

.lp-mock-kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.lp-mock-col {
    background: var(--lp-bg-alt);
    border-radius: var(--lp-radius-sm);
    padding: 0.6rem;
    min-height: 180px;
}

.lp-mock-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--lp-text-muted);
    margin-bottom: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-mock-col-count {
    background: #fff;
    border-radius: var(--lp-radius-pill);
    padding: 0.05rem 0.45rem;
    font-size: 0.65rem;
}

.lp-mock-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    padding: 0.55rem 0.6rem;
    margin-bottom: 0.4rem;
    box-shadow: var(--lp-shadow-sm);
    font-size: 0.72rem;
}

.lp-mock-card-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: var(--lp-radius-sm);
    margin-bottom: 0.3rem;
}

.lp-mock-card-tag--blue   { background: #DBEAFE; color: #1E40AF; }
.lp-mock-card-tag--green  { background: #D1FAE5; color: #065F46; }
.lp-mock-card-tag--orange { background: #FEF3C7; color: #92400E; }

.lp-mock-card-name {
    color: var(--lp-text);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.lp-mock-card-meta {
    color: var(--lp-text-light);
    font-size: 0.65rem;
}

/* Hero 플로팅 알림 카드 */
.lp-hero-floating {
    position: absolute;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    padding: 0.7rem 0.9rem;
    box-shadow: var(--lp-shadow-md);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    animation: lp-float 4s ease-in-out infinite;
}

.lp-hero-floating--top {
    top: -1rem;
    left: -1.5rem;
}

.lp-hero-floating--bottom {
    bottom: -1rem;
    right: -1rem;
    animation-delay: 2s;
}

.lp-hero-floating-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--lp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-hero-floating-icon--warning {
    background: #FEF3C7;
    color: #B45309;
}

.lp-hero-floating-icon--success {
    background: #D1FAE5;
    color: #065F46;
}

.lp-hero-floating-icon svg {
    width: 16px;
    height: 16px;
}

.lp-hero-floating-text {
    line-height: 1.3;
}

.lp-hero-floating-text strong {
    display: block;
    color: var(--lp-text);
    font-weight: 600;
}

.lp-hero-floating-text span {
    color: var(--lp-text-muted);
    font-size: 0.72rem;
}

@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ==========================================
   PAIN POINTS
   ========================================== */
.lp-pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.lp-pain-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 1.75rem;
    transition: all 0.2s var(--lp-ease);
}

.lp-pain-card:hover {
    border-color: var(--lp-primary);
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow-md);
}

.lp-pain-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--lp-radius-md);
    background: #FEE2E2;
    color: #B91C1C;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.lp-pain-icon svg {
    width: 22px;
    height: 22px;
}

.lp-pain-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 0.5rem;
}

.lp-pain-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--lp-text-muted);
}

/* ==========================================
   FEATURES
   ========================================== */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.lp-feature-card {
    display: flex;
    gap: 1.25rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    transition: all 0.2s var(--lp-ease);
}

.lp-feature-card:hover {
    border-color: var(--lp-primary);
    box-shadow: var(--lp-shadow-md);
}

.lp-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--lp-radius-md);
    background: var(--lp-primary-soft);
    color: var(--lp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-feature-icon svg {
    width: 24px;
    height: 24px;
}

.lp-feature-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 0.5rem;
}

.lp-feature-body p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--lp-text-muted);
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.lp-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--lp-primary-soft), var(--lp-primary), var(--lp-primary-soft));
    z-index: 0;
}

.lp-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.lp-step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: var(--lp-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--lp-primary-soft);
}

.lp-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 0.5rem;
}

.lp-step-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--lp-text-muted);
}

/* ==========================================
   SOCIAL PROOF / NUMBERS
   ========================================== */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-sm);
}

.lp-stat {
    text-align: center;
}

.lp-stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(120deg, var(--lp-primary), var(--lp-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.lp-stat-label {
    font-size: 0.9rem;
    color: var(--lp-text-muted);
}

/* ==========================================
   PRICING
   ========================================== */
.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1080px;
    margin: 0 auto;
}

.lp-price-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 2rem;
    position: relative;
    transition: all 0.2s var(--lp-ease);
}

.lp-price-card--featured {
    border-color: var(--lp-primary);
    border-width: 2px;
    transform: scale(1.03);
    box-shadow: var(--lp-shadow-lg);
}

.lp-price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.85rem;
    border-radius: var(--lp-radius-pill);
    letter-spacing: 0.04em;
}

.lp-price-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-text-muted);
    margin-bottom: 0.5rem;
}

.lp-price-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--lp-text);
    line-height: 1;
    margin-bottom: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.lp-price-period {
    font-size: 0.9rem;
    color: var(--lp-text-light);
    margin-bottom: 1.5rem;
}

.lp-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.lp-price-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.4rem 0;
    font-size: 0.92rem;
    color: var(--lp-text);
}

.lp-price-features li svg {
    width: 18px;
    height: 18px;
    color: var(--lp-success);
    flex-shrink: 0;
    margin-top: 1px;
}

.lp-price-card .lp-btn {
    width: 100%;
}

/* ==========================================
   FAQ
   ========================================== */
.lp-faq {
    max-width: 760px;
    margin: 0 auto;
}

.lp-faq-item {
    border-bottom: 1px solid var(--lp-border);
    padding: 0;
}

.lp-faq-item summary {
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color 0.2s var(--lp-ease);
}

.lp-faq-item summary::-webkit-details-marker {
    display: none;
}

.lp-faq-item summary:hover {
    color: var(--lp-primary);
}

.lp-faq-toggle {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    transition: transform 0.25s var(--lp-ease);
    color: var(--lp-text-muted);
}

.lp-faq-item[open] .lp-faq-toggle {
    transform: rotate(45deg);
    color: var(--lp-primary);
}

.lp-faq-answer {
    padding: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--lp-text-muted);
}

/* ==========================================
   FINAL CTA
   ========================================== */
.lp-final-cta {
    background: linear-gradient(135deg, var(--lp-primary) 0%, #2563EB 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.lp-final-cta::before,
.lp-final-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.lp-final-cta::before {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -100px;
}

.lp-final-cta::after {
    width: 500px;
    height: 500px;
    bottom: -250px;
    right: -150px;
}

.lp-final-cta .lp-container {
    position: relative;
    z-index: 1;
}

.lp-final-cta h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.lp-final-cta p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.lp-final-cta .lp-btn--primary {
    background: #fff;
    color: var(--lp-primary) !important;
    -webkit-text-fill-color: var(--lp-primary) !important;
}

.lp-final-cta .lp-btn--primary:hover {
    background: #F8FAFC;
}

.lp-final-cta .lp-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.lp-final-cta .lp-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.lp-final-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.lp-final-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   FOOTER
   ========================================== */
.lp-footer {
    background: var(--lp-bg-dark);
    color: #94A3B8;
    padding: 3.5rem 0 2rem;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.lp-footer-brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.lp-footer-tagline {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #94A3B8;
    max-width: 280px;
}

.lp-footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lp-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-footer-col li {
    margin-bottom: 0.55rem;
}

.lp-footer-col a {
    color: #94A3B8;
    font-size: 0.9rem;
    transition: color 0.15s var(--lp-ease);
}

.lp-footer-col a:hover {
    color: #fff;
}

.lp-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1E293B;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
}

.lp-footer-bottom span {
    color: #64748B;
}

/* ==========================================
   네비게이션 — 무료 시작 버튼 강조
   ========================================== */
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    background: var(--lp-primary);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border-radius: var(--lp-radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s var(--lp-ease);
    margin-left: 0.5rem;
}

.nav-cta:hover {
    background: var(--lp-primary-hover);
    transform: translateY(-1px);
}

/* ==========================================
   반응형
   ========================================== */
@media (max-width: 1024px) {
    .lp-hero-grid          { grid-template-columns: 1fr; gap: 3rem; }
    .lp-hero-visual        { max-width: 560px; margin: 0 auto; }
    .lp-features-grid      { grid-template-columns: 1fr; }
    .lp-pricing-grid       { grid-template-columns: 1fr; max-width: 480px; }
    .lp-price-card--featured { transform: none; }
    .lp-footer-grid        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .lp-section            { padding: 4rem 0; }
    .lp-hero               { padding: 7rem 0 3rem; }
    .lp-steps              { grid-template-columns: 1fr; gap: 2.5rem; }
    .lp-steps::before      { display: none; }
    .lp-stats              { grid-template-columns: 1fr; gap: 1.5rem; }
    .lp-footer-grid        { grid-template-columns: 1fr; gap: 2rem; }
    .lp-footer-bottom      { flex-direction: column; text-align: center; }
    .lp-hero-floating      { display: none; }
    .lp-hero-actions       { flex-direction: column; align-items: stretch; }
    .lp-hero-actions .lp-btn { width: 100%; }
}
