/* Aristos Global Brand Overrides (aligned to contract-standalone) */
:root {
  --brand-charcoal: #1a1a1a;
  --brand-charcoal-2: #0f0f0f;
  --brand-charcoal-3: #2a2a2a;
  --brand-cream: #F8F6F0;
  --brand-gold: #C9A961;
  --brand-gold-light: #E8D4A0;
  --brand-gold-dark: #9B7E3F;
  --brand-text-primary: #FFFFFF;
  --brand-text-secondary: #D4D4D4;
  --brand-gold-gradient: linear-gradient(135deg, #E8D4A0 0%, #C9A961 50%, #9B7E3F 100%);

  /* Override store base palette (removes blue tone) */
  --dark: #0f0f0f;
  --dark-light: #1a1a1a;
}

/* Global backdrop & typography accents */
body {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%) !important;
  color: var(--brand-text-secondary);
}

/* Nav - glass dark with subtle gold borders */
.navbar {
  background: rgba(15, 15, 15, 0.9) !important;
  border-bottom: 1px solid rgba(201, 169, 97, 0.18) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
/* Remove cube icon from logos site-wide */
.logo svg, .footer-logo svg { display: none !important; }

/* Brand logo typography like contract-standalone */
.logo .logo-aristos {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 8px;
  font-size: 26px;
  background-image: var(--brand-gold-gradient);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 2px 18px rgba(201, 169, 97, 0.25);
  position: relative;
  display: block;
}
.logo > div { text-align: center; line-height: 1; }
.logo .logo-subtitle {
  display: block;
  text-transform: lowercase;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 6px;
  background-image: var(--brand-gold-gradient);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 1px 12px rgba(201, 169, 97, 0.2);
  margin-top: 2px;
  position: relative;
}
.logo .logo-subtitle::before,
.logo .logo-subtitle::after {
  content: ' - ';
  color: transparent;
  background-image: var(--brand-gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Cards with gold-border aesthetic */
.hero-card,
.problem-card,
.tool-card,
.pricing-card,
.faq-item,
.ai-response-card,
.tools-stats {
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%) !important;
  border: 1px solid rgba(201, 169, 97, 0.18) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,169,97,0.08) inset !important;
}

/* Gold accent borders in headers and separators */
.category-header,
.pricing-header {
  border-bottom: 1px solid rgba(201, 169, 97, 0.2) !important;
}

/* Primary CTAs with richer gold gradient */
.btn-primary,
.tool-cta,
.ai-search-button {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-dark) 100%) !important;
  color: #0f0f0f !important;
  border: none !important;
  box-shadow: 0 6px 24px rgba(201,169,97,0.35) !important;
}
.btn-primary:hover,
.tool-cta:hover,
.ai-search-button:hover {
  background: linear-gradient(135deg, var(--brand-gold-light) 0%, var(--brand-gold) 100%) !important;
  transform: translateY(-2px);
}

/* Secondary CTAs outlined in gold */
.btn-secondary,
.btn-view-all {
  border: 1px solid rgba(201,169,97,0.35) !important;
  color: var(--brand-gold-light) !important;
}
.btn-secondary:hover,
.btn-view-all:hover {
  border-color: var(--brand-gold-light) !important;
  background: rgba(201,169,97,0.08) !important;
}

/* Section titles */
.section-header h2,
.category-header h3,
.pricing-header h3,
.tool-card h4 {
  color: var(--brand-text-primary) !important;
}

/* Price & metric highlights */
.tool-price,
.stat-number,
.price-amount,
.card-metric {
  background: var(--brand-gold-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Icons box tint */
.tool-icon,
.problem-icon,
.card-icon {
  background: rgba(201,169,97,0.10) !important;
  border: 1px solid rgba(201,169,97,0.20) !important;
  color: var(--brand-gold-light) !important;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #111 0%, #0d0d0d 100%) !important;
}

/* Remove blue radial glow in hero from base CSS */
.hero::before {
  content: '' !important;
  position: absolute !important;
  top: -40%;
  right: -20%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.12) 0%, transparent 70%) !important;
  opacity: 0.7;
}

/* Footer (if present) */
footer,
.footer {
  border-top: 1px solid rgba(201,169,97,0.18);
}

/* Single-plan UX: hide per-tool pricing blocks */
.tool-pricing { display: none !important; }
.tool-or-suite { display: none !important; }

.tool-category { margin-top: 72px; position: relative; }
.tool-category .category-header { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  padding: 18px 20px; 
  background: linear-gradient(180deg, rgba(26,26,26,0.85), rgba(15,15,15,0.85));
  border: 1px solid rgba(201,169,97,0.18);
  border-radius: 16px; 
  box-shadow: 0 10px 32px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(201,169,97,0.06);
  position: relative;
}
.tool-category .category-header::after { display: none !important; }
.tool-category .category-header h3 { 
  margin: 0; 
  font-weight: 800; 
  letter-spacing: 0.2px; 
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--brand-text);
}
.tool-category .category-header p { 
  margin: 6px 0 0 0; 
  color: var(--brand-text-secondary);
}
.tool-category .category-icon { 
  width: auto; 
  height: auto; 
  border-radius: 0; 
  display: grid; 
  place-items: center; 
  background: none; 
  color: var(--brand-gold);
  box-shadow: none;
  font-size: 18px;
}
.tool-category[data-section] .category-header { position: relative; padding-left: 0; }
.tool-category[data-section] .category-header::before { display: none !important; }
.section-divider { 
  height: 1px; 
  width: 100%; 
  margin: 18px 0 26px 0; 
  background: linear-gradient(90deg, rgba(201,169,97,0.3), rgba(201,169,97,0.06) 40%, rgba(0,0,0,0) 100%);
  border: 0; 
}

/* Mobile: remove numbered chip to keep header minimal and avoid stacking above icon */
@media (max-width: 640px) {
  .tool-category[data-section] .category-header::before { display: none; }
  .tool-category { margin-top: 48px; }
  .tool-category .category-header { padding: 14px 16px; }
  .tool-category .category-header h3 { font-size: 1.05rem; }
}

/* Sticky in-view label */
.inview-chip {
  position: fixed;
  top: 72px; /* below navbar */
  left: 24px;
  z-index: 50;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand-charcoal);
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  box-shadow: 0 8px 24px rgba(201,169,97,0.28);
  opacity: 0.95;
}
@media (max-width: 640px) {
  .inview-chip { top: 60px; left: 12px; transform: scale(0.95); }
}

/* Header anchor link */
.header-anchor {
  position: absolute;
  right: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  color: var(--brand-text-secondary);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,169,97,0.18);
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
}
.category-header:hover .header-anchor { opacity: 1; }
.header-anchor:hover { background: rgba(201,169,97,0.12); color: var(--brand-text); }
