/* === RIA BC — Design System === */
:root {
  --primary: #1B2A4A;
  --primary-light: #2C3E6B;
  --accent: #0077B6;
  --accent-light: #00A8E8;
  --accent-glow: #00C2FF;
  --success: #00B67A;
  --warning: #F5A623;
  --danger: #E74C3C;
  --text: #1a1a2e;
  --text-light: #5a6377;
  --bg: #ffffff;
  --bg-light: #f4f7fb;
  --bg-dark: #0D1B2A;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.7; background: var(--bg); }

/* === Typography === */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text-light); }
a { color: var(--accent); text-decoration: none; }
.subtitle { max-width: 600px; margin: .75rem auto 2.5rem; font-size: 1.05rem; }

/* === Layout === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-light); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark p { color: #a0b4cc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.text-center { text-align: center; }

/* === Navigation === */
.nav { background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 0; position: sticky; top: 0; z-index: 100; }
.nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-light); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff; padding: .6rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: .9rem; transition: all .2s; }
.nav-cta:hover { background: var(--accent-light); color: #fff; transform: translateY(-1px); }
.nav-mobile-toggle { display: none; }

/* === Hero === */
.hero { background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 50%, var(--primary-light) 100%); padding: 6rem 0 5rem; color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,119,182,.15), transparent 70%); border-radius: 50%; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; max-width: 700px; }
.hero p { color: #a0b4cc; font-size: 1.15rem; max-width: 600px; margin-bottom: 2rem; line-height: 1.8; }
.hero-badge { display: inline-block; background: rgba(0,182,122,.15); color: var(--success); padding: .4rem 1rem; border-radius: 50px; font-size: .85rem; font-weight: 600; margin-bottom: 1.5rem; border: 1px solid rgba(0,182,122,.25); }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; }
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: var(--accent-glow); }
.hero-stat-label { font-size: .8rem; color: #7a8fa8; text-transform: uppercase; letter-spacing: .05em; }

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 2rem; border-radius: 8px; font-weight: 600; font-size: 1rem; transition: all .2s; cursor: pointer; border: none; font-family: var(--font); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-light); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,119,182,.3); }
.btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.btn--outline:hover { border-color: #fff; color: #fff; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn--dark { background: var(--primary); color: #fff; }
.btn--dark:hover { background: var(--primary-light); color: #fff; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === Two Product Cards === */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1rem; }
.product-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; border: 2px solid var(--border); position: relative; transition: all .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-badge { display: inline-block; background: rgba(0,119,182,.1); color: var(--accent); padding: .3rem .8rem; border-radius: 50px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; }
.product-badge--recurring { background: rgba(27,42,74,.1); color: var(--primary); }
.product-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.product-card h3 { margin-bottom: .75rem; font-size: 1.4rem; }
.product-card > p { margin-bottom: 1.5rem; }
.product-list { list-style: none; padding: 0; margin-bottom: 2rem; }
.product-list li { padding: .4rem 0 .4rem 1.5rem; position: relative; color: var(--text-light); font-size: .95rem; }
.product-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* === Competency Bar === */
.competency-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 1rem; }
.competency-item { display: flex; align-items: flex-start; gap: .75rem; background: #fff; border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--border); }
.competency-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.competency-item strong { display: block; color: var(--text); font-size: .95rem; }
.competency-item span { font-size: .85rem; color: var(--text-light); }

/* === Coming Soon Box === */
.coming-soon-box { max-width: 750px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: 3rem; text-align: center; border: 2px dashed var(--border); }
.coming-soon-icon { font-size: 3rem; margin-bottom: 1rem; }
.coming-soon-box h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.coming-soon-box > p { max-width: 550px; margin-left: auto; margin-right: auto; }
.coming-soon-box .competency-bar { margin-top: 1.5rem; text-align: left; }

/* === Course Grid === */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.course-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); transition: all .2s; }
.course-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.course-card h4 { color: var(--text); margin-bottom: .5rem; }
.course-card p { font-size: .9rem; margin-bottom: 1rem; }
.course-tier { display: inline-block; background: rgba(0,182,122,.1); color: var(--success); padding: .15rem .6rem; border-radius: 4px; font-size: .7rem; font-weight: 700; text-transform: uppercase; margin-bottom: .5rem; }
.course-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--text-light); }

