

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Outfit:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #141414;
  --bg-elevated: #1A1A1A;
  --text-primary: #F5F5F5;
  --text-secondary: #A0A0A0;
  --accent: #D4AF37;
  --accent-hover: #F1D570;
  --border-subtle: #2A2A2A;
  --border-accent: rgba(212, 175, 55, 0.2);
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  --container-narrow: 800px;
  --container-wide: 1200px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--accent-hover);
}

/* ---------- Utility ---------- */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.narrow-container {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

.wide-container {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
}

/* ═════════════════════════════════
   HEADER
   ═════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-accent);
  padding: 0 20px;
}

.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.header-nav-links li a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}
.header-nav-links li a:hover {
  color: var(--accent);
}

/* Primary Action Button */
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.primary-action:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═════════════════════════════════
   HERO BANNER
   ═════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-secondary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.85), rgba(10,10,10,0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
  max-width: 720px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═════════════════════════════════
   CONTENT SECTIONS
   ═════════════════════════════════ */
.content-section {
  padding: 60px 20px;
}

.content-section:nth-child(even) {
  background: var(--bg-secondary);
}

.content-section h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.content-section h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--accent);
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.content-section p {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: var(--container-narrow);
}

.content-section p strong {
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Styled Lists ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
}

.feature-list li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

/* ---------- Tables ---------- */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0 36px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  max-width: 100%;
}

.table-wrapper::-webkit-scrollbar {
  height: 6px;
}
.table-wrapper::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
.table-wrapper::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

.data-grid {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  font-size: 0.95rem;
}

.data-grid thead {
  background: var(--bg-elevated);
}

.data-grid thead th {
  padding: 14px 16px;
  text-align: left;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-bottom: 2px solid var(--border-accent);
}

.data-grid tbody td {
  padding: 14px 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.data-grid tbody tr {
  transition: background 0.2s ease;
}

.data-grid tbody tr:hover {
  background: rgba(212, 175, 55, 0.04);
}

.data-grid tbody tr:last-child td {
  border-bottom: none;
}

/* Compact spec-table variant (2-col key/value) */
.spec-grid tbody td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
  width: 40%;
}

/* ---------- Divider ---------- */
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 0 32px 0;
  border: none;
}

/* ═════════════════════════════════
   FOOTER
   ═════════════════════════════════ */
.site-footer {
  margin-top: auto;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.site-footer p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.6;
}

.site-footer a {
  color: var(--accent);
}

/* ═════════════════════════════════
   BACK TO TOP BUTTON
   ═════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-hover);
}

/* ═════════════════════════════════
   SCROLL PROGRESS BAR
   ═════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 200;
  width: 0%;
  transition: width 0.05s linear;
}

/* ═════════════════════════════════
   TABLE LABEL / SCROLL HINT
   ═════════════════════════════════ */
.table-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.scroll-hint {
  display: none;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-style: italic;
}

/* ═════════════════════════════════
   ANIMATIONS
   ═════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═════════════════════════════════
   MOBILE (max 768px)
   ═════════════════════════════════ */
@media (max-width: 768px) {
  .header-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    border-bottom: 1px solid var(--border-accent);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }

  .header-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-nav-links li a {
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    min-height: 40vh;
  }

  .hero-content {
    padding: 40px 16px;
  }

  .content-section {
    padding: 40px 16px;
  }

  .content-section p {
    font-size: 0.95rem;
  }

  .data-grid {
    font-size: 0.88rem;
  }

  .data-grid thead th,
  .data-grid tbody td {
    padding: 10px 12px;
  }

  .scroll-hint {
    display: block;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}
