/* ============================================
   FLAT ONE — Estimate Page Styles
   Minimal, Professional, Modern
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg: #FAFAFA;
    --bg-alt: #F2F2F2;
    --surface: #FFFFFF;
    --text: #1A1A1A;
    --text-secondary: #6B6B6B;
    --text-muted: #9A9A9A;
    --accent: #1A1A1A;
    --accent-light: #333333;
    --border: #E5E5E5;
    --border-light: #F0F0F0;
    --highlight: #FF4D00;
    --highlight-soft: rgba(255, 77, 0, 0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1120px;
    --nav-h: 64px;
}

/* --- Dark Mode Variables --- */
body.dark {
    --bg: #111111;
    --bg-alt: #1A1A1A;
    --surface: #222222;
    --text: #F0F0F0;
    --text-secondary: #A0A0A0;
    --text-muted: #666666;
    --accent: #FFFFFF;
    --accent-light: #CCCCCC;
    --border: #333333;
    --border-light: #2A2A2A;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 20px);
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

strong {
    font-weight: 600;
}

/* --- Container --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* --- Print Watermark --- */
.print-watermark {
    display: none;
}

/* =====================
   NAVIGATION
   ===================== */
#top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

body.dark #top-nav {
    background: rgba(17, 17, 17, 0.85);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-logo-sub {
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 6px;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
    color: var(--text-secondary);
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: var(--bg-alt);
}

body.dark .nav-link:hover,
body.dark .nav-link.active {
    background: rgba(255,255,255,0.08);
}

.nav-actions {
    display: flex;
    gap: 4px;
}

.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--bg-alt);
    color: var(--text);
}

body.dark .nav-btn:hover {
    background: rgba(255,255,255,0.08);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    font-size: 15px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-link:hover {
    background: var(--bg-alt);
    color: var(--text);
}

/* =====================
   HERO SECTION
   ===================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0D0D0D;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,77,0,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%),
        linear-gradient(180deg, #0D0D0D 0%, #1A1A1A 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 100px,
            rgba(255,255,255,0.015) 100px,
            rgba(255,255,255,0.015) 101px
        );
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 32px;
    max-width: 800px;
}

.hero-date {
    font-size: 13px;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-title {
    margin-bottom: 48px;
}

.hero-title-main {
    display: block;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-sub {
    display: block;
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 300;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.3);
    font-weight: 500;
}

.meta-value {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
}

.hero-meta-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.1);
}

.hero-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition);
}

.hero-scroll:hover {
    color: rgba(255,255,255,0.6);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Fade-up animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   SECTIONS
   ===================== */
.section {
    padding: 100px 0;
}

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

.section-header {
    margin-bottom: 56px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.section-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--highlight);
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: -32px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   SECTION 1: OVERVIEW
   ===================== */
.overview-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}

.overview-lead {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text);
}

.overview-body {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.overview-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.info-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

body.dark .info-card-icon {
    background: rgba(255,255,255,0.06);
}

.info-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.info-value {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

/* =====================
   SECTION 2: REFERENCE
   ===================== */
.reference-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.reference-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: var(--transition);
}

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

.ref-icon {
    font-size: 14px;
    color: var(--highlight);
    margin-bottom: 16px;
}

.ref-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.ref-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ref-points li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.ref-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--highlight);
}

/* =====================
   SECTION 3: SITEMAP
   ===================== */
.sitemap-flow {
    text-align: center;
}

.sitemap-root {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.sitemap-root .node-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

body.dark .sitemap-root .node-icon {
    background: #fff;
    color: #111;
}

.sitemap-root .node-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sitemap-branches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.sitemap-branches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border);
}

.sitemap-branch {
    position: relative;
    text-align: center;
}

.branch-line {
    width: 1px;
    height: 24px;
    background: var(--border);
    margin: 0 auto 16px;
}

.sitemap-branch .sitemap-node {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px 16px;
    transition: var(--transition);
}

