/* =========================================================
   MODULE DETAIL PAGE  (shared by all /features module pages)
   Builds on style.css design tokens.
   ========================================================= */

.m-grad {
    background: linear-gradient(135deg, #0369a1, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── HERO ── */
.m-hero {
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}
.m-hero::before {
    content: '';
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 820px;
    height: 520px;
    background: radial-gradient(ellipse, rgba(3, 105, 161, .10) 0%, transparent 65%);
    pointer-events: none;
}
.m-hero .container { position: relative; }

.m-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 22px;
}
.m-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.m-breadcrumb a:hover { color: var(--primary); }
.m-breadcrumb i { font-size: 10px; margin: 0 6px; opacity: .6; }

.m-hero-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    margin-bottom: 22px;
}

.m-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
    text-transform: uppercase; color: var(--primary);
    margin-bottom: 14px;
}

.m-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 18px;
    max-width: 760px;
}
.m-hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.m-meta {
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap; margin-bottom: 30px;
}
.m-price {
    font-size: 14px; font-weight: 600; color: var(--text-main);
    display: inline-flex; align-items: center; gap: 7px;
}
.m-price i { color: var(--primary); font-size: 15px; }
.m-price b { font-weight: 800; }
.m-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: .4px;
    text-transform: uppercase; padding: 5px 11px; border-radius: 20px;
}
.m-badge.live { background: #d1fae5; color: #065f46; }
.m-badge.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #10b981; }
.m-badge.soon { background: #fef3c7; color: #92400e; }

.m-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.m-btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: inherit; font-size: 15px; font-weight: 700;
    padding: 13px 26px; border-radius: 13px;
    cursor: pointer; text-decoration: none; transition: all .18s;
}
.m-btn-primary { background: linear-gradient(135deg, #0369a1, #0891b2); color: #fff; border: none; }
.m-btn-primary:hover { opacity: .9; }
.m-btn-ghost { background: #fff; color: var(--text-main); border: 1.5px solid var(--border-color); }
.m-btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ── GENERIC SECTION ── */
.m-section { padding: 66px 0; }
.m-section.alt { background: #f8fafc; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.m-section-head { max-width: 620px; margin: 0 auto 46px; text-align: center; }
.m-section-head h2 {
    font-size: clamp(26px, 3vw, 38px); font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 12px;
}
.m-section-head p { font-size: 16px; color: var(--text-muted); line-height: 1.65; }

/* ── FEATURE CARDS ── */
.m-features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.m-feat {
    background: #fff; border: 1px solid #f1f5f9; border-radius: 18px;
    padding: 26px 24px; transition: all .2s;
}
.m-feat:hover { border-color: #bae6fd; transform: translateY(-2px); }
.m-feat-icon { font-size: 26px; margin-bottom: 14px; display: block; }
.m-feat h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.m-feat p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── CAPABILITIES (two-col) ── */
.m-cap-layout {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start;
}
.m-cap-intro h2 {
    font-size: clamp(24px, 3vw, 34px); font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px;
}
.m-cap-intro p { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.m-cap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.m-cap-list li {
    display: flex; align-items: flex-start; gap: 12px;
    background: #fff; border: 1px solid var(--border-color);
    border-radius: 13px; padding: 15px 17px;
}
.m-cap-list li i {
    font-size: 18px; flex-shrink: 0; margin-top: 1px;
    background: linear-gradient(135deg, #0369a1, #0891b2);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.m-cap-list li b { font-weight: 700; display: block; font-size: 14px; margin-bottom: 2px; }
.m-cap-list li span { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ── RELATED MODULES ── */
.m-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.m-related-card {
    background: #fff; border: 1px solid #f1f5f9; border-radius: 15px;
    padding: 20px; text-decoration: none; transition: all .18s; display: block;
}
.m-related-card:hover { border-color: #bae6fd; transform: translateY(-2px); }
.m-related-card i { font-size: 22px; display: block; margin-bottom: 10px; }
.m-related-card h4 { font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 3px; }
.m-related-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.m-related-card .dd-soon {
    display: inline-block; margin-top: 8px; font-size: 9px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .4px;
    background: #fef3c7; color: #92400e; padding: 2px 7px; border-radius: 20px;
}

/* ── CTA BAND ── */
.m-cta-band { padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.m-cta-band::before {
    content: ''; position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%);
    width: 900px; height: 560px;
    background: radial-gradient(ellipse, rgba(3, 105, 161, .08) 0%, transparent 65%);
    pointer-events: none;
}
.m-cta-band .container { position: relative; }
.m-cta-band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 12px; }
.m-cta-band p { font-size: 17px; color: var(--text-muted); margin-bottom: 30px; }
.m-cta-band .m-cta-row { justify-content: center; }
.m-trust {
    margin-top: 22px; display: flex; align-items: center; justify-content: center;
    gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted);
}
.m-trust span { display: inline-flex; align-items: center; gap: 5px; }
.m-trust i { color: #0891b2; }

/* ── SOON NOTICE (upcoming modules) ── */
.m-soon-note {
    display: flex; align-items: flex-start; gap: 12px;
    background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px;
    padding: 16px 18px; margin-bottom: 30px; max-width: 620px;
}
.m-soon-note i { color: #d97706; font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.m-soon-note p { font-size: 14px; color: #78350f; line-height: 1.6; margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .m-features-grid { grid-template-columns: 1fr 1fr; }
    .m-cap-layout { grid-template-columns: 1fr; gap: 32px; }
    .m-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .m-hero { padding: 48px 0 40px; }
    .m-hero-sub { font-size: 15px; }
    .m-section { padding: 50px 0; }
    .m-features-grid { grid-template-columns: 1fr; }
    .m-related-grid { grid-template-columns: 1fr; }
    .m-cta-row { flex-direction: column; }
    .m-btn { justify-content: center; }
}

/* ── INDUSTRY PAGE: terminology chips + loading (shared by industry.html
   and the generated static industry pages) ── */
.term-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 16px; }
.term-card {
    background: #fff; border: 1px solid #f1f5f9; border-radius: 16px;
    padding: 22px 18px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    transition: all .2s;
}
.term-card:hover { border-color: #bae6fd; transform: translateY(-2px); }
.term-card i { font-size: 26px; margin-bottom: 4px; }
.term-label { font-size: 12px; color: var(--text-muted); }
.term-val { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.industry-loading {
    min-height: 50vh; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 15px; gap: 10px;
}
.industry-loading i { font-size: 20px; }
@media (max-width: 900px) { .term-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 540px) { .term-grid { grid-template-columns: 1fr 1fr; } }
