/* ============================================================
   KATANGA AI COMPUTERS — visual system v3
   "Sunlit Copper" light theme — warm paper whites, polished
   copper accents, deep-ink typography, soft layered shadows.
   ============================================================ */

:root {
  --bg: #f7f5f1;
  --bg-2: #f0ede6;
  --surface: #ffffff;
  --ink: #171b26;
  --ink-soft: #2c3243;
  --muted: #646c7e;
  --faint: #9aa1b0;
  --line: rgba(23, 27, 38, 0.09);
  --line-strong: rgba(23, 27, 38, 0.16);
  --copper: #c25e1f;
  --copper-deep: #a34a14;
  --copper-soft: #f7e8db;
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --teal-soft: #ddf3f0;
  --success: #15803d;
  --success-soft: #e2f4e7;
  --danger: #dc2626;
  --grad: linear-gradient(100deg, #d97b2f 0%, #c25e1f 45%, #0d9488 115%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(23, 27, 38, 0.05), 0 4px 14px -6px rgba(23, 27, 38, 0.08);
  --shadow-md: 0 2px 4px rgba(23, 27, 38, 0.05), 0 18px 44px -18px rgba(23, 27, 38, 0.18);
  --shadow-lg: 0 4px 8px rgba(23, 27, 38, 0.04), 0 32px 70px -24px rgba(23, 27, 38, 0.28);
  --glow-copper: 0 0 0 1px rgba(194, 94, 31, 0.28), 0 18px 48px -14px rgba(194, 94, 31, 0.35);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Warm ambient washes fixed behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -6%, rgba(217, 123, 47, 0.10), transparent 60%),
    radial-gradient(820px 500px at 96% 4%, rgba(13, 148, 136, 0.09), transparent 60%),
    radial-gradient(700px 700px at 50% 115%, rgba(194, 94, 31, 0.06), transparent 65%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.78);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(23, 27, 38, 0.25);
}

.nav-wrap { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(194, 94, 31, 0.3)); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.08); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  box-shadow: 0 6px 16px -6px rgba(194, 94, 31, 0.55);
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; line-height: 1.1; }
.brand-name em { display: block; font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); }

/* Quick-links strip under the header - always visible, incl. mobile */
.quickbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.quickbar-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.quickbar-inner::-webkit-scrollbar { display: none; }
.quickbar-inner a {
  position: relative;
  padding: 13px 18px 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--muted); white-space: nowrap;
  transition: color 0.2s;
}
.quickbar-inner a:hover { color: var(--copper-deep); }
.quickbar-inner a.active { color: var(--copper-deep); }
.quickbar-inner a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px;
  height: 3px; border-radius: 3px 3px 0 0;
  background: var(--grad);
}

.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--ink); background: rgba(23, 27, 38, 0.05); }
.main-nav a.active { color: var(--copper-deep); background: var(--copper-soft); }
.main-nav a.nav-subtle { opacity: 0.65; font-weight: 500; }

