/* ===================================================================
   Diamond Legacy Build — Shared SEO/content-page stylesheet
   Used by /about-ron-saunders/, /diamond-legacy-build/,
   /ron-saunders-reviews/, /blog/, /blog/<article>/
   =================================================================== */

:root {
  --bg-0: #000000;
  --bg-1: #0a0a0a;
  --bg-2: #161616;
  --ink: #ffffff;
  --ink-muted: #bfbfbf;
  --gold: #67e8f9;
  --gold-2: #0ea5e9;
  --red: #a78bfa;
  --red-2: #7c3aed;
  --pink: #e0e7ff;
  --emerald: #67e8f9;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.10);
  --shadow-glow: 0 20px 60px -10px rgba(103, 232, 249, 0.45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
a { color: var(--gold); text-decoration: none; border-bottom: 1px dotted rgba(103,232,249,0.4); transition: color .15s ease; }
a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Diamond ambience + watermark + sparkles ---------- */
.diamond-watermark {
  position: absolute; top: 50%; left: 50%;
  width: 75vmin; height: 75vmin;
  transform: translate(-50%, -50%);
  opacity: 0.06; pointer-events: none; z-index: -1;
  filter: drop-shadow(0 0 50px rgba(255,255,255,0.35));
  animation: dwPulse 8s ease-in-out infinite;
}
@keyframes dwPulse {
  0%, 100% { opacity: 0.05; transform: translate(-50%, -50%) rotate(-1deg) scale(1); }
  50%      { opacity: 0.10; transform: translate(-50%, -50%) rotate(1deg)  scale(1.03); }
}
.sparkle {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 2px rgba(255,255,255,0.85), 0 0 14px 4px rgba(226,232,240,0.45);
  opacity: 0; pointer-events: none;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50%      { opacity: 1; transform: scale(1.4); }
}
.ambience {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(103,232,249,0.16), transparent 60%),
    radial-gradient(900px 600px at 95% 5%, rgba(167,139,250,0.14), transparent 60%),
    radial-gradient(1200px 800px at 50% 110%, rgba(224,231,255,0.08), transparent 60%),
    linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

/* ---------- Top bar (lightweight nav) ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; max-width: 1100px; margin: 0 auto;
  border-bottom: 1px solid var(--card-border);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 18px;
  color: var(--ink); border: none;
}
.brand:hover { color: var(--gold); }
.brand-mark {
  width: 32px; height: 32px;
  filter: drop-shadow(0 6px 14px rgba(103,232,249,0.45));
}
.brand-text-accent {
  background: linear-gradient(120deg, #67e8f9, #ffffff, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topbar-nav { display: flex; gap: 22px; align-items: center; }
.topbar-nav a {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 13.5px;
  color: var(--ink-muted); border: none;
  letter-spacing: 0.04em;
}
.topbar-nav a:hover { color: var(--gold); }
.topbar-nav .join-pill {
  display: inline-flex; align-items: center; gap: 6px;
  color: #000;
  background: linear-gradient(135deg, var(--gold) 0%, var(--red) 100%);
  padding: 9px 16px; border-radius: 999px;
  font-weight: 800; font-size: 13px; letter-spacing: 0.04em;
  box-shadow: 0 10px 20px -6px rgba(103,232,249,0.45);
  border: none;
}
.topbar-nav .join-pill:hover { color: #000; transform: translateY(-1px); }
@media (max-width: 640px) {
  .topbar { padding: 14px 18px; }
  .topbar-nav { gap: 12px; }
  .topbar-nav a:not(.join-pill) { display: none; }
}

/* ---------- Article shell ---------- */
.article-shell {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 30px 28px 60px;
}
.article-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(103,232,249,0.12), rgba(167,139,250,0.12));
  border: 1px solid rgba(103,232,249,0.35);
  margin-bottom: 22px;
}
.article-eyebrow::before { content: '◆'; }

.article-title {
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.article-title .accent {
  background: linear-gradient(120deg, #67e8f9, #ffffff, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.article-lede {
  font-size: 19px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 660px;
}

.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 14px 0 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--card-border);
  font-size: 13.5px; color: var(--ink-muted);
}
.article-meta .author { color: var(--gold); font-weight: 700; border: none; }
.article-meta .dot { color: rgba(255,255,255,0.25); }

/* ---------- Article body typography ---------- */
.article-body { font-size: 17px; color: var(--ink); }
.article-body p { margin-bottom: 22px; line-height: 1.7; color: var(--ink-muted); }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body em { color: var(--pink); font-style: italic; }
.article-body h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 56px 0 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.article-body h2 .accent {
  background: linear-gradient(120deg, #67e8f9, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.article-body h3 {
  font-size: 22px;
  margin: 36px 0 14px;
  color: var(--ink);
}
.article-body a {
  color: var(--gold);
  border-bottom: 1px dotted rgba(103,232,249,0.5);
}
.article-body a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.article-body ul, .article-body ol {
  margin: 0 0 22px 22px;
  padding: 0;
  color: var(--ink-muted);
}
.article-body li { margin-bottom: 10px; line-height: 1.65; }
.article-body ul li::marker { color: var(--gold); }
.article-body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  background: var(--card);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.55;
}
.article-body blockquote cite {
  display: block; margin-top: 10px;
  font-style: normal; font-size: 13px; color: var(--gold);
  font-weight: 700;
}

