/* ========== Local Font: Inter (OFL License) ========== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
}

/* ========== CSS Variables & Theme ========== */
:root {
  --bg-primary: #070708;
  --bg-secondary: #0d0d12;
  --bg-card: #13131a;
  --bg-card-hover: #191922;
  --text-primary: #f5f5f7;
  --text-secondary: #c6c6d1;
  --text-muted: #8c8c98;
  --accent: #d4af37;
  --accent-hover: #f0cf6a;
  --accent-glow: rgba(212, 175, 55, 0.18);
  --accent-border: rgba(212, 175, 55, 0.35);
  --accent-diamond: #9ad9ff;
  --accent-diamond-glow: rgba(154, 217, 255, 0.2);
  --border: #20202a;
  --btn-dark-text: #101010;
  --card-gradient: linear-gradient(135deg, #0c0c14 0%, #151522 50%, #0a0a10 100%);
  --card-gradient-creatures: linear-gradient(135deg, #0d0b12 0%, #1a1724 50%, #0b0b12 100%);
  --card-gradient-cybercity: linear-gradient(135deg, #0b0f16 0%, #141e2a 50%, #0a0f18 100%);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --navbar-height: 70px;
}

/* ========== Reset ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding-top: var(--navbar-height);
  min-height: calc(100vh - 300px);
}

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Utilities ========== */
.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-sm {
  margin-top: 0.75rem;
}

.mt-md {
  margin-top: 1rem;
}

.mt-lg {
  margin-top: 1.5rem;
}

.mt-xl {
  margin-top: 2rem;
}

.mb-sm {
  margin-bottom: 0.5rem;
}

.mb-md {
  margin-bottom: 1rem;
}

.w-full {
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card--narrow {
  max-width: 800px;
  margin: 0 auto;
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ========== Image Placeholder (CSS gradient/pattern) ========== */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0b0b12 0%, #12121c 50%, #0a0a0f 100%);
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg,
      transparent,
      transparent 20px,
      rgba(154, 217, 255, 0.04) 20px,
      rgba(154, 217, 255, 0.04) 40px);
}

.img-placeholder--tall {
  aspect-ratio: 3 / 4;
}

.img-placeholder--square {
  aspect-ratio: 1 / 1;
}

/* ========== Page Header ========== */
.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

.page-header--left .subtitle {
  margin: 0;
}

/* ========== Eyebrow Label ========== */
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.page-eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

/* ========== Section Group Heading ========== */
.section-group-heading {
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

/* ========== Badge ========== */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(212, 175, 55, 0.4);
  letter-spacing: 0.03em;
}

/* ========== Back Link ========== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.back-link:hover {
  color: var(--accent);
}

/* ========== Feature List ========== */
.feature-list {
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ========== Content Sections ========== */
.content-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.content-section:last-of-type {
  border-bottom: none;
}

.content-section h2 {
  margin-bottom: 1rem;
}

.content-section h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.content-section p {
  margin-bottom: 1rem;
}

/* ========== Specs Grid ========== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.spec-item {
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.spec-item h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-item p {
  font-size: 0.95rem;
}