.region-switch {
  display: flex; gap: 2px; padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.region-switch a {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.region-switch a:hover { color: var(--ink); background: rgba(23, 27, 38, 0.05); }
.region-switch a.active {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 12px -4px rgba(194, 94, 31, 0.5);
}
.region-switch .flag { font-size: 15px; line-height: 1; }
.region-switch .region-label { letter-spacing: 0.03em; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative;
  padding: 92px 0 40px;
  overflow: hidden;
}

.hero .container, .page-hero .container { position: relative; z-index: 1; }

.hero { text-align: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--copper-deep);
}
.hero-eyebrow::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 0 rgba(194, 94, 31, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(194, 94, 31, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(194, 94, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 94, 31, 0); }
}

.hero-title {
  margin: 26px auto 0;
  max-width: 880px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6.2vw, 76px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.page-hero .hero-title { font-size: clamp(36px, 5vw, 58px); }

.hero-sub {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.hero-search {
  display: flex; gap: 8px;
  max-width: 520px;
  margin: 36px auto 0;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.hero-search:focus-within {
  border-color: rgba(194, 94, 31, 0.5);
  box-shadow: var(--glow-copper);
}
.hero-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  padding: 11px 20px;
  font: inherit; font-size: 15.5px; color: var(--ink);
  min-width: 0;
}
.hero-search input::placeholder { color: var(--faint); }
.hero-search button {
  border: 0; border-radius: 999px;
  padding: 12px 28px;
  background: var(--grad); color: #fff;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 18px -8px rgba(194, 94, 31, 0.65);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.hero-search button:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 24px -8px rgba(194, 94, 31, 0.7); }

/* Hero product visual */
.hero-visual {
  position: relative;
  margin: 64px auto 0;
  max-width: 1020px;
  border-radius: 30px;
  overflow: visible;
}
.hero-visual img {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 12% 4% -8% 4%;
  z-index: -1;
  background: var(--grad);
  filter: blur(70px);
  opacity: 0.22;
  border-radius: 40px;
}

.hero-chip {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.hero-chip .chip-dot { width: 9px; height: 9px; border-radius: 50%; }
.hero-chip small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.chip-1 { top: 9%; left: -34px; animation-delay: 0s; }
.chip-1 .chip-dot { background: var(--copper); }
.chip-2 { top: 30%; right: -30px; animation-delay: 1.6s; }
.chip-2 .chip-dot { background: var(--teal); }
.chip-3 { bottom: 12%; left: 6%; animation-delay: 3.1s; }
.chip-3 .chip-dot { background: var(--success); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0 24px; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 34px;
}
.section-head.center { display: block; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
}
.section-sub { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
.text-link { color: var(--copper-deep); font-weight: 600; font-size: 15px; transition: color 0.2s; }
.text-link:hover { color: var(--copper); }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 44px;
}
.filter-chip { display: flex; align-items: center; gap: 11px; }
.filter-chip > span {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint);
}
.filter-chip select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23646c7e' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border-radius: 999px;
  padding: 9px 38px 9px 16px;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.filter-chip select:hover { border-color: var(--line-strong); }
.filter-chip select:focus {
  outline: 0; border-color: rgba(194, 94, 31, 0.55);
  box-shadow: 0 0 0 3px rgba(194, 94, 31, 0.14);
}
.filter-clear {
  margin-left: auto;
  font-size: 13.5px; font-weight: 600; color: var(--copper-deep);
  border-bottom: 1px dashed rgba(194, 94, 31, 0.5);
  transition: color 0.2s;
}
.filter-clear:hover { color: var(--copper); }

/* ---------- Model cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.model-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.4s;
}
.model-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(194, 94, 31, 0.22);
  border-color: rgba(194, 94, 31, 0.35);
}

.card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.model-card:hover .card-img img { transform: scale(1.055); }

.card-brand {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 13px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.card-new {
  position: absolute; top: 14px; right: 14px;
  padding: 6px 13px;
  background: var(--grad);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(194, 94, 31, 0.6);
}

.card-body { padding: 22px 22px 18px; flex: 1; }
.card-body h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 7px;
}
.card-body > p {
  color: var(--muted); font-size: 14.5px; line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.spec-pill {
  padding: 5px 12px;
  background: var(--bg-2);
  border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.spec-pill.npu {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.card-foot {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 20px;
  border-top: 1px solid var(--line);
}
.card-price { font-size: 13.5px; color: var(--muted); }
.card-price strong {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--copper-deep);
  letter-spacing: -0.02em;
}
.card-retailers { font-size: 12.5px; color: var(--faint); }
.card-arrow {
  margin-left: auto;
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 16px; color: var(--ink-soft);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.model-card:hover .card-arrow {
  background: var(--grad); color: #fff; border-color: transparent;
  transform: translateX(3px);
}

/* ---------- Why section ---------- */
.why {
  margin-top: 84px;
  padding: 84px 0;
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(217, 123, 47, 0.07), transparent 65%),
    radial-gradient(600px 300px at 85% 80%, rgba(13, 148, 136, 0.07), transparent 65%),
    linear-gradient(180deg, #fbf9f5, #f2efe9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}
.why-card {
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--copper-soft);
  border-radius: 16px;
  font-size: 25px;
  margin-bottom: 20px;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 9px;
}
.why-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  display: flex; flex-direction: column;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(194, 94, 31, 0.3);
}
.news-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.news-source {
  padding: 4px 12px;
  background: var(--teal-soft);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-deep);
}
.news-meta time { font-size: 12.5px; color: var(--faint); }
.news-card h3 {
  font-family: var(--font-display);
  font-size: 17.5px; font-weight: 700; line-height: 1.32; letter-spacing: -0.01em;
  margin-bottom: 9px;
}
.news-card > p, .news-body p {
  color: var(--muted); font-size: 14px; line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px;
  font-size: 13px; font-weight: 700;
  color: var(--copper-deep);
}
.news-card:hover .news-more { text-decoration: underline; text-underline-offset: 3px; }

.news-list { display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.news-row {
  flex-direction: row; align-items: center; gap: 24px;
  padding: 18px 26px 18px 18px;
}
.news-thumb {
  width: 190px; aspect-ratio: 16 / 10; flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-2);
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-row:hover .news-thumb img { transform: scale(1.05); }
.news-body { flex: 1; min-width: 0; }
.news-body h3 { font-size: 18px; }

/* ---------- Videos ---------- */
.video-reviews-section { padding: 72px 0 24px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.video-embed { aspect-ratio: 16 / 9; background: #000; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.video-info { padding: 18px 20px; }
.video-info h3 { font-size: 15.5px; font-weight: 600; line-height: 1.4; }

/* ---------- Upgrades page ---------- */
.upgrade-group {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  margin: 40px 0 18px;
  padding-left: 15px;
  border-left: 4px solid var(--copper);
}
.upgrade-card {
  display: flex; align-items: stretch; gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}
.upgrade-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(194, 94, 31, 0.3);
}
.upgrade-img {
  position: relative;
  width: 220px; flex-shrink: 0;
  background: var(--bg-2);
  overflow: hidden;
}
.upgrade-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.upgrade-card:hover .upgrade-img img { transform: scale(1.05); }
.upgrade-body { flex: 1; min-width: 0; padding: 24px 26px; }
.upgrade-cat {
  display: inline-block;
  padding: 4px 12px;
  background: var(--teal-soft);
  border-radius: 999px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 10px;
}
.upgrade-body h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 7px;
}
.upgrade-body > p {
  color: var(--muted); font-size: 14px; line-height: 1.55;
  margin-bottom: 12px;
}
.upgrade-side {
  width: 285px; flex-shrink: 0;
  padding: 24px 26px;
  border-left: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(217, 123, 47, 0.05), transparent 55%);
  display: flex; flex-direction: column; justify-content: center;
}
.upgrade-price {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--copper-deep);
  line-height: 1.1;
  display: block;
  margin-top: 2px;
}
.upgrade-retailers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty-state p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  background: var(--grad); color: #fff;
  border: 0; border-radius: 13px;
  font-weight: 700; font-size: 14.5px;
  box-shadow: 0 8px 18px -8px rgba(194, 94, 31, 0.6);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 12px 26px -8px rgba(194, 94, 31, 0.7); }
