/* =========================================
   K-BOOKSMAN — Premium B2B Wholesale Catalog
   Dark + Amber/Gold Aesthetic
   ========================================= */

:root {
  --bg: #0a0a0a;
  --bg-alt: #111114;
  --bg-card: #1a1a1f;
  --bg-card-hover: #222228;
  --fg: #faf8f5;
  --fg-muted: #8a8a9a;
  --fg-dim: #5a5a6a;
  --accent: #D4A853;
  --accent-dark: #C8963E;
  --accent-glow: rgba(212, 168, 83, 0.12);
  --border: rgba(212, 168, 83, 0.15);
  --border-light: rgba(250, 248, 245, 0.07);
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; color: var(--fg); margin-bottom: 1rem; line-height: 1.15;
}
.section-body { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 4px; font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 600; cursor: pointer; border: none;
  text-decoration: none; transition: all 0.2s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #0a0a0a; }
.btn-primary:hover { background: #e8bc68; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--border-light); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--accent); padding: 0.5rem 0; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light); padding: 0 2rem; height: 64px;
}
.navbar-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.navbar-logo {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 900;
  color: var(--fg); letter-spacing: 0.05em; text-decoration: none;
}
.navbar-logo span { color: var(--accent); }
.navbar-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.navbar-links a {
  font-size: 0.85rem; font-weight: 500; color: var(--fg-muted);
  text-decoration: none; transition: color 0.2s;
}
.navbar-links a:hover { color: var(--fg); }
@media (max-width: 768px) { .navbar-links { display: none; } }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; position: relative; display: flex;
  flex-direction: column; justify-content: center; padding-top: 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_194788/c80cd825-3388-4df2-ae59-52cf9c0118bf.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.35);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.65) 55%, rgba(10,10,10,1) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto; padding: 5rem 2rem 4rem;
  width: 100%;
}
.hero-kicker {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.05; color: var(--fg);
  margin-bottom: 1.5rem; letter-spacing: -0.02em;
  overflow: hidden; white-space: nowrap;
  border-right: 3px solid var(--accent);
  width: 0;
  animation: typing 3s steps(50, end) forwards, blink-caret 0.75s step-end infinite;
}
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--accent); }
}
.hero-sub {
  font-size: 1.1rem; color: rgba(250,248,245,0.72);
  max-width: 560px; line-height: 1.7; margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-ctas .btn-primary { font-size: 1rem; padding: 0.9rem 2.25rem; }
.hero-ctas .btn-outline { font-size: 1rem; padding: 0.9rem 2.25rem; }
.hero-stats {
  display: flex; gap: 3rem; flex-wrap: wrap; max-width: 700px;
}
.stat-ticker {}
.stat-ticker-value {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: 0.3rem;
}
.stat-ticker-label {
  font-size: 0.7rem; color: rgba(250,248,245,0.6); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.ticker-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 0.4rem;
  animation: pulse-dot 2s ease-in-out infinite; vertical-align: middle;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0.35; z-index: 1;
}
.hero-scroll span { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-muted); }
.scroll-line {
  width: 1px; height: 0; background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-anim 1.8s ease-in-out 1s infinite;
}
@keyframes scroll-anim {
  0% { height: 0; opacity: 0.8; }
  100% { height: 40px; opacity: 0; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--bg-alt); border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light); padding: 1.75rem 2rem;
}
.trust-bar-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--fg-muted);
}
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.trust-sep { width: 1px; height: 20px; background: var(--border-light); }
.trust-text {
  font-size: 0.8rem; color: var(--fg-muted);
  border-left: 1px solid var(--border-light); padding-left: 1.5rem;
}

/* ===== WHY K-BOOKSMAN ===== */
.why { padding: 6rem 2rem; background: var(--bg); }
.why-inner { max-width: 1240px; margin: 0 auto; }
.why-header { margin-bottom: 4rem; max-width: 600px; }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border-light);
  border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden;
}
.why-card {
  background: var(--bg); padding: 2.5rem 2rem; transition: background 0.2s;
}
.why-card:hover { background: var(--bg-alt); }
.why-icon {
  width: 48px; height: 48px; border-radius: 8px;
  background: var(--accent-glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; font-size: 1.25rem;
}
.why-card h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--fg); margin-bottom: 0.75rem;
}
.why-card p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.65; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== CATALOG ===== */
.catalog { padding: 6rem 2rem; background: var(--bg-alt); }
.catalog-inner { max-width: 1240px; margin: 0 auto; }
.catalog-header { margin-bottom: 3rem; }
.catalog-header .section-body { max-width: 500px; }

