:root {
  --bg-primary: #070708;
  --bg-secondary: #0f0f10;
  --bg-tertiary: #17171a;
  --accent-gold: #c5a880;
  --accent-gold-hover: #e2cca6;
  --text-primary: #fcfcfc;
  --text-secondary: #a0a0a5;
  --border-color: rgba(255, 255, 255, 0.07);
  --border-color-light: rgba(255, 255, 255, 0.15);
  --glass-bg: rgba(10, 10, 11, 0.72);
  --glass-bg-hover: rgba(25, 25, 28, 0.8);
  --shadow-main: rgba(0, 0, 0, 0.6) 0px 15px 35px -5px;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

a, button, select, input, textarea, [role="button"] {
  cursor: none !important;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

/* Custom Cursor */
#custom-cursor {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

#custom-cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(197, 168, 128, 0.35);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

.cursor-ring-hover {
  width: 55px !important;
  height: 55px !important;
  border-color: rgba(197, 168, 128, 0.8) !important;
  background-color: rgba(197, 168, 128, 0.08) !important;
}
.cursor-dot-hover {
  width: 10px !important;
  height: 10px !important;
  background-color: var(--accent-gold-hover) !important;
}

/* Header */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  transition: padding 0.4s ease, background-color 0.4s ease, border-bottom 0.4s ease;
  padding: 25px 0;
  border-bottom: 1px solid transparent;
}
.header-scrolled {
  padding: 15px 0 !important;
  background-color: var(--glass-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.logo-main {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 2px;
}
.logo-sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 6.5px;
  color: var(--accent-gold);
  margin-top: 2px;
}
.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-item {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
  padding: 5px 0;
  text-transform: uppercase;
}
.nav-item:hover, .active-nav-link { color: var(--text-primary); }
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}
.nav-item:hover::after, .active-nav-link::after { width: 100%; }

/* Typography & Layout */
.section-padding { padding: 130px 40px; }
.container-wide { max-width: 1300px; margin: 0 auto; width: 100%; }
.container-standard { max-width: 1000px; margin: 0 auto; width: 100%; }

.gold-line {
  width: 50px; height: 2px;
  background-color: var(--accent-gold);
  margin: 30px 0;
}
.gold-line-centered { margin: 30px auto; }

.section-subtitle {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}
.section-title-serif {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.text-para {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Hero Section */
.catalog-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at center, #17171a 0%, #070708 100%);
  border-bottom: 1px solid var(--border-color);
  padding-top: 80px;
}
.hero-content-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 25px;
}

/* Feature Grid & Cards */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.feature-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 4px;
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  background-color: var(--bg-tertiary);
}
.feature-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 15px;
}
.feature-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Data Table */
.data-table-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 40px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.data-table th, .data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 15px;
}
.data-table th {
  background-color: var(--bg-tertiary);
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table td strong { color: var(--text-primary); }

/* Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-active {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* Lists */
.styled-list {
  list-style: none;
  margin-bottom: 30px;
}
.styled-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}
.styled-list li::before {
  content: '•';
  color: var(--accent-gold);
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
}
.styled-list li strong {
  color: var(--text-primary);
}

/* Markdown specific highlights */
.highlight-box {
  background: rgba(197, 168, 128, 0.05);
  border-left: 3px solid var(--accent-gold);
  padding: 25px 30px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-primary);
}

/* Footer */
#main-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: 40px;
  color: var(--text-secondary);
  font-size: 12px;
}

/* Mobile Hamburger Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 16px;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-active span:nth-child(2) {
  opacity: 0;
}

.menu-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Drawer Navigation */
#mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 850;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.mobile-drawer-hidden {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.mobile-drawer-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 40px;
}

.mobile-nav-item {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s;
  text-transform: uppercase;
}

.mobile-nav-item:hover, .mobile-nav-item.active-nav-link {
  color: var(--text-primary);
}

/* Media Queries */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .split-grid, .grid-3 { grid-template-columns: 1fr; gap: 30px; }
  .section-padding { padding: 80px 24px; }
  .hero-title { font-size: 36px; }
  .section-title-serif { font-size: 32px; }
  .header-container { padding: 0 24px; }
  .hero-content-wrap { padding: 0 24px; }
}
