/* ==========================================================================
   바른창 (Bareunchang) Modern Trust & Eco-Precision Design System
   Color Concept: Trust Royal Indigo (#1e3a8a, #2563eb) & Warm Amber (#d97706)
   Clean Rounded Card Architecture & Modern Pill Badges
   ========================================================================== */
:root {
    --hc-bg: #f8fafc;
    --hc-surface: rgba(255, 255, 255, 0.95);
    --hc-surface-solid: #ffffff;
    --hc-surface-white: #ffffff;
    --hc-text: #0f172a;
    --hc-text-soft: #475569;
    --hc-text-muted: #64748b;
    --hc-line: #e2e8f0;
    --hc-line-light: rgba(226, 232, 240, 0.8);
    
    /* Brand Colors */
    --hc-accent: #2563eb;          /* Vibrant Royal Blue */
    --hc-accent-dark: #1d4ed8;     /* Darker Royal Blue */
    --hc-title-accent: #1e3a8a;    /* Deep Trust Indigo */
    --hc-amber: #d97706;           /* Warm Sand Amber */
    --hc-amber-dark: #b45309;      /* Dark Amber */
    --hc-emerald: #059669;        /* Eco-Safety Green */

    --font-sans: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    /* Modern Rounded Shapes */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-soft: 0 8px 24px rgba(30, 58, 138, 0.06);
    --shadow-float: 0 16px 36px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body {
    font-family: var(--font-sans);
    background-color: var(--hc-bg);
    color: var(--hc-text);
    line-height: 1.75;
    word-break: keep-all;
    padding-bottom: 95px;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.container {
    width: 100%; max-width: 680px; margin: 0 auto;
    background: var(--hc-surface-solid); min-height: 100vh;
    border-left: 1px solid var(--hc-line); border-right: 1px solid var(--hc-line);
    box-shadow: 0 0 40px rgba(15, 23, 42, 0.05);
}

/* Modern Header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hc-line); padding: 12px 16px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
}
.brand-logo {
    font-size: 1.12rem; font-weight: 800; color: var(--hc-text);
    display: flex; align-items: center; gap: 7px; letter-spacing: -0.02em;
    white-space: nowrap; flex-shrink: 0; text-decoration: none;
}
.brand-logo span.tag {
    font-size: 0.72rem; color: #ffffff; background: var(--hc-accent);
    font-weight: 700; padding: 2px 8px; border-radius: var(--radius-full);
    letter-spacing: -0.01em;
}
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-quote-badge {
    font-size: 0.8rem; font-weight: 700; color: var(--hc-title-accent);
    background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 6px 12px; border-radius: var(--radius-full);
    text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
    white-space: nowrap; flex-shrink: 0; transition: all 0.2s ease;
}
.header-quote-badge:hover { background: rgba(37, 99, 235, 0.15); }
.header-phone-badge {
    position: relative; overflow: hidden;
    font-size: 0.84rem; font-weight: 800; color: #ffffff !important;
    background: linear-gradient(135deg, var(--hc-accent) 0%, var(--hc-title-accent) 100%);
    padding: 6px 13px; border-radius: var(--radius-full);
    display: inline-flex; align-items: center; gap: 5px;
    white-space: nowrap; flex-shrink: 0; letter-spacing: -0.2px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    animation: phoneGlow 2.4s infinite;
}
.header-phone-badge i { font-size: 0.8rem; color: #ffffff; animation: phoneRing 2.4s infinite ease-in-out; }
@keyframes phoneGlow { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } }
@keyframes phoneRing { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-15deg); } 20% { transform: rotate(15deg); } 30% { transform: rotate(-10deg); } 40% { transform: rotate(10deg); } 50% { transform: rotate(0); } }

/* Hero Section */
.hero-section {
    padding: 36px 24px 28px;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    text-align: left;
    border-bottom: 1px solid var(--hc-line);
}
.hero-en-tag {
    font-size: 0.8rem; color: var(--hc-accent); font-weight: 700;
    letter-spacing: 0.08em; display: block; margin-bottom: 6px; text-transform: uppercase;
}
.hero-location-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 700; color: var(--hc-title-accent);
    background: #ffffff; border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 6px 14px; border-radius: var(--radius-full); margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}
.hero-title {
    font-size: 1.72rem; font-weight: 900; line-height: 1.35;
    color: var(--hc-text); margin-bottom: 12px; letter-spacing: -0.03em;
}
.hero-sub {
    font-size: 0.95rem; color: var(--hc-text-soft); line-height: 1.75;
    margin-bottom: 20px;
}
.showcase-img {
    width: 100%; height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    margin: 18px 0; display: block;
    border: 1px solid var(--hc-line-light);
}

/* Trust Grid */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 24px 24px; }
.trust-card {
    background: #ffffff; border: 1px solid var(--hc-line);
    border-radius: var(--radius-md); padding: 18px 16px; text-align: left;
    box-shadow: var(--shadow-sm); transition: transform 0.2s ease, border-color 0.2s ease;
}
.trust-card:hover { transform: translateY(-3px); border-color: var(--hc-accent); box-shadow: var(--shadow-soft); }
.trust-icon { font-size: 1.35rem; color: var(--hc-accent); margin-bottom: 10px; }
.trust-title { font-size: 0.95rem; font-weight: 800; color: var(--hc-text); margin-bottom: 5px; }
.trust-desc { font-size: 0.82rem; color: var(--hc-text-soft); line-height: 1.55; }

/* Table of Contents */
.toc-box {
    margin: 12px 24px 26px; background: #ffffff; border: 1px solid var(--hc-line);
    border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-sm);
}
.toc-title { font-size: 0.92rem; font-weight: 800; color: var(--hc-title-accent); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc-list a {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.86rem; color: var(--hc-text); font-weight: 600; padding: 6px 10px;
    border-radius: var(--radius-sm); background: #f8fafc; transition: all 0.2s ease;
}
.toc-list a:hover { background: #eff6ff; color: var(--hc-accent); }
.toc-list .badge { font-size: 0.74rem; color: var(--hc-accent); }

/* Main Section Blocks */
.section-block { padding: 32px 24px; border-bottom: 1px solid var(--hc-line); }
.section-tag {
    font-size: 0.78rem; font-weight: 800; color: var(--hc-accent);
    letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 8px; text-transform: uppercase;
}
.section-title {
    font-size: 1.35rem; font-weight: 900; line-height: 1.4;
    color: var(--hc-text); margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-body p { margin-bottom: 14px; font-size: 0.94rem; color: var(--hc-text-soft); line-height: 1.8; }
.section-body p:last-child { margin-bottom: 0; }

/* Spec Table */
.spec-table-wrapper { width: 100%; overflow-x: auto; margin: 18px 0; border-radius: var(--radius-md); border: 1px solid var(--hc-line); box-shadow: var(--shadow-sm); }
.spec-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.85rem; background: #ffffff; }
.spec-table th { background: #eff6ff; color: var(--hc-title-accent); font-weight: 800; padding: 12px 14px; border-bottom: 1px solid var(--hc-line); white-space: nowrap; }
.spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--hc-line); color: var(--hc-text-soft); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table strong { color: var(--hc-text); }

/* Info Box */
.info-box {
    background: #f8fafc; border-left: 4px solid var(--hc-accent);
    padding: 16px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 18px 0; box-shadow: var(--shadow-sm);
}
.info-box-title { font-size: 0.92rem; font-weight: 800; color: var(--hc-title-accent); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.info-box-content { font-size: 0.86rem; color: var(--hc-text-soft); line-height: 1.65; }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.faq-item {
    background: #ffffff; border: 1px solid var(--hc-line); border-radius: var(--radius-md);
    overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color 0.2s ease;
}
.faq-item.active { border-color: var(--hc-accent); }
.faq-question {
    padding: 16px 18px; font-weight: 750; font-size: 0.92rem; color: var(--hc-text);
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
    background: #ffffff; user-select: none;
}
.faq-question i { font-size: 0.82rem; color: var(--hc-text-muted); transition: transform 0.2s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--hc-accent); }
.faq-answer {
    display: none; padding: 0 18px 16px; font-size: 0.86rem; color: var(--hc-text-soft); line-height: 1.7;
    border-top: 1px solid #f1f5f9; background: #f8fafc;
}
.faq-item.active .faq-answer { display: block; padding-top: 14px; }

/* Cross Links */
.cross-link-section { padding: 32px 24px; background: #ffffff; border-bottom: 1px solid var(--hc-line); }
.cross-title { font-size: 1.05rem; font-weight: 800; color: var(--hc-title-accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.cross-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.cross-chip {
    display: inline-block; padding: 7px 13px; font-size: 0.82rem; font-weight: 600;
    color: var(--hc-text-soft); background: #f8fafc; border: 1px solid var(--hc-line);
    border-radius: var(--radius-full); transition: all 0.2s ease;
}
.cross-chip:hover { background: #eff6ff; color: var(--hc-accent); border-color: rgba(37, 99, 235, 0.4); }

/* Footer */
.site-footer {
    padding: 34px 24px 38px; background: #0f172a; color: #94a3b8;
    text-align: center; font-size: 0.8rem; line-height: 1.8;
}
.footer-info { margin-bottom: 12px; }
.footer-info strong { color: #f8fafc; }
.site-footer p { color: #64748b; font-size: 0.76rem; }

/* Floating Bottom CTA */
.floating-cta-bar {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 680px; z-index: 1000;
    display: flex; gap: 8px; padding: 10px 14px;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px);
    border-top: 1px solid var(--hc-line); box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.cta-btn {
    flex: 1; padding: 14px 10px; border-radius: var(--radius-md); font-weight: 800; font-size: 0.95rem;
    display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transition: transform 0.1s ease;
}
.cta-btn:active { transform: scale(0.98); }
.btn-call { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); color: #ffffff; }
.btn-sms { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); color: #ffffff; }

@media (max-width: 480px) {
    .hero-title { font-size: 1.48rem; }
    .section-title { font-size: 1.2rem; }
    .trust-grid { grid-template-columns: 1fr; gap: 10px; }
}