/* Market IQ — public website styles (custom on top of Bootstrap) */

:root {
    --navy: #0b2545;
    --navy-light: #13315c;
    --green: #16a34a;
    --teal: #0ea5a4;
    --amber: #f59e0b;
    --ink: #101828;
    --muted: #667085;
    --bg-alt: #f6f8fb;
    --radius: 16px;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: #ffffff;
}

a { text-decoration: none; }

.text-brand-green { color: var(--green); }
.text-muted-2 { color: var(--muted); }
.text-muted-light { color: rgba(255, 255, 255, 0.7); }

.btn-brand {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    font-weight: 600;
}
.btn-brand:hover { background: #128a3e; border-color: #128a3e; color: #fff; }

.btn-outline-brand {
    border: 1.5px solid var(--navy);
    color: var(--navy);
    font-weight: 600;
}
.btn-outline-brand:hover { background: var(--navy); color: #fff; }

/* ---------- Navbar ---------- */
.site-navbar {
    background: rgba(11, 37, 69, 0.92);
    backdrop-filter: blur(6px);
    padding: 14px 0;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
}
.navbar-brand span { color: var(--green); }
.site-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.site-navbar .nav-link:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 60%, #0f3d63 100%);
    color: #fff;
    padding: 150px 0 90px;
}
.badge-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}
.badge-pill-light { background: rgba(255, 255, 255, 0.9); color: var(--navy); }
.hero-title { font-size: 2.6rem; font-weight: 800; line-height: 1.2; }
.hero-subtext { color: rgba(255, 255, 255, 0.78); font-size: 1.1rem; max-width: 520px; }
.hero-stat-value { font-size: 1.6rem; font-weight: 800; }
.hero-stat-label { color: rgba(255, 255, 255, 0.65); font-size: 0.85rem; }

.hero-art { position: relative; min-height: 320px; }
.hero-art-circle {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(22, 163, 74, 0.35), transparent 70%);
}
.hero-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    max-width: 280px;
}
.hero-card i { font-size: 1.6rem; color: var(--green); }
.hero-card-1 { margin: 10px 0 0 10px; }
.hero-card-2 { margin: -20px 0 0 auto; }
.hero-card-title { font-size: 0.75rem; color: var(--muted); }
.hero-card-value { font-weight: 700; font-size: 0.95rem; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-heading { max-width: 640px; }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green);
}
.section-heading h2 { font-weight: 800; margin-top: 8px; }

/* ---------- Feature cards ---------- */
.feature-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16, 24, 40, 0.08); }
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem;
    margin-bottom: 16px;
}
.bg-navy { background: var(--navy); }
.bg-green { background: var(--green); }
.bg-amber { background: var(--amber); }
.bg-teal { background: var(--teal); }

/* ---------- Course cards ---------- */
.course-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    height: 100%;
}
.course-thumb {
    height: 140px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #fff;
}
.thumb-green { background: linear-gradient(135deg, #16a34a, #0ea5a4); }
.thumb-navy { background: linear-gradient(135deg, #0b2545, #13315c); }
.thumb-presenter { background: linear-gradient(135deg, #f59e0b, #d97706); }
.thumb-coins { background: linear-gradient(135deg, #0ea5a4, #0b2545); }
.course-body { padding: 18px; }
.course-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.badge-success { background: #dcfce7; color: #15803d; }
.badge-primary { background: #dbeafe; color: #1d4ed8; }
.badge-amber { background: #fef3c7; color: #b45309; }
.course-rating { font-size: 0.85rem; color: var(--amber); margin: 6px 0; }
.course-price { font-weight: 700; }

/* ---------- Certification steps ---------- */
.step-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: var(--radius);
    padding: 26px;
    height: 100%;
    text-align: center;
}
.step-number {
    width: 40px; height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    margin: 0 auto 14px;
}

/* ---------- Webinar banner ---------- */
.webinar-banner {
    background: linear-gradient(120deg, #0ea5a4, #16a34a);
    color: #fff;
    padding: 48px 0;
}
.webinar-banner h3 { font-weight: 800; }

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 26px;
    height: 100%;
}
.stars { color: var(--amber); margin-bottom: 12px; }
.testimonial-author { font-weight: 700; margin-top: 14px; }

/* ---------- App download / contact ---------- */
.app-cta { padding: 90px 0; }
.app-cta h2 { font-weight: 800; }
.store-badge {
    display: flex; align-items: center; gap: 12px;
    background: var(--navy);
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.75rem;
}
.store-badge i { font-size: 1.8rem; }
.store-badge strong { font-size: 0.95rem; }

.contact-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 26px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; }
.site-footer h6 { font-weight: 700; margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: #fff; }
.site-footer .navbar-brand { color: #fff; }
.site-footer a[aria-label] { color: rgba(255, 255, 255, 0.7); }
.site-footer a[aria-label]:hover { color: var(--green); }

@media (max-width: 991px) {
    .hero { padding: 130px 0 60px; text-align: center; }
    .hero-subtext { margin: 0 auto; }
    .hero-art { display: none; }
}
