/* ==========================================================================
   MediCorp ERP – main stylesheet
   Brand: navy / blue / teal
   ========================================================================== */

:root {
    --mc-navy: #0a1f44;
    --mc-navy-2: #12305f;
    --mc-navy-3: #1a3b70;
    --mc-blue: #1a66d6;
    --mc-blue-dark: #1454b3;
    --mc-teal: #0fb3a3;
    --mc-teal-dark: #0a9285;
    --mc-sky: #e8f1fd;
    --mc-mint: #e3f7f4;
    --mc-bg-alt: #f4f8fc;
    --mc-text: #1c2b40;
    --mc-muted: #5a6b82;
    --mc-border: #e1e8f2;
    --mc-white: #ffffff;
    --mc-gradient: linear-gradient(135deg, var(--mc-blue) 0%, var(--mc-teal) 100%);
    --mc-radius: 16px;
    --mc-radius-sm: 10px;
    --mc-shadow-sm: 0 2px 8px rgba(10, 31, 68, .06);
    --mc-shadow: 0 10px 30px rgba(10, 31, 68, .08);
    --mc-shadow-lg: 0 24px 60px rgba(10, 31, 68, .16);
    --mc-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: var(--mc-font);
    color: var(--mc-text);
    background: var(--mc-white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.65;
}
a { color: var(--mc-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--mc-blue-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--mc-navy); font-weight: 700; letter-spacing: -.01em; }
img { max-width: 100%; height: auto; }
main { overflow-x: clip; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: var(--mc-navy); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.text-gradient { background: var(--mc-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-text { font-size: 1.125rem; color: var(--mc-text); }
.label { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mc-teal-dark); margin-bottom: .5rem; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: .6rem 1.25rem; transition: all .2s ease; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; }
.btn-brand { background: var(--mc-gradient); color: #fff; border: 0; box-shadow: 0 6px 18px rgba(26, 102, 214, .25); }
.btn-brand:hover, .btn-brand:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(26, 102, 214, .35); filter: brightness(1.05); }
.btn-outline-brand { color: var(--mc-blue); border: 1.5px solid var(--mc-blue); background: transparent; }
.btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--mc-blue); color: #fff; }
.btn-light { background: #fff; color: var(--mc-navy); border: 0; }
.btn-light:hover { background: var(--mc-sky); color: var(--mc-navy); transform: translateY(-1px); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn:focus-visible { outline: 3px solid rgba(15, 179, 163, .5); outline-offset: 2px; }

/* ---------- Header / Navbar ---------- */
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: var(--mc-shadow-sm); border-color: var(--mc-border); }
.site-header .navbar { padding: .85rem 0; }
.navbar-brand img { height: 40px; width: auto; }
.navbar-toggler { border: 0; font-size: 1.75rem; color: var(--mc-navy); padding: .25rem .5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(26, 102, 214, .2); }
.site-header .nav-link { color: var(--mc-text); font-weight: 600; font-size: .95rem; padding: .5rem .85rem !important; border-radius: 8px; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--mc-blue); }
.site-header .nav-link.active { background: var(--mc-sky); }
.dropdown-menu { border: 1px solid var(--mc-border); border-radius: 12px; box-shadow: var(--mc-shadow); padding: .5rem; }
.dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-weight: 500; }
.dropdown-item:hover, .dropdown-item.active, .dropdown-item:active { background: var(--mc-sky); color: var(--mc-blue); }

/* ---------- Eyebrow & headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mc-blue); background: var(--mc-sky); padding: .35rem .85rem; border-radius: 50px; margin-bottom: 1rem; }
.eyebrow-light { color: #9ee8df; background: rgba(15, 179, 163, .15); border: 1px solid rgba(15, 179, 163, .3); }
.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading.text-center { margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-text { color: var(--mc-muted); font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--mc-bg-alt); }
.section-dark { background: var(--mc-navy); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.section-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(15, 179, 163, .18), transparent 45%), radial-gradient(circle at 10% 90%, rgba(26, 102, 214, .22), transparent 45%); pointer-events: none; }
.section-dark .container { position: relative; }
.section-dark .section-title, .section-dark h3 { color: #fff; }
.section-dark .section-text { color: rgba(255, 255, 255, .7); }
.section-dark .eyebrow { color: #9ee8df; background: rgba(15, 179, 163, .15); }

/* ---------- Hero ---------- */
.hero { background: var(--mc-navy); color: rgba(255, 255, 255, .82); padding: 96px 0 120px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background:
    radial-gradient(circle at 80% 20%, rgba(15, 179, 163, .28), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(26, 102, 214, .35), transparent 45%);
}
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.hero .container { z-index: 1; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -.02em; }
.hero-text { font-size: 1.15rem; max-width: 560px; margin-bottom: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 2rem 0 0; font-size: .95rem; }
.hero-points i { color: var(--mc-teal); margin-right: .35rem; }

/* Dashboard mock-up */
.dashboard-mock { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--mc-shadow-lg); overflow: visible; color: var(--mc-text); }
.mock-topbar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--mc-border); background: #f8fafd; border-radius: 18px 18px 0 0; }
.mock-topbar > span { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.mock-topbar > span:nth-child(2) { background: #ffc94d; }
.mock-topbar > span:nth-child(3) { background: #3ccf8e; }
.mock-url { margin-left: 12px; font-size: .75rem; color: var(--mc-muted); background: #fff; border: 1px solid var(--mc-border); border-radius: 6px; padding: 2px 10px; }
.mock-body { padding: 20px; display: grid; gap: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-kpi { background: var(--mc-bg-alt); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.mock-kpi small { font-size: .7rem; color: var(--mc-muted); }
.mock-kpi strong { font-size: 1.25rem; color: var(--mc-navy); }
.mock-kpi em { font-style: normal; font-size: .72rem; font-weight: 600; }
.mock-kpi em.up { color: #109c6f; }
.mock-chart { border: 1px solid var(--mc-border); border-radius: 12px; padding: 14px; }
.mock-chart-head { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; margin-bottom: 12px; }
.mock-pill { background: var(--mc-sky); color: var(--mc-blue); padding: 1px 8px; border-radius: 20px; font-size: .7rem; }
.mock-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.mock-bars span { flex: 1; background: var(--mc-gradient); border-radius: 6px 6px 2px 2px; opacity: .9; animation: growBar 1.2s ease-out both; transform-origin: bottom; }
.mock-bars span:nth-child(odd) { opacity: .65; }
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mock-list { display: grid; gap: 8px; }
.mock-list div { display: flex; align-items: center; gap: 10px; font-size: .82rem; padding: 8px 10px; border-radius: 8px; background: var(--mc-bg-alt); }
.mock-list i { color: var(--mc-teal); }
.mock-list b { margin-left: auto; color: var(--mc-navy); }
.mock-float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--mc-shadow-lg); animation: float 5s ease-in-out infinite; }
.mock-float i { font-size: 1.3rem; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--mc-gradient); }
.mock-float small { display: block; font-size: .7rem; color: var(--mc-muted); }
.mock-float strong { font-size: .9rem; color: var(--mc-navy); }
.mock-float-1 { left: -36px; bottom: -52px; }
.mock-float-2 { right: -28px; top: -18px; animation-delay: 1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stats strip ---------- */
.stats-strip { position: relative; margin-top: -56px; z-index: 2; }
.stats-strip .row { background: #fff; border-radius: var(--mc-radius); box-shadow: var(--mc-shadow); padding: 28px 12px; margin: 0; border: 1px solid var(--mc-border); }
.stat strong { display: block; font-size: 2rem; font-weight: 800; background: var(--mc-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.stat span { color: var(--mc-muted); font-size: .92rem; font-weight: 500; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--mc-navy); color: rgba(255, 255, 255, .78); padding: 72px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, rgba(15, 179, 163, .3), transparent 40%), radial-gradient(circle at 0% 100%, rgba(26, 102, 214, .35), transparent 45%); }
.page-hero-title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; max-width: 860px; line-height: 1.15; margin-bottom: 1rem; }
.page-hero-text { font-size: 1.12rem; max-width: 720px; margin-bottom: 0; }
.breadcrumb { margin-bottom: 1.25rem; font-size: .875rem; }
.breadcrumb-item a { color: rgba(255, 255, 255, .7); }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active { color: #9ee8df; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .4); }

/* ---------- Cards ---------- */
.icon-box { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: var(--mc-blue); background: var(--mc-sky); margin-bottom: 1.25rem; transition: all .25s; }
.icon-box-teal { color: var(--mc-teal-dark); background: var(--mc-mint); }
.icon-box-sm { width: 46px; height: 46px; font-size: 1.2rem; border-radius: 12px; margin-bottom: 0; }
.icon-box-lg { width: 72px; height: 72px; font-size: 2rem; margin-bottom: 0; }
.card-title-sm { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.card-text-sm { color: var(--mc-muted); font-size: .95rem; }
.section-dark .card-text-sm { color: rgba(255, 255, 255, .65); }

.feature-card, .module-card, .industry-card, .post-card, .step-card, .deploy-card, .phase-card, .standard-card, .plan-card {
    position: relative; background: #fff; border: 1px solid var(--mc-border); border-radius: var(--mc-radius); padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover, .module-card:hover, .industry-card:hover, .post-card:hover, .deploy-card:hover, .phase-card:hover, .standard-card:hover {
    transform: translateY(-4px); box-shadow: var(--mc-shadow); border-color: transparent;
}
.feature-card:hover .icon-box, .module-card:hover .icon-box { background: var(--mc-gradient); color: #fff; }
.feature-inline { display: flex; gap: 1rem; align-items: flex-start; }

.module-card { display: flex; flex-direction: column; }
.module-category { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mc-teal-dark); margin-bottom: .35rem; }
.module-card .card-text-sm { flex-grow: 1; }
.link-arrow { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow i { transition: transform .2s; }
.module-card:hover .link-arrow i, .industry-card:hover .link-arrow i, .link-arrow:hover i { transform: translateX(4px); }

.section-dark .industry-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.section-dark .industry-card:hover { background: rgba(255, 255, 255, .09); }
.section-dark .industry-card .icon-box { background: rgba(15, 179, 163, .18); color: #5fe0d1; }
.section-dark .link-arrow { color: #5fe0d1; }

.check-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.75rem; }
.check-list li::before { content: '\F26B'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--mc-teal); font-weight: 700; }
.check-list-light li { color: rgba(255, 255, 255, .85); }
.check-list.small li { color: var(--mc-muted); }

/* Steps */
.step-card { padding-top: 34px; }
.step-number { font-size: 2.6rem; font-weight: 800; line-height: 1; display: block; margin-bottom: .8rem; background: var(--mc-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Trust badges */
.trust-badge { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--mc-border); border-radius: 12px; padding: 16px; font-weight: 600; font-size: .92rem; height: 100%; }
.trust-badge i { font-size: 1.4rem; color: var(--mc-teal); }

/* Posts */
.post-card { display: flex; flex-direction: column; }
.post-card .card-text-sm { flex-grow: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: var(--mc-muted); }
.post-meta i { margin-right: .25rem; color: var(--mc-teal); }
.badge-soft { background: var(--mc-mint); color: var(--mc-teal-dark); font-weight: 600; font-size: .75rem; padding: .45em .8em; border-radius: 50px; align-self: flex-start; }
.badge-link:hover { background: var(--mc-teal); color: #fff; }

/* Journey visual */
.journey-visual { position: relative; aspect-ratio: 1; max-width: 480px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, var(--mc-sky) 0%, transparent 70%); }
.journey-visual::before { content: ''; position: absolute; inset: 12%; border: 2px dashed rgba(26, 102, 214, .25); border-radius: 50%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.journey-node { --angle: calc(var(--i) * 40deg - 90deg); position: absolute; left: 50%; top: 50%; width: 84px; margin: -42px 0 0 -42px; transform: rotate(var(--angle)) translate(min(38vw, 190px)) rotate(calc(-1 * var(--angle))); text-align: center; }
.journey-node i { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 4px; border-radius: 14px; background: #fff; box-shadow: var(--mc-shadow); color: var(--mc-blue); font-size: 1.3rem; }
.journey-node span { font-size: .72rem; font-weight: 600; color: var(--mc-navy); }
.journey-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; border-radius: 50%; background: #fff; box-shadow: var(--mc-shadow-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.journey-core span { font-size: .78rem; font-weight: 700; color: var(--mc-navy); }

/* Layer stack (platform) */
.layer-stack { display: grid; gap: 12px; }
.layer-item { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--mc-border); border-left: 4px solid var(--mc-teal); border-radius: 12px; padding: 18px 20px; margin-left: calc(var(--i) * 14px); box-shadow: var(--mc-shadow-sm); transition: transform .2s; }
.layer-item:hover { transform: translateX(6px); }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spec-grid div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 24px; }
.spec-grid strong { display: block; font-size: 1.6rem; color: #fff; font-weight: 800; }
.spec-grid span { font-size: .9rem; color: rgba(255, 255, 255, .65); }

/* Solutions */
.solution-nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.solution-pill { display: inline-flex; gap: .45rem; align-items: center; padding: .55rem 1rem; border-radius: 50px; border: 1px solid var(--mc-border); font-weight: 600; font-size: .9rem; color: var(--mc-navy); background: #fff; }
.solution-pill:hover { border-color: var(--mc-blue); color: var(--mc-blue); background: var(--mc-sky); }
.solution-block { padding: 40px 0; border-top: 1px solid var(--mc-border); }
.solution-block:first-of-type { border-top: 0; padding-top: 0; }
.solution-block .icon-box { margin-bottom: 0; }
.solution-title { font-size: 1.5rem; font-weight: 800; }
.solution-challenge { background: #fff5f3; border-left: 4px solid #f07b63; border-radius: 10px; padding: 16px 18px; color: var(--mc-text); }
.solution-challenge .label { color: #c8513a; }
.outcome { display: flex; gap: .5rem; align-items: flex-start; background: var(--mc-mint); border-radius: 10px; padding: 12px 14px; font-weight: 600; font-size: .9rem; color: var(--mc-navy); height: 100%; }
.outcome i { color: var(--mc-teal-dark); font-size: 1.1rem; }

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.filter-btn { border: 1px solid var(--mc-border); background: #fff; color: var(--mc-navy); padding: .5rem 1.1rem; border-radius: 50px; font-weight: 600; font-size: .9rem; transition: all .2s; }
.filter-btn span { display: inline-block; margin-left: .25rem; background: var(--mc-sky); color: var(--mc-blue); padding: 0 .5rem; border-radius: 20px; font-size: .78rem; }
.filter-btn:hover { border-color: var(--mc-blue); color: var(--mc-blue); }
.filter-btn.active { background: var(--mc-navy); color: #fff; border-color: var(--mc-navy); }
.filter-btn.active span { background: rgba(255, 255, 255, .2); color: #fff; }

/* Side card */
.side-card { background: var(--mc-bg-alt); border: 1px solid var(--mc-border); border-radius: var(--mc-radius); padding: 28px; }

/* About */
.about-stat { background: var(--mc-bg-alt); border-radius: var(--mc-radius); padding: 28px 22px; height: 100%; }
.about-stat i { font-size: 1.6rem; color: var(--mc-teal); }
.about-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--mc-navy); margin-top: .5rem; }
.about-stat span { color: var(--mc-muted); font-size: .9rem; }
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 110px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--mc-blue), var(--mc-teal)); }
.timeline-item { display: flex; gap: 2.5rem; margin-bottom: 2.25rem; position: relative; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-year { width: 90px; flex-shrink: 0; text-align: right; font-weight: 800; color: var(--mc-blue); padding-top: 2px; }
.timeline-item::after { content: ''; position: absolute; left: 104px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--mc-teal); }
.timeline-content { padding-left: .5rem; }

/* Industries tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { background: #fff; border: 1px solid var(--mc-border); border-radius: 50px; padding: .45rem 1rem; font-size: .9rem; font-weight: 500; color: var(--mc-navy); }

/* Integrations */
.standard-name { display: inline-block; font-weight: 800; font-size: 1.15rem; color: var(--mc-navy); margin-bottom: .5rem; padding-bottom: .4rem; border-bottom: 3px solid var(--mc-teal); }
.code-sample { background: #0b1830; color: #cfe3ff; border-radius: var(--mc-radius); padding: 24px; font-size: .85rem; line-height: 1.7; box-shadow: var(--mc-shadow-lg); margin: 0; white-space: pre-wrap; word-break: break-word; }
.code-sample .c { color: #6f87a8; }
.code-sample .k { color: #5fe0d1; }
.code-sample .s { color: #ffc98b; }

/* Security */
.compliance-card { display: flex; gap: 1rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--mc-radius); padding: 24px; }
.compliance-card > i { font-size: 1.6rem; color: #5fe0d1; }

/* Implementation */
.phase-step { font-size: .75rem; font-weight: 700; color: var(--mc-teal-dark); background: var(--mc-mint); border-radius: 20px; padding: .25rem .7rem; }
.phase-duration { font-size: .82rem; color: var(--mc-blue); font-weight: 600; }
.plan-card { display: flex; flex-direction: column; }
.plan-featured { border: 2px solid var(--mc-blue); box-shadow: var(--mc-shadow); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--mc-gradient); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .85rem; border-radius: 20px; }
.plan-title { font-size: 1.35rem; font-weight: 800; }
.faq-accordion .accordion-item { border: 1px solid var(--mc-border); border-radius: 12px !important; margin-bottom: .75rem; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 600; color: var(--mc-navy); padding: 1.1rem 1.25rem; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--mc-sky); color: var(--mc-blue); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(26, 102, 214, .15); }
.faq-accordion .accordion-body { color: var(--mc-muted); }

/* Article */
.article-body { font-size: 1.05rem; }
.article-body h2 { font-size: 1.45rem; margin: 2.2rem 0 .9rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul { padding-left: 0; list-style: none; margin-bottom: 1.4rem; }
.article-body li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; }
.article-body li::before { content: ''; position: absolute; left: .25rem; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--mc-teal); }
.article-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--mc-border); margin-top: 2.5rem; padding-top: 1.5rem; }

/* ---------- Contact form ---------- */
.form-card { background: #fff; border: 1px solid var(--mc-border); border-radius: var(--mc-radius); padding: 36px; box-shadow: var(--mc-shadow-sm); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--mc-navy); }
.form-control, .form-select { border-radius: 10px; border-color: #d3dceb; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--mc-blue); box-shadow: 0 0 0 3px rgba(26, 102, 214, .15); }
.form-check-input:checked { background-color: var(--mc-blue); border-color: var(--mc-blue); }
.module-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .4rem 1rem; background: var(--mc-bg-alt); border-radius: 12px; padding: 16px 18px; }
.module-checks .form-check-label { font-size: .9rem; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.expect-list { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1.1rem; }
.expect-list li { counter-increment: step; position: relative; padding-left: 2.75rem; }
.expect-list li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--mc-gradient); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.expect-list strong { display: block; color: var(--mc-navy); }
.expect-list span { font-size: .9rem; color: var(--mc-muted); }
.contact-list { display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--mc-blue); font-size: 1.1rem; flex-shrink: 0; }
.contact-list small { display: block; color: var(--mc-muted); font-size: .78rem; }
.contact-list a, .contact-list span { font-weight: 600; color: var(--mc-navy); word-break: break-word; }

/* ---------- CTA ---------- */
.cta-section { padding: 0 0 96px; }
.section-alt + .cta-section, .section-dark + .cta-section { padding-top: 96px; }
.cta-box { background: var(--mc-navy); background-image: radial-gradient(circle at 100% 0%, rgba(15, 179, 163, .45), transparent 45%), radial-gradient(circle at 0% 100%, rgba(26, 102, 214, .5), transparent 50%); border-radius: 24px; padding: 56px; color: rgba(255, 255, 255, .8); }
.cta-title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .75rem; }
.cta-text { font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: #071631; color: rgba(255, 255, 255, .65); padding: 80px 0 0; font-size: .93rem; }
.footer-text { max-width: 340px; }
.footer-title { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .65); }
.footer-links a:hover, .footer-contact a:hover { color: #5fe0d1; }
.footer-contact li { display: flex; gap: .65rem; margin-bottom: .6rem; align-items: flex-start; }
.footer-contact i { color: #5fe0d1; margin-top: 2px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding: 24px 0; font-size: .85rem; }
.footer-bottom a { color: rgba(255, 255, 255, .65); }
.footer-bottom a:hover { color: #fff; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--mc-gradient); color: #fff; font-size: 1.2rem; box-shadow: var(--mc-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 1030; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Error page ---------- */
.error-page { min-height: 55vh; display: flex; align-items: center; }
.error-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; background: var(--mc-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; }
.error-page .section-text { max-width: 560px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Admin
   ========================================================================== */
.admin-body { background: var(--mc-bg-alt); min-height: 100vh; }
.admin-nav { background: var(--mc-navy); padding: .75rem 0; }
.admin-nav .nav-link { color: rgba(255, 255, 255, .75); font-weight: 500; border-radius: 8px; padding: .45rem .85rem !important; }
.admin-nav .nav-link:hover, .admin-nav .nav-link.active { color: #fff; background: rgba(255, 255, 255, .1); }
.admin-nav .navbar-toggler { font-size: 1.5rem; }
.admin-badge { background: var(--mc-teal); font-weight: 600; }
.admin-card { background: #fff; border: 1px solid var(--mc-border); border-radius: var(--mc-radius); box-shadow: var(--mc-shadow-sm); overflow: hidden; }
.admin-table thead th { background: #f8fafd; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mc-muted); font-weight: 700; border-bottom: 1px solid var(--mc-border); padding: .9rem 1rem; white-space: nowrap; }
.admin-table td { padding: .9rem 1rem; border-color: var(--mc-border); }
.status-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.status-tab { padding: .45rem .9rem; border-radius: 50px; background: #fff; border: 1px solid var(--mc-border); color: var(--mc-navy); font-weight: 600; font-size: .88rem; }
.status-tab span { background: var(--mc-bg-alt); color: var(--mc-muted); border-radius: 20px; padding: 0 .5rem; margin-left: .25rem; font-size: .78rem; }
.status-tab:hover { border-color: var(--mc-blue); color: var(--mc-blue); }
.status-tab.active { background: var(--mc-navy); border-color: var(--mc-navy); color: #fff; }
.status-tab.active span { background: rgba(255, 255, 255, .2); color: #fff; }
.status-badge { display: inline-block; font-size: .76rem; font-weight: 700; padding: .3em .75em; border-radius: 50px; white-space: nowrap; }
.status-new { background: #e8f1fd; color: #1454b3; }
.status-contacted { background: #fff4de; color: #a26500; }
.status-demo_scheduled { background: #efe8fd; color: #5b33b8; }
.status-qualified { background: #e3f7f4; color: #0a7f73; }
.status-closed { background: #eceff3; color: #5a6b82; }
.detail-list dt { font-weight: 600; color: var(--mc-muted); font-size: .9rem; }
.detail-list dd { margin-bottom: .75rem; }
.message-box { background: var(--mc-bg-alt); border-radius: 10px; padding: 16px; white-space: normal; word-break: break-word; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--mc-navy); background-image: radial-gradient(circle at 80% 10%, rgba(15, 179, 163, .3), transparent 40%), radial-gradient(circle at 10% 90%, rgba(26, 102, 214, .35), transparent 45%); }
.admin-login-card { width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 40px 36px; box-shadow: var(--mc-shadow-lg); }
.pagination .page-link { color: var(--mc-blue); }
.pagination .page-item.active .page-link { background: var(--mc-blue); border-color: var(--mc-blue); }

/* Footer company credit */
.footer-company { font-size: .88rem; }
.footer-company a { color: #5fe0d1; font-weight: 600; }
.footer-company a:hover { color: #fff; }
.footer-company i { font-size: .7rem; }
