/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'PingFang TC', 'Noto Sans TC', sans-serif;
  background: #f4f7fb;
  color: #1a2535;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; }

/* ===== CSS VARIABLES — Habitz Medtech Brand ===== */
:root {
  --blue: #1378B8;
  --blue-dark: #062C64;
  --blue-light: #e6f2fb;
  --gold: #FFCB00;
  --gold-dark: #d4a800;
  --teal: #0d9488;
  --teal-light: #e0f7f5;
  --orange: #ea6c1a;
  --orange-light: #fff3e6;
  --green: #2d9c5a;
  --green-light: #e4f7ec;
  --gray: #6b7a8d;
  --gray-light: #eef1f5;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
}

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e0e6ed;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.75rem 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white; font-size: 1.4rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo strong { display: block; font-size: 1rem; color: var(--blue-dark); letter-spacing: -0.01em; }
.logo small { font-size: 0.72rem; color: var(--gray); }
nav { display: flex; gap: 0.25rem; flex: 1; }
nav a {
  padding: 0.5rem 0.9rem; border-radius: 8px;
  font-size: 0.88rem; color: var(--gray);
  transition: all 0.2s;
}
nav a:hover { background: var(--blue-light); color: var(--blue); }
.badge {
  background: var(--orange); color: white;
  font-size: 0.7rem; padding: 1px 6px;
  border-radius: 99px; margin-left: 4px;
}
.header-right { margin-left: auto; }
.btn-role {
  background: var(--blue-light); color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 0.5rem 1.1rem; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600;
  transition: all 0.2s;
}
.btn-role:hover { background: var(--blue); color: white; }
.hidden { display: none !important; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,44,100,0.55);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal-card {
  background: white; border-radius: var(--radius);
  padding: 2.5rem; max-width: 700px; width: 92%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0 } to { transform: none; opacity: 1 } }
.modal-card h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.modal-card > p { color: var(--gray); margin-bottom: 1.5rem; }
.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.role-card {
  border: 2px solid #e0e6ed; border-radius: var(--radius);
  padding: 1.5rem; cursor: pointer; transition: all 0.2s;
  text-align: center;
}
.role-card:hover { border-color: var(--blue); background: var(--blue-light); transform: translateY(-2px); }
.role-icon { font-size: 2.8rem; margin-bottom: 0.75rem; }
.role-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--blue-dark); }
.role-card ul { text-align: left; font-size: 0.84rem; color: var(--gray); margin-bottom: 1rem; }
.role-card ul li::before { content: '• '; color: var(--blue); }
.role-card ul li { padding: 0.15rem 0; }
.role-desc { font-size: 0.82rem; background: var(--gray-light); border-radius: 6px; padding: 0.5rem; color: var(--gray); }

/* ===== MAIN SECTIONS ===== */
main { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
.section { display: none; }
.section.active { display: block; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1378B8 55%, #0d9488 100%);
  border-radius: 20px; padding: 3.5rem;
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: center;
  margin-bottom: 3rem; color: white;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,203,0,0.08);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: 30%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero-tag {
  display: inline-block; background: rgba(255,203,0,0.25);
  border: 1px solid rgba(255,203,0,0.5);
  padding: 0.3rem 0.9rem; border-radius: 99px;
  font-size: 0.8rem; margin-bottom: 1rem; color: var(--gold);
}
.hero h1 { font-size: 2rem; line-height: 1.35; margin-bottom: 1rem; }
.accent { color: var(--gold); }
.hero p { opacity: 0.88; max-width: 480px; margin-bottom: 1.8rem; font-size: 0.97rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--blue-dark);
  border: none; padding: 0.8rem 1.8rem;
  border-radius: 10px; font-size: 1rem; font-weight: 800;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,203,0,0.4); }
.btn-secondary {
  background: rgba(255,255,255,0.15); color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 0.8rem 1.8rem; border-radius: 10px;
  font-size: 1rem; font-weight: 600; transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); }
.stat-cards { display: flex; flex-direction: column; gap: 0.8rem; }
.stat-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 1rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  min-width: 140px;
}
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--gold); }
.stat-card span:last-child { font-size: 0.82rem; opacity: 0.85; }

/* ===== SECTION TITLE ===== */
.section-title { text-align: center; margin: 2.5rem 0 1.8rem; }
.section-title h2 { font-size: 1.7rem; color: var(--blue-dark); }
.section-title p { color: var(--gray); margin-top: 0.4rem; }

