/* SCIMI Official Website — TCG Collector Dark Design System */
:root {
  --bg-primary: #090c13;
  --bg-secondary: #101521;
  --bg-card: #151c2c;
  --bg-card-hover: #1b2438;
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-gold: rgba(229, 169, 60, 0.45);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-gold: #e5a93c;
  --accent-gold-light: #f7ce68;
  --accent-gold-dark: #c4821d;
  --accent-emerald: #22c55e;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.35);
  --max-width: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-gold-light);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ffffff;
}

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 19, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-gold-light);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 1rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  color: #0b0e16;
  box-shadow: 0 8px 24px rgba(229, 169, 60, 0.25);
}

.btn-primary:hover {
  color: #0b0e16;
  box-shadow: 0 10px 28px rgba(229, 169, 60, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-gold);
  background: rgba(229, 169, 60, 0.08);
  color: var(--accent-gold-light);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

/* Hero Section */
.hero {
  padding: 80px 0 72px;
  background:
    radial-gradient(circle at 20% 10%, rgba(229, 169, 60, 0.14), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.08), transparent 40%),
    var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0 0 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.trust-pills span::before {
  content: "✓ ";
  color: var(--accent-gold);
  font-weight: 700;
}

.hero-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.hero-showcase img {
  border-radius: 12px;
  width: 100%;
}

.hero-showcase-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 0 4px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* Product Cards Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card);
}

.product-card-media {
  background: #0d111b;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-media.media-light {
  background: #f3f4f6;
  padding: 10px;
}

.product-card-media.media-light img {
  object-fit: contain;
}

.gallery-stack {
  display: grid;
  gap: 16px;
}

.product-gallery.gallery-light {
  background: #f3f4f6;
  border-color: var(--border-subtle);
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-tag {
  color: var(--accent-gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin: 0 0 16px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "◆ ";
  color: var(--accent-gold);
  font-size: 0.75rem;
}

.product-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Feature Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.pillar-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--accent-gold-light);
}

.pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Compatibility Banner */
.compat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.compat-chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Product Detail Layout */
.breadcrumb {
  padding: 20px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.product-hero {
  padding: 36px 0 64px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.product-gallery {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.product-gallery img {
  border-radius: 12px;
  width: 100%;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.94rem;
}

.spec-table th {
  color: var(--text-muted);
  width: 36%;
  font-weight: 600;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 840px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent-gold);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Prose / Blog / Policy Pages */
.page-hero {
  padding: 56px 0 40px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.2;
}

.page-hero p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 720px;
}

.prose {
  max-width: 800px;
  padding: 48px 0 72px;
}

.prose h2 {
  margin: 34px 0 12px;
  font-size: 1.45rem;
  color: var(--text-primary);
}

.prose h3 {
  margin: 24px 0 10px;
  font-size: 1.15rem;
  color: var(--accent-gold-light);
}

.prose p,
.prose li {
  color: var(--text-secondary);
  font-size: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.callout-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 28px 0;
}

/* Footer */
.site-footer {
  background: #06080d;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
}

.footer-col a {
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--accent-gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #0c101a;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
  }

  .site-nav.open {
    display: flex;
  }

  .card-grid,
  .pillar-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
