/* === 1 Mouse Marketing - main.css === */

/* --- Tokens --- */
:root {
  --bg:           #0a0a0a;
  --surface:      #141414;
  --panel:        #1c1c1c;
  --border:       #282828;
  --ivory:        #ede8de;
  --ivory-dim:    #a09890;
  --gold:         #d4a843;
  --gold-light:   #e8c06a;
  --gold-dim:     #8a6e2a;
  --blue:         #5090e8;
  --text:         #cfc9bf;
  --text-strong:  #ede8de;
  --muted:        #686058;
  --header-height: 60px;
  --max-width:    1160px;
  --radius:       3px;
  --font: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-strong);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 200; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 200; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 300; }
h4 { font-size: 1rem; font-weight: 400; letter-spacing: 0.01em; }
p { color: var(--text); }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 1rem;
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--ivory-dim);
  max-width: 660px;
  margin-top: 1rem;
}
.lead {
  font-size: 1.1rem;
  color: var(--ivory-dim);
  max-width: 700px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #0c0a06;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #0c0a06;
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #0c0a06;
}
.btn-ghost {
  background: transparent;
  color: var(--ivory-dim);
  border-color: transparent;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}
.btn-ghost:hover { color: var(--ivory); }
.btn-sm { font-size: 0.82rem; padding: 0.5rem 1.1rem; }
.btn-lg { font-size: 1rem; padding: 0.85rem 2rem; }

/* Hero button variants on dark bg */
.btn-hero-primary {
  background: var(--ivory);
  color: #0c0a06;
  border-color: var(--ivory);
}
.btn-hero-primary:hover {
  background: #fff;
  color: #0c0a06;
}
.btn-hero-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-hero-outline:hover {
  background: rgba(212,168,67,0.12);
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-hero-ghost {
  background: transparent;
  color: var(--ivory-dim);
  border-color: transparent;
}
.btn-hero-ghost:hover { color: var(--ivory); }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10,10,10,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ivory);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--ivory); }
.logo-mark {
  color: var(--gold);
  display: flex;
  align-items: center;
}
.logo-mark svg { width: 18px; height: 18px; }

.site-nav { flex: 1; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.site-nav a {
  font-size: 0.82rem;
  color: var(--ivory-dim);
  padding: 0.4rem 0.7rem;
  display: block;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ivory); }

.header-cta { margin-left: auto; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory-dim);
  transition: transform 0.2s, opacity 0.2s;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 24px 2rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--ivory-dim);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--ivory); }
.mobile-menu .btn { margin-top: 1.5rem; width: 100%; text-align: center; }

/* --- Sections --- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--surface);
}
.section + .section { }
.section-header {
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 0.75rem; }

/* --- Hero --- */
.hero {
  min-height: calc(96vh - var(--header-height));
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(40,30,12,0.55) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 70%, rgba(10,15,28,0.45) 0%, transparent 55%),
    linear-gradient(160deg, #0e0d0b 0%, #0a0a0a 45%, #090b10 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(212,168,67,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  padding-top: 3rem;
  padding-bottom: 3rem;
  max-width: 800px;
}
.hero h1 {
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 200;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ivory-dim);
  max-width: 580px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* --- Feature Grid (What Is section) --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}
.feature-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-strong);
  margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* --- Body text blocks --- */
.text-block {
  max-width: 720px;
}
.text-block p + p { margin-top: 1rem; }

