/* === BASE STYLES === */:root {
  --accent: #c8a84b;
  --accentLight: #f0d07a;
  --accentDark: #9b7c2e;
  --primary: #6b0f1a;
  --primaryDark: #4a0a12;
  --primaryLight: #8b1424;
  --surface: #1a0a0e;
  --surfaceCard: #231018;
  --surfaceElevated: #2e1520;
  --surfaceBorder: #3d1e28;
  --textPrimary: #f5ede0;
  --textSecondary: #c9a98b;
  --textMuted: #8a6a58;
  --border: #4a2030;
  --borderSubtle: #321520;
  --shadow: 0 8px 32px rgba(0,0,0,0.6);
  --shadowCard: 0 4px 24px rgba(0,0,0,0.5);
  --shadowGlow: 0 0 30px rgba(200,168,75,0.25);
  --radius: 12px;
  --radiusLg: 20px;
  --radiusXl: 28px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--surface);
  color: var(--textPrimary);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--textPrimary);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 700; margin-bottom: 1rem; }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; margin-bottom: 0.75rem; }

p { color: var(--textSecondary); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

strong { color: var(--textPrimary); font-weight: 700; }

ul, ol { padding-left: 0; list-style: none; }

.sectionPadding { padding: 80px 0; }

.sectionTitle {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.sectionTitle::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accentLight));
  margin-top: 12px;
  border-radius: 2px;
}

/* Buttons */
.btnPrimary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accentLight) 50%, var(--accent) 100%);
  background-size: 200% 100%;
  color: var(--surface) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(200,168,75,0.4);
  white-space: nowrap;
}

.btnPrimary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,168,75,0.6);
  color: var(--surface) !important;
}

.btnPrimary:active { transform: translateY(0); }

.btnSecondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  background: transparent;
  color: var(--accent) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btnSecondary:hover {
  background: var(--accent);
  color: var(--surface) !important;
  box-shadow: 0 4px 20px rgba(200,168,75,0.4);
}

/* Cards */
.card {
  background: var(--surfaceCard);
  border: 1px solid var(--surfaceBorder);
  border-radius: var(--radiusLg);
  padding: 28px;
  transition: all var(--transition);
  box-shadow: var(--shadowCard);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadowGlow);
  border-color: var(--accent);
}

.highlightBox {
  background: var(--surfaceElevated);
  border: 1px solid var(--surfaceBorder);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all var(--transition);
}

.highlightBox:hover {
  border-left-color: var(--accentLight);
  background: var(--surfaceCard);
}

.highlightBox h4 { color: var(--accent); margin-bottom: 0.5rem; }
.highlightBox p { margin: 0; font-size: 0.9rem; }

/* Info card */
.infoCard {
  background: var(--surfaceElevated);
  border: 1px solid var(--border);
  border-radius: var(--radiusLg);
  padding: 24px;
}

.infoCard h4 { color: var(--accentLight); }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(200,168,75,0.15);
  border: 1px solid rgba(200,168,75,0.4);
  border-radius: 50px;
  color: var(--accentLight);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 3rem 0;
}

/* Content images */
.content-image {
  margin: 2rem 0;
  border-radius: var(--radiusLg);
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radiusLg);
  object-fit: cover;
}

.content-image.portrait {
  max-width: 480px;
}

.content-image.portrait img {
  height: auto;
  object-fit: unset;
}

/* Steps list */
.stepsList {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1.25rem 0;
}

.stepsList li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--textSecondary);
  font-size: 0.95rem;
}

.stepsList li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primaryLight));
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accentLight);
  font-size: 0.8rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

/* Feature list */
.featureList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1.25rem 0;
}

.featureList li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--textSecondary);
  padding: 4px 0;
  font-size: 0.95rem;
}

.featureList li::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.6rem;
  margin-top: 6px;
  flex-shrink: 0;
}

/* Highlight list */
.highlightList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1.25rem 0;
}

.highlightList li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--textSecondary);
  font-size: 0.95rem;
}

