/* ============================================================
   StageView — StageView Booking Guide
   Cinematic luxury dark theme derived from logo palette
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=Cinzel:wght@400;600;700&display=swap');

/* ============================================================
   CSS Variables — Logo-extracted palette
   ============================================================ */
:root {
  /* Core palette from logo */
  --navy:       #0B0D2E;       /* Deep navy background */
  --navy-mid:   #0F1240;       /* Mid navy */
  --navy-light: #161952;       /* Lighter navy */
  --purple:     #7B2DB8;       /* Logo purple */
  --purple-dim: #5A1F8A;       /* Darker purple */
  --purple-glow:#9B3DD8;       /* Lighter glow purple */
  --gold:       #C8961A;       /* Spotlight gold */
  --gold-light: #E8B030;       /* Bright gold */
  --gold-pale:  #F5D070;       /* Pale gold highlight */
  --silver:     #B8C4D0;       /* Logo silver */
  --silver-dim: #7A8A9A;       /* Dimmer silver */
  --white:      #F0F2F8;       /* Near-white text */
  --muted:      #8892A4;       /* Muted text */
  --surface:    #0D1035;       /* Card surfaces */
  --surface2:   #111540;       /* Slightly lighter surface */
  --border:     rgba(123, 45, 184, 0.25); /* Subtle border */
  --border-gold:rgba(200, 150, 26, 0.3);  /* Gold border */
  
  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-body:    'DM Sans', sans-serif;
  --font-accent:  'Cormorant Garamond', serif;

  /* Spacing */
  --sidebar-w: 300px;
  --topbar-h:  68px;
}

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

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

body {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--purple);
  color: var(--white);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--purple-dim); border-radius: 999px; }

/* ============================================================
   Ambient Background Effects
   ============================================================ */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.07;
  animation: drift 20s ease-in-out infinite alternate;
}

.spotlight-left {
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -150px;
  left: -100px;
}

.spotlight-right {
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  top: 200px;
  right: -150px;
  animation-delay: -10s;
  animation-duration: 25s;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  animation: grain-scroll 8s steps(10) infinite;
  pointer-events: none;
}

@keyframes grain-scroll {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* ============================================================
   Top Bar
   ============================================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  background: rgba(11, 13, 46, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1100;
  gap: 1rem;
}

.topbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.menu-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  transition: border-color 0.3s, background 0.3s;
  flex-shrink: 0;
}

.menu-btn:hover {
  border-color: var(--gold);
  background: rgba(200, 150, 26, 0.08);
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--silver);
  border-radius: 2px;
  transition: background 0.3s;
}

.menu-btn:hover span { background: var(--gold-light); }

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: center;
}

.topbar-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
}

.topbar-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--silver);
  text-transform: uppercase;
}

.topbar-title em {
  font-style: normal;
  color: var(--gold-light);
}

.topbar-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* ============================================================
   Sidebar
   ============================================================ */
.sidebar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  width: var(--sidebar-w);
  height: calc(100dvh - var(--topbar-h));
  background: rgba(9, 11, 38, 0.97);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  scrollbar-width: none;
}

.sidebar::-webkit-scrollbar { display: none; }

.sidebar.hidden {
  transform: translateX(-100%);
}

.sidebar-header {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.sidebar-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.sidebar-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--border-gold);
  padding: 4px;
  box-shadow: 0 0 20px rgba(200, 150, 26, 0.15);
}

.sidebar-subtitle {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

.nav-list {
  list-style: none;
  padding: 1rem 0;
  flex: 1;
}

.nav-list li { padding: 0 0.75rem; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--silver-dim);
  font-size: 0.82rem;
  font-weight: 400;
  transition: all 0.25s ease;
  margin-bottom: 2px;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 60%;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.2s;
}

.nav-link:hover {
  background: rgba(123, 45, 184, 0.12);
  color: var(--white);
}

.nav-link:hover::before { transform: translateY(-50%) scaleY(1); }

.nav-link.active {
  background: rgba(200, 150, 26, 0.1);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.nav-link.active::before {
  transform: translateY(-50%) scaleY(1);
  background: var(--gold-light);
}

.nav-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--purple-glow);
  opacity: 0.6;
  min-width: 20px;
}

.nav-text { line-height: 1.2; }

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.sidebar-overlay.active { display: block; }

/* ============================================================
   Main Content
   ============================================================ */
