/* MCS Redesign — 2026 */

/* ===== DESIGN TOKENS ===== */
:root {
    --brand-gold: #FECD67;
    --brand-blue: #3388CC;
    --navy: #0A1F3F;
    --navy-light: #122B4D;
    --navy-mid: #1A3A5C;
    --slate: #475569;
    --slate-light: #64748B;
    --surface: #F8FAFC;
    --surface-alt: #F1F5F9;
    --border: #E2E8F0;
    --white: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-on-dark: #F1F5F9;
    --text-on-dark-muted: #94A3B8;
    --accent-green: #10B981;
    --accent-red: #EF4444;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,.16);
    --max-width: 1200px;
    --transition: 0.2s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--navy);
}

/* ===== UTILITY ===== */
.mcs-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.mcs-section {
    padding: 96px 0;
}

.mcs-section--alt {
    background: var(--surface);
}

.mcs-section--dark {
    background: var(--navy);
    color: var(--text-on-dark);
}

.mcs-section--dark h2,
.mcs-section--dark h3,
.mcs-section--dark h4 {
    color: var(--white);
}

.mcs-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.mcs-section__header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.mcs-section__header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.mcs-section--dark .mcs-section__header p {
    color: var(--text-on-dark-muted);
}

.mcs-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.mcs-section--dark .mcs-label {
    color: var(--brand-gold);
}

/* ===== BUTTONS ===== */
.mcs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.mcs-btn--primary {
    background: var(--brand-blue);
    color: var(--white);
}
.mcs-btn--primary:hover {
    background: #2A75B5;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.mcs-btn--secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.35);
}
.mcs-btn--secondary:hover {
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.08);
}

.mcs-btn--outline {
    background: transparent;
    color: var(--brand-blue);
    border: 1.5px solid var(--brand-blue);
}
.mcs-btn--outline:hover {
    background: var(--brand-blue);
    color: var(--white);
}

.mcs-btn--gold {
    background: var(--brand-gold);
    color: var(--navy);
}
.mcs-btn--gold:hover {
    background: #FDD94D;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.mcs-btn--sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ===== HEADER / NAV ===== */
.mcs-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.mcs-header--scrolled {
    box-shadow: var(--shadow-md);
}

.mcs-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.mcs-header__logo img {
    height: 60px;
    width: auto;
}

.mcs-header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mcs-header__nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.mcs-header__nav-item {
    position: relative;
}

.mcs-header__nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.mcs-header__nav-link:hover {
    color: var(--brand-blue);
    background: var(--surface);
}

.mcs-header__nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

/* Dropdown */
.mcs-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 560px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mcs-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.mcs-dropdown--wide {
    min-width: 640px;
    grid-template-columns: 1fr 1fr 1fr;
}

.mcs-header__nav-item:hover .mcs-dropdown,
.mcs-header__nav-item.mcs-dropdown--open .mcs-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mcs-header__nav-item:hover .mcs-header__nav-link svg {
    transform: rotate(180deg);
}

.mcs-dropdown__group-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-light);
    padding: 8px 12px 4px;
    grid-column: 1 / -1;
}

.mcs-dropdown__link {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition);
}

.mcs-dropdown__link:hover {
    background: var(--surface);
    color: var(--brand-blue);
}

.mcs-dropdown__link span {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Header CTA buttons */
.mcs-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

/* Mobile hamburger */
.mcs-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 6px;
}

.mcs-header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* Mobile nav */
.mcs-mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--white);
    z-index: 999;
    overflow-y: auto;
    padding: 24px;
}

.mcs-mobile-nav.active {
    display: block;
}

.mcs-mobile-nav__list {
    list-style: none;
}

.mcs-mobile-nav__item {
    border-bottom: 1px solid var(--border);
}

.mcs-mobile-nav__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-primary);
}

.mcs-mobile-nav__link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.mcs-mobile-nav__link.active svg {
    transform: rotate(180deg);
}

.mcs-mobile-subnav {
    display: none;
    padding: 0 0 16px 16px;
    list-style: none;
}

.mcs-mobile-subnav.active {
    display: block;
}

.mcs-mobile-subnav a {
    display: block;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.mcs-mobile-subnav a:hover {
    color: var(--brand-blue);
}

.mcs-mobile-nav__ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
}

.mcs-mobile-nav__ctas .mcs-btn {
    width: 100%;
}

