/* ============================================================
   Tune Into Gold — Shared Styles
   ============================================================ */

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

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --bg:         #0E0C09;
  --text:       #F7F0E3;
  --gold:       #C9963A;
  --gold-light: #E4B55A;
  --muted:      #8A7E6A;
  --surface:    #161310;
  --border:     #2A2520;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w:   680px;
  --max-w-lg: 900px;
  --radius:  6px;
  --radius-lg: 12px;

  --transition: 200ms ease;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.5rem); }

p  { color: var(--text); }

.text-muted  { color: var(--muted); }
.text-gold   { color: var(--gold); }
.text-center { text-align: center; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--wide {
  max-width: var(--max-w-lg);
}

section {
  padding-block: 72px;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-block: 24px;
}

.divider--center {
  margin-inline: auto;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg);
  letter-spacing: 0.01em;
}

.btn--primary:hover {
  background: var(--gold-light);
  color: var(--bg);
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--full {
  width: 100%;
}

/* ── Form ────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-group input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
}

.form-error {
  font-size: 0.875rem;
  color: #E07070;
  margin-top: 8px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* ── Cards / Surfaces ───────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* ── Proof Bar ───────────────────────────────────────────────── */
.proof-bar {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}

.proof-item .check {
  color: var(--gold);
  font-size: 0.9rem;
}

/* ── Wordmark / Logo ────────────────────────────────────────── */
.wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Nav ─────────────────────────────────────────────────────── */
.site-nav {
  padding-block: 24px;
  border-bottom: 1px solid var(--border);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--gold);
}

/* ── Link Hub ───────────────────────────────────────────────── */
.link-hub-header {
  text-align: center;
  padding-block: 56px 24px;
}

.link-hub-header .tagline {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 16px 56px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
  text-decoration: none;
}

.link-item:hover {
  border-color: var(--gold);
  background: #1C1811;
  color: var(--text);
}

.link-item .link-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.link-item .link-label { flex: 1; }

.link-item .link-sub {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

.link-item .link-arrow {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color var(--transition), transform var(--transition);
}

.link-item:hover .link-arrow {
  color: var(--gold);
  transform: translateX(3px);
}

.link-item--gold {
  border-color: var(--gold);
  background: rgba(201,150,58,0.06);
}

.link-item--gold:hover {
  background: rgba(201,150,58,0.12);
}

/* ── Thank You page ─────────────────────────────────────────── */
.ty-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

/* ── Utilities ───────────────────────────────────────────────── */
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }

.gap-2 { gap: 8px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  section { padding-block: 48px; }

  .card { padding: 24px 20px; }

  .proof-bar {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .link-item { padding: 16px 18px; }

  .btn { padding: 13px 24px; }
}
