/* ==========================================================================
   Zipgwachang Modern Ocean Navy & Royal Blue Design System
   ========================================================================== */
:root {
    --hc-bg: #f8fafc;
    --hc-surface: rgba(255, 255, 255, 0.92);
    --hc-surface-solid: #ffffff;
    --hc-surface-white: #ffffff;
    --hc-text: #0f172a;
    --hc-text-soft: #475569;
    --hc-line: #e2e8f0;
    --hc-line-light: rgba(226, 232, 240, 0.7);
    --hc-accent: #2563eb;
    --hc-accent-dark: #1d4ed8;
    --hc-title-accent: #1e3a8a;
    --hc-gold: #0284c7;
    --hc-gold-dark: #0369a1;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;

    --clip-badge: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    --clip-btn: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    --clip-card: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);

    --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.05);
    --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.04);
}

/* 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: 10px 14px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 6px;
}
.brand-logo {
    font-size: 1.05rem; font-weight: 800; color: var(--hc-text);
    display: flex; align-items: center; gap: 6px; letter-spacing: -0.02em;
    white-space: nowrap; flex-shrink: 0; text-decoration: none;
}
.brand-logo span.highlight { color: var(--hc-title-accent); }
.brand-logo span.tag {
    font-family: var(--font-serif); font-style: italic; font-size: 0.7rem;
    color: var(--hc-accent); font-weight: 600; letter-spacing: 0.04em;
}
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-quote-badge {
    font-size: 0.78rem; 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: 5px 9px; border-radius: 20px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
    white-space: nowrap; flex-shrink: 0;
}
.header-phone-badge {
    position: relative; overflow: hidden;
    font-size: 0.82rem; font-weight: 800; color: #ffffff !important;
    background: linear-gradient(135deg, var(--hc-accent-dark) 0%, #1e40af 100%);
    border: 1px solid rgba(37, 99, 235, 0.4);
    padding: 5px 10px; border-radius: 20px;
    display: inline-flex; align-items: center; gap: 4px;
    white-space: nowrap; flex-shrink: 0; letter-spacing: -0.3px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.28);
    animation: phoneGlow 2.4s infinite;
}
.header-phone-badge i { font-size: 0.78rem; color: #ffffff; animation: phoneRing 2.4s infinite ease-in-out; }
.header-phone-badge::after {
    content: ''; position: absolute; top: -50%; left: -80%; width: 50%; height: 200%;
    background: linear-gradient(60deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 90%);
    transform: rotate(25deg); animation: phoneShimmer 2.4s infinite ease-in-out;
}
@keyframes phoneShimmer { 0% { left: -80%; } 35% { left: 160%; } 100% { left: 160%; } }
@keyframes phoneGlow { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); } 50% { box-shadow: 0 0 0 5px 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); } }
@media (max-width: 380px) {
    .site-header { padding: 8px 10px; }
    .brand-logo { font-size: 0.94rem; gap: 4px; }
    .header-actions { gap: 4px; }
    .header-quote-badge { font-size: 0.74rem; padding: 4px 7px; gap: 3px; }
    .header-phone-badge { font-size: 0.78rem; padding: 5px 8px; gap: 3px; }
}

/* Hero Section */
.hero-section {
    padding: 34px 22px 26px;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    text-align: left;
    border-bottom: 1px solid var(--hc-line);
}
.hero-en-tag {
    font-family: var(--font-serif); font-style: italic; font-size: 0.82rem;
    color: var(--hc-accent); font-weight: 600; letter-spacing: 0.06em;
    display: block; margin-bottom: 6px; text-transform: uppercase;
}
.hero-location-badge {
    display: inline-flex; align-items: center; gap: 6px;
    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: 5px 12px; clip-path: var(--clip-badge); margin-bottom: 14px;
}
.hero-title {
    font-size: 1.68rem; font-weight: 800; line-height: 1.35;
    color: var(--hc-text); margin-bottom: 12px; letter-spacing: -0.03em;
}
.hero-sub {
    font-size: 0.94rem; color: var(--hc-text-soft); line-height: 1.75;
    margin-bottom: 18px;
}

.showcase-img {
    width: 100%; height: auto;
    clip-path: var(--clip-card);
    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: 10px; padding: 14px 22px 22px; }
.trust-card {
    background: var(--hc-surface-white); border: 1px solid var(--hc-line);
    clip-path: var(--clip-card); padding: 16px; text-align: left;
    box-shadow: var(--shadow-soft); transition: transform 0.2s ease, border-color 0.2s ease;
}
.trust-card:hover { transform: translateY(-2px); border-color: var(--hc-accent); }
.trust-icon { font-size: 1.25rem; color: var(--hc-accent); margin-bottom: 8px; }
.trust-title { font-size: 0.92rem; font-weight: 700; color: var(--hc-text); margin-bottom: 4px; }
.trust-desc { font-size: 0.8rem; color: var(--hc-text-soft); line-height: 1.5; }