.mcs-mobile-nav__ctas .mcs-btn--outline {
    color: var(--navy);
    border-color: var(--navy);
}

/* ===== HERO ===== */
.mcs-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 72px;
    background: var(--navy);
}

.mcs-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.mcs-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.mcs-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,31,63,.92) 0%, rgba(18,43,77,.75) 50%, rgba(26,58,92,.6) 100%);
}

.mcs-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
}

.mcs-hero__content .mcs-label {
    color: var(--brand-gold);
    font-size: 0.8125rem;
}

.mcs-hero h1 {
    font-size: 3.25rem;
    color: var(--white);
    max-width: 680px;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.mcs-hero__sub {
    font-size: 1.1875rem;
    color: var(--text-on-dark-muted);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.mcs-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mcs-hero__proof {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.12);
    max-width: 560px;
}

.mcs-hero__proof-text {
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
    line-height: 1.5;
}

.mcs-hero__proof-text strong {
    color: var(--white);
    font-weight: 600;
}

/* ===== TRUST BAR ===== */
.mcs-trust {
    padding: 48px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.mcs-trust__label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-light);
    margin-bottom: 28px;
}

.mcs-trust__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mcs-trust__logos img {
    height: 28px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.mcs-trust__logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== PROBLEM / SOLUTION ===== */
.mcs-problem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mcs-problem__visual {
    position: relative;
}

.mcs-problem__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.mcs-problem__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--brand-gold));
}

.mcs-problem__stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.mcs-problem__stat:last-child {
    border-bottom: none;
}

.mcs-problem__stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #FEF2F2;
}

.mcs-problem__stat-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-red);
}

.mcs-problem__stat-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.mcs-problem__stat-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== CAPABILITIES GRID ===== */
.mcs-capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mcs-cap-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: all 0.25s ease;
    position: relative;
}

.mcs-cap-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.mcs-cap-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--surface);
}

.mcs-cap-card__icon svg {
    width: 24px;
    height: 24px;
    color: var(--brand-blue);
}

.mcs-cap-card h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.mcs-cap-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.mcs-cap-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-blue);
    transition: gap var(--transition);
}

.mcs-cap-card__link:hover {
    gap: 10px;
}

.mcs-cap-card__link svg {
    width: 14px;
    height: 14px;
}

/* ===== HOW IT WORKS ===== */
.mcs-how {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    position: relative;
}

.mcs-how::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    height: 2px;
    background: rgba(255,255,255,.12);
}

.mcs-how__step {
    text-align: center;
}

.mcs-how__step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(51,136,204,.15);
    border: 2px solid var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue);
    position: relative;
    z-index: 1;
}

.mcs-how__step h3 {
    font-size: 1.1875rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.mcs-how__step p {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
}

/* ===== METRICS BANNER ===== */
.mcs-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.mcs-metric__value {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--brand-gold);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

.mcs-metric__label {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
}

/* ===== HARDWARE SECTION ===== */
.mcs-hardware-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mcs-hw-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
}

.mcs-hw-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.mcs-hw-card__img {
    height: 200px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mcs-hw-card__img img {
    max-height: 160px;
    width: auto;
    object-fit: contain;
}

.mcs-hw-card__body {
    padding: 28px;
}

.mcs-hw-card__tag {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 8px;
}

.mcs-hw-card__body h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.mcs-hw-card__body p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CTA BANNER ===== */
.mcs-cta-banner {
    text-align: center;
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius-xl);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.mcs-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(51,136,204,.08);
}

.mcs-cta-banner h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
}

.mcs-cta-banner p {
    color: var(--text-on-dark-muted);
    font-size: 1.0625rem;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.6;
    position: relative;
}

.mcs-cta-banner__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
}

/* ===== DEMO REQUEST FORM ===== */
.demo-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.demo-form-col {
    flex: 1;
    min-width: 0;
}

.demo-sidebar {
    flex: 0 0 320px;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-sidebar__card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.demo-sidebar__icon {
    width: 44px;
    height: 44px;
    background: #EFF6FF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--brand-blue);
}

.demo-sidebar__card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.demo-sidebar__card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.demo-sidebar__card--alt {
    background: var(--navy);
    border-color: var(--navy);
}

.demo-sidebar__card--alt h4 { color: var(--white); }
.demo-sidebar__card--alt p { color: rgba(255,255,255,0.6); }

.demo-sidebar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-blue);
}
.demo-sidebar__card--alt .demo-sidebar__link {
    color: var(--brand-gold);
}

