/* ============================================================
   Earvin Laureano — shared design system
   Dark + gold (#C7A97F). Used by the hub + all category pages.
   Existing pages (index/audit/pricing legacy) keep their inline
   styles; new category pages load this file.
   ============================================================ */

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

:root {
  --bg:     #0c0c0c;
  --bg2:    #111111;
  --bg3:    #181818;
  --border: rgba(255,255,255,0.06);
  --gold:   #C7A97F;
  --gold2:  #E8D4B0;
  --gold3:  #a88a62;
  --text:   #E8D4B0;
  --muted:  #8d887f;
  --soft:   rgba(199,169,127,0.08);
  --r:      4px;
  --green:  #4ade80;
  --amber:  #e0b96a;
  --red:    #f87171;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAV */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 5rem;
  background: rgba(12,12,12,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
nav#navbar.scrolled { padding: 1rem 5rem; }
.logo { font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; text-decoration: none; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links > li { display: inline-flex; align-items: center; }
.nav-links a { display: inline-flex; align-items: center; vertical-align: middle; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.25s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s; }
.nav-links a.active { color: var(--gold); }
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { font-size: 0.72rem !important; font-weight: 600 !important; letter-spacing: 0.12em !important; text-transform: uppercase !important; color: var(--bg) !important; background: var(--gold) !important; padding: 0.65rem 1.5rem !important; text-decoration: none; transition: all 0.25s !important; border-radius: var(--r) !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold2) !important; transform: translateY(-1px) !important; box-shadow: 0 4px 20px rgba(199,169,127,0.3) !important; }
.nav-dd { position: relative; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-dd .caret { display: inline-block; width: 6px; height: 6px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg); transition: border-color 0.25s, transform 0.25s; }
.nav-dd:hover > a .caret, .nav-dd:focus-within > a .caret { border-color: var(--gold); transform: rotate(225deg); }
.nav-dd-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: rgba(17,17,17,0.98); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: var(--r); padding: 0.5rem 0; min-width: 200px; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s, transform 0.2s; list-style: none; box-shadow: 0 20px 40px rgba(0,0,0,0.5); z-index: 10; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav-dd-menu li { display: block; }
.nav-dd-menu a { display: block; padding: 0.7rem 1.4rem; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s, background 0.2s; }
.nav-dd-menu a::after { display: none; }
.nav-dd-menu a:hover { color: var(--gold); background: rgba(199,169,127,0.06); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; position: relative; z-index: 2; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BUTTONS */
.btn-gold { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: var(--gold); color: var(--bg); padding: 0.95rem 2rem; text-decoration: none; border-radius: var(--r); transition: all 0.25s; display: inline-block; border: none; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(199,169,127,0.25); }
.btn-outline { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); border: 1px solid var(--border); padding: 0.95rem 2rem; text-decoration: none; border-radius: var(--r); transition: all 0.25s; display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; cursor: pointer; font-family: inherit; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* SECTIONS */
.section { padding: 6.5rem 5rem; max-width: 1200px; margin: 0 auto; }
.section.center { text-align: center; }
.section-eyebrow { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; }
.section.center .section-eyebrow { justify-content: center; }
.section-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 1rem; }
.section-title em { font-style: italic; color: var(--gold); font-weight: 700; }
.section-desc { font-size: 0.92rem; color: var(--muted); max-width: 640px; line-height: 1.85; }
.section.center .section-desc { margin-left: auto; margin-right: auto; }

/* CATEGORY PAGE HERO */
.cat-hero { min-height: 60vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 9rem 1.5rem 4rem; overflow: hidden; border-bottom: 1px solid var(--border); }
.cat-hero-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(199,169,127,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(199,169,127,0.03) 1px, transparent 1px); background-size: 80px 80px; }
.cat-hero-inner { position: relative; z-index: 2; max-width: 780px; }
.cat-hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 1.2rem; }
.cat-hero h1 em { font-style: italic; color: var(--gold); font-weight: 700; }
.cat-hero .who { font-size: 0.92rem; font-style: italic; color: var(--gold); margin-bottom: 1.3rem; line-height: 1.6; }
.cat-hero .lede { font-size: 1rem; color: var(--muted); line-height: 1.9; max-width: 560px; margin: 0 auto 2.5rem; }
.cat-hero-actions { display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.cap-note { margin: 4.5rem auto 0; max-width: 520px; font-size: 0.82rem; line-height: 1.55; color: var(--muted); text-align: center; }
.cat-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(199,169,127,0.1); border: 1px solid rgba(199,169,127,0.25); padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 1.8rem; }
.cat-eyebrow span { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* TIER CARDS (shared) */
.tier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.tier-grid.single { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
.tier-grid.three  { grid-template-columns: repeat(3, 1fr); }
.tier-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 2.4rem 2rem; display: flex; flex-direction: column; text-align: left; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; position: relative; }
.tier-card:hover { border-color: rgba(199,169,127,0.25); transform: translateY(-4px); }
.tier-card.premium { border-color: rgba(199,169,127,0.4); box-shadow: 0 0 0 1px rgba(199,169,127,0.15) inset; }
.tier-badge { position: absolute; top: -10px; left: 1.5rem; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bg); background: var(--gold); padding: 0.35rem 0.9rem; border-radius: 100px; }
.tier-name { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 0.6rem; }
.tier-for { font-size: 0.84rem; font-style: italic; color: var(--gold); line-height: 1.6; margin-bottom: 1.1rem; }
.tier-headline { font-size: 0.9rem; font-weight: 600; color: var(--text); line-height: 1.6; margin-bottom: 1.4rem; }
.tier-price-wrap { padding: 1.1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 1.4rem; }
.tier-price { font-size: 1.5rem; font-weight: 800; color: var(--gold); line-height: 1; display: block; }
.tier-price-note { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.07em; text-transform: uppercase; margin-top: 0.5rem; display: block; }
.tier-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.7rem; flex: 1; }
.tier-list li { font-size: 0.81rem; color: var(--muted); line-height: 1.6; display: flex; gap: 0.7rem; }
.tier-list li::before { content: ''; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 0.55rem; }
.tier-list li.exclude { color: #6e6b66; }
.tier-list li.exclude::before { background: #555; }
.tier-card .btn-gold, .tier-card .btn-outline { text-align: center; justify-content: center; }

/* FAQ accordion */
.faq-list { max-width: 820px; margin: 3rem auto 0; text-align: left; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-family: inherit; font-size: 0.95rem; font-weight: 600; color: #fff; }
.faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.faq-q .faq-plus { color: var(--gold); font-size: 1.3rem; line-height: 1; flex-shrink: 0; transition: transform 0.3s; }
.faq-q[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 0 1.4rem; font-size: 0.86rem; color: var(--muted); line-height: 1.85; }

/* Cross-links */
.crosslinks { max-width: 880px; margin: 3rem auto 0; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--border); }
.crosslinks a { font-size: 0.78rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.crosslinks a:hover { color: var(--gold); }
.crosslinks a strong { color: var(--text); }

/* Bottom CTA */
.cta-end { text-align: center; padding: 5rem 1.5rem 6rem; border-top: 1px solid var(--border); }
.cta-end h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.cta-end h2 em { font-style: italic; color: var(--gold); font-weight: 700; }
.cta-end p { font-size: 0.92rem; color: var(--muted); max-width: 480px; margin: 0 auto 2rem; line-height: 1.7; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 2.5rem 5rem; display: flex; justify-content: space-between; align-items: center; background: var(--bg); flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-size: 0.9rem; font-weight: 700; color: var(--muted); letter-spacing: 0.05em; }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 0.62rem; letter-spacing: 0.14em; color: var(--muted); }
.footer-sub { font-size: 0.62rem; letter-spacing: 0.1em; color: var(--muted); text-align: right; }
.footer-sub span { color: var(--gold); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* AI search banner */
.ai-banner { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(199,169,127,0.07), rgba(199,169,127,0.02)); }
.ai-banner-inner { max-width: 1000px; margin: 0 auto; padding: 2rem 5rem; display: flex; align-items: center; gap: 1.4rem; }
.ai-banner-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--r); background: rgba(199,169,127,0.12); border: 1px solid rgba(199,169,127,0.35); display: flex; align-items: center; justify-content: center; }
.ai-banner-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-banner-inner p { font-size: 0.92rem; color: var(--text); line-height: 1.75; }
.ai-banner-inner strong { color: var(--gold); font-weight: 600; }