/* === Training CTA === */
.training-cta { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; margin-top: 3rem; border: 2px solid var(--accent); }
.training-cta h3 { margin-bottom: .75rem; }
.training-cta p { margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* === Dashboard Preview === */
.dashboard-preview { background: var(--bg-light); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 3rem; border: 1px solid var(--border); }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.dashboard-status { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--success); font-size: .95rem; }
.dashboard-status--green .status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.dashboard-company { font-size: .85rem; color: var(--text-light); }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.dashboard-widget { background: #fff; border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--border); }
.widget-label { font-size: .75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.widget-value { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.widget-value--ok { color: var(--success); }
.widget-value--warn { color: var(--warning); font-size: 1rem; font-weight: 600; }
.widget-total { font-size: 1rem; color: var(--text-light); font-weight: 400; }
.widget-bar { height: 4px; background: var(--border); border-radius: 4px; margin-top: .75rem; }
.widget-bar-fill { height: 100%; background: var(--success); border-radius: 4px; }

/* === Features Grid === */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { text-align: center; padding: 1.5rem; }
.feature-icon { font-size: 2rem; margin-bottom: .75rem; }
.feature h4 { margin-bottom: .5rem; color: var(--text); }
.feature p { font-size: .9rem; }

/* === Pricing === */
.pricing-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.pricing-col { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; border: 2px solid var(--border); }
.pricing-col--highlight { border-color: var(--primary); position: relative; }
.pricing-heading { font-size: 1.3rem; margin-bottom: .5rem; }
.pricing-desc { font-size: .9rem; margin-bottom: 1.5rem; }
.price-box { background: var(--bg-light); border-radius: var(--radius); padding: 1.25rem; text-align: center; margin-bottom: 1.5rem; }
.price-box--alt { background: rgba(0,119,182,.05); border: 1px solid rgba(0,119,182,.15); }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--text); }
.price-period { font-size: .85rem; color: var(--text-light); }
.price-note { font-size: .8rem; color: var(--text-light); margin-top: .5rem; }
.pricing-features { list-style: none; padding: 0; margin-bottom: 2rem; }
.pricing-features li { padding: .5rem 0 .5rem 1.5rem; position: relative; color: var(--text-light); font-size: .9rem; border-bottom: 1px solid var(--bg-light); }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* === Pricing Tiers === */
.pricing-tiers { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.tier { background: var(--bg-light); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem; border: 2px solid transparent; transition: all .2s; }
.tier--popular { border-color: var(--accent); background: rgba(0,119,182,.04); position: relative; }
.tier-popular-badge { position: absolute; top: -.6rem; right: 1rem; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 700; padding: .2rem .6rem; border-radius: 4px; text-transform: uppercase; }
.tier-name { font-weight: 700; color: var(--text); min-width: 80px; }
.tier-price { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.tier-price span { font-size: .8rem; font-weight: 400; color: var(--text-light); }
.tier-desc { font-size: .8rem; color: var(--text-light); margin-left: auto; }

/* === Cards === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .6rem; color: var(--text); }
.card p { font-size: .95rem; }

/* === Quiz === */
.quiz-container { max-width: 700px; margin: 0 auto; }
.quiz-progress { display: flex; gap: .5rem; margin-bottom: 2rem; }
.quiz-progress-step { flex: 1; height: 4px; border-radius: 4px; background: var(--border); transition: all .3s; }
.quiz-progress-step.active { background: var(--accent); }
.quiz-progress-step.done { background: var(--success); }
.quiz-step { display: none; animation: fadeIn .3s ease; }
.quiz-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.quiz-question { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.quiz-subtitle { color: var(--text-light); margin-bottom: 1.5rem; }
.quiz-options { display: flex; flex-direction: column; gap: .75rem; }
.quiz-option { background: #fff; border: 2px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; cursor: pointer; transition: all .2s; font-size: 1rem; text-align: left; display: flex; align-items: center; gap: .75rem; }
.quiz-option:hover { border-color: var(--accent); background: rgba(0,119,182,.03); }
.quiz-option.selected { border-color: var(--accent); background: rgba(0,119,182,.06); }
.quiz-option-icon { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.quiz-option.selected .quiz-option-icon { border-color: var(--accent); background: var(--accent); }
.quiz-option.selected .quiz-option-icon::after { content: '✓'; color: #fff; font-size: .75rem; font-weight: 700; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 2rem; }
.quiz-nav .btn { min-width: 140px; text-align: center; }
.quiz-back { background: transparent; color: var(--text-light); border: 1px solid var(--border); }
.quiz-back:hover { background: var(--bg-light); color: var(--text); }

/* === Results === */
.result-box { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border); text-align: center; }
.result-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.result-title { font-size: 1.8rem; font-weight: 800; margin-bottom: .75rem; }
.result-needs .result-title { color: var(--danger); }
.result-maybe .result-title { color: var(--warning); }
.result-no .result-title { color: var(--success); }
.result-details { background: var(--bg-light); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; text-align: left; }
.result-details h4 { margin-bottom: .75rem; color: var(--text); }
.result-details ul { list-style: none; padding: 0; }
.result-details li { padding: .4rem 0; padding-left: 1.5rem; position: relative; color: var(--text-light); }
.result-details li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* === Email Capture === */
.email-form { display: flex; gap: .5rem; max-width: 480px; margin: 0 auto; }
.email-form input { flex: 1; padding: .85rem 1rem; border: 2px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: var(--font); }
.email-form input:focus { outline: none; border-color: var(--accent); }
.email-form .btn { white-space: nowrap; }

/* === Timeline === */
.timeline { max-width: 600px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--accent); opacity: .2; }
.timeline-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; position: relative; }
.timeline-dot { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; position: relative; z-index: 1; }
.timeline-dot.urgent { background: var(--danger); }
.timeline-content h4 { color: var(--text); margin-bottom: .25rem; }
.timeline-content p { font-size: .9rem; }
.timeline-date { font-size: .8rem; color: var(--accent); font-weight: 600; text-transform: uppercase; }

/* === Who Needs Section === */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.who-item { display: flex; align-items: center; gap: .75rem; padding: 1rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.who-item-icon { font-size: 1.5rem; }
.who-item-text { font-weight: 600; color: var(--text); font-size: .95rem; }

/* === FAQ === */
.faq-list { margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item summary { font-weight: 600; cursor: pointer; color: var(--text); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--accent); font-weight: 300; transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: .75rem; }

/* === Footer === */
.footer { background: var(--bg-dark); color: #7a8fa8; padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.footer-logo span { color: var(--accent); }
.footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer p { font-size: .9rem; line-height: 1.8; }
.footer a { color: #7a8fa8; font-size: .9rem; }
.footer a:hover { color: var(--accent-light); }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: .85rem; }

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 3.5rem 0; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .hero-stat { text-align: left; display: flex; align-items: baseline; gap: .5rem; }
  .btn-group { flex-direction: column; }
  .two-col { grid-template-columns: 1fr; }
  .competency-bar { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-split { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .section { padding: 3.5rem 0; }
  .card-grid { grid-template-columns: 1fr; }
  .quiz-question { font-size: 1.2rem; }
  .tier { flex-wrap: wrap; }
  .tier-desc { margin-left: 0; }
  .dashboard-header { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
