/* ============================================================================
   Platform Portal CSS — Wix/GoDaddy-style SaaS landing
   For: partners.wardenstone.com / partners.landfuture.co.kr
   ============================================================================ */

@import url('/fonts/pretendard/pretendard-variable.css');

:root {
    --lf-primary: #2563EB;
    --lf-secondary: #1E40AF;
    --lf-accent: #F59E0B;
    --lf-dark: #0f172a;
    --lf-text: #1e293b;
    --lf-muted: #64748b;
    --lf-light: #f8fafc;
    --lf-border: #e2e8f0;
    --lf-success: #059669;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
    color: var(--lf-text); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased;
}
a { color: var(--lf-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--lf-secondary); }
img { max-width: 100%; height: auto; display: block; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Platform Header --- */
.pf-header {
    background: #fff; position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--lf-border);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.pf-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: .75rem 1.5rem;
}
.pf-logo { font-size: 1.3rem; font-weight: 800; color: var(--lf-dark); display: flex; align-items: center; gap: .4rem; }
.pf-logo span { color: var(--lf-primary); }
.pf-nav { display: flex; gap: .25rem; align-items: center; }
.pf-nav a {
    color: var(--lf-muted); font-weight: 500; font-size: .9rem;
    padding: .5rem .85rem; border-radius: 8px; transition: all .2s;
}
.pf-nav a:hover, .pf-nav a.active { background: #f1f5f9; color: var(--lf-primary); text-decoration: none; }
.pf-nav .pf-cta {
    background: var(--lf-primary); color: #fff !important; padding: .5rem 1.25rem;
    border-radius: 24px; font-weight: 600;
}
.pf-nav .pf-cta:hover { background: var(--lf-secondary); }
.pf-mobile-menu { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.pf-mobile-menu span { display: block; width: 22px; height: 2px; background: #374151; margin: 5px 0; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 2.25rem; border-radius: 30px; font-weight: 700; font-size: 1rem;
    cursor: pointer; border: 2px solid transparent; transition: all .2s;
    text-decoration: none; font-family: inherit;
}
.btn-primary { background: var(--lf-primary); color: #fff; border-color: var(--lf-primary); }
.btn-primary:hover { background: var(--lf-secondary); border-color: var(--lf-secondary); text-decoration: none; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(37,99,235,.3); }
.btn-accent { background: var(--lf-accent); color: #000; border-color: var(--lf-accent); }
.btn-accent:hover { filter: brightness(1.1); text-decoration: none; color: #000; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: #fff; color: var(--lf-primary); border-color: #fff; text-decoration: none; }
.btn-outline-dark { background: transparent; color: var(--lf-primary); border-color: var(--lf-primary); }
.btn-outline-dark:hover { background: var(--lf-primary); color: #fff; text-decoration: none; }
.btn-large { padding: 1rem 3rem; font-size: 1.1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }

/* --- Hero (Wix-style bold full-viewport) --- */
.pf-hero {
    background: linear-gradient(135deg, var(--lf-dark) 0%, #1e3a5f 50%, var(--lf-primary) 100%);
    color: #fff; text-align: center; padding: 6rem 1.5rem 5rem;
    position: relative; overflow: hidden;
}
.pf-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.pf-hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.pf-hero h1 { font-size: 3rem; font-weight: 900; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -.03em; }
.pf-hero h1 em { font-style: normal; color: var(--lf-accent); }
.pf-hero p { font-size: 1.2rem; opacity: .9; margin-bottom: 2.5rem; line-height: 1.6; }
.pf-hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.pf-hero-sub { margin-top: 1.5rem; font-size: .85rem; opacity: .6; }

/* --- Stats --- */
.pf-stats {
    background: #fff; padding: 3rem 0; border-bottom: 1px solid var(--lf-border);
}
.pf-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center;
}
.pf-stat-num { font-size: 2rem; font-weight: 900; color: var(--lf-primary); }
.pf-stat-label { font-size: .85rem; color: var(--lf-muted); margin-top: .15rem; }

/* --- Sections --- */
.pf-section { padding: 5rem 0; }
.pf-section-alt { padding: 5rem 0; background: var(--lf-light); }
.pf-section-dark { padding: 5rem 0; background: var(--lf-dark); color: #e2e8f0; }
.pf-section-dark h2, .pf-section-dark h3 { color: #fff; }
.section-title { text-align: center; font-size: 2rem; font-weight: 900; margin-bottom: .5rem; letter-spacing: -.02em; }
.section-subtitle { text-align: center; color: var(--lf-muted); font-size: 1.05rem; margin-bottom: 3.5rem; }
.pf-section-dark .section-subtitle { color: #94a3b8; }

/* --- Feature Grid --- */
.pf-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pf-feature {
    text-align: center; padding: 2.5rem 2rem; border-radius: 16px;
    background: #fff; border: 1px solid var(--lf-border);
    transition: transform .25s, box-shadow .25s;
}
.pf-feature:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.pf-feature-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, var(--lf-primary), var(--lf-secondary));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 1.25rem;
}
.pf-feature h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.pf-feature p { font-size: .9rem; color: var(--lf-muted); line-height: 1.6; }

/* --- Process Steps --- */
.pf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.pf-step { text-align: center; position: relative; counter-increment: step; padding: 1.5rem 1rem; }
.pf-step::before {
    content: counter(step); display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--lf-accent); color: #000; font-weight: 900; font-size: 1.2rem;
    margin: 0 auto 1.25rem;
}
.pf-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.pf-step p { font-size: .85rem; color: var(--lf-muted); line-height: 1.6; }
.pf-section-dark .pf-step p { color: #94a3b8; }

/* --- Template Showcase --- */
.pf-templates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pf-template-card {
    border-radius: 16px; overflow: hidden; background: #fff;
    border: 1px solid var(--lf-border); transition: transform .25s, box-shadow .25s;
}
.pf-template-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.pf-template-preview {
    height: 220px; background: linear-gradient(135deg, var(--lf-primary), var(--lf-secondary));
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: .9rem;
    position: relative; overflow: hidden;
}
.pf-template-preview::after {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}
.pf-template-preview span { position: relative; z-index: 1; font-size: 3rem; }
.pf-template-body { padding: 1.5rem; }
.pf-template-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.pf-template-body p { font-size: .85rem; color: var(--lf-muted); margin-bottom: 1rem; }
.pf-template-features { display: flex; gap: .5rem; flex-wrap: wrap; }
.pf-template-tag {
    font-size: .7rem; padding: .2rem .6rem; border-radius: 6px;
    background: #eff6ff; color: var(--lf-primary); font-weight: 600;
}

/* --- Pricing --- */
.pf-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pf-price-card {
    border-radius: 16px; background: #fff; border: 2px solid var(--lf-border);
    padding: 2.5rem 2rem; text-align: center;
    transition: transform .25s, box-shadow .25s;
}
.pf-price-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.pf-price-card.featured { border-color: var(--lf-primary); position: relative; }
.pf-price-card.featured::before {
    content: '추천'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--lf-primary); color: #fff; padding: .2rem 1rem; border-radius: 20px;
    font-size: .75rem; font-weight: 700;
}
.pf-price-name { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; color: var(--lf-muted); }
.pf-price-amount { font-size: 2.5rem; font-weight: 900; color: var(--lf-dark); margin-bottom: .25rem; }
.pf-price-amount small { font-size: .9rem; font-weight: 500; color: var(--lf-muted); }
.pf-price-desc { font-size: .85rem; color: var(--lf-muted); margin-bottom: 1.5rem; }
.pf-price-features { text-align: left; margin-bottom: 2rem; }
.pf-price-features li {
    padding: .4rem 0; font-size: .9rem; color: var(--lf-text);
    display: flex; align-items: center; gap: .5rem;
    border-bottom: 1px solid #f8fafc;
}
.pf-price-features li::before { content: '\2713'; color: var(--lf-success); font-weight: 700; }

/* --- Guide Page --- */
.pf-guide-section { padding: 3rem 0; }
.pf-guide-step {
    display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem;
    margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--lf-border);
}
.pf-guide-step:last-child { border-bottom: none; margin-bottom: 0; }
.pf-guide-num {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--lf-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 900; flex-shrink: 0;
}
.pf-guide-content h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .5rem; }
.pf-guide-content p { font-size: .95rem; color: var(--lf-muted); line-height: 1.8; margin-bottom: .75rem; }
.pf-guide-content ul { margin-left: 1.25rem; margin-bottom: 1rem; }
.pf-guide-content li { font-size: .9rem; color: var(--lf-text); margin-bottom: .4rem; list-style: disc; }
.pf-guide-tip {
    background: #eff6ff; border-left: 4px solid var(--lf-primary);
    padding: 1rem 1.25rem; border-radius: 0 8px 8px 0;
    font-size: .85rem; color: var(--lf-secondary); margin-top: .75rem;
}
.pf-guide-url {
    background: var(--lf-light); padding: .5rem 1rem; border-radius: 8px;
    font-family: 'SF Mono', Monaco, Consolas, monospace; font-size: .85rem;
    color: var(--lf-primary); display: inline-block; margin: .25rem 0;
    border: 1px solid var(--lf-border);
}

/* --- CTA Section --- */
.pf-cta-section {
    padding: 5rem 0; text-align: center; color: #fff;
    background: linear-gradient(135deg, var(--lf-primary), var(--lf-secondary));
    position: relative; overflow: hidden;
}
.pf-cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.pf-cta-section > * { position: relative; }
.pf-cta-section h2 { font-size: 2rem; font-weight: 900; margin-bottom: .75rem; }
.pf-cta-section p { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; }
.pf-cta-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* --- Footer --- */
.pf-footer { background: var(--lf-dark); color: #94a3b8; padding: 3rem 0 1.5rem; }
.pf-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.pf-footer-brand { font-weight: 700; color: #fff; }
.pf-footer-links { display: flex; gap: 1.5rem; }
.pf-footer-links a { color: #94a3b8; font-size: .85rem; }
.pf-footer-links a:hover { color: #fff; }
.pf-footer-copy { width: 100%; text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #1e293b; font-size: .78rem; color: #475569; }

/* --- Comparison Table --- */
.pf-compare-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.pf-compare-table th, .pf-compare-table td { padding: .85rem 1.25rem; text-align: left; border-bottom: 1px solid var(--lf-border); font-size: .9rem; }
.pf-compare-table thead th { background: var(--lf-dark); color: #fff; font-weight: 700; }
.pf-compare-table tbody tr:hover { background: #f8fafc; }
.pf-compare-table .check { color: var(--lf-success); font-weight: 700; }
.pf-compare-table .dash { color: #d1d5db; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pf-features { grid-template-columns: repeat(2, 1fr); }
    .pf-templates-grid { grid-template-columns: repeat(2, 1fr); }
    .pf-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pf-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pf-hero h1 { font-size: 2rem; }
    .pf-hero { padding: 4rem 1rem 3.5rem; }
    .pf-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: .5rem; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
    .pf-nav.open { display: flex; }
    .pf-nav a { padding: .75rem 1rem; width: 100%; }
    .pf-mobile-menu { display: block; }
    .pf-features { grid-template-columns: 1fr; }
    .pf-steps { grid-template-columns: repeat(2, 1fr); }
    .pf-templates-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.5rem; }
    .pf-guide-step { grid-template-columns: 1fr; }
    .pf-guide-num { margin-bottom: -.5rem; }
    .pf-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .pf-hero h1 { font-size: 1.6rem; }
    .pf-hero-actions { flex-direction: column; align-items: center; }
    .pf-steps { grid-template-columns: 1fr; }
    .pf-footer-inner { flex-direction: column; text-align: center; }
    .pf-footer-links { flex-wrap: wrap; justify-content: center; }
}