/* OPTION CARDS (hub) */
.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 3rem; }
.opt-card { display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 2.2rem; text-decoration: none; color: inherit; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; position: relative; text-align: left; }
.opt-card:hover { border-color: rgba(199,169,127,0.4); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.opt-card.premium { border-color: rgba(199,169,127,0.35); }
.opt-icon { width: 46px; height: 46px; border-radius: var(--r); background: rgba(199,169,127,0.1); border: 1px solid rgba(199,169,127,0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; }
.opt-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.opt-name { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.opt-who { font-size: 0.85rem; font-style: italic; color: var(--gold); margin-bottom: 1rem; line-height: 1.5; }
.opt-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.4rem; flex: 1; }
.opt-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.opt-price { font-size: 0.92rem; font-weight: 700; color: var(--gold); }
.opt-arrow { font-size: 1.1rem; color: var(--gold); transition: transform 0.25s; }
.opt-card:hover .opt-arrow { transform: translateX(4px); }

/* Group label */
.group-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 3.5rem 0 1.2rem; text-align: left; display: flex; align-items: center; gap: 1rem; }
.group-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav#navbar { padding: 1.2rem 1.5rem; }
  nav#navbar.scrolled { padding: 1rem 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 78%; max-width: 300px;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 1.8rem; padding: 6rem 2rem 2rem;
    background: var(--bg2); border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform 0.35s ease; z-index: 1;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > li { display: block; width: 100%; }
  .nav-links a { font-size: 0.8rem; }
  .nav-dd-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: none; box-shadow: none; padding: 0.5rem 0 0 1rem; min-width: 0; }
  .nav-dd .caret { display: none; }
  .nav-cta { padding: 0.8rem 1.6rem !important; }
  .section { padding: 4rem 1.5rem; }
  .ai-banner-inner { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
  .tier-grid, .tier-grid.three, .options-grid { grid-template-columns: 1fr; }
  footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
  .footer-sub { text-align: center; }
}

/* Phones: hide the secondary "Choose a service" link in the focus nav so logo + Book a Call do not crowd */
@media (max-width: 600px) {
  .focus-nav a[href="/work-with-me"] { display: none; }
}

/* ===== WEBSITE EFFECTS — gentle cursor interactions, GPU-only (transform/opacity) ===== */
.fx-magnetic { will-change: transform; }

/* Shine sweep on gold CTAs */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.30) 50%, transparent 65%); transform: translateX(-130%); transition: transform 0.7s ease; }
.btn-gold:hover::after { transform: translateX(130%); }

/* 3D tilt on feature cards (snappy transform, keep reveal fade + hover shadow) */
.demo-card, .rev-card, .ch-card, .tier-card, .wcard, .wfeature { will-change: transform; transition: all 0.3s ease, transform 0.18s cubic-bezier(.22,1,.36,1); }

/* Gold spotlight following the cursor across the hero */
.fx-spotlight { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.6s ease; background: radial-gradient(480px circle at var(--spot-x, 50%) var(--spot-y, 28%), rgba(199,169,127,0.16), transparent 62%); }
.cat-hero:hover .fx-spotlight, .chooser-hero:hover .fx-spotlight { opacity: 1; }