/* Table of Contents */
.toc-box {
    margin: 10px 22px 26px; background: var(--hc-surface-white);
    border: 1px solid var(--hc-line); clip-path: var(--clip-card);
    padding: 20px 22px; box-shadow: var(--shadow-soft);
}
.toc-title {
    font-size: 0.95rem; font-weight: 700; color: var(--hc-title-accent);
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.toc-list li a {
    font-size: 0.88rem; color: var(--hc-text); font-weight: 500;
    display: flex; align-items: center; justify-content: space-between; padding: 4px 0;
    transition: color 0.15s;
}
.toc-list li a:hover { color: var(--hc-accent); }
.toc-list li a span.badge { font-size: 0.74rem; color: var(--hc-accent); }

/* Content Sections */
.section-block { padding: 32px 22px; border-bottom: 1px solid var(--hc-line); }
.section-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-serif); font-style: italic; font-size: 0.8rem;
    font-weight: 700; color: var(--hc-title-accent); letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 8px;
}
.section-title {
    font-size: 1.34rem; font-weight: 800; color: var(--hc-text);
    margin-bottom: 16px; line-height: 1.4; letter-spacing: -0.02em;
}
.section-p { font-size: 0.95rem; color: #334155; line-height: 1.85; margin-bottom: 16px; }

.info-box {
    background: #f0f7ff;
    padding: 20px 20px 18px;
    clip-path: var(--clip-card);
    border-left: 4px solid var(--hc-accent);
    margin: 20px 0;
}
.info-box-title {
    font-size: 0.95rem; color: var(--hc-title-accent); font-weight: 700;
    margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.info-box-content { font-size: 0.88rem; color: #334155; line-height: 1.75; }

/* Specification Table */
.spec-table-wrapper {
    overflow-x: auto; margin: 20px 0;
    clip-path: var(--clip-card); border: 1px solid var(--hc-line);
    background: var(--hc-surface-white); box-shadow: var(--shadow-soft);
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; text-align: left; }
.spec-table th {
    background: #f1f5f9; color: var(--hc-text); font-weight: 700;
    padding: 13px 15px; border-bottom: 1px solid var(--hc-line);
}
.spec-table td {
    padding: 13px 15px; border-bottom: 1px solid var(--hc-line-light);
    color: #334155;
}

/* Price Cards */
.price-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.price-card {
    background: var(--hc-surface-white); border: 1px solid var(--hc-line);
    clip-path: var(--clip-card); padding: 16px; box-shadow: var(--shadow-soft);
}
.price-card-head { font-size: 0.88rem; font-weight: 700; color: var(--hc-title-accent); margin-bottom: 6px; }
.price-card-body { font-size: 0.82rem; color: var(--hc-text-soft); line-height: 1.55; }

/* Accordion FAQ */
.faq-accordion { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.faq-item {
    border: 1px solid var(--hc-line); clip-path: var(--clip-card);
    background: var(--hc-surface-white); overflow: hidden; box-shadow: var(--shadow-soft);
    transition: border-color 0.2s;
}
.faq-question {
    padding: 16px 20px; font-size: 0.94rem; font-weight: 700; color: var(--hc-text);
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; user-select: none;
}
.faq-question i { color: var(--hc-accent); transition: transform 0.25s; }
.faq-item.active { border-color: var(--hc-accent); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out;
    background: #f8fafc; padding: 0 20px; font-size: 0.9rem;
    color: #334155; line-height: 1.8;
}
.faq-item.active .faq-answer { padding: 14px 20px 20px; max-height: 400px; }

/* Floating CTA Bar */
.floating-cta-bar {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 680px;
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px);
    border-top: 1px solid var(--hc-line); padding: 12px 18px;
    display: flex; gap: 10px; z-index: 1000;
    box-shadow: 0 -6px 30px rgba(15, 23, 42, 0.08);
}
.cta-btn {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 8px; height: 50px; clip-path: var(--clip-btn);
    font-size: 0.96rem; font-weight: 700; cursor: pointer; border: none;
    letter-spacing: -0.01em;
}
.btn-call {
    background: linear-gradient(135deg, var(--hc-accent-dark) 0%, #1e40af 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-call i { color: #60a5fa; }
.btn-sms {
    background: var(--hc-text); color: #ffffff;
}
.btn-sms i { color: #38bdf8; }

/* Cross Linking Styles */
.cross-link-section {
    margin: 24px 0; padding: 24px 20px;
    background: var(--hc-surface-white); border: 1px solid var(--hc-line);
    clip-path: var(--clip-card);
}
.cross-title {
    font-size: 0.95rem; font-weight: 700; color: var(--hc-title-accent);
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.cross-title i { color: var(--hc-accent); }
.cross-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.cross-chip {
    display: inline-flex; align-items: center; padding: 7px 14px;
    background: var(--hc-bg); border: 1px solid var(--hc-line);
    clip-path: var(--clip-badge); font-size: 0.84rem; font-weight: 600;
    color: var(--hc-text); text-decoration: none; transition: all 0.2s;
}
.cross-chip:hover {
    background: var(--hc-accent-dark); color: #ffffff; border-color: var(--hc-accent-dark);
}
.cross-chip.active {
    background: var(--hc-accent-dark); color: #ffffff; border-color: var(--hc-accent-dark);
}

/* Footer */
.site-footer {
    padding: 32px 22px 14px; background: #f1f5f9;
    color: var(--hc-text-soft); font-size: 0.82rem; line-height: 1.75;
    border-top: 1px solid var(--hc-line);
}
.site-footer strong { color: var(--hc-text); }