/* ===== Design tokens (다크 + 네온 라임 포인트) ===== */
:root {
  --color-bg: #0a0b07;
  --color-bg-alt: #0f1109;
  --color-surface: #15170d;
  --color-text: #f5f6ef;
  --color-text-muted: #9ba08c;
  --color-accent: #c6ff3d;       /* 네온 라임 (노랑~초록 사이 포인트 컬러) */
  --color-accent-dark: #9fd400;  /* 호버용 */
  --color-on-accent: #0a0b07;    /* 포인트 컬러 위에 올라가는 텍스트(항상 어둡게) */
  --color-border: #272b19;
  --color-footer-bg: #000000;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --max-width: 1120px;
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-outline { background: transparent; border-color: var(--color-text); color: var(--color-text); }
.btn-outline:hover { background: var(--color-text); color: var(--color-bg); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 7, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; color: var(--color-text); display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { flex-shrink: 0; }
.logo-en { font-weight: 500; color: var(--color-text-muted); font-size: 13px; margin-left: 4px; }
.main-nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--color-accent); }
.header-cta { display: flex; gap: 8px; }
.nav-toggle-input { display: none; }
.nav-toggle-btn { display: none; }

@media (max-width: 860px) {
  .header-cta .btn-outline { display: none; }
}
@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-surface);
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .nav-toggle-btn {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .nav-toggle-btn span, .nav-toggle-btn span::before, .nav-toggle-btn span::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-text);
    position: relative;
  }
  .nav-toggle-btn span::before { position: absolute; top: -6px; }
  .nav-toggle-btn span::after { position: absolute; top: 6px; }
  .nav-toggle-input:checked ~ .main-nav { display: flex; }
  .header-cta .btn { padding: 10px 14px; font-size: 14px; }
}

/* ===== Hero ===== */
.hero { padding: 64px 0 48px; text-align: center; }
.hero-sub-page { padding: 40px 0 32px; text-align: left; }
.eyebrow { color: var(--color-accent); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 8px; }
.hero h1 { font-size: 34px; max-width: 720px; margin-left: auto; margin-right: auto; color: var(--color-text); }
.hero-sub-page h1 { font-size: 28px; margin-left: 0; }
.hero-sub { color: var(--color-text-muted); font-size: 17px; max-width: 620px; margin: 0 auto 24px; }
.hero-sub-page .hero-sub { margin-left: 0; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-sub-page .hero-actions { justify-content: flex-start; }
.hero-badges { list-style: none; display: flex; gap: 18px; justify-content: center; padding: 0; margin: 0; flex-wrap: wrap; color: var(--color-text-muted); font-size: 14px; }

/* ===== Sections ===== */
.section { padding: 48px 0; }
.section-alt { background: var(--color-bg-alt); }
.section h2 { font-size: 24px; color: var(--color-text); }
.section-desc { color: var(--color-text-muted); max-width: 680px; }

/* ===== Price cards / tables ===== */
.price-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}
.price-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); }
.price-card-brand { font-size: 12px; letter-spacing: 0.06em; color: var(--color-text-muted); }
.price-card-model { font-weight: 700; font-size: 16px; color: var(--color-text); }
.price-card-value { color: var(--color-accent); font-weight: 700; }
.price-card-note { font-size: 12px; color: var(--color-text-muted); }

.price-table { margin: 20px 0; }
.price-table th, .price-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 12px 10px;
  text-align: left;
  font-size: 15px;
  color: var(--color-text);
}
.price-table th { color: var(--color-text-muted); font-weight: 600; }
.price-brand-block { margin-bottom: 40px; }
.price-brand-block h2 a { color: var(--color-text); }
.price-brand-block h2 a:hover { color: var(--color-accent); }
.price-disclaimer { font-size: 13px; color: var(--color-text-muted); }

.link-more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--color-accent); }

/* ===== Process steps ===== */
.process-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.process-steps li { background: var(--color-surface); border-radius: var(--radius-md); padding: 18px; border: 1px solid var(--color-border); }
.process-step-num { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-on-accent); border-radius: 50%; font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.process-step-title { display: block; font-weight: 700; margin-bottom: 4px; color: var(--color-text); }
.process-step-desc { display: block; font-size: 14px; color: var(--color-text-muted); }
.process-steps-detail { grid-template-columns: 1fr; gap: 20px; }
.process-steps-detail li { display: flex; gap: 16px; align-items: flex-start; }

/* ===== Brand grid / region grid ===== */
.brand-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.brand-chip { background: var(--color-surface); border: 1px solid var(--color-border); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--color-text); }
.brand-chip:hover { border-color: var(--color-accent); color: var(--color-accent); }