/* ===== CATEGORY GRID ===== */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 3rem; }
.cat-card {
  background: white; border-radius: var(--radius);
  padding: 1.8rem; cursor: pointer;
  border: 2px solid transparent;
  box-shadow: var(--shadow); transition: all 0.25s;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cat-ltc:hover { border-color: var(--blue); }
.cat-rehab:hover { border-color: var(--teal); }
.cat-sport:hover { border-color: var(--gold-dark); }
.cat-icon { font-size: 2.5rem; }
.cat-card h3 { font-size: 1.2rem; }
.cat-ltc h3 { color: var(--blue); }
.cat-rehab h3 { color: var(--teal); }
.cat-sport h3 { color: var(--gold-dark); }
.cat-card p { font-size: 0.88rem; color: var(--gray); }
.cat-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cat-tags span {
  font-size: 0.75rem; padding: 0.2rem 0.6rem;
  border-radius: 99px; background: var(--gray-light); color: var(--gray);
}
.cat-subsidy { font-size: 0.8rem; color: var(--green); font-weight: 600; }
.btn-cat {
  margin-top: auto; background: none; border: none;
  font-size: 0.9rem; font-weight: 700; padding: 0; text-align: left;
}
.cat-ltc .btn-cat { color: var(--blue); }
.cat-rehab .btn-cat { color: var(--teal); }
.cat-sport .btn-cat { color: var(--gold-dark); }

/* ===== GUIDE ===== */
.guide-section { margin-bottom: 3rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.guide-item {
  background: white; border-radius: var(--radius);
  padding: 1.2rem 1.4rem; cursor: pointer;
  display: flex; align-items: center; gap: 0.9rem;
  box-shadow: var(--shadow); transition: all 0.2s;
  font-size: 0.95rem; font-weight: 600;
  border-left: 4px solid transparent;
}
.guide-item:hover { background: var(--blue-light); border-left-color: var(--blue); transform: translateX(4px); }
.guide-icon { font-size: 1.5rem; }

/* ===== BRAND MARQUEE ===== */
.brands-strip { margin-bottom: 3rem; }
.brands-scroll { overflow: hidden; position: relative; }
.brands-scroll::before, .brands-scroll::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.brands-scroll::before { left: 0; background: linear-gradient(to right, #f4f7fb, transparent); }
.brands-scroll::after { right: 0; background: linear-gradient(to left, #f4f7fb, transparent); }
.brands-track {
  display: flex; gap: 1rem; padding: 0.5rem 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }
.brand-chip {
  background: white; border: 1.5px solid #e0e6ed;
  padding: 0.55rem 1.2rem; border-radius: 99px;
  font-size: 0.88rem; font-weight: 700; color: var(--blue-dark);
  white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.2s;
}

/* ===== SUBSIDY BANNER ===== */
.subsidy-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-radius: var(--radius); color: white; margin-bottom: 2rem;
}
.subsidy-inner {
  padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.subsidy-inner h3 { font-size: 1.3rem; margin-bottom: 0.3rem; color: var(--gold); }
.subsidy-inner > div > p { opacity: 0.9; font-size: 0.9rem; }
.subsidy-steps { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 0.5rem; }
.step-num {
  background: var(--gold); color: var(--blue-dark); width: 28px; height: 28px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.step span:last-child { font-size: 0.88rem; }
.step-arrow { opacity: 0.6; }

/* ===== WIZARD ===== */
.wizard-container {
  max-width: 760px; margin: 0 auto;
  background: white; border-radius: 20px;
  padding: 2.5rem; box-shadow: var(--shadow);
}
.wizard-header { text-align: center; margin-bottom: 2rem; }
.wizard-header h2 { font-size: 1.7rem; color: var(--blue-dark); }
.wizard-header p { color: var(--gray); margin: 0.4rem 0 1.2rem; }
.progress-bar { background: var(--gray-light); border-radius: 99px; height: 8px; margin-bottom: 0.5rem; }
.progress-fill { background: linear-gradient(90deg, var(--blue-dark), var(--blue)); border-radius: 99px; height: 100%; transition: width 0.4s ease; }
#progress-text { font-size: 0.82rem; color: var(--gray); }
.wizard-question h3 { font-size: 1.15rem; margin-bottom: 1.4rem; color: var(--blue-dark); }
.wizard-options { display: grid; gap: 0.8rem; }
.wizard-option {
  border: 2px solid #e0e6ed; border-radius: 12px;
  padding: 1rem 1.3rem; cursor: pointer;
  display: flex; align-items: center; gap: 1rem;
  transition: all 0.2s; font-size: 0.95rem;
}
.wizard-option:hover { border-color: var(--blue); background: var(--blue-light); }
.wizard-option.selected { border-color: var(--blue); background: var(--blue-light); font-weight: 600; }
.wizard-option .opt-icon { font-size: 1.5rem; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 2rem; }
.btn-wizard-back {
  background: none; border: 2px solid #e0e6ed;
  padding: 0.7rem 1.5rem; border-radius: 10px;
  font-size: 0.95rem; color: var(--gray); transition: all 0.2s;
}
.btn-wizard-back:hover { border-color: var(--gray); color: #333; }
.btn-wizard-next {
  background: var(--blue); color: white; border: none;
  padding: 0.7rem 1.8rem; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700; transition: all 0.2s;
}
.btn-wizard-next:hover { background: var(--blue-dark); }
.wizard-result { text-align: center; }
.wizard-result h3 { font-size: 1.4rem; color: var(--blue-dark); margin-bottom: 0.5rem; }
.wizard-result p { color: var(--gray); margin-bottom: 1.8rem; }
.result-products { display: grid; gap: 1rem; text-align: left; margin-bottom: 1.5rem; }
.result-badge {
  display: inline-block; background: var(--green); color: white;
  font-size: 0.75rem; padding: 0.2rem 0.7rem; border-radius: 99px; margin-bottom: 0.8rem;
}
.btn-view-all {
  background: var(--blue); color: white; border: none;
  padding: 0.8rem 2rem; border-radius: 10px;
  font-size: 1rem; font-weight: 700; transition: all 0.2s;
}
.btn-view-all:hover { background: var(--blue-dark); }
.btn-restart {
  background: none; border: 2px solid var(--blue); color: var(--blue);
  padding: 0.8rem 2rem; border-radius: 10px;
  font-size: 1rem; font-weight: 700; margin-left: 1rem;
}

/* ===== CATALOG ===== */
.catalog-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.catalog-header h2 { font-size: 1.7rem; color: var(--blue-dark); }
.catalog-controls { display: flex; gap: 0.8rem; }
.catalog-controls input, .catalog-controls select {
  border: 1.5px solid #dde3ea; border-radius: 8px;
  padding: 0.55rem 0.9rem; font-size: 0.9rem; background: white;
  outline: none; transition: border-color 0.2s;
}
.catalog-controls input:focus, .catalog-controls select:focus { border-color: var(--blue); }
.catalog-controls input { width: 240px; }
.catalog-layout { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; }
.filters {
  background: white; border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  height: fit-content; position: sticky; top: 80px;
}
.filter-group { margin-bottom: 1.4rem; }
.filter-group h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray); margin-bottom: 0.6rem; }
.filter-group label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; padding: 0.25rem 0; cursor: pointer; }
.filter-group input[type="checkbox"] { accent-color: var(--blue); width: 16px; height: 16px; }
.btn-reset {
  width: 100%; background: var(--gray-light); border: none;
  padding: 0.6rem; border-radius: 8px; font-size: 0.88rem;
  color: var(--gray); transition: all 0.2s;
}
.btn-reset:hover { background: #dde3ea; }
.result-count { font-size: 0.88rem; color: var(--gray); margin-bottom: 1rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.product-card {
  background: white; border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow);
  transition: all 0.25s; display: flex; flex-direction: column; gap: 0.6rem;
  border: 2px solid transparent;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #e0e6ed; }
.product-thumb {
  width: 100%; height: 110px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; margin-bottom: 0.3rem;
}
.product-thumb.ltc { background: var(--blue-light); }
.product-thumb.rehab { background: var(--teal-light); }
.product-thumb.sport { background: #fff8e0; }
.product-cat {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 99px; text-transform: uppercase;
}
.product-cat.ltc { background: var(--blue-light); color: var(--blue); }
.product-cat.rehab { background: var(--teal-light); color: var(--teal); }
.product-cat.sport { background: #fff8e0; color: var(--gold-dark); }
.product-card h4 { font-size: 0.97rem; line-height: 1.4; }
.product-brand { font-size: 0.78rem; font-weight: 700; color: var(--blue); background: var(--blue-light); display: inline-block; padding: 0.1rem 0.5rem; border-radius: 4px; }
.product-card .target { font-size: 0.8rem; color: var(--gray); }
.product-price { font-size: 1.05rem; font-weight: 700; color: var(--blue-dark); }
.product-price .orig { text-decoration: line-through; font-size: 0.82rem; color: var(--gray); font-weight: 400; margin-left: 0.4rem; }
.subsidy-tag {
  display: inline-block; font-size: 0.72rem;
  background: var(--green-light); color: var(--green);
  padding: 0.15rem 0.55rem; border-radius: 99px; font-weight: 600;
}
.product-actions { display: flex; gap: 0.5rem; margin-top: auto; }
.btn-detail {
  flex: 1; background: var(--blue); color: white; border: none;
  padding: 0.55rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  transition: all 0.2s;
}
.btn-detail:hover { background: var(--blue-dark); }
.btn-compare {
  background: none; border: 1.5px solid #dde3ea;
  padding: 0.55rem 0.7rem; border-radius: 8px; font-size: 0.85rem;
  color: var(--gray); transition: all 0.2s;
}
.btn-compare:hover { border-color: var(--orange); color: var(--orange); }
.btn-compare.in-compare { border-color: var(--orange); background: var(--orange-light); color: var(--orange); }

/* ===== BRANDS PAGE ===== */
.brands-detail-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}
.brand-detail-card {
  background: white; border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: all 0.2s;
}
.brand-detail-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.brand-name { font-size: 1.2rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 0.5rem; }
.brand-origin { font-size: 0.78rem; color: var(--gray); margin-bottom: 0.8rem; }
.brand-desc { font-size: 0.88rem; color: #444; line-height: 1.6; margin-bottom: 1rem; }
.brand-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.brand-tags span {
  font-size: 0.73rem; padding: 0.2rem 0.6rem; border-radius: 99px;
  background: var(--blue-light); color: var(--blue); font-weight: 600;
}

/* ===== DETAIL MODAL ===== */
.detail-card {
  background: white; border-radius: 20px;
  max-width: 680px; width: 94%; max-height: 90vh;
  overflow-y: auto; padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: slideUp 0.25s ease;
}
.detail-top { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.detail-thumb {
  width: 140px; height: 140px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; flex-shrink: 0;
}
.detail-info { flex: 1; }
.detail-info h2 { font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--blue-dark); }
.detail-price { font-size: 1.5rem; font-weight: 800; color: var(--blue-dark); margin: 0.5rem 0; }
.detail-section { margin-bottom: 1.2rem; }
.detail-section h4 { font-size: 0.85rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.spec-item {
  background: var(--gray-light); border-radius: 8px;
  padding: 0.5rem 0.8rem; font-size: 0.85rem;
}
.spec-item strong { display: block; font-size: 0.72rem; color: var(--gray); text-transform: uppercase; }
.detail-notes { background: #fff8e0; border-left: 4px solid var(--gold); padding: 0.8rem 1rem; border-radius: 0 8px 8px 0; font-size: 0.88rem; }
.detail-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gray-light); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ===== COMPARE ===== */
.compare-empty { color: var(--gray); text-align: center; padding: 3rem; }
#compare-table-wrap { overflow-x: auto; }
.compare-table { border-collapse: collapse; width: 100%; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th, .compare-table td { border: 1px solid #e0e6ed; padding: 0.9rem 1.2rem; text-align: left; font-size: 0.9rem; }
.compare-table th { background: var(--blue-light); color: var(--blue-dark); font-weight: 700; }
.compare-table tr:hover td { background: var(--gray-light); }
.compare-table .row-label { font-weight: 600; color: var(--gray); background: var(--gray-light); }

/* ===== FOOTER ===== */
footer { background: var(--blue-dark); color: white; margin-top: 4rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem; display: grid; grid-template-columns: auto 1fr 1fr; gap: 3rem; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand strong { display: block; font-size: 1rem; }
.footer-brand p { font-size: 0.78rem; opacity: 0.6; margin-top: 0.2rem; }
.footer-info p, .footer-links p { font-size: 0.86rem; opacity: 0.8; padding: 0.25rem 0; }
.footer-info a, .footer-links a { opacity: 1; color: var(--gold); }
footer strong { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .role-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  nav a { padding: 0.5rem 0.6rem; font-size: 0.82rem; }
}
@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; gap: 0.5rem; }
  .hero { padding: 2rem; }
  .hero h1 { font-size: 1.5rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .detail-top { flex-direction: column; }
  .footer-inner { padding: 2rem 1rem; }
}
