/* ============================================================
   MARY'S MANTLE — GLOBAL X.AI DARK MODE BASE SYSTEM
   Ultra-Black • Gold Accents • Modern Typography • Year 9001
   ============================================================ */

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

/* ROOT VARIABLES */
:root {
  --mm-bg-dark: #020617;        /* deeper than before */
  --mm-text-dark: #e5e7eb;

  --mm-bg-light: #ffffff;
  --mm-text-light: #111827;

  --gold-1: #fef3c7;
  --gold-2: #fcd34d;
  --gold-3: #fbbf24;

  --section-padding: 72px;

  --btn-bg-dark: #020617;
  --btn-border-gold: #fbbf24;
}

/* THEME STATES */
html {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--mm-bg-dark);
  color: var(--mm-text-dark);
  transition: background 0.3s ease, color 0.3s ease;
}

html[data-theme="light"] {
  background: var(--mm-bg-light);
  color: var(--mm-text-light);
}

/* GOLD MODE (OPTIONAL) */
html[data-gold="on"] {
  color: var(--gold-3);
}

/* BODY */
body {
  min-height: 100vh;
  background: inherit;
  color: inherit;
}

/* GLOBAL SECTIONS */
section {
  padding: var(--section-padding) 24px;
  max-width: 1080px;
  margin: 0 auto;
}

/* TITLES */
.section-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 14px;
  color: inherit;
}

.section-text {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 26px;
}

/* HERO */
.hero {
  padding: 120px 24px 96px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 1));
  color: var(--mm-text-dark);
}

html[data-theme="light"] .hero {
  background: radial-gradient(circle at top, #f9fafb, #ffffff);
  color: var(--mm-text-light);
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto 26px;
}

/* CTA BUTTON — DARK WITH THIN GOLD BORDER */
.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--btn-bg-dark);
  color: var(--mm-text-dark);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--btn-border-gold);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  border-color: var(--gold-2);
}

/* LIGHT THEME BUTTON */
html[data-theme="light"] .cta-button {
  background: #ffffff;
  color: #111827;
  border-color: var(--gold-3);
}

/* GENERIC BUTTONS (SHOP, FORMS, ETC.) */
button,
input[type="submit"],
a.button {
  font-family: inherit;
}

/* DARK BUTTON STYLE */
.btn-dark-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: #020617;
  color: #e5e7eb;
  border-radius: 999px;
  border: 1px solid var(--btn-border-gold);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.btn-dark-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  border-color: var(--gold-2);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 24px;
  }

  section {
    padding: 48px 18px;
  }
}