.region-group { margin-bottom: 28px; }
.region-group h2, .region-group h3 { font-size: 17px; margin-bottom: 10px; color: var(--color-text); }
.region-link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.region-link-grid a { font-size: 14px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text); }
.region-link-grid a:hover { border-color: var(--color-accent); color: var(--color-accent); }

.usp-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.usp-list li { padding-left: 26px; position: relative; color: var(--color-text-muted); }
.usp-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }

.perk-banner { background: var(--color-surface); border: 1px dashed var(--color-accent); border-radius: var(--radius-md); padding: 16px 20px; text-align: center; font-weight: 600; color: var(--color-text); }
.perk-note { display: block; font-weight: 400; font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }

/* ===== FAQ ===== */
.faq-section { padding: 40px 0; }
.faq-list { display: grid; gap: 10px; margin-top: 16px; }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 14px 18px; }
.faq-item summary { font-weight: 600; cursor: pointer; color: var(--color-text); }
.faq-item p { margin: 10px 0 0; color: var(--color-text-muted); }

/* ===== Case cards ===== */
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.case-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 18px; }
.case-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 12px; display: block; }
.case-date { font-size: 12px; color: var(--color-text-muted); }
.case-title { font-weight: 700; color: var(--color-text); }
.case-price { color: var(--color-accent); font-weight: 700; }
.case-review { font-size: 14px; color: var(--color-text-muted); }
.case-badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--color-accent); background: rgba(198, 255, 61, 0.1); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }

/* ===== Lead paragraph / fact list / compare table ===== */
.lead-paragraph { font-size: 17px; line-height: 1.6; color: var(--color-text); max-width: 720px; }
.fact-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; max-width: 720px; }
.fact-list li { padding-left: 24px; position: relative; color: var(--color-text-muted); }
.fact-list li::before { content: "•"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }

.compare-table { width: 100%; margin: 20px 0; border-collapse: collapse; }
.compare-table th, .compare-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 12px 10px;
  text-align: left;
  font-size: 14px;
  color: var(--color-text);
}
.compare-table th { color: var(--color-text-muted); font-weight: 600; }

.related-models { margin-top: 20px; }
.related-models-label { font-size: 13px; font-weight: 700; color: var(--color-text-muted); margin-bottom: 8px; }

/* ===== Info / legal ===== */
.info-table th, .info-table td { padding: 10px; border-bottom: 1px solid var(--color-border); text-align: left; color: var(--color-text); }
.info-table th { width: 160px; color: var(--color-text-muted); }
.legal-body { max-width: 720px; }
.legal-placeholder { background: rgba(198, 255, 61, 0.08); border: 1px dashed var(--color-accent-dark); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; color: var(--color-text); }

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 14px 0 0; font-size: 13px; color: var(--color-text-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb-sep { margin: 0 6px; }

/* ===== CTA band (포인트 컬러를 통째로 쓰는 구간) ===== */
.cta-band { background: var(--color-accent); color: var(--color-on-accent); padding: 48px 0; margin-top: 24px; }
.cta-band-inner { text-align: center; }
.cta-band-heading { font-size: 22px; font-weight: 800; margin-bottom: 6px; color: var(--color-on-accent); }
.cta-band-sub { color: rgba(10, 11, 7, 0.72); margin-bottom: 20px; }
.cta-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--color-on-accent); color: var(--color-accent); }
.cta-band .btn-primary:hover { background: #1a1c10; }
.cta-band .btn-outline { border-color: var(--color-on-accent); color: var(--color-on-accent); }
.cta-band .btn-outline:hover { background: var(--color-on-accent); color: var(--color-accent); }

/* ===== Footer ===== */
.site-footer { background: var(--color-footer-bg); color: rgba(245, 246, 239, 0.7); padding: 48px 0 24px; margin-top: 0; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-logo { color: var(--color-text); font-weight: 700; margin-bottom: 12px; }
.footer-heading { color: var(--color-text); font-weight: 700; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links-grid { grid-template-columns: repeat(2, 1fr); }
.footer-links a:hover { color: var(--color-accent); }
.footer-biz p { margin: 0 0 6px; }
.footer-bottom { border-top: 1px solid rgba(245, 246, 239, 0.1); margin-top: 32px; padding-top: 20px; font-size: 12px; color: rgba(245, 246, 239, 0.45); }
.footer-disclaimer { max-width: 720px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 26px; }
  .section { padding: 36px 0; }
  .cta-band-actions .btn { width: 100%; }
}