.btn-big { padding: 15px 32px; font-size: 16px; border-radius: 15px; }
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 11px; box-shadow: 0 5px 12px -6px rgba(194, 94, 31, 0.55); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-deep); filter: none; }
.btn-danger { background: linear-gradient(100deg, #ef4444, #dc2626); box-shadow: 0 8px 18px -8px rgba(220, 38, 38, 0.6); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 96px;
  background: #181c28;
  color: #c3c9d8;
}
.footer-wrap {
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap;
  padding-top: 64px; padding-bottom: 48px;
}
.footer-brand { max-width: 400px; }
.footer-brand .brand-logo { width: 44px; height: 44px; margin-bottom: 14px; filter: drop-shadow(0 3px 8px rgba(217, 123, 47, 0.45)); }
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px; color: #fff; letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 14px; color: #8b93a7; line-height: 1.65; }
.footer-links { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.footer-links a { font-size: 14.5px; font-weight: 600; color: #aab1c4; transition: color 0.2s; }
.footer-links a:hover { color: #f0b583; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 26px; padding-bottom: 30px;
}
.footer-legal p { font-size: 12.5px; color: #78809a; line-height: 1.7; }

/* ---------- Model detail page ---------- */
.breadcrumb {
  padding: 26px 24px 0;
  font-size: 13.5px; color: var(--faint);
}
.breadcrumb a { color: var(--muted); font-weight: 600; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--copper-deep); }
.breadcrumb span { color: var(--ink); font-weight: 600; }

.detail-hero {
  display: grid;
  grid-template-columns: 470px 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 24px;
}

.detail-media {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.detail-media::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(280px 200px at 15% 10%, rgba(217, 123, 47, 0.08), transparent 65%),
    radial-gradient(280px 200px at 90% 95%, rgba(13, 148, 136, 0.08), transparent 65%);
  pointer-events: none;
}
.detail-media img {
  position: relative;
  width: 100%; max-height: 420px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 18px 30px rgba(23, 27, 38, 0.18));
}

.detail-brand { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.detail-brand a { color: var(--copper-deep); border-bottom: 1px dashed rgba(194, 94, 31, 0.45); }
.detail-brand a:hover { color: var(--copper); }

.detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.05;
}
.detail-tagline { margin-top: 14px; font-size: 17.5px; color: var(--muted); line-height: 1.55; max-width: 560px; }

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.spec-strip > div {
  padding: 14px 17px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, transform 0.25s;
}
.spec-strip > div:hover { border-color: rgba(194, 94, 31, 0.35); transform: translateY(-2px); }
.spec-strip span {
  display: block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.spec-strip strong { font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.3; display: block; }

.detail-pricebox {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 30px;
  padding: 24px 28px;
  background:
    radial-gradient(400px 160px at 0% 0%, rgba(217, 123, 47, 0.13), transparent 70%),
    var(--surface);
  border: 1px solid rgba(194, 94, 31, 0.28);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.detail-pricebox-alt {
  background: var(--surface);
  border-color: var(--line);
}
.price-label {
  display: block;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 6px;
}
.detail-pricebox-alt .price-label { color: var(--faint); }
.price-big {
  display: block;
  font-family: var(--font-display);
  font-size: 42px; font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  color: var(--ink);
}
.price-via { display: block; margin-top: 7px; font-size: 13.5px; color: var(--muted); }
.price-sub { font-size: 13.5px; color: var(--faint); margin-top: 4px; }

.detail-body {
  display: grid;
  grid-template-columns: 1fr 385px;
  gap: 52px;
  align-items: start;
  padding-top: 48px;
}

.detail-main h2, .detail-main h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.detail-main h3 { font-size: 21px; font-weight: 700; margin: 38px 0 16px; }
.detail-main .section-title { margin-bottom: 18px; }

.prose { font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); max-width: 640px; }

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 22px;
  list-style: none;
  max-width: 680px;
}
.feature-list li {
  position: relative;
  padding: 13px 16px 13px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, transform 0.25s;
}
.feature-list li:hover { border-color: rgba(194, 94, 31, 0.35); transform: translateX(3px); }
.feature-list li::before {
  content: '';
  position: absolute; left: 17px; top: 50%;
  width: 9px; height: 9px;
  transform: translateY(-50%);
  background: var(--grad);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(194, 94, 31, 0.14);
}

.spec-table {
  width: 100%; max-width: 680px;
  border-collapse: separate; border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table th, .spec-table td {
  padding: 13px 20px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th {
  width: 200px;
  font-weight: 600; color: var(--faint);
  font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--bg);
}
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table td a { color: var(--copper-deep); font-weight: 600; }

.detail-side { position: sticky; top: 96px; }

.price-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.price-panel-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}
.price-panel-head h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
}
.price-updated { font-size: 12px; color: var(--faint); }

.price-list { list-style: none; }
.price-item {
  padding: 17px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.price-item:last-child { border-bottom: 0; }
.price-item:hover { background: rgba(23, 27, 38, 0.025); }
.price-item:first-child {
  background: linear-gradient(100deg, rgba(21, 128, 61, 0.07), rgba(13, 148, 136, 0.05));
}
.price-item-main { display: flex; align-items: center; gap: 13px; }
.retailer-badge {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #3a4157, #232839);
  border-radius: 12px;
  font-size: 13px; font-weight: 800; color: #fff;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px -4px rgba(23, 27, 38, 0.5);
}
.price-item-info { flex: 1; min-width: 0; }
.retailer-name { display: block; font-weight: 700; font-size: 15px; }
.price-sub-line { font-size: 12.5px; color: var(--faint); }
.price-amount {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap;
}
.price-item-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 12px;
}
.best-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px;
  background: var(--success-soft);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--success);
}
.stock-out { opacity: 0.55; }
.stock-out .price-amount { text-decoration: line-through; color: var(--faint); }
.stock-badge {
  padding: 4px 12px;
  background: #fde8e8;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--danger);
}