main {
  position: relative;
  z-index: 1;
  margin-left: var(--sidebar-w);
  margin-top: var(--topbar-h);
  min-height: calc(100vh - var(--topbar-h));
  transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.hidden ~ #sidebar-overlay ~ main,
body.sidebar-hidden main {
  margin-left: 0;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 5rem 4rem 4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 0%, rgba(200, 150, 26, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 100%, rgba(123, 45, 184, 0.08) 0%, transparent 70%);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.1s forwards;
}

.hero-title {
  font-family: var(--font-accent);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.25s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: var(--silver-dim);
  font-weight: 300;
  opacity: 0;
  animation: fade-up 0.8s ease 0.4s forwards;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.55s forwards;
}

.hero-divider span {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-divider span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-divider svg {
  width: 12px;
  height: 12px;
  color: var(--gold);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 4rem 4rem;
  border-bottom: 1px solid rgba(123, 45, 184, 0.12);
  position: relative;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-accent);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.section p {
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  max-width: 680px;
}

.section-intro {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--silver) !important;
}

h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin: 1.75rem 0 0.6rem;
  letter-spacing: 0.02em;
}

kbd {
  display: inline-block;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 7px;
  font-family: monospace;
  font-size: 0.85em;
  color: var(--gold-light);
}

strong { color: var(--gold-pale); font-weight: 600; }

/* ============================================================
   Info Cards (Section 1)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 150, 26, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.info-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200, 150, 26, 0.08);
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.info-card h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.info-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: none;
  margin: 0;
}

/* ============================================================
   Media Block (images / video)
   ============================================================ */
.media-block {
  margin: 1.75rem 0;
}

.media-block img,
.media-block video {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.media-caption {
  font-size: 0.78rem !important;
  color: var(--muted) !important;
  text-align: center;
  margin-top: 0.5rem !important;
  font-style: italic;
  max-width: none !important;
}

.small-img {
  width: 30% !important;
  margin: 0 auto;
}

/* ============================================================
   Two Column Layout
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.text-block {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.text-block h3 { margin-top: 0; }
.text-block p { font-size: 0.88rem; color: var(--silver-dim); max-width: none; margin: 0; }

.highlight-block {
  border-color: rgba(200, 150, 26, 0.2);
}

/* ============================================================
   Tier Cards
   ============================================================ */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.tier-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.tier-price {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.tier-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin: 0 0 0.4rem;
}

.tier-badge {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.tier-card p { font-size: 0.82rem; color: var(--muted); max-width: none; margin: 0; line-height: 1.6; }

/* Tier colour coding */
.tier-supersaver .tier-price { color: #5B9BD5; }
.tier-supersaver .tier-badge { background: rgba(91,155,213,0.15); color: #5B9BD5; border: 1px solid rgba(91,155,213,0.3); }
.tier-supersaver { border-color: rgba(91,155,213,0.2); }

.tier-saver .tier-price { color: #E8675A; }
.tier-saver .tier-badge { background: rgba(232,103,90,0.15); color: #E8675A; border: 1px solid rgba(232,103,90,0.3); }
.tier-saver { border-color: rgba(232,103,90,0.2); }

.tier-vip .tier-price { color: var(--gold-light); }
.tier-vip .tier-badge { background: rgba(200,150,26,0.15); color: var(--gold-light); border: 1px solid var(--border-gold); }
.tier-vip { border-color: var(--border-gold); }

.tier-regular .tier-price { color: #D870A0; }
.tier-regular .tier-badge { background: rgba(216,112,160,0.15); color: #D870A0; border: 1px solid rgba(216,112,160,0.3); }
.tier-regular { border-color: rgba(216,112,160,0.2); }

/* ============================================================
   Table Explainer
   ============================================================ */
.table-explainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.explainer-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.explainer-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.explainer-item p {
  font-size: 0.82rem;
  color: var(--silver-dim);
  margin: 0;
  max-width: none;
}

/* Status States */
.status-states {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.status-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.status-block strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.status-block p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  max-width: none;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.status-vacant .status-dot   { background: #4CAF7D; box-shadow: 0 0 8px rgba(76,175,125,0.4); }
.status-low .status-dot      { background: var(--gold); box-shadow: 0 0 8px rgba(200,150,26,0.4); }
.status-booked .status-dot   { background: #E85A5A; box-shadow: 0 0 8px rgba(232,90,90,0.4); }

.status-vacant  { border-color: rgba(76,175,125,0.2); }
.status-low     { border-color: rgba(200,150,26,0.2); }
.status-booked  { border-color: rgba(232,90,90,0.2); }

/* ============================================================
   Callout Box
   ============================================================ */
.callout-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.callout-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--silver);
}

.callout-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.swatch-available { background: rgba(91,155,213,0.4); }
.swatch-booked    { background: rgba(91,155,213,0.85); }

/* ============================================================
   Step List
   ============================================================ */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--silver);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-dim));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(123,45,184,0.3);
}

/* ============================================================
   Highlight Box
   ============================================================ */
.highlight-box {
  background: rgba(200, 150, 26, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.highlight-box h3 {
  color: var(--gold-light);
  margin: 0 0 0.75rem;
}

.highlight-box ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highlight-box li {
  font-size: 0.88rem;
  color: var(--silver);
  padding-left: 1.25rem;
  position: relative;
}

.highlight-box li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.5rem;
  top: 0.35em;
}

/* ============================================================
   Alert Box
   ============================================================ */
.alert-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(232, 90, 90, 0.06);
  border: 1px solid rgba(232, 90, 90, 0.25);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  font-size: 0.88rem;
  color: var(--silver);
}

.alert-icon { font-size: 1.25rem; flex-shrink: 0; }

/* ============================================================
   Tips Grid
   ============================================================ */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.tip-card:hover {
  border-color: rgba(123,45,184,0.4);
  transform: translateY(-2px);
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.tip-card h3 {
  font-size: 0.9rem;
  color: var(--white);
  margin: 0 0 0.5rem;
  text-align: center;
}

.tip-card p {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: none;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover { border-color: var(--border-gold); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.3s;
}

.faq-chevron svg {
  width: 100%;
  height: 100%;
  display: block;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--silver-dim);
  line-height: 1.7;
  margin: 0;
  max-width: none;
}

.faq-item.active .faq-answer { max-height: 300px; }

/* ============================================================
   Contact Section
   ============================================================ */
.contact-section {
  margin-top: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.contact-header {
  padding: 2rem 2.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(123,45,184,0.12) 0%, rgba(200,150,26,0.06) 100%);
  border-bottom: 1px solid var(--border);
}

.contact-header h3 {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 0.4rem;
}

.contact-header p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  max-width: none;
}

.contact-form {
  padding: 1.75rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 0.3s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--silver-dim);
  opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-glow);
  box-shadow: 0 0 0 3px rgba(123,45,184,0.1);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-dim));
  border: 1px solid rgba(123,45,184,0.5);
  border-radius: 8px;
  padding: 0.8rem 2rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.3s ease;
  letter-spacing: 0.04em;
}

.submit-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--purple-glow), var(--purple));
  box-shadow: 0 4px 20px rgba(123,45,184,0.35);
  transform: translateY(-1px);
}