.highlightList li::before {
  content: '★';
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Numbered list */
.numberedList {
  counter-reset: num;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1rem 0;
}

.numberedList li {
  counter-increment: num;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--textSecondary);
  font-size: 0.9rem;
}

.numberedList li::before {
  content: counter(num) '.';
  color: var(--accent);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

/* Table */
.table-responsive {
  border-radius: var(--radiusLg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.featureTable {
  width: 100%;
  border-collapse: collapse;
  background: var(--surfaceCard);
}

.featureTable thead tr {
  background: linear-gradient(135deg, var(--primary), var(--primaryLight));
}

.featureTable thead th {
  padding: 16px 20px;
  text-align: left;
  color: var(--accentLight);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
}

.featureTable tbody tr {
  border-bottom: 1px solid var(--borderSubtle);
  transition: background var(--transition);
}

.featureTable tbody tr:hover { background: var(--surfaceElevated); }
.featureTable tbody tr:last-child { border-bottom: none; }

.featureTable tbody td {
  padding: 14px 20px;
  color: var(--textSecondary);
  font-size: 0.9rem;
}

.featureTable tbody td:first-child { color: var(--textPrimary); font-weight: 600; }

/* DL feature */
.featureBlock {
  background: var(--surfaceElevated);
  border: 1px solid var(--borderSubtle);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
}

.featureBlock dt { color: var(--accent); font-size: 1rem; margin-bottom: 6px; }
.featureBlock dd { color: var(--textSecondary); font-size: 0.9rem; margin: 0; }

/* Trust note */
.trustNote {
  background: rgba(107,15,26,0.3);
  border: 1px solid rgba(200,168,75,0.3);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.trustNote p { color: var(--textSecondary); font-size: 0.9rem; margin: 0; }

/* === LAYOUT STYLES === */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26,10,14,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.headerInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 72px;
  gap: 16px;
}

.logo {
  flex-shrink: 0;
  z-index: 10;
}

.logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accentLight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--surfaceCard);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 10;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

header nav {
  display: flex;
  align-items: center;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

header nav ul li a {
  display: block;
  padding: 8px 16px;
  color: var(--textSecondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition);
}

header nav ul li a:hover {
  color: var(--textPrimary);
  background: var(--surfaceElevated);
}

.headerCta {
  flex-shrink: 0;
  max-width: 200px;
}

footer {
  background: var(--primaryDark);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footerInner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0;
}

footer nav ul li a {
  color: var(--textMuted);
  font-size: 0.85rem;
  transition: color var(--transition);
}

footer nav ul li a:hover { color: var(--accent); }

.footerDisclaimer {
  color: var(--textMuted);
  font-size: 0.8rem;
  max-width: 700px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767px) {
  .headerInner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
  }

  .hamburger { display: flex; }

  header nav {
    display: none;
    width: 100%;
    order: 3;
  }

  header nav.menuOpen {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--surfaceCard);
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 8px 0;
    margin: 0 -16px;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  header nav ul li a {
    padding: 12px 20px;
    border-radius: 0;
  }

  .headerCta {
    max-width: 100%;
    width: 100%;
    order: 4;
  }

  .headerCta .btnPrimary {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 768px) {
  .headerInner { padding: 0 24px; }
  .hamburger { display: none; }
  header nav { display: flex !important; }
}

@media (max-width: 767px) {
  .headerInner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
  }

  .hamburger { display: flex; }

  header nav {
    display: none;
    width: 100%;
    order: 3;
  }

  header nav.menuOpen {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--surfaceCard);
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 8px 0;
    margin: 0 -16px;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  header nav ul li a {
    padding: 12px 20px;
    border-radius: 0;
  }

  .headerCta {
    max-width: 100%;
    width: 100%;
    order: 4;
  }

  .headerCta .btnPrimary {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 768px) {
  .headerInner { padding: 0 24px; }
  .hamburger { display: none; }
  header nav { display: flex !important; }
}