.demo-sidebar__link:hover {
    text-decoration: none;
    opacity: 0.85;
}

/* Alert messages */
.demo-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.demo-alert svg { flex-shrink: 0; margin-top: 2px; }

.demo-alert--success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.demo-alert--success svg { color: #059669; }

.demo-alert--error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.demo-alert--error svg { color: #DC2626; }

/* Form card */
.demo-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}

.demo-card__header {
    padding: 28px 32px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.demo-card__header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.demo-card__header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.demo-card form {
    padding: 28px 32px;
}

/* Form fields */
.demo-form__section {
    margin-bottom: 20px;
}

.demo-form__section label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.demo-req { color: #DC2626; }

.demo-form__section input[type="text"],
.demo-form__section input[type="email"],
.demo-form__section input[type="tel"],
.demo-form__section textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.demo-form__section input:focus,
.demo-form__section textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.demo-form__section textarea {
    resize: vertical;
    min-height: 100px;
}

.demo-form__row {
    display: flex;
    gap: 16px;
}

.demo-form__row .demo-form__section {
    flex: 1;
}

/* Spam check */
.demo-form__spam {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-form__spam label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.demo-form__spam input {
    width: 80px;
    padding: 8px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.2s;
}

.demo-form__spam input:focus {
    border-color: var(--brand-blue);
}

/* Submit button */
.demo-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1D4ED8 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

.demo-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}

.demo-form__submit svg { color: var(--white); }

@media (max-width: 900px) {
    .demo-layout {
        flex-direction: column;
    }
    .demo-sidebar {
        flex: none;
        width: 100%;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .demo-sidebar__card { flex: 1; min-width: 200px; }
}

@media (max-width: 600px) {
    .demo-form__row { flex-direction: column; gap: 0; }
    .demo-card form { padding: 20px; }
    .demo-card__header { padding: 20px; }
    .demo-sidebar { flex-direction: column; }
}

/* ===== RESOURCES HERO ===== */
.res-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #1E293B 100%);
    padding: 136px 24px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.res-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.res-hero__inner { position: relative; max-width: 640px; margin: 0 auto; }

.res-hero__badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #60A5FA;
    margin-bottom: 16px;
}

.res-hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    line-height: 1.2;
}

.res-hero p {
    font-size: 16px;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
}

/* ===== RESOURCES FILTERS ===== */
.res-filters {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.res-filter-btn {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.res-filter-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

.res-filter-btn.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.res-search {
    margin-left: auto;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    width: 220px;
    outline: none;
    transition: border-color 0.2s;
}

.res-search:focus { border-color: var(--brand-blue); }

/* ===== RESOURCES GRID ===== */
.res-grid {
    max-width: 1100px;
    margin: 32px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.res-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.res-card:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    text-decoration: none;
}

.res-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.res-card__cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 12px;
}

.res-card__cat--whitepaper { background: #EFF6FF; color: #2563EB; }
.res-card__cat--article { background: #F0FDF4; color: #16A34A; }
.res-card__cat--casestudy { background: #FFF7ED; color: #EA580C; }
.res-card__cat--datasheet { background: #F5F3FF; color: #7C3AED; }

.res-card__time {
    font-size: 12px;
    color: var(--slate-light);
}

.res-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
    line-height: 1.35;
}

.res-card__excerpt {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex: 1;
    margin: 0;
}

.res-card__pinned {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-gold);
    margin-bottom: 8px;
}

/* ===== RESOURCES PAGINATION ===== */
.res-pagination {
    max-width: 1100px;
    margin: 40px auto 64px;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.res-page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.res-page-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.res-page-btn.active { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.res-page-btn:disabled { opacity: 0.4; cursor: default; }

.res-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
    color: var(--slate-light);
    font-size: 15px;
}

/* ===== RESOURCE ARTICLE HERO ===== */
.res-article-hero {
    background: var(--navy);
    padding: 48px 24px 40px;
}

.mcs-breadcrumb + .res-article-hero {
    padding-top: 48px;
}

.res-article-hero__inner {
    max-width: 780px;
    margin: 0 auto;
}

.res-article-hero__cat {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #60A5FA;
    margin-bottom: 16px;
}

.res-article-hero h1 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 16px;
}

.res-article-hero__meta {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #94A3B8;
}

.res-article-hero__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== RESOURCE ARTICLE BODY ===== */
.res-article-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.res-article-body > *:first-child {
    margin-top: 0;
}

.res-article-body p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.res-article-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 56px 0 20px;
    letter-spacing: -0.02em;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.res-article-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 48px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--brand-blue);
}

.res-article-body h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 36px 0 12px;
}

.res-article-body h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 0 8px;
}

.res-article-body strong { color: var(--text-primary); }

.res-article-body ol,
.res-article-body ul {
    margin: 0 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.res-article-body li {
    margin-bottom: 8px;
    padding-left: 4px;
}

/* Image figures */
.res-article-body blockquote {
    margin: 40px -24px;
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
}

.res-article-body blockquote img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: block;
    margin: 0 auto;
}

.res-article-body blockquote small {
    display: block;
    margin-top: 12px;
    font-size: 0.8125rem;
    color: var(--slate-light);
    line-height: 1.4;
}

.res-article-body blockquote small b {
    color: var(--text-secondary);
}

/* Text-only blockquotes (pull quotes) */
.res-article-body blockquote:not(:has(img)) {
    margin: 36px 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    text-align: left;
    border-left: 4px solid var(--brand-blue);
    padding: 16px 24px;
    background: #EFF6FF;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.res-article-body blockquote:not(:has(img)) b,
.res-article-body blockquote:not(:has(img)) strong {
    font-size: 1rem;
    color: var(--text-primary);
}

/* Highlighted callout (used in some articles) */
.res-highlight {
    margin: 36px 0;
    padding: 20px 28px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #E2E8F0;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.6;
    font-style: italic;
    position: relative;
}

.res-highlight::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 48px;
    color: var(--brand-blue);
    font-style: normal;
    line-height: 1;
    opacity: 0.6;
}

/* Code/formula blocks in articles */
.res-article-body code {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 0.875rem;
}

/* Links within articles */
.res-article-body a {
    color: var(--brand-blue);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(37,99,235,0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
}

.res-article-body a:hover {
    text-decoration-color: var(--brand-blue);
}

/* Remove width attributes on images, let CSS handle sizing */
.res-article-body img {
    max-width: 100%;
    height: auto;
}

/* ===== RESOURCE ARTICLE BACK LINK ===== */
.res-article-back {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.res-article-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-blue);
}

/* ===== RESOURCES RESPONSIVE ===== */
@media (max-width: 900px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 600px) {
    .res-grid { grid-template-columns: 1fr; }
    .res-hero h1 { font-size: 28px; }
    .res-filters { flex-direction: column; align-items: stretch; }
    .res-search { margin-left: 0; width: 100%; }
    .res-article-hero h1 { font-size: 26px; }
    .res-article-hero__meta { flex-wrap: wrap; gap: 12px; }
    .res-article-body blockquote { margin-left: -12px; margin-right: -12px; padding: 16px; }
    .res-article-body h3 { font-size: 1.125rem; }
    .res-highlight { font-size: 1rem; padding: 16px 20px; }
}

/* ===== FORM SELECT (demo/support forms) ===== */
.demo-form__section select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: .95rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--surface);
    transition: border-color .2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    cursor: pointer;
}
.demo-form__section select:focus {
    border-color: var(--brand-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.demo-form__hint {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ===== HELP CENTER TILES ===== */
.hc-banner {
    max-width: 1100px;
    margin: 0 auto 32px;
    padding: 20px 24px;
    background: #FFF7ED;
    border: 1.5px solid #FDBA74;
    border-left-width: 5px;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    color: #7C2D12;
}
.hc-banner__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #C2410C;
}
.hc-banner__icon svg { width: 100%; height: 100%; }
.hc-banner__body { flex: 1; }
.hc-banner__title {
    font-weight: 700;
    font-size: 1.0625rem;
    margin: 0 0 4px;
    color: #7C2D12;
}
.hc-banner__text { margin: 0; font-size: .9375rem; line-height: 1.55; }
.hc-banner__text a {
    color: #9A3412;
    font-weight: 600;
    text-decoration: underline;
}
.hc-banner__text a:hover { color: #7C2D12; }

.hc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.hc-tile {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.hc-tile:hover {
    border-color: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.hc-tile__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.hc-tile__icon svg { width: 24px; height: 24px; }
.hc-tile__icon--blue { background: #EFF6FF; color: var(--brand-blue); }
.hc-tile__icon--gold { background: #FFF7ED; color: #D97706; }
.hc-tile__icon--green { background: #ECFDF5; color: #059669; }
.hc-tile__icon--red { background: #FEF2F2; color: #DC2626; }
.hc-tile__icon--purple { background: #F5F3FF; color: #7C3AED; }
.hc-tile__icon--slate { background: #F1F5F9; color: #475569; }

.hc-tile h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}
.hc-tile p {
    font-size: .9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
.hc-tile__arrow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-decoration: none;
}
.hc-tile:hover .hc-tile__arrow { gap: 10px; }
.hc-tile__arrow svg {
    width: 14px;
    height: 14px;
    transition: transform .2s;
}
.hc-tile:hover .hc-tile__arrow svg { transform: translateX(3px); }

/* Inline link list inside tiles */
.hc-tile-links {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}
.hc-tile-links li {
    padding: 4px 0;
}
.hc-tile-links a {
    font-size: .8125rem;
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 500;
}
.hc-tile-links a:hover { text-decoration: underline; }

/* Featured tile (spans 2 cols) */
.hc-tile--featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
    border-color: transparent;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}
.hc-tile--featured h3 { color: var(--white); }
.hc-tile--featured p { color: #94A3B8; }
.hc-tile--featured .hc-tile__arrow { color: var(--brand-gold); }
.hc-tile--featured .hc-tile__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255,255,255,.1);
    color: var(--brand-gold);
}
.hc-tile--featured .hc-tile__icon svg { width: 28px; height: 28px; }
.hc-tile--featured:hover {
    border-color: rgba(255,255,255,.15);
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

/* Quick links bar */
.hc-quick {
    display: flex;
    justify-content: center;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0 0;
}
.hc-quick a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .2s;
}
.hc-quick a:hover { color: var(--brand-blue); }
.hc-quick svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 900px) {
    .hc-grid { grid-template-columns: repeat(2, 1fr); }
    .hc-tile--featured { grid-column: span 2; }
}
@media (max-width: 600px) {
    .hc-grid { grid-template-columns: 1fr; }
    .hc-tile--featured {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
    }
    .hc-tile--featured .hc-tile__icon { margin: 0 auto 16px; }
    .hc-quick { flex-direction: column; align-items: center; gap: 16px; }
}

/* ===== RELEASE NOTES ===== */
.nr-body {
    max-width: 860px;
    margin: 0 auto;
}
.nr-release {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.nr-release:last-child { border-bottom: none; }
.nr-version {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
}
.nr-date {
    font-size: .875rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 8px;
}
.nr-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nr-list li {
    padding: 10px 0;
    font-size: .9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    border-bottom: 1px solid #F1F5F9;
}
.nr-list li:last-child { border-bottom: none; }
.nr-tag {
    display: inline-block;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    white-space: nowrap;
}
.nr-tag--feature { background: #EFF6FF; color: #2563EB; }
.nr-tag--security { background: #FEF2F2; color: #DC2626; }
.nr-tag--performance { background: #ECFDF5; color: #059669; }
.nr-tag--correction { background: #FFF7ED; color: #D97706; }
.nr-tag--satellite { background: #F5F3FF; color: #7C3AED; }
.nr-tag--reporting { background: #EFF6FF; color: #0369A1; }
.nr-tag--config { background: #F1F5F9; color: #475569; }
.nr-tag--data { background: #F0FDF4; color: #15803D; }
.nr-tag--general { background: #F1F5F9; color: #475569; }
.nr-tag--deprecation { background: #FEF2F2; color: #991B1B; }
.nr-toggle {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--brand-blue);
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.nr-toggle:hover {
    border-color: var(--brand-blue);
    background: #EFF6FF;
}
.nr-v10 { margin-top: 32px; }

/* ===== NCS GUIDE CONTENT ===== */
.ncs-content {
    max-width: 860px;
    margin: 0 auto;
}
.ncs-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-blue);
}
.ncs-content h3:first-child { margin-top: 0; }
.ncs-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 12px 0;
}
.ncs-content ul, .ncs-content ol {
    padding-left: 24px;
    margin: 12px 0;
}
.ncs-content li {
    font-size: .9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 6px 0;
}
.ncs-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin: 16px 0;
}
.ncs-content strong, .ncs-content b {
    color: var(--text-primary);
}
.ncs-content .ncs-note {
    padding: 16px 20px;
    background: #EFF6FF;
    border-left: 3px solid var(--brand-blue);
    border-radius: var(--radius-sm);
    margin: 20px 0;
    font-size: .9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
.ncs-content .ncs-warning {
    padding: 16px 20px;
    background: #FFF7ED;
    border-left: 3px solid #D97706;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    font-size: .9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* NCS LED table */
.ncs-led-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
    margin: 16px 0 32px;
}
.ncs-led-table th {
    background: var(--navy);
    color: var(--white);
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
    font-size: .8125rem;
}
.ncs-led-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #E2E8F0;
    color: #334155;
    line-height: 1.5;
}
.ncs-led-table tr:nth-child(even) { background: #F8FAFC; }

/* ===== FOOTER ===== */
.mcs-footer {
    background: var(--navy);
    color: var(--text-on-dark);
    padding: 64px 0 0;
}

.mcs-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 48px;
}

.mcs-footer__brand p {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
    margin-top: 16px;
    max-width: 300px;
}

.mcs-footer__brand img {
    height: 60px;
    width: auto;
}

.mcs-footer__col h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
    margin-bottom: 20px;
}

.mcs-footer__col ul {
    list-style: none;
}

.mcs-footer__col li {
    margin-bottom: 12px;
}

.mcs-footer__col a {
    font-size: 0.9375rem;
    color: var(--text-on-dark);
    transition: color var(--transition);
}

.mcs-footer__col a:hover {
    color: var(--brand-gold);
}

.mcs-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mcs-footer__copyright {
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
}

.mcs-footer__legal {
    display: flex;
    gap: 24px;
}

.mcs-footer__legal a {
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
    transition: color var(--transition);
}

.mcs-footer__legal a:hover {
    color: var(--white);
}


/* ===== COMPARISON TABLE ===== */
.mcs-table-wrap {
    overflow-x: auto;
    margin: 32px auto;
    max-width: 900px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border);
}

.mcs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.mcs-table thead {
    background: var(--navy);
    color: var(--white);
}

.mcs-table th {
    padding: 14px 20px;
    font-weight: 600;
    text-align: left;
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.mcs-table th:nth-child(2),
.mcs-table th:nth-child(3),
.mcs-table td:nth-child(2),
.mcs-table td:nth-child(3) {
    text-align: center;
    width: 120px;
}

.mcs-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #E2E8F0;
    color: #334155;
    line-height: 1.5;
    vertical-align: top;
}

.mcs-table tr:last-child td {
    border-bottom: none;
}

.mcs-table tbody tr:nth-child(even) {
    background: #F8FAFC;
}

.mcs-table .tbl-group {
    background: var(--surface-alt);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-light);
}

.mcs-table .tbl-group td {
    padding: 10px 20px;
}

.mcs-table .cap-full {
    font-weight: 600;
    color: var(--accent-green);
}

.mcs-table .cap-partial {
    font-weight: 600;
    color: #D97706;
}

.mcs-table .cap-no {
    font-weight: 600;
    color: var(--accent-red);
}

.mcs-table .td-note {
    font-size: 0.8125rem;
    color: var(--slate-light);
}

.mcs-table-legend {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.mcs-table-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mcs-table-legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.mcs-table-legend .dot--full { background: var(--accent-green); }
.mcs-table-legend .dot--partial { background: #D97706; }
.mcs-table-legend .dot--no { background: var(--accent-red); }

/* ===== SUB-PAGE HERO (shorter) ===== */
.mcs-hero--sub {
    min-height: 400px;
}

.mcs-hero--sub h1 {
    font-size: 2.75rem;
}

.mcs-hero--sub .mcs-hero__sub {
    max-width: 620px;
}

/* ===== BREADCRUMB ===== */
.mcs-breadcrumb {
    padding: 16px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    margin-top: 72px;
}

.mcs-breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    font-size: 0.8125rem;
    color: var(--slate-light);
}

.mcs-breadcrumb a {
    color: var(--brand-blue);
    transition: color var(--transition);
}

.mcs-breadcrumb a:hover {
    color: var(--navy);
}

.mcs-breadcrumb li + li::before {
    content: '>';
    margin-right: 8px;
    color: var(--slate-light);
}

.mcs-hero--sub.has-breadcrumb {
    margin-top: 0;
}

/* ===== CONTENT SECTIONS (sub-pages) ===== */
.mcs-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.mcs-content h2 {
    font-size: 1.875rem;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.mcs-content h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    margin-top: 40px;
}

.mcs-content p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.mcs-content ul, .mcs-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.mcs-content li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.mcs-content li strong {
    color: var(--text-primary);
}

/* ===== TWO-COL LAYOUT (text + sidebar/visual) ===== */
.mcs-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.mcs-two-col--reverse {
    direction: rtl;
}

.mcs-two-col--reverse > * {
    direction: ltr;
}

/* ===== FEATURE LIST (checkmark style) ===== */
.mcs-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mcs-feature-list li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.mcs-feature-list li:last-child {
    border-bottom: none;
}

.mcs-feature-list li a {
    display: inline;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color var(--transition);
}

.mcs-feature-list li a:hover {
    text-decoration-color: currentColor;
}

.mcs-feature-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: var(--brand-blue);
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== USE-CASE CARD GRID (for landing page hub) ===== */
.mcs-usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mcs-usecase-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.mcs-usecase-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

a.mcs-usecase-card {
    cursor: pointer;
    position: relative;
    padding-right: 44px;
}

a.mcs-usecase-card::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--surface);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' stroke='%232563eb' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3l5 5-5 5'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.25s ease;
}

a.mcs-usecase-card:hover::after {
    background-color: var(--brand-blue);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3l5 5-5 5'/%3E%3C/svg%3E");
    transform: translateY(-50%) translateX(2px);
}

.mcs-usecase-card__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mcs-usecase-card__icon svg {
    width: 20px;
    height: 20px;
    color: var(--brand-blue);
}

.mcs-usecase-card__text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    margin-top: 0;
}

.mcs-usecase-card__text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ===== METRIC GRID (for VoIP metrics) ===== */
.mcs-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mcs-metric-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.mcs-metric-card h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.mcs-metric-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ===== RESPONSIVE (sub-page additions) ===== */

@media (max-width: 1024px) {
    .mcs-two-col { grid-template-columns: 1fr; gap: 40px; }
    .mcs-usecase-grid { grid-template-columns: 1fr; }
    .mcs-metric-grid { grid-template-columns: repeat(2, 1fr); }
    .mcs-hero--sub h1 { font-size: 2.25rem; }
}

@media (max-width: 768px) {
    .mcs-hero--sub { min-height: 340px; }
    .mcs-hero--sub h1 { font-size: 1.75rem; }
    .mcs-metric-grid { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .mcs-section { padding: 72px 0; }
    .mcs-section__header h2 { font-size: 2rem; }

    .mcs-hero h1 { font-size: 2.5rem; }

    .mcs-problem { grid-template-columns: 1fr; gap: 48px; }
    .mcs-capabilities { grid-template-columns: repeat(2, 1fr); }
    .mcs-how { grid-template-columns: 1fr; gap: 40px; }
    .mcs-how::before { display: none; }
    .mcs-metrics { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .mcs-hardware-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .mcs-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Mobile */
@media (max-width: 768px) {
    .mcs-header__nav { display: none; }
    .mcs-header__actions { display: none; }
    .mcs-header__hamburger { display: flex; }

    .mcs-hero { min-height: 520px; }
    .mcs-hero h1 { font-size: 2rem; }
    .mcs-hero__sub { font-size: 1rem; }
    .mcs-hero__content { padding: 60px 24px; }

    .mcs-section { padding: 56px 0; }
    .mcs-section__header { margin-bottom: 40px; }
    .mcs-section__header h2 { font-size: 1.75rem; }

    .mcs-trust__logos { gap: 20px 28px; }
    .mcs-trust__logos img { height: 22px; }

    .mcs-capabilities { grid-template-columns: 1fr; }
    .mcs-metrics { grid-template-columns: 1fr 1fr; }

    .mcs-cta-banner { border-radius: 0; padding: 56px 24px; }
    .mcs-cta-banner h2 { font-size: 1.75rem; }

    .mcs-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .mcs-footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
    .mcs-footer__legal { justify-content: center; }
}

@media (max-width: 480px) {
    .mcs-hero h1 { font-size: 1.75rem; }
    .mcs-hero__actions { flex-direction: column; }
    .mcs-hero__actions .mcs-btn { width: 100%; }
    .mcs-metrics { grid-template-columns: 1fr; }
    .mcs-cta-banner__actions { flex-direction: column; align-items: center; }
    .mcs-cta-banner__actions .mcs-btn { width: 100%; max-width: 280px; }
}