.submit-btn:hover svg { transform: translate(2px, -2px); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 3rem 4rem;
  text-align: center;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0.6;
  margin-bottom: 0.25rem;
}

.site-footer p {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: none;
  margin: 0;
}

.footer-sub { opacity: 0.5; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  main { margin-left: var(--sidebar-w); }
  .hero { padding: 4rem 2.5rem 3rem; }
  .section { padding: 3rem 2.5rem; }
  .contact-form { padding: 1.5rem 2rem 1.75rem; }
  .contact-header { padding: 1.75rem 2rem 1.25rem; }
  .site-footer { padding: 2.5rem 2.5rem; }
}

@media (max-width: 900px) {
  :root { --sidebar-w: 260px; }
  .two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  main {
    margin-left: 0 !important;
  }

  .sidebar {
    width: 80%;
    max-width: 300px;
    box-shadow: 10px 0 40px rgba(0,0,0,0.5);
  }

  .hero {
    padding: 3rem 1.5rem 2.5rem;
  }

  .section {
    padding: 2.5rem 1.5rem;
  }

  .contact-form { padding: 1.25rem 1.5rem 1.5rem; }
  .contact-header { padding: 1.25rem 1.5rem 1rem; }
  .site-footer { padding: 2rem 1.5rem; }

  .tier-grid,
  .table-explainer,
  .status-states,
  .tips-grid { grid-template-columns: 1fr; }

  .card-grid { grid-template-columns: 1fr 1fr; }
  .topbar-tag { display: none; }
  .topbar-title { font-size: 0.8rem; }
}

@media (max-width: 440px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
}

/* ============================================================
   Active nav link (scroll spy)
   ============================================================ */
.nav-link.active {
  background: rgba(200, 150, 26, 0.1);
  color: var(--gold-light);
}