.disclaimer {
  margin-top: 18px;
  font-size: 12.5px; color: var(--faint); line-height: 1.6;
  padding: 0 6px;
}

.buy-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-retailer, .btn-retailer-sm {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-retailer:hover { border-color: var(--copper); color: var(--copper-deep); box-shadow: var(--shadow-sm); }
.btn-retailer-sm { padding: 7px 14px; font-size: 12.5px; }

.manufacturer-link-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: 14.5px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(194, 94, 31, 0.3); }
.mini-card .mini-arrow { color: var(--copper); margin-left: 6px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600; font-size: 14px;
}
.pagination a:hover { border-color: var(--copper); color: var(--copper-deep); }
.pagination .current { background: var(--grad); color: #fff; border-color: transparent; }

.tag-auto {
  padding: 3px 10px;
  background: var(--teal-soft);
  border-radius: 999px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-deep);
}

/* ---------- Admin ---------- */
.admin-body { background: var(--bg-2); min-height: 100vh; }
.admin-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.admin-head {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 16px;
}
.admin-head .main-nav { margin-left: 0; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 26px;
}
.panel h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--copper-deep);
}
.stat-card span { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left;
  padding: 11px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line-strong);
}
.data-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:hover td { background: rgba(23, 27, 38, 0.02); }
.row-actions { display: flex; gap: 8px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid .span-2 { grid-column: span 2; }
.form-grid label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  font: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: 0; border-color: rgba(194, 94, 31, 0.6);
  box-shadow: 0 0 0 3px rgba(194, 94, 31, 0.13);
}
.checkbox-line { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; }
.checkbox-line input { width: auto; }

