/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    color: #333;
    background: #f8f9fa;
}
a { color: #339af0; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== GNB (Global Navigation Bar) ===== */
.gnb {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
}
.gnb-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gnb-logo {
    font-size: 18px;
    font-weight: 800;
    color: #212529 !important;
    text-decoration: none !important;
}
.gnb-links { display: flex; gap: 20px; }
.gnb-links a {
    font-size: 13px;
    color: #868e96;
    text-decoration: none;
    transition: color 0.2s;
}
.gnb-links a:hover, .gnb-links a.active { color: #212529; }

@media (max-width: 480px) {
    .gnb-inner { padding: 0 12px; }
    .gnb-links { gap: 8px; }
    .gnb-links a { font-size: 11px; }
    .gnb-logo { font-size: 16px; }
}

/* ===== Container ===== */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 48px 0 40px;
}
.hero-badge {
    display: inline-block;
    background: #e7f5ff;
    color: #1864ab;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 12px;
}
.hero-desc {
    font-size: 15px;
    color: #868e96;
    margin-bottom: 28px;
}
.btn-primary {
    display: inline-block;
    background: #339af0;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s;
}
.btn-primary:hover { background: #228be6; }

/* ===== Sections ===== */
.section {
    margin-bottom: 32px;
}
.section > h2 {
    font-size: 20px;
    color: #212529;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

/* ===== Cards ===== */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.card h2 {
    font-size: 18px;
    color: #212529;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f3f5;
}
.card h3 {
    font-size: 15px;
    color: #495057;
    margin: 16px 0 8px;
}
.card p, .card li {
    font-size: 14px;
    color: #495057;
}
.card ul {
    padding-left: 20px;
    margin: 8px 0;
}
.card li { margin-bottom: 6px; }

/* ===== Feature Grid ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
}
.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 6px;
}
.feature-card p {
    font-size: 13px;
    color: #868e96;
}
@media (max-width: 600px) {
    .feature-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 26px; }
    .hero-desc { font-size: 14px; }
    .hero-desc br { display: none; }
    .container { padding: 24px 16px 40px; }
    .page-header h1 { font-size: 20px; }
    .card { padding: 18px 16px; }
    .step { padding-left: 60px; }
    .step::before { left: 16px; top: 18px; width: 28px; height: 28px; font-size: 13px; }
    .step h3 { font-size: 15px; }
}

/* ===== Tables ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 14px;
}
th, td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}
th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}
.premium-col {
    color: #2b8a3e;
    font-weight: 600;
}

/* ===== Responsive Tables ===== */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 12px 0;
}
.table-wrap table {
    margin: 0;
    min-width: 400px;
}

@media (max-width: 600px) {
    table.stack-mobile thead { display: none; }
    table.stack-mobile,
    table.stack-mobile tbody,
    table.stack-mobile tr,
    table.stack-mobile td {
        display: block;
        width: 100%;
    }
    table.stack-mobile tr {
        margin-bottom: 12px;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 12px;
        background: #fff;
    }
    table.stack-mobile td {
        padding: 4px 0;
        border: none;
        font-size: 14px;
    }
    table.stack-mobile td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #495057;
        display: block;
        font-size: 12px;
        margin-bottom: 2px;
    }
}
.pricing-table {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.pricing-note {
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    background: #ebfbee;
    border-radius: 8px;
    font-size: 15px;
    color: #2b8a3e;
}

/* ===== Callouts ===== */
.highlight {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    font-size: 14px;
}
.info-box {
    background: #e7f5ff;
    border-left: 4px solid #339af0;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    font-size: 14px;
}
.success-box {
    background: #d3f9d8;
    border-left: 4px solid #40c057;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    font-size: 14px;
}

/* ===== Badges ===== */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.badge-green { background: #d3f9d8; color: #2b8a3e; }
.badge-blue { background: #d0ebff; color: #1864ab; }
.badge-gray { background: #e9ecef; color: #495057; }
.badge-orange { background: #fff3cd; color: #e67700; }

/* ===== Step List ===== */
.step-list { counter-reset: step; }
.step {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    position: relative;
    padding-left: 72px;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 24px;
    top: 24px;
    width: 32px;
    height: 32px;
    background: #339af0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}
.step h3 {
    font-size: 16px;
    color: #212529;
    margin-bottom: 6px;
}
.step p {
    font-size: 14px;
    color: #495057;
}

/* ===== Page Header ===== */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e9ecef;
}
.page-header h1 {
    font-size: 24px;
    color: #212529;
    margin-bottom: 6px;
}
.page-header .subtitle {
    font-size: 14px;
    color: #868e96;
}
.page-header .updated {
    font-size: 13px;
    color: #adb5bd;
    margin-top: 6px;
}

/* ===== Site Footer ===== */
.site-footer {
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 32px 24px;
    margin-top: 40px;
}
.footer-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}
.footer-links a {
    font-size: 13px;
    color: #868e96;
}
.footer-links a:hover { color: #212529; }
.site-footer p {
    font-size: 13px;
    color: #adb5bd;
    margin-top: 4px;
}
.site-footer p a { color: #868e96; }
.footer-company {
    margin: 12px 0;
    font-size: 12px;
    color: #adb5bd;
    line-height: 1.6;
}
.footer-company p { margin: 0; }
.copyright { margin-top: 8px; }

@media (max-width: 480px) {
    .footer-links { gap: 12px; }
    .footer-links a { font-size: 12px; }
    .footer-company { font-size: 11px; }
    .site-footer { padding: 24px 16px; }
}