/* Callout box */
.callout {
  margin: 32px 0;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(103,232,249,0.06), rgba(167,139,250,0.06));
  border: 1px solid rgba(103,232,249,0.30);
  border-radius: 16px;
}
.callout-head {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.callout-head::before { content: '◆'; }
.callout p:last-child { margin-bottom: 0; }

/* Credentials grid (used on about + diamond-legacy-build) */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 26px 0 32px;
}
@media (max-width: 560px) { .creds-grid { grid-template-columns: 1fr; } }
.cred {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px 18px;
}
.cred-head {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  color: var(--gold); font-size: 15px;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.cred-head::before { content: '◆'; font-size: 11px; }
.cred-sub { font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; }

/* Testimonial card */
.testimonial-set {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 30px 0;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px;
}
.testimonial blockquote {
  margin: 0 0 14px;
  padding: 0; background: none; border: none;
  font-size: 14.5px; color: var(--ink-muted);
  font-style: italic; line-height: 1.55;
}
.testimonial .who {
  font-size: 13px; color: var(--gold); font-weight: 700;
}
.testimonial .who .city { color: var(--ink-muted); font-weight: 500; }

/* Big CTA card at the end of each SEO page */
.cta-card {
  position: relative;
  margin: 60px auto 30px;
  padding: 38px 32px;
  background: linear-gradient(180deg, rgba(20,20,20,0.95), rgba(10,10,10,0.95));
  border-radius: 22px;
  text-align: center;
  overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: 22px; padding: 1px;
  background: linear-gradient(135deg, rgba(103,232,249,0.65), rgba(255,255,255,0.4), rgba(167,139,250,0.65));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.cta-card h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.cta-card p {
  color: var(--ink-muted); font-size: 16px; margin-bottom: 22px;
  max-width: 540px; margin-left: auto; margin-right: auto;
}
.cta-card .btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 17px;
  color: #000;
  background: linear-gradient(135deg, #67e8f9 0%, #0ea5e9 50%, #a78bfa 100%);
  padding: 16px 30px; border-radius: 999px;
  border: none; cursor: pointer; text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-card .btn-primary:hover {
  color: #000; transform: translateY(-2px);
  box-shadow: 0 28px 70px -10px rgba(167,139,250,0.6);
}
.cta-card .cta-secondary {
  display: block; margin-top: 14px;
  font-size: 13.5px; color: var(--ink-muted); border: none;
}
.cta-card .cta-secondary a {
  color: var(--gold); border-bottom: 1px dotted rgba(103,232,249,0.4);
}

/* ---------- TOC for long articles ---------- */
.toc {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 32px 0;
}
.toc-head {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.toc ol { margin: 0; padding-left: 22px; color: var(--ink-muted); font-size: 14.5px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink); border-bottom: none; }
.toc a:hover { color: var(--gold); }

/* ---------- Author byline card ---------- */
.byline-card {
  margin: 50px 0 30px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  display: flex; align-items: center; gap: 18px;
}
.byline-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #67e8f9, #a78bfa);
  display: grid; place-items: center;
  font-family: 'Outfit', sans-serif; font-weight: 800;
  color: #000; font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(103,232,249,0.5);
}
.byline-info .name {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 17px;
  color: var(--ink); margin-bottom: 4px;
}
.byline-info .name a { color: var(--gold); border: none; }
.byline-info .role { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }

/* ---------- Card list (used on /blog/) ---------- */
.post-list { display: grid; gap: 20px; margin: 30px 0; }
.post-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 26px 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.post-card:hover { border-color: rgba(103,232,249,0.5); transform: translateY(-2px); }
.post-card h2 {
  font-size: 22px; margin-bottom: 10px; color: var(--ink);
}
.post-card h2 a { color: var(--ink); border: none; }
.post-card h2 a:hover { color: var(--gold); }
.post-card .post-meta {
  font-size: 12.5px; color: var(--ink-muted);
  margin-bottom: 12px; letter-spacing: 0.04em;
}
.post-card .post-excerpt {
  font-size: 14.5px; color: var(--ink-muted); line-height: 1.55;
}

/* ---------- Footer ---------- */
footer {
  text-align: center; padding: 40px 28px 60px;
  color: var(--ink-muted); font-size: 12.5px;
  border-top: 1px solid var(--card-border);
  margin-top: 40px;
}
footer a {
  color: var(--ink-muted); margin: 0 8px; border: none;
}
footer a:hover { color: var(--gold); }
.footer-disclaimer {
  margin-top: 14px; font-size: 11px;
  max-width: 580px; margin-left: auto; margin-right: auto;
  line-height: 1.6; color: rgba(255,255,255,0.4);
}
