/* ============================================================
   The Canada Guardian — shared "money guide" page styles
   Themeable accent per page via:  --ga (accent)  --ga-soft (translucent)
   Defaults to safety green. Matches Anu's dark/glass design system.
   ============================================================ */
:root { --ga: #39D98A; --ga-soft: rgba(57, 217, 138, 0.12); }

body { background-color: #030612 !important; overflow-x: hidden; position: relative; }

/* Ambient background */
.ambient-glow-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; overflow: hidden; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(130px); opacity: 0.15; mix-blend-mode: screen; animation: floatGlow 25s infinite alternate ease-in-out; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(93, 169, 255, 0.4) 0%, rgba(0,0,0,0) 70%); top: -100px; right: -100px; }
.orb-2 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(57, 217, 138, 0.35) 0%, rgba(0,0,0,0) 70%); bottom: -150px; left: -150px; animation-delay: -5s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(244, 197, 66, 0.22) 0%, rgba(0,0,0,0) 70%); top: 50%; left: 30%; animation-delay: -10s; }
@keyframes floatGlow { 0% { transform: translateY(0) scale(1) rotate(0deg); } 50% { transform: translateY(-40px) scale(1.1) rotate(180deg); } 100% { transform: translateY(30px) scale(0.9) rotate(360deg); } }

.page-container { position: relative; z-index: 10; max-width: var(--container-max); margin: 0 auto; padding: 2rem 1.5rem 6rem; }