.filter-bar {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  align-items: center; margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.filter-label {
  font-size: 0.7rem; font-weight: 600; color: var(--fg-dim);
  letter-spacing: 0.1em; text-transform: uppercase; margin-right: 0.25rem;
}
.filter-select, .filter-btn {
  padding: 0.45rem 0.9rem; border: 1px solid var(--border-light);
  background: var(--bg-card); color: var(--fg-muted);
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 500;
  border-radius: 4px; cursor: pointer; transition: all 0.2s;
}
.filter-select:hover, .filter-btn:hover { border-color: var(--accent); color: var(--fg); }
.filter-btn.active { background: var(--accent-glow); border-color: var(--accent); color: var(--accent); }
.filter-select:focus { outline: none; border-color: var(--accent); }
.filter-reset {
  margin-left: auto; font-size: 0.75rem; color: var(--fg-dim);
  background: none; border: none; cursor: pointer; text-decoration: underline;
}
.filter-reset:hover { color: var(--fg-muted); }

.sort-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.sort-info { font-size: 0.8rem; color: var(--fg-dim); }
.sort-controls { display: flex; gap: 0.75rem; align-items: center; }
.view-toggle { display: flex; gap: 0.25rem; }
.view-btn {
  padding: 0.4rem 0.7rem; border: 1px solid var(--border-light);
  background: transparent; color: var(--fg-dim); border-radius: 4px;
  cursor: pointer; font-size: 0.8rem; transition: all 0.2s;
}
.view-btn.active { background: var(--accent-glow); border-color: var(--accent); color: var(--accent); }

.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.product-grid.list-view { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 8px; overflow: hidden; cursor: pointer;
  transition: all 0.25s ease; position: relative;
}
.product-card:hover {
  border-color: var(--border); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.product-image {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: var(--bg-alt); display: block;
}
.product-body { padding: 1.1rem; }
.product-category-badge {
  display: inline-block; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-glow);
  border: 1px solid var(--border); padding: 0.15rem 0.45rem;
  border-radius: 3px; margin-bottom: 0.4rem;
}
.product-name {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  color: var(--fg); line-height: 1.3; margin-bottom: 0.6rem;
}
.product-price-row { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.4rem; }
.product-wholesale { font-size: 1.05rem; font-weight: 700; color: var(--accent); }
.product-retail { font-size: 0.72rem; color: var(--fg-dim); }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.25rem; }
.product-source { font-size: 0.68rem; color: var(--fg-dim); }
.margin-badge { font-size: 0.68rem; font-weight: 600; padding: 0.12rem 0.35rem; border-radius: 3px; }
.margin-high { color: var(--green); background: rgba(74,222,128,0.1); }
.margin-mid { color: var(--amber); background: rgba(251,191,36,0.1); }
.margin-std { color: var(--red); background: rgba(248,113,113,0.1); }
.moq-badge {
  font-size: 0.62rem; color: var(--fg-dim);
  padding: 0.12rem 0.35rem; border: 1px solid var(--border-light); border-radius: 3px;
}
.inquire-btn {
  width: 100%; padding: 0.55rem; background: transparent;
  border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  border-radius: 4px; cursor: pointer; transition: all 0.2s;
  text-align: center; display: block; text-decoration: none;
}
.inquire-btn:hover { background: var(--accent); color: #0a0a0a; }

.product-grid.list-view .product-card { display: grid; grid-template-columns: 180px 1fr auto; align-items: center; }
.product-grid.list-view .product-image { width: 180px; aspect-ratio: 4/3; }
.product-grid.list-view .product-body { padding: 1.25rem; }
.product-grid.list-view .inquire-btn { width: auto; padding: 0.55rem 1.25rem; margin: 0 1.25rem; }
@media (max-width: 600px) {
  .product-grid.list-view .product-card { grid-template-columns: 1fr; }
  .product-grid.list-view .product-image { width: 100%; }
}

/* ===== SOURCING MAP ===== */
.sourcing-map { padding: 6rem 2rem; background: var(--bg); }
.sourcing-map-inner { max-width: 1240px; margin: 0 auto; }
.sourcing-map-header { margin-bottom: 4rem; }
.map-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1px; background: var(--border-light);
  border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden;
}
.map-region { background: var(--bg); padding: 2rem; position: relative; min-height: 180px; }
.map-region--china { grid-row: span 2; background: var(--bg-alt); }
.map-region h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--fg); margin-bottom: 0.5rem; }
.map-region p { font-size: 0.8rem; color: var(--fg-muted); line-height: 1.5; margin-bottom: 0.75rem; }
.map-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.map-tag {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-glow); border: 1px solid var(--border);
  padding: 0.15rem 0.4rem; border-radius: 3px;
}
.map-dot {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-ring 2s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 6px var(--accent); }
  50% { box-shadow: 0 0 18px var(--accent); }
}
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .map-grid { grid-template-columns: 1fr; } .map-region--china { grid-row: auto; } }

/* ===== HOW IT WORKS ===== */
.how { padding: 6rem 2rem; background: var(--bg-alt); }
.how-inner { max-width: 1240px; margin: 0 auto; }
.how-header { margin-bottom: 4rem; text-align: center; }
.how-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.how-step {
  padding: 2rem; position: relative; border: 1px solid var(--border-light);
  margin-left: -1px;
}
.how-step-num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 900;
  color: var(--accent); opacity: 0.25; line-height: 1; margin-bottom: 1rem;
}
.how-step h3 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--fg); margin-bottom: 0.6rem; }
.how-step p { font-size: 0.83rem; color: var(--fg-muted); line-height: 1.6; }
.how-step-arrow {
  position: absolute; right: -1.5rem; top: 50%; transform: translateY(-50%);
  font-size: 1.25rem; color: var(--accent); opacity: 0.4; z-index: 1;
}
@media (max-width: 900px) { .how-steps { grid-template-columns: repeat(2, 1fr); } .how-step-arrow { display: none; } .how-step { margin: 0; } }
@media (max-width: 600px) { .how-steps { grid-template-columns: 1fr; } }

