/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resources-hero {
  padding: 11rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.resources-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1rem; }
.resources-hero .lede {
  max-width: 700px; margin: 0 auto; font-size: 1.05rem;
  color: var(--text); line-height: 1.75;
}

.resources-section { background: var(--navy); padding-bottom: var(--space-section); }
.resources-section .section-head { margin-top: 3rem; }

/* Free resources grid */
.free-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}
.free-resource {
  background: rgba(26, 45, 80, 0.35);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.5s var(--ease-out), background 0.5s, transform 0.4s var(--ease-out);
}
.free-resource:hover {
  border-color: var(--glass-border-strong);
  background: rgba(26, 45, 80, 0.5);
  transform: translateY(-3px);
}
.free-resource .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-style: italic;
}
.free-resource h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  color: var(--cream);
  font-weight: 500;
}
.free-resource h4 em { color: var(--gold); font-style: italic; }
.free-resource p {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.free-resource .resource-cta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: auto;
}
.free-resource .resource-cta::after { content: ' →'; }

/* The lead-magnet callout (Transfer Partners) */
.lead-magnet {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
  border: 1px solid var(--gold);
  padding: 3rem clamp(2rem, 5vw, 4rem);
  margin: 4rem 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.lead-magnet .badge-corner {
  position: absolute;
  top: -12px; left: 2rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
}
.lead-magnet .copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream);
  margin-bottom: 1rem;
}
.lead-magnet .copy h2 em { color: var(--gold); font-style: italic; }
.lead-magnet .copy p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.lead-magnet .copy ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.lead-magnet .copy ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: var(--text);
  font-size: 0.95rem;
}
.lead-magnet .copy ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.lead-magnet .signup-side .substack-embed iframe {
  width: 100%;
  max-width: 100%;
  background: var(--navy-mid);
  border: 1px solid var(--glass-border);
}

/* Paid tools - bundle hero */
.bundle-hero {
  background: linear-gradient(180deg, rgba(26, 45, 80, 0.6), rgba(19, 31, 56, 0.7));
  border: 1px solid var(--glass-border-strong);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  margin: 4rem 0;
  overflow: hidden;
}
.bundle-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 1000px 500px at 50% 0%, rgba(201, 168, 76, 0.1), transparent 70%);
  pointer-events: none;
}
.bundle-hero > * { position: relative; }
.bundle-hero .savings-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}
.bundle-hero h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.bundle-hero .bundle-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.3rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.bundle-pricing {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
}
.bundle-pricing .strike {
  text-decoration: line-through;
  text-decoration-color: var(--text-dim);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.bundle-pricing .price-now {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
}
.bundle-savings-line {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2rem;
}
.bundle-savings-line strong { color: var(--gold); }
.bundle-includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 2rem;
  max-width: 720px;
  margin: 2rem auto;
  text-align: left;
}
.bundle-includes .item {
  padding-left: 1.6rem;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.bundle-includes .item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.bundle-includes .item.featured {
  font-weight: 500;
  color: var(--cream);
}
.bundle-includes .item.featured::before { content: '★'; }

/* Individual tools grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}
.tool-card {
  background: rgba(26, 45, 80, 0.35);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.5s var(--ease-out);
}
.tool-card:hover { border-color: var(--glass-border-strong); }
.tool-card .tool-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-style: italic;
  margin-bottom: 0.8rem;
}
.tool-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.7rem;
  font-weight: 500;
  line-height: 1.25;
}
.tool-card h4 em { color: var(--gold); font-style: italic; }
.tool-card .tool-desc {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.tool-card .tool-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.tool-card .btn { font-size: 0.78rem; padding: 0.9rem 1.4rem; align-self: flex-start; }

/* Premium tool standout (budget) */
.premium-tool {
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.08), rgba(26, 45, 80, 0.4));
  border: 1px solid var(--gold);
  padding: clamp(2rem, 5vw, 3.5rem);
  margin: 4rem 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.premium-tool .badge-corner {
  position: absolute;
  top: -12px; left: 2rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
}
.premium-tool h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.premium-tool h3 em { color: var(--gold); font-style: italic; }
.premium-tool .desc {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.premium-tool .features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.premium-tool .features li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
}
.premium-tool .features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.premium-tool .right-side { text-align: center; }
.premium-tool .price-block .label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.premium-tool .price-block .price {
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.premium-tool .price-block .note {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 1.8rem;
}
.premium-tool .right-side .or-line {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .lead-magnet,
  .premium-tool { grid-template-columns: 1fr; gap: 2rem; }
  .bundle-includes { grid-template-columns: 1fr; }
}