/* Hero */
.page-hero { padding: 8rem 0 2rem; text-align: center; position: relative; z-index: 5; }
.hero-glass-card { background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--ga-soft); border-radius: 30px; padding: 3.5rem 2rem; max-width: 850px; margin: 0 auto 2rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6); }
.page-badge { background: var(--ga-soft); border: 1px solid var(--ga-soft); color: var(--ga); padding: 0.5rem 1.25rem; border-radius: 100px; font-size: 0.8rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; display: inline-block; margin-bottom: 1.5rem; }
.page-title { font-family: 'Space Grotesk', 'Sora', sans-serif; font-size: 3.2rem; font-weight: 700; letter-spacing: -1.5px; color: #fff; margin-bottom: 1.25rem; line-height: 1.1; }
.page-subtitle { font-family: 'Inter', sans-serif; color: var(--color-text-muted); font-size: 1.2rem; max-width: 650px; margin: 0 auto 2rem; line-height: 1.6; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 650px; margin: 0 auto; }
.stat-item { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 1.25rem 1rem; text-align: center; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--ga); display: block; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.78rem; color: var(--color-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* Disclaimer */
.disclaimer-box { display: flex; align-items: flex-start; gap: 1rem; background: rgba(255, 215, 0, 0.05); border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 12px; padding: 1rem 1.5rem; margin: 0 auto 3.5rem; max-width: 800px; color: rgba(255,255,255,0.7); font-size: 0.85rem; line-height: 1.5; }
.disclaimer-box i { color: var(--color-accent); font-size: 1.2rem; margin-top: 2px; }
.disclaimer-box strong { color: var(--color-accent); display: block; margin-bottom: 0.25rem; font-size: 0.9rem; }

/* Prose */
.prose-section { max-width: 800px; margin: 0 auto 3.5rem; }
.section-headline { font-family: 'Space Grotesk', 'Sora', sans-serif; font-size: 2.2rem; text-align: center; margin-bottom: 1rem; color: #fff; }
.section-subtext { color: var(--color-text-muted); text-align: center; max-width: 620px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.prose-section p { color: rgba(255,255,255,0.82); font-size: 1.02rem; line-height: 1.7; margin-bottom: 1.1rem; }
.prose-section p strong { color: #fff; }
.prose-section a.inline-link { color: var(--ga); text-decoration: underline; text-underline-offset: 2px; }
.prose-section ul.lead-list { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.prose-section ul.lead-list li { color: rgba(255,255,255,0.82); font-size: 1rem; line-height: 1.6; padding: 0.4rem 0 0.4rem 1.75rem; position: relative; }
.prose-section ul.lead-list li::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--ga); font-size: 0.8rem; top: 0.6rem; }

/* Callout */
.callout { background: var(--ga-soft); border: 1px solid var(--ga-soft); border-left: 4px solid var(--ga); border-radius: 0 14px 14px 0; padding: 1.5rem 1.75rem; margin: 2rem auto 0; }
.callout h3 { color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; margin-bottom: 0.6rem; }
.callout p { color: rgba(255,255,255,0.82); font-size: 0.97rem; line-height: 1.6; margin: 0; }

/* Option/provider cards */
.options-intro { max-width: 1000px; margin: 0 auto; }
.providers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto 3.5rem; }
.provider-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); min-height: 360px; }
.provider-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.04); border-color: var(--ga-soft); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.provider-card.featured { border-color: var(--ga); background: rgba(255, 255, 255, 0.035); }
.provider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; gap: 0.5rem; }
.provider-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
.badge-pick { background: var(--ga-soft); border: 1px solid var(--ga); color: var(--ga); font-size: 0.65rem; font-weight: 800; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 6px; letter-spacing: 0.5px; white-space: nowrap; }
.badge-neutral { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 6px; letter-spacing: 0.5px; white-space: nowrap; }
.provider-desc { font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.55; margin-bottom: 1.1rem; }
.provider-points { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.provider-points li { font-size: 0.88rem; color: rgba(255,255,255,0.8); padding: 0.35rem 0 0.35rem 1.5rem; position: relative; line-height: 1.45; }
.provider-points li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--ga); font-size: 0.75rem; }
.provider-points li.minus::before { content: "\f068"; color: rgba(255,255,255,0.35); }
.provider-btn { width: 100%; height: 48px; border-radius: 12px; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 0.5rem; cursor: pointer; transition: all 0.25s ease; text-decoration: none; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); }
.provider-btn:hover { background: var(--ga); color: #030612; border-color: var(--ga); transform: translateY(-2px); }
.provider-card.featured .provider-btn { background: var(--ga); color: #030612; border-color: var(--ga); }
.provider-card.featured .provider-btn:hover { filter: brightness(0.92); }

/* Comparison / data table */
.cg-table { max-width: 760px; margin: 0 auto 1rem; border-collapse: collapse; width: 100%; background: rgba(255,255,255,0.015); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; overflow: hidden; }
.cg-table th { background: rgba(255,255,255,0.04); text-align: left; padding: 0.9rem 1.25rem; font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; color: #fff; }
.cg-table td { padding: 0.85rem 1.25rem; border-top: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.82); font-size: 0.92rem; }
.cg-table tr.win td { color: var(--ga); font-weight: 600; }
.table-note { text-align: center; color: var(--color-text-muted); font-size: 0.82rem; max-width: 760px; margin: 0 auto 3.5rem; }

/* FAQ */
.faq-section { max-width: 800px; margin: 0 auto 4rem; }
.faq-accordion { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1); }
.faq-header { padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; gap: 1rem; }
.faq-question { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 600; color: #fff; }
.faq-icon { font-size: 0.85rem; color: var(--color-text-muted); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--ga); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-content { padding: 0 1.5rem 1.5rem; font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.6; }
.faq-content strong { color: rgba(255,255,255,0.9); }
.faq-content a { color: var(--ga); text-decoration: underline; text-underline-offset: 2px; }

/* CTA */
.page-cta { background: linear-gradient(135deg, var(--ga-soft) 0%, rgba(15, 22, 50, 0.3) 100%); border: 1px solid var(--ga-soft); border-radius: 24px; padding: 3.5rem 2rem; text-align: center; max-width: 850px; margin: 0 auto; box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
.cta-title { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; color: #fff; margin-bottom: 0.75rem; }
.cta-desc { color: var(--color-text-muted); margin: 0 auto 2rem; max-width: 520px; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-btns .btn { height: 48px; display: inline-flex; align-items: center; min-width: 200px; justify-content: center; }

@media (max-width: 768px) {
    .page-title { font-size: 2.4rem; }
    .page-subtitle { font-size: 1.1rem; }
    .stats-row { grid-template-columns: 1fr; gap: 0.75rem; }
    .providers-grid { grid-template-columns: 1fr; }
    .section-headline { font-size: 1.8rem; }
    .page-cta { padding: 2.5rem 1.5rem; }
    .cta-btns { flex-direction: column; align-items: stretch; }
    .cta-btns .btn { min-width: 100%; }
}