/* ===== INQUIRY FORM ===== */
.inquiry { padding: 6rem 2rem; background: var(--bg); }
.inquiry-inner { max-width: 800px; margin: 0 auto; }
.inquiry-header { text-align: center; margin-bottom: 3rem; }
.inquiry-header .section-body { max-width: 500px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--fg-muted); letter-spacing: 0.05em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.75rem 1rem; background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 4px; color: var(--fg); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--bg-card); }
.form-submit { grid-column: 1 / -1; margin-top: 0.5rem; }
.form-submit .btn { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }
.form-success {
  display: none; text-align: center; padding: 3rem 2rem;
  background: rgba(74,222,128,0.05); border: 1px solid rgba(74,222,128,0.2);
  border-radius: 8px; margin-top: 1.5rem;
}
.form-success.show { display: block; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--green); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.9rem; color: var(--fg-muted); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 6rem 2rem; background: var(--bg-alt); }
.testimonials-inner { max-width: 1240px; margin: 0 auto; }
.testimonials-header { margin-bottom: 4rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 8px; padding: 2rem; position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-display); font-size: 4.5rem; color: var(--accent);
  opacity: 0.12; line-height: 1;
}
.testimonial-text {
  font-size: 0.88rem; color: var(--fg-muted); line-height: 1.7;
  margin-bottom: 1.5rem; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-glow);
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.testimonial-name { font-size: 0.85rem; font-weight: 600; color: var(--fg); }
.testimonial-role { font-size: 0.72rem; color: var(--fg-dim); }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.footer { background: var(--bg); border-top: 1px solid var(--border-light); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .footer-logo {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 900;
  color: var(--fg); letter-spacing: 0.05em; margin-bottom: 0.75rem; display: block; text-decoration: none;
}
.footer-brand .footer-logo span { color: var(--accent); }
.footer-brand p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--fg-muted); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.85rem; color: var(--fg-dim); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--border-light); padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.72rem; color: var(--fg-dim); }
.footer-bottom a { color: var(--fg-dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== PRODUCT MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 2rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 12px; max-width: 680px; width: 100%; max-height: 90vh;
  overflow-y: auto; position: relative;
}
.modal-close {
  position: sticky; top: 0; z-index: 10;
  background: rgba(26,26,31,0.95); backdrop-filter: blur(8px);
  padding: 1rem 1.5rem; display: flex; justify-content: flex-end;
}
.modal-close button {
  background: none; border: none; color: var(--fg-muted); font-size: 1.5rem;
  cursor: pointer; line-height: 1; padding: 0.25rem; transition: color 0.2s;
}
.modal-close button:hover { color: var(--fg); }
.modal-content { padding: 0 2rem 2rem; }
.modal-image {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 8px; margin-bottom: 1.5rem; background: var(--bg-alt);
}
.modal-category { margin-bottom: 0.4rem; }
.modal-name {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 900;
  color: var(--fg); margin-bottom: 0.6rem;
}
.modal-tagline { font-size: 0.88rem; color: var(--fg-muted); margin-bottom: 1.5rem; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.modal-stat { background: var(--bg); border: 1px solid var(--border-light); border-radius: 6px; padding: 0.9rem; }
.modal-stat-label { font-size: 0.65rem; font-weight: 600; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.modal-stat-value { font-size: 1.05rem; font-weight: 700; color: var(--fg); }
.modal-stat-value.accent { color: var(--accent); }
.modal-section { margin-bottom: 1.5rem; }
.modal-section h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-muted); margin-bottom: 0.6rem;
}
.modal-specs { display: flex; flex-direction: column; gap: 0; }
.modal-spec {
  display: flex; justify-content: space-between; font-size: 0.83rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border-light);
}
.modal-spec-key { color: var(--fg-muted); }
.modal-spec-val { color: var(--fg); font-weight: 500; }
.modal-cta { display: flex; gap: 1rem; }
.modal-cta .btn { flex: 1; justify-content: center; }
@media (max-width: 600px) { .modal-grid { grid-template-columns: 1fr; } .modal-cta { flex-direction: column; } }

/* ===== EMPTY STATE ===== */
.empty-state {
  display: none; text-align: center; padding: 4rem 2rem; color: var(--fg-muted);
}
.empty-state.show { display: block; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--fg); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.88rem; }

/* ===== PARALLAX HERO ===== */
@media (max-width: 768px) {
  .hero-scroll { display: none; }
  .hero-headline { white-space: normal; width: 100%; border-right: none; animation: none !important; }
}