/* CortexLeap — Phase 2 Design Refresh
 * Palette: warm indigo (#5B4FCF) + amber (#F59E0B)
 * Typography: Inter for headings, system stack for body
 */
:root {
  --bg: #09090d;
  --surface: #131220;
  --surface-hover: #1a1730;
  --border: #25223a;
  --border-hover: #5B4FCF;
  --text: #f0eef5;
  --text-muted: #8a86a0;
  --indigo: #5B4FCF;
  --indigo-hover: #6d60e0;
  --indigo-glow: rgba(91, 79, 207, 0.2);
  --amber: #F59E0B;
  --amber-hover: #FBBF24;
  --amber-glow: rgba(245, 158, 11, 0.25);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --section-pad: 4.5rem;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  background-image: linear-gradient(180deg, #0e0d1a 0%, #09090d 40%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--amber); color: #09090d; padding: 0.5rem 1rem;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0.5rem; }

/* ── Focus visible (accessibility) ── */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9, 9, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1.5rem; }
.nav-logo { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-lang a { color: var(--indigo); font-weight: 600; font-size: 0.85rem; }
.nav-lang a:hover { color: var(--indigo-hover); }

/* ── Hero ── */
.hero { padding: 5.5rem 1.5rem 4.5rem; text-align: center; }
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero h1 { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 1rem; background: linear-gradient(135deg, var(--text) 0%, #c4b5fd 50%, var(--amber) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.25rem; line-height: 1.55; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Trust bar ── */
.trust-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0.8rem 1.5rem; text-align: center; font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.02em; }
.trust-bar strong { color: var(--amber); font-weight: 600; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 0.8rem 1.8rem; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; letter-spacing: -0.01em; }
.btn-primary { background: var(--amber); color: #09090d; }
.btn-primary:hover { background: var(--amber-hover); transform: translateY(-2px); box-shadow: 0 6px 28px var(--amber-glow); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--indigo); color: var(--indigo-hover); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ── Sections ── */
section { padding: var(--section-pad) 1.5rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
section h2 { font-family: var(--font-heading); font-size: 2rem; text-align: center; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.section-sub { text-align: center; color: var(--text-muted); font-size: 1.05rem; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── Cards (shared) ── */
.tier-cards, .bucket-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.tier-card, .bucket-card, .tier-detail-card, .bucket-detail-card, .standalone-card, .pillar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; transition: all 0.25s;
}
.tier-card:hover, .bucket-card:hover, .tier-detail-card:hover, .bucket-detail-card:hover, .standalone-card:hover, .pillar:hover {
  border-color: var(--indigo); box-shadow: 0 0 25px var(--indigo-glow); transform: translateY(-2px);
}
.tier-featured { border-color: var(--indigo); box-shadow: 0 0 35px var(--indigo-glow); }
.tier-card h3, .tier-detail-card h2, .bucket-detail-card h2, .standalone-card h3 { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 0.5rem; }
.tier-card h3 a, .tier-detail-card h2 a { color: var(--text); text-decoration: none; }
.tier-card h3 a:hover, .tier-detail-card h2 a:hover { color: var(--indigo-hover); }
.tier-price { font-size: 1.6rem; font-weight: 700; color: var(--amber); margin-bottom: 0.25rem; }
.tier-price span { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }
.tier-duration, .tier-audience { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.tier-desc, .tier-summary, .tier-outcome { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin-top: 0.75rem; }
.tier-tagline { color: var(--text); font-size: 0.95rem; font-weight: 500; margin-bottom: 0.5rem; }
.tier-cta { text-align: center; margin-top: 2rem; color: var(--text-muted); }
.tier-cta a { color: var(--amber); text-decoration: underline; font-weight: 600; }
.tier-price-big { font-size: 2rem; font-weight: 700; color: var(--amber); }
.tier-audience-big { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.5rem; }

/* ── Bucket cards ── */
.bucket-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.bucket-card p, .bucket-summary { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }
.bucket-services { list-style: none; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.bucket-services li { background: rgba(91, 79, 207, 0.12); color: var(--text); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; }
.bucket-services li a { color: var(--indigo-hover); text-decoration: none; }
.bucket-services li a:hover { text-decoration: underline; }

/* ── Training detail page ── */
.training-tier-detail { display: flex; flex-direction: column; gap: 1.5rem; }
.tier-meta-bar { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.tier-meta-item { font-size: 0.95rem; color: var(--text-muted); }
.tier-meta-item strong { color: var(--text); }
.tier-section { margin-bottom: 2rem; }
.tier-section h2 { text-align: left; font-size: 1.5rem; margin-bottom: 0.75rem; }
.curriculum-module { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; margin-bottom: 0.75rem; }
.curriculum-module-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.curriculum-module-duration { background: rgba(91, 79, 207, 0.15); color: var(--indigo-hover); font-size: 0.8rem; padding: 0.15rem 0.6rem; border-radius: 20px; font-weight: 600; white-space: nowrap; }
.curriculum-module h3 { font-family: var(--font-heading); font-size: 1.05rem; }
.curriculum-module p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.phase-duration { font-size: 0.85rem; color: var(--amber); font-weight: 500; }
.session-list { margin-top: 0.5rem; padding-left: 1.25rem; }
.session-list li { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.25rem; }
.deliverables-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.5rem; }
.deliverables-list li { padding: 0.5rem 0.75rem; background: rgba(91, 79, 207, 0.08); border-radius: var(--radius-sm); font-size: 0.9rem; }
.tier-upsell { text-align: center; padding: 1.25rem; background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.15); border-radius: var(--radius-sm); font-size: 0.95rem; color: var(--amber); }

/* ── Service detail ── */
.service-detail { display: flex; flex-direction: column; gap: 1.5rem; }
.service-pain-point, .service-solution, .service-deliverables, .service-meta, .service-case-study { margin-bottom: 2rem; }
.service-pain-point h2, .service-solution h2, .service-deliverables h2, .service-case-study h2 { text-align: left; font-size: 1.4rem; margin-bottom: 0.5rem; }
.pain-statement { font-size: 1.05rem; color: var(--amber); font-weight: 500; }
.service-deliverables ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-deliverables li { padding: 0.4rem 0.9rem; background: rgba(91, 79, 207, 0.1); border-radius: 20px; font-size: 0.9rem; color: var(--text); }
.service-meta p { color: var(--text-muted); margin-bottom: 0.25rem; }
.service-meta strong { color: var(--text); }
.service-case-study h3 { font-size: 1rem; color: var(--indigo-hover); margin-bottom: 0.35rem; }
.service-case-study p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.breadcrumb a { color: var(--indigo-hover); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.back-link { margin-top: 2rem; font-size: 0.9rem; }
.back-link a { color: var(--text-muted); text-decoration: none; }
.back-link a:hover { color: var(--text); }

/* ── Standalone offerings ── */
.standalone-offerings { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.standalone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.standalone-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.standalone-who { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.standalone-outcome { font-size: 0.9rem; color: var(--text); margin-bottom: 0.75rem; line-height: 1.45; }
.standalone-meta { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--amber); font-weight: 600; }

/* ── Comparison table ── */
.comparison-table-wrapper { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comparison-table th, .comparison-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table th { font-family: var(--font-heading); font-weight: 700; color: var(--text); background: var(--surface); }
.comparison-table th:first-child, .comparison-table td:first-child { color: var(--text-muted); font-weight: 500; min-width: 160px; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--surface-hover); }

/* ── FAQ ── */
.faq-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.faq-item h3 { font-family: var(--font-heading); font-size: 1rem; color: var(--text); margin-bottom: 0.35rem; }
.faq-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

/* ── Social proof ── */
.social-proof { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.social-proof blockquote { max-width: 600px; margin: 0 auto; text-align: center; }
.social-proof blockquote p { font-size: 1.15rem; font-style: italic; margin-bottom: 0.5rem; color: var(--text); }
.social-proof cite { color: var(--amber); font-size: 0.9rem; font-style: normal; font-weight: 600; }

/* ── CTA bottom ── */
.cta-bottom { text-align: center; }
.cta-alt { margin-top: 1.25rem; color: var(--text-muted); font-size: 0.9rem; }
.cta-alt a { color: var(--amber); font-weight: 500; }
.tier-cta-bottom { text-align: center; margin-top: 2.5rem; }
.tier-cta-bottom p { margin-bottom: 1rem; color: var(--text-muted); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 3rem 1.5rem 2rem; font-size: 0.85rem; color: var(--text-muted); background: var(--surface); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-brand strong { font-family: var(--font-heading); display: block; font-size: 1.1rem; color: var(--text); margin-bottom: 0.25rem; }
.footer-brand p { margin-top: 0.25rem; }
.footer-links h4 { font-size: 0.85rem; color: var(--text); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.25rem; }
.footer-links a:hover { color: var(--amber); }
.footer-legal { border-top: 1px solid var(--border); margin-top: 1.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; font-size: 0.8rem; }
.footer-updated { color: var(--text-muted); }

/* ── Page hero (inner pages) ── */
.page-hero { padding: 3rem 1.5rem 2rem; text-align: center; }
.page-hero h1 { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }

/* ── About ── */
.about-content { max-width: var(--max-w); margin: 0 auto; }
.about-founder, .about-approach { margin-bottom: 2.5rem; }
.about-founder h2, .about-approach h2, .about-credentials h2 { text-align: left; font-size: 1.5rem; margin-bottom: 0.75rem; }
.about-founder p, .about-approach p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; max-width: 700px; }
.about-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.pillar strong { display: block; margin-bottom: 0.5rem; color: var(--amber); font-family: var(--font-heading); font-size: 1.05rem; }
.pillar p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.about-credentials ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.5rem; }
.about-credentials li { padding: 0.5rem 0.75rem; background: rgba(91, 79, 207, 0.08); border-radius: var(--radius-sm); font-size: 0.9rem; }

/* ── Legal content ── */
.legal-content { max-width: 700px; margin: 0 auto; }
.legal-content h2 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: 0.5rem; text-align: left; }
.legal-content p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.7; }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: all 0.25s; }
.blog-card:hover { border-color: var(--indigo); box-shadow: 0 0 25px var(--indigo-glow); transform: translateY(-2px); }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; font-size: 0.8rem; color: var(--text-muted); }
.blog-card h2 { font-family: var(--font-heading); font-size: 1.2rem; text-align: left; margin-bottom: 0.5rem; line-height: 1.3; }
.blog-card h2 a { color: var(--text); text-decoration: none; }
.blog-card h2 a:hover { color: var(--indigo-hover); }
.blog-summary { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 1rem; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.blog-tag { background: rgba(91,79,207,0.12); color: var(--indigo-hover); font-size: 0.75rem; padding: 0.15rem 0.55rem; border-radius: 20px; }
.blog-read-more { color: var(--amber); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.blog-read-more:hover { text-decoration: underline; }
.blog-empty { text-align: center; color: var(--text-muted); padding: 3rem 0; }

/* ── Blog post ── */
.blog-post { padding-bottom: 3rem; }
.blog-post-header { margin-bottom: 2.5rem; }
.blog-post-header h1 { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.blog-post-content { max-width: 720px; margin: 0 auto; }
.blog-post-content h2 { text-align: left; font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.blog-post-content h3 { font-family: var(--font-heading); font-size: 1.15rem; margin: 2rem 0 0.5rem; color: var(--text); }
.blog-post-content p { margin-bottom: 1.25rem; color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 1.25rem 1.5rem; color: var(--text-muted); }
.blog-post-content li { margin-bottom: 0.5rem; line-height: 1.6; }
.blog-post-content strong { color: var(--text); }
.blog-post-content code { background: var(--surface); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.9em; color: var(--amber); }
.blog-post-content pre { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; overflow-x: auto; margin-bottom: 1.25rem; }
.blog-post-content pre code { background: none; padding: 0; color: var(--text); }
.blog-post-content blockquote { border-left: 3px solid var(--amber); padding-left: 1rem; margin: 1.5rem 0; color: var(--text); font-style: italic; }
.blog-post-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.blog-post-content a { color: var(--amber); text-decoration: underline; }
.blog-post-content a:hover { color: var(--amber-hover); }
.blog-post-content .comparison-table-wrapper { margin: 1.5rem 0; }
.blog-post-content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.blog-post-content th, .blog-post-content td { padding: 0.6rem 0.8rem; text-align: left; border: 1px solid var(--border); }
.blog-post-content th { background: var(--surface); font-weight: 700; color: var(--text); }
.blog-post-content td { color: var(--text-muted); }
.blog-post-footer { margin-top: 3rem; }
.blog-post-cta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; margin-bottom: 1.5rem; }
.blog-post-cta h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 0.5rem; }
.blog-post-cta p { color: var(--text-muted); margin-bottom: 1.25rem; }

/* ── Lead magnet ── */
.lead-magnet-content { padding-top: 2rem; }
.lead-magnet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; max-width: 900px; margin: 0 auto; }
.lead-magnet-benefits h2 { text-align: left; font-size: 1.4rem; margin-bottom: 1.25rem; }
.lead-magnet-benefit-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.lead-magnet-benefit-list li { font-size: 1rem; color: var(--text); display: flex; align-items: flex-start; gap: 0.5rem; }
.benefit-check { color: var(--amber); font-weight: 700; flex-shrink: 0; }
.social-proof-inline { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted); }
.lead-magnet-form-wrapper { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.lead-magnet-form-wrapper h2 { text-align: left; font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.form-privacy { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.75rem; }
.lead-magnet-cta { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.subscribe-success { padding: 1rem; background: rgba(91,79,207,0.1); border-radius: var(--radius-sm); text-align: center; }
.subscribe-success h3 { color: var(--amber); font-size: 1.2rem; margin-bottom: 0.5rem; }

/* ── Newsletter signup ── */
.newsletter-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.subscribe-form { display: flex; gap: 0.75rem; max-width: 460px; margin: 0 auto; }
.subscribe-form input[type="email"], .subscribe-form input[type="text"] { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; color: var(--text); font-size: 0.95rem; outline: none; }
.subscribe-form input:focus { border-color: var(--indigo); }
.blog-post-newsletter { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; text-align: center; margin-bottom: 1.5rem; }
.blog-post-newsletter h3 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-post-newsletter p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* ── Pricing page ── */
.pricing-section { padding-top: 2rem; }
.pricing-section-title { margin-top: 3rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.pricing-grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; text-align: center; transition: all 0.25s; position: relative; }
.pricing-card:hover { border-color: var(--indigo); box-shadow: 0 0 25px var(--indigo-glow); transform: translateY(-2px); }
.pricing-featured { border-color: var(--indigo); box-shadow: 0 0 35px var(--indigo-glow); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #09090d; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.9rem; border-radius: 20px; }
.pricing-card h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 0.25rem; }
.pricing-amount { font-size: 1.8rem; font-weight: 700; color: var(--amber); margin-bottom: 0.25rem; }
.pricing-duration { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1rem; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 1.25rem; }
.pricing-features li { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.5rem; line-height: 1.4; }
.pricing-features strong { color: var(--text); }

@media (max-width: 768px) {
  .lead-magnet-grid { grid-template-columns: 1fr; gap: 2rem; }
  .subscribe-form { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── Error pages ── */
.error-page { padding: 5rem 1.5rem; text-align: center; }
.error-page h1 { font-size: 4rem; color: var(--indigo); margin-bottom: 0.5rem; }
.error-page p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── Mobile floating CTA ── */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
    padding: 0.8rem 1rem; background: rgba(9, 9, 13, 0.95);
    backdrop-filter: blur(12px); border-top: 1px solid var(--border);
    justify-content: center; gap: 0.75rem;
  }
  .mobile-cta .btn { font-size: 0.9rem; padding: 0.6rem 1.2rem; }
  body { padding-bottom: 70px; }
}

/* ── Chat Widget ── */
.chat-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000; }
.chat-toggle { width: 54px; height: 54px; border-radius: 50%; background: var(--indigo); color: #fff; border: none; cursor: pointer; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px var(--indigo-glow); transition: transform 0.2s; }
.chat-toggle:hover { transform: scale(1.08); background: var(--indigo-hover); }
.chat-panel { display: none; position: absolute; bottom: 65px; right: 0; width: 360px; max-width: calc(100vw - 2rem); height: 480px; max-height: calc(100vh - 140px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); flex-direction: column; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,0.6); }
.chat-panel.open { display: flex; }
.chat-header { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; font-weight: 600; }
.chat-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.2rem; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-msg { max-width: 85%; padding: 0.6rem 0.9rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.45; word-wrap: break-word; }
.chat-msg.user { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.bot { align-self: flex-start; background: var(--bg); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-input-area { padding: 0.75rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; }
.chat-input-area input { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.6rem 0.8rem; color: var(--text); font-size: 0.9rem; outline: none; }
.chat-input-area input:focus { border-color: var(--indigo); }
.chat-input-area button { background: var(--amber); color: #09090d; border: none; border-radius: var(--radius-sm); padding: 0.6rem 1rem; cursor: pointer; font-weight: 600; font-size: 0.85rem; }
.chat-input-area button:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-typing { padding: 0.25rem 1rem 0.75rem; font-size: 0.8rem; color: var(--text-muted); display: none; }

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  section { padding: 2.5rem 1rem; }
  section h2 { font-size: 1.5rem; }
  .nav-links { gap: 1rem; }
  .tier-cards, .bucket-cards, .about-pillars, .standalone-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .chat-panel { width: calc(100vw - 2rem); right: -0.5rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.8rem; }
}