/* --- Tier Strip --- */
.tier-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.tier-card {
  flex: 1;
  min-width: 160px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: border-color 0.2s;
}
.tier-card:hover { border-color: var(--gold-dim); }
.tier-card + .tier-card {
  margin-left: -1px;
  border-left-color: var(--border);
}
.tier-card.is-free {
  border-color: var(--gold-dim);
  background: rgba(212,168,67,0.05);
}
.tier-card.is-free .tier-name { color: var(--gold); }
.tier-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: #0c0a06;
  padding: 2px 7px;
  border-radius: 2px;
  margin-bottom: 0.85rem;
  font-weight: 500;
}
.tier-num {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.tier-icon {
  width: 28px;
  height: 28px;
  color: var(--gold-dim);
  margin-bottom: 0.75rem;
}
.tier-card.is-free .tier-icon { color: var(--gold); }
.tier-name {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-strong);
  margin-bottom: 0.3rem;
}
.tier-position {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.tier-card ul {
  font-size: 0.78rem;
  color: var(--ivory-dim);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tier-card ul li::before {
  content: '...';
  color: var(--gold-dim);
  margin-right: 0.4rem;
  font-size: 0.7rem;
}

/* --- Split Grid (Observer + Team) --- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.split-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.split-card-dark {
  background: var(--panel);
}
.split-card-light {
  background: var(--surface);
}
.split-card h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 0.75rem;
}
.split-card .section-label { margin-bottom: 0.5rem; }
.split-card p { font-size: 0.95rem; margin-bottom: 1.25rem; }
.split-card ul {
  font-size: 0.88rem;
  color: var(--ivory-dim);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}
.split-card ul li { display: flex; align-items: baseline; gap: 0.5rem; }
.split-card ul li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-dim);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* --- Cert Cards --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.cert-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cert-card:hover { border-color: var(--gold-dim); }
.cert-tier-tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 500;
}
.cert-card h3 {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.35;
}
.cert-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.cert-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}

/* --- Builds Section --- */
.builds-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.builds-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.build-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.build-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.55rem;
}
.build-item p {
  font-size: 0.88rem;
  color: var(--ivory-dim);
}
.builds-visual {
  aspect-ratio: 4/3;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
}
.builds-visual svg { width: 64px; height: 64px; }

/* --- Final CTA --- */
.cta-final {
  background: linear-gradient(160deg, #0e0d0b 0%, #0c0b08 100%);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-final .container { max-width: 640px; }
.cta-final h2 { margin-bottom: 1rem; }
.cta-final p { margin-bottom: 2rem; color: var(--ivory-dim); }
.cta-final .btn-primary { margin-right: 0.75rem; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-strong);
  margin-bottom: 0.75rem;
}
.page-hero .lead { margin-top: 0.5rem; }

/* --- Tier Detail Cards (guild-tiers page) --- */
.tier-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.tier-detail-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}
.tier-detail-card.is-free { border-color: var(--gold-dim); }
.tier-detail-left .tier-name {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-strong);
  margin-bottom: 0.4rem;
}
.tier-detail-left .tier-position { color: var(--muted); font-size: 0.88rem; }
.tier-detail-right ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--ivory-dim);
}
.tier-detail-right ul li { display: flex; gap: 0.5rem; align-items: baseline; }
.tier-detail-right ul li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-dim);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* --- How It Works Steps --- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  counter-increment: step;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-size: 2.5rem;
  font-weight: 200;
  color: var(--gold-dim);
  line-height: 1;
  padding-top: 0.2rem;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.92rem; color: var(--ivory-dim); }

/* --- Team Training Best For --- */
.best-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.best-for-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--ivory-dim);
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* --- List Styled --- */
.styled-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--ivory-dim);
}
.styled-list li { display: flex; gap: 0.6rem; align-items: baseline; }
.styled-list li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* --- Forms --- */
.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 560px;
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--ivory-dim);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-strong);
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 0.65rem 0.9rem;
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select,
.form-group textarea:focus { border-color: var(--gold-dim); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23686058' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 16px;
  padding-right: 2.2rem;
}
.form-success {
  background: rgba(212,168,67,0.08);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--gold-light);
  font-size: 0.92rem;
}

/* --- Notice box --- */
.notice {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--ivory-dim);
}

/* --- Free Lessons Placeholder --- */
.lessons-placeholder {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 520px;
  margin: 2rem auto;
}
.lessons-placeholder h3 { font-size: 1.1rem; font-weight: 300; margin-bottom: 0.75rem; }
.lessons-placeholder p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem; }

/* --- Footer --- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .site-logo {
  margin-bottom: 0.75rem;
  display: inline-flex;
}
.footer-brand p {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 220px;
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--ivory-dim);
}
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }
.footer-bottom a { font-size: 0.78rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--ivory-dim); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: flex; }

  .tier-detail-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .tier-detail-right ul { grid-template-columns: 1fr; }

  .builds-inner { grid-template-columns: 1fr; }
  .builds-visual { display: none; }

  .two-col { grid-template-columns: 1fr; gap: 2rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --header-height: 56px; }

  .section { padding: 56px 0; }

  .hero { min-height: calc(90vh - var(--header-height)); }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-hero-ghost { padding-left: 0; }

  .split-grid { grid-template-columns: 1fr; }

  .tier-strip { flex-direction: column; }
  .tier-card + .tier-card { margin-left: 0; margin-top: -1px; border-left-color: var(--border); }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .step { grid-template-columns: 50px 1fr; gap: 1rem; }
  .step-num { font-size: 1.8rem; }

  .form-card { padding: 1.5rem; }
}