.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  margin-bottom: 22px;
}
.alert-success { background: var(--success-soft); color: var(--success); border: 1px solid rgba(21, 128, 61, 0.25); }
.alert-error { background: #fde8e8; color: var(--danger); border: 1px solid rgba(220, 38, 38, 0.25); }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.badge-ok { background: var(--success-soft); color: var(--success); }
.badge-warn { background: #fdf2dc; color: #b45309; }
.badge-error { background: #fde8e8; color: var(--danger); }

.login-wrap {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 24px;
  background:
    radial-gradient(700px 400px at 15% 10%, rgba(217, 123, 47, 0.1), transparent 65%),
    radial-gradient(700px 400px at 85% 90%, rgba(13, 148, 136, 0.1), transparent 65%),
    var(--bg);
}
.login-card {
  width: 100%; max-width: 410px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
}
.login-card .brand { justify-content: center; margin-bottom: 26px; }
.login-card h1 {
  font-family: var(--font-display);
  font-size: 23px; font-weight: 700; text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.login-back { display: block; text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--faint); }
.login-back:hover { color: var(--copper-deep); }

.price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.log-msg { font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pre-wrap {
  background: #181c28;
  color: #c3c9d8;
  border-radius: var(--radius-sm);
  padding: 20px;
  font-size: 12.5px;
  overflow-x: auto;
  white-space: pre-wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .card-grid, .why-grid, .news-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero { grid-template-columns: 1fr; gap: 40px; }
  .detail-media { max-width: 560px; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-1 { left: 6px; }
  .chip-2 { right: 6px; }
}

@media (max-width: 760px) {
  .nav-wrap { height: 64px; gap: 14px; }
  .brand-name em { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 18px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .region-switch { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .region-switch .region-label { display: none; }
  .region-switch a { padding: 7px 10px; }

  .hero, .page-hero { padding: 60px 0 28px; }
  .hero-title { font-size: clamp(34px, 9vw, 46px); }
  .hero-sub { font-size: 16px; }
  .hero-search { flex-direction: column; border-radius: 22px; padding: 10px; }
  .hero-search button { width: 100%; }
  .hero-visual { margin-top: 44px; }
  .hero-visual img { border-radius: 20px; }
  .hero-chip { display: none; }

  .card-grid, .why-grid, .news-grid, .video-grid, .mini-grid { grid-template-columns: 1fr; }
  .news-row { flex-direction: column; align-items: stretch; }
  .news-thumb { width: 100%; }
  .filter-bar { padding: 16px 18px; }
  .filter-chip { width: 100%; justify-content: space-between; }
  .filter-chip select { flex: 1; }
  .filter-clear { margin-left: 0; }

  .feature-list { grid-template-columns: 1fr; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .upgrade-card { flex-direction: column; }
  .upgrade-img { width: 100%; aspect-ratio: 16 / 7; }
  .upgrade-side { width: 100%; border-left: 0; border-top: 1px solid var(--line); }
  .detail-pricebox { padding: 20px; }
  .price-big { font-size: 34px; }
  .footer-wrap { gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .section { padding: 52px 0 16px; }
}