.sitemap-branch .sitemap-node:hover {
    border-color: var(--highlight);
    box-shadow: var(--shadow-md);
}

.node-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--highlight-soft);
    color: var(--highlight);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

.node-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.node-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =====================
   SECTION 4: FEATURES
   ===================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--highlight-soft);
    color: var(--highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 16px;
}

.feature-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =====================
   SECTION 5: ESTIMATE
   ===================== */

/* Option Tabs */
.option-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.option-tab {
    flex: 1;
    padding: 20px 24px;
    background: var(--surface);
    border: 2px solid var(--border-light);
    border-radius: var(--radius);
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.option-tab:hover {
    border-color: var(--border);
}

.option-tab.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.tab-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--highlight);
    color: #fff;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 8px;
}

.option-tab:not(.active) .tab-badge {
    display: none;
}

.tab-label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.tab-desc {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Estimate Table */
.option-content {
    display: none;
}

.option-content.active {
    display: block;
}

.estimate-table-wrap {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.estimate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.estimate-table thead {
    background: var(--bg-alt);
}

body.dark .estimate-table thead {
    background: rgba(255,255,255,0.04);
}

.estimate-table th {
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.estimate-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.estimate-table td:first-child {
    color: var(--text);
    font-weight: 400;
}

.estimate-table tbody tr:hover {
    background: var(--bg-alt);
}

body.dark .estimate-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.estimate-table .text-right {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.estimate-table tfoot td {
    padding: 14px 24px;
    font-weight: 600;
    border-bottom: none;
}

.row-subtotal td {
    border-top: 1px solid var(--border);
    color: var(--text) !important;
    font-size: 14px;
}

.row-discount td {
    color: var(--highlight) !important;
}

.row-total td {
    border-top: 2px solid var(--accent);
    font-size: 16px;
    color: var(--text) !important;
    background: var(--bg-alt);
}

body.dark .row-total td {
    background: rgba(255,255,255,0.04);
}

.price-highlight {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Comparison */
.comparison-section {
    margin-top: 64px;
}

.comparison-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.comp-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px 32px;
    position: relative;
    transition: var(--transition);
}

.comp-card:hover {
    box-shadow: var(--shadow-md);
}

.comp-card-a {
    border-color: var(--accent);
    border-width: 2px;
}

.comp-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--highlight);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.comp-option {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.comp-type {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.comp-price {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.comp-original {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.comp-final {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.comp-final small {
    font-size: 16px;
    font-weight: 500;
    margin-left: 2px;
}

.comp-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-features li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-features li i {
    width: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.comp-features li strong {
    margin-left: auto;
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
}

/* =====================
   SECTION 6: SCHEDULE
   ===================== */
.schedule-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 48px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 4px;
    width: fit-content;
}

.schedule-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    transition: var(--transition);
}

.schedule-btn.active {
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
}

.schedule-content {
    display: none;
}

.schedule-content.active {
    display: block;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
}

.timeline-week {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    font-size: 11px;
    font-weight: 700;
    padding: 0 2px;
}

.timeline-body {
    padding-top: 2px;
}

.timeline-phase {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.timeline-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =====================
   SECTION 7: HOSTING
   ===================== */
.hosting-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hosting-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

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

.hosting-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    margin: 0 auto 16px;
}

body.dark .hosting-icon {
    background: rgba(255,255,255,0.06);
}

.hosting-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hosting-price {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.hosting-price small {
    font-size: 14px;
    font-weight: 500;
}

.hosting-note {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =====================
   SECTION 8: PAYMENT
   ===================== */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.payment-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.payment-card:hover {
    box-shadow: var(--shadow-md);
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-light);
}

body.dark .payment-header {
    background: rgba(255,255,255,0.04);
}

.payment-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.badge-b {
    color: var(--text-secondary);
}

.payment-total {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.payment-body {
    padding: 24px;
}

.payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-step {
    display: flex;
    align-items: center;
    gap: 14px;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

body.dark .step-circle {
    background: rgba(255,255,255,0.06);
}

.step-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.step-ratio {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.payment-amount {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.payment-divider {
    height: 1px;
    background: var(--border-light);
    margin: 16px 0;
}

.payment-note {
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--highlight-soft);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--highlight);
    line-height: 1.7;
}

.payment-note i {
    color: var(--highlight);
    margin-right: 6px;
}

/* =====================
   SECTION 9: NOTES
   ===================== */
.notes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.note-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.note-item:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.note-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

body.dark .note-icon {
    background: rgba(255,255,255,0.06);
}

.note-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-top: 10px;
}

/* =====================
   FOOTER
   ===================== */
#footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-contact p {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: right;
}

.footer-contact p + p {
    margin-top: 4px;
}

.footer-contact i {
    margin-right: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

/* =====================
   BACK TO TOP
   ===================== */
.btn-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 900;
}

.btn-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .sitemap-branches {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 56px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 36px;
        flex-direction: column;
        gap: 4px;
    }

    .section-desc {
        margin-top: -16px;
        margin-bottom: 32px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 16px;
    }

    .hero-meta-divider {
        width: 40px;
        height: 1px;
    }

    .reference-grid {
        grid-template-columns: 1fr;
    }

    .sitemap-branches {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .sitemap-branches::before {
        display: none;
    }

    .branch-line {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .option-tabs {
        flex-direction: column;
    }

    .estimate-table th,
    .estimate-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .comparison-cards {
        grid-template-columns: 1fr;
    }

    .comp-final {
        font-size: 32px;
    }

    .schedule-toggle {
        width: 100%;
    }

    .schedule-btn {
        flex: 1;
        text-align: center;
        font-size: 13px;
        padding: 10px 12px;
    }

    .hosting-cards {
        grid-template-columns: 1fr;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-contact p {
        text-align: center;
    }

    .btn-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .sitemap-branches {
        grid-template-columns: 1fr;
    }

    .estimate-table th:nth-child(2),
    .estimate-table td:nth-child(2) {
        display: none;
    }

    .price-highlight {
        font-size: 20px;
    }
}

/* =====================
   PRINT STYLES
   ===================== */
@media print {
    * {
        box-shadow: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11px;
    }

    #top-nav,
    .btn-top,
    .nav-actions,
    .hero-scroll,
    .option-tabs,
    .schedule-toggle,
    .mobile-menu-btn,
    .mobile-menu {
        display: none !important;
    }

    #hero {
        min-height: auto;
        padding: 60px 0;
        background: #1a1a1a !important;
        page-break-after: avoid;
    }

    .hero-title-main {
        font-size: 42px !important;
        -webkit-text-fill-color: #fff;
        color: #fff;
    }

    .section {
        padding: 32px 0;
        page-break-inside: avoid;
    }

    .section-alt {
        background: #f8f8f8 !important;
    }

    .option-content {
        display: block !important;
        margin-bottom: 32px;
    }

    .option-content::before {
        display: block;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 12px;
        padding-top: 8px;
    }

    #option-a::before {
        content: '옵션 A — 커스텀 개발 (Next.js 기반, 추천)';
    }

    #option-b::before {
        content: '옵션 B — WordPress 커스텀 테마';
    }

    .schedule-content {
        display: block !important;
        margin-bottom: 24px;
    }

    .schedule-content::before {
        display: block;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    #schedule-a::before {
        content: '옵션 A — 총 5주';
    }

    #schedule-b::before {
        content: '옵션 B — 총 3.5주';
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

    .estimate-table {
        font-size: 11px;
    }

    .print-watermark {
        display: block;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        font-size: 100px;
        font-weight: 800;
        color: rgba(0,0,0,0.03);
        letter-spacing: 0.1em;
        z-index: 0;
        pointer-events: none;
    }

    a[href]::after {
        content: none !important;
    }
}
