/* Medbyte Homepage — main site home (/) */

/* Light-first palette — purple/blue gradients, no black */
.page-home2 {
    --h2-grad: linear-gradient(135deg, #5b4cf0 0%, #2563eb 100%);
    --h2-grad-soft: linear-gradient(145deg, #faf8ff 0%, #eef2ff 55%, #f5f3ff 100%);
    --h2-grad-surface: linear-gradient(145deg, #ffffff 0%, #f8f7ff 100%);
    --h2-grad-panel: linear-gradient(165deg, #6366f1 0%, #5b4cf0 38%, #2563eb 100%);
    --h2-grad-deep: linear-gradient(165deg, #4338ca 0%, #3730a3 50%, #2563eb 100%);
    --text-main: #3730a3;
    --text-soft: #5b5899;
    --text-muted: #7c7aad;
    --surface: #ffffff;
    --surface-2: #f8f7ff;
    --border: rgba(91, 76, 240, 0.16);
    color: #3730a3;
}

.page-home2 .mb-section-alt {
    background: linear-gradient(180deg, #f5f3ff 0%, #eef2ff 100%);
    border-color: rgba(91, 76, 240, 0.12);
}

.page-home2 .mb-eyebrow {
    color: #5b4cf0;
    background: linear-gradient(135deg, rgba(91, 76, 240, 0.12), rgba(37, 99, 235, 0.08));
    border-color: rgba(91, 76, 240, 0.22);
}

.page-home2 .mb-hero-copy h1,
.page-home2 .mb-head h2,
.page-home2 .mb-cta-panel h2,
.page-home2 .section-title {
    color: #3730a3 !important;
}

.page-home2 .mb-hero-lead,
.page-home2 .mb-head p,
.page-home2 .section-copy,
.page-home2 .mb-cta-panel p {
    color: #5b5899 !important;
}

.page-home2 .mb-hero-lead em {
    color: #4338ca !important;
}

.page-home2 .headline-highlight {
    color: #4338ca !important;
    background: linear-gradient(115deg, rgba(91, 76, 240, 0.16), rgba(37, 99, 235, 0.12)) !important;
}

.page-home2 .mb-trust-grid {
    background: linear-gradient(90deg, rgba(91, 76, 240, 0.1), rgba(37, 99, 235, 0.08));
    border: 1px solid rgba(91, 76, 240, 0.14);
    border-radius: 14px;
}

.page-home2 .mb-trust-item {
    background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%) !important;
}

.page-home2 .mb-trust-item strong {
    background: linear-gradient(135deg, #5b4cf0, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #5b4cf0;
}

.page-home2 .mb-trust-item span {
    color: #7c7aad !important;
}

.page-home2 .mb-identity-card,
.page-home2 .mb-cap-card,
.page-home2 .mb-product-card,
.page-home2 .mb-service-card,
.page-home2 .mb-industry-card,
.page-home2 .mb-testimonial,
.page-home2 .mb-ai-panel,
.page-home2 .mb-integrations-panel,
.page-home2 .mb-cta-panel,
.page-home2 .faq-contact-premium .faq-panel,
.page-home2 .faq-contact-premium .contact-panel {
    background: linear-gradient(145deg, #ffffff 0%, #f8f7ff 100%) !important;
    border-color: rgba(91, 76, 240, 0.14) !important;
    box-shadow: 0 4px 24px rgba(91, 76, 240, 0.06);
}

.page-home2 .mb-ai-layer,
.page-home2 .mb-integration-item,
.page-home2 .faq-contact-premium .faq-item {
    background: linear-gradient(145deg, #faf8ff 0%, #eef2ff 100%) !important;
    border-color: rgba(91, 76, 240, 0.12) !important;
}

.page-home2 .mb-identity-card h3,
.page-home2 .mb-cap-card h3,
.page-home2 .mb-product-card h3,
.page-home2 .mb-service-card h3,
.page-home2 .mb-ai-layer h4,
.page-home2 .faq-contact-premium .faq-item summary {
    color: #3730a3 !important;
}

.page-home2 .mb-identity-card p,
.page-home2 .mb-cap-card p,
.page-home2 .mb-product-card p,
.page-home2 .mb-service-card p,
.page-home2 .mb-ai-layer p,
.page-home2 .mb-testimonial p,
.page-home2 .mb-industry-card span,
.page-home2 .mb-integration-item,
.page-home2 .faq-contact-premium .faq-answer,
.page-home2 .contact-meta,
.page-home2 .contact-meta a {
    color: #5b5899 !important;
}

.page-home2 .mb-testimonial-author strong {
    color: #4338ca !important;
}

.page-home2 .mb-testimonial-author span {
    color: #7c7aad !important;
}

.page-home2 .mb-product-code,
.page-home2 .mb-service-tag,
.page-home2 .mb-product-link,
.page-home2 .mb-product-arrow {
    color: #5b4cf0 !important;
}

.page-home2 .btn-primary {
    background: linear-gradient(135deg, #5b4cf0 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

.page-home2 .btn-ghost {
    background: linear-gradient(145deg, #ffffff, #f5f3ff) !important;
    color: #4338ca !important;
    border: 1px solid rgba(91, 76, 240, 0.25) !important;
}

.page-home2 .faq-contact-premium .contact-form input,
.page-home2 .faq-contact-premium .contact-form textarea {
    background: linear-gradient(145deg, #ffffff, #faf8ff) !important;
    border-color: rgba(91, 76, 240, 0.2) !important;
    color: #3730a3 !important;
}

/* Platform preview — brand gradient panel */
.page-home2 .mb-platform-preview {
    background: linear-gradient(165deg, #6366f1 0%, #5b4cf0 38%, #2563eb 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 24px 64px rgba(91, 76, 240, 0.28), 0 0 80px rgba(37, 99, 235, 0.12) !important;
}

.page-home2 .mb-preview-bar {
    background: rgba(255, 255, 255, 0.08) !important;
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

.page-home2 .mb-preview-title {
    color: #c7d2fe !important;
}

.page-home2 .mb-preview-nav {
    color: #c7d2fe !important;
}

.page-home2 .mb-preview-nav.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

.page-home2 .mb-preview-sidebar {
    border-right-color: rgba(255, 255, 255, 0.14) !important;
}

.page-home2 .mb-preview-metric {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

.page-home2 .mb-preview-metric strong {
    color: #ffffff !important;
}

.page-home2 .mb-preview-metric span {
    color: #c7d2fe !important;
}

.page-home2 .mb-preview-chart {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

.page-home2 .mb-preview-pill {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #c7d2fe !important;
}

.page-home2 .mb-cta-panel {
    background:
        radial-gradient(ellipse 70% 100% at 50% 0%, rgba(91, 76, 240, 0.14), transparent),
        linear-gradient(145deg, #faf8ff 0%, #eef2ff 100%) !important;
    border-color: rgba(91, 76, 240, 0.22) !important;
    box-shadow: 0 16px 48px rgba(91, 76, 240, 0.1) !important;
}

.page-home2 main {
    overflow-x: hidden;
}

.page-home main {
    overflow-x: hidden;
}

/* ─── Shared ─── */
.mb-section {
    padding: clamp(4.5rem, 9vw, 7rem) 0;
    position: relative;
}

.mb-section-alt {
    background: linear-gradient(180deg, rgba(91, 76, 240, 0.06) 0%, transparent 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.mb-head {
    max-width: 680px;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.mb-head.centered {
    margin-inline: auto;
    text-align: center;
}

.mb-head.centered p {
    margin-inline: auto;
}

.mb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(91, 76, 240, 0.25);
    background: rgba(91, 76, 240, 0.08);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--brand-2);
    margin-bottom: 1.15rem;
}

.mb-head h2 {
    margin: 0 0 1rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-main);
}

.mb-head p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 54ch;
}

.mb-gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ─── Hero ─── */
.mb-hero {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem);
    position: relative;
    overflow: hidden;
}

.mb-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 75% 15%, rgba(91, 76, 240, 0.14), transparent 55%),
        radial-gradient(ellipse 45% 40% at 10% 70%, rgba(37, 99, 235, 0.08), transparent 50%);
    pointer-events: none;
}

.mb-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.mb-hero-copy .mb-eyebrow {
    margin-bottom: 1.35rem;
}

.mb-hero-copy h1 {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2.1rem, 4.2vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: var(--text-main);
}

.mb-hero-lead {
    margin: 1.35rem 0 0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-soft);
    max-width: 46ch;
}

.mb-hero-lead em {
    font-style: normal;
    color: var(--text-main);
    font-weight: 600;
}

.mb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.mb-hero-actions .btn-primary {
    background: var(--gradient-brand);
    border: none;
    padding: 0.9rem 1.65rem;
    font-weight: 600;
    box-shadow: 0 8px 28px rgba(91, 76, 240, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mb-hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(91, 76, 240, 0.4);
}

.mb-hero-actions .btn-ghost {
    padding: 0.9rem 1.65rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-soft);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mb-hero-actions .btn-ghost:hover {
    border-color: rgba(91, 76, 240, 0.4);
    background: rgba(91, 76, 240, 0.06);
    color: var(--text-main);
}

/* Platform preview panel */
.mb-platform-preview {
    border-radius: 16px;
    border: 1px solid rgba(91, 76, 240, 0.2);
    background: linear-gradient(165deg, #6366f1 0%, #5b4cf0 38%, #2563eb 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 24px 64px rgba(91, 76, 240, 0.28),
        0 0 80px rgba(37, 99, 235, 0.12);
    overflow: hidden;
}

.mb-preview-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

.mb-preview-dots {
    display: flex;
    gap: 0.35rem;
}

.mb-preview-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.25);
}

.mb-preview-dots span:first-child { background: rgba(239, 68, 68, 0.6); }
.mb-preview-dots span:nth-child(2) { background: rgba(234, 179, 8, 0.6); }
.mb-preview-dots span:nth-child(3) { background: rgba(34, 197, 94, 0.6); }

.mb-preview-title {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #c7d2fe;
}

.mb-preview-body {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    min-height: 320px;
}

.mb-preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-right: 1rem;
    border-right: 1px solid var(--border);
}

.mb-preview-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #c7d2fe;
    transition: background 0.2s ease, color 0.2s ease;
}

.mb-preview-nav.active {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.mb-preview-nav .ui-icon {
    font-size: 0.95rem;
    color: var(--brand-2);
}

.mb-preview-main {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mb-preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.mb-preview-metric {
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
}

.mb-preview-metric strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.mb-preview-metric span {
    font-size: 0.65rem;
    color: #c7d2fe;
}

.mb-preview-chart {
    flex: 1;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        rgba(255, 255, 255, 0.05);
    background-size: 24px 24px;
    position: relative;
    min-height: 120px;
    overflow: hidden;
}

.mb-preview-chart svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
}

.mb-preview-chart path {
    fill: none;
    stroke: url(#chartGrad);
    stroke-width: 2;
    stroke-linecap: round;
}

.mb-preview-status {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mb-preview-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.65rem;
    color: #c7d2fe;
}

.mb-preview-pill .live {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    animation: mbPulse 2s ease-in-out infinite;
}

@keyframes mbPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

/* Trust strip */
.mb-trust-strip {
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.mb-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: linear-gradient(90deg, rgba(91, 76, 240, 0.1), rgba(37, 99, 235, 0.08));
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(91, 76, 240, 0.14);
}

.mb-trust-item {
    padding: 1.5rem 1.25rem;
    background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
    text-align: center;
    transition: background 0.25s ease;
}

.mb-trust-item:hover {
    background: rgba(91, 76, 240, 0.04);
}

.mb-trust-item strong {
    display: block;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mb-trust-item span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── Identity cards ─── */
.mb-identity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.mb-identity-card {
    padding: 2rem 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.mb-identity-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mb-identity-card:hover {
    border-color: rgba(91, 76, 240, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(91, 76, 240, 0.18);
}

.mb-identity-card:hover::before {
    opacity: 1;
}

.mb-identity-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(91, 76, 240, 0.1);
    border: 1px solid rgba(91, 76, 240, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--brand-2);
    margin-bottom: 1.25rem;
}

.mb-identity-card h3 {
    margin: 0 0 0.65rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.mb-identity-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ─── Capabilities bento ─── */
.mb-capabilities {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.mb-cap-card {
    padding: 1.65rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.mb-cap-card:hover {
    border-color: rgba(91, 76, 240, 0.35);
    box-shadow: 0 12px 40px rgba(91, 76, 240, 0.08);
}

.mb-cap-card:nth-child(1) { grid-column: span 2; }
.mb-cap-card:nth-child(2) { grid-column: span 2; }
.mb-cap-card:nth-child(3) { grid-column: span 2; }
.mb-cap-card:nth-child(4) { grid-column: span 2; }
.mb-cap-card:nth-child(5) { grid-column: span 2; }
.mb-cap-card:nth-child(6) { grid-column: span 2; }

.mb-cap-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(91, 76, 240, 0.15), rgba(37, 99, 235, 0.1));
    border: 1px solid rgba(91, 76, 240, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--brand-2);
    margin-bottom: 1rem;
}

.mb-cap-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.mb-cap-card p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ─── AI highlight ─── */
.mb-ai-panel {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 20px;
    border: 1px solid var(--border);
    background:
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(91, 76, 240, 0.1), transparent),
        var(--surface);
    align-items: center;
}

.mb-ai-layers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mb-ai-layer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(91, 76, 240, 0.06), rgba(37, 99, 235, 0.04));
    transition: border-color 0.25s ease;
}

.mb-ai-layer:hover {
    border-color: rgba(91, 76, 240, 0.3);
}

.mb-ai-layer-num {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand-2);
    padding-top: 0.15rem;
}

.mb-ai-layer h4 {
    margin: 0 0 0.25rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
}

.mb-ai-layer p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ─── Products ─── */
.mb-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.mb-product-card {
    display: flex;
    flex-direction: column;
    padding: 1.65rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.mb-product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 76, 240, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mb-product-card:hover {
    border-color: rgba(91, 76, 240, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(91, 76, 240, 0.16);
}

.mb-product-card:hover::after {
    opacity: 1;
}

.mb-product-card > * {
    position: relative;
    z-index: 1;
}

.mb-product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mb-product-code {
    display: inline-flex;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: rgba(91, 76, 240, 0.12);
    border: 1px solid rgba(91, 76, 240, 0.2);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--brand-2);
}

.mb-product-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--brand-accent);
}

.mb-product-card h3 {
    margin: 0 0 0.5rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.mb-product-card p {
    margin: 0;
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.mb-product-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-2);
    transition: gap 0.2s ease;
}

.mb-product-card:hover .mb-product-arrow {
    gap: 0.55rem;
}

/* ─── Services ─── */
.mb-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.mb-service-card {
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.mb-service-card:hover {
    border-color: rgba(91, 76, 240, 0.3);
    transform: translateY(-3px);
}

.mb-service-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.mb-service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(91, 76, 240, 0.1);
    border: 1px solid rgba(91, 76, 240, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--brand-2);
    flex-shrink: 0;
}

.mb-service-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-accent);
}

.mb-service-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
}

.mb-service-card p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ─── Integrations ─── */
.mb-integrations-panel {
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 20px;
    border: 1px solid var(--border);
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37, 99, 235, 0.08), transparent),
        var(--surface);
    box-shadow: var(--shadow-glow);
}

.mb-integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.mb-integration-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(91, 76, 240, 0.06), rgba(37, 99, 235, 0.04));
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-soft);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mb-integration-item:hover {
    border-color: rgba(91, 76, 240, 0.3);
    background: rgba(91, 76, 240, 0.05);
}

.mb-integration-item .ui-icon {
    font-size: 1.1rem;
    color: var(--brand-2);
    flex-shrink: 0;
}

/* ─── Industries ─── */
.mb-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.mb-industry-card {
    padding: 1.35rem 1.25rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    text-align: center;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.mb-industry-card:hover {
    border-color: rgba(91, 76, 240, 0.3);
    transform: translateY(-2px);
}

.mb-industry-card .ui-icon {
    display: block;
    font-size: 1.5rem;
    color: var(--brand-2);
    margin-bottom: 0.65rem;
}

.mb-industry-card span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-soft);
}

/* ─── Testimonials ─── */
.mb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.mb-testimonial {
    padding: 2rem 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
    transition: border-color 0.25s ease;
}

.mb-testimonial:hover {
    border-color: rgba(91, 76, 240, 0.25);
}

.mb-testimonial-quote {
    font-size: 2.5rem;
    line-height: 1;
    color: rgba(91, 76, 240, 0.35);
    font-family: Georgia, serif;
    margin-bottom: 0.5rem;
}

.mb-testimonial-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.mb-testimonial p {
    margin: 0 0 1.5rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-soft);
}

.mb-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.mb-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.mb-testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
}

.mb-testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ─── CTA ─── */
.mb-cta {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.mb-cta-panel {
    padding: clamp(2.5rem, 5vw, 3.5rem);
    border-radius: 20px;
    border: 1px solid rgba(91, 76, 240, 0.22);
    background:
        radial-gradient(ellipse 70% 100% at 50% 0%, rgba(91, 76, 240, 0.14), transparent),
        linear-gradient(145deg, #faf8ff 0%, #eef2ff 100%);
    text-align: center;
    box-shadow: 0 16px 48px rgba(91, 76, 240, 0.1);
}

.mb-cta-panel h2 {
    margin: 0 0 0.75rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.mb-cta-panel p {
    margin: 0 auto 1.75rem;
    max-width: 520px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.mb-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.mb-cta-actions .btn-primary {
    background: var(--gradient-brand);
    border: none;
    padding: 0.95rem 1.75rem;
    font-weight: 600;
    box-shadow: 0 8px 28px rgba(91, 76, 240, 0.3);
}

.mb-cta-actions .btn-ghost {
    border: 1px solid var(--border);
    color: var(--text-soft);
    padding: 0.95rem 1.75rem;
}

/* ─── FAQ / Contact ─── */
.faq-contact-premium .faq-contact-grid {
    gap: 1.5rem;
}

.faq-contact-premium .faq-panel,
.faq-contact-premium .contact-panel {
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 2.25rem;
}

.faq-contact-premium .section-title {
    font-family: "Plus Jakarta Sans", sans-serif;
}

.faq-contact-premium .faq-item {
    border-color: var(--border);
    background: linear-gradient(145deg, rgba(91, 76, 240, 0.04), rgba(37, 99, 235, 0.03));
    border-radius: 10px;
}

.faq-contact-premium .faq-item[open] {
    border-color: rgba(91, 76, 240, 0.3);
}

.faq-contact-premium .contact-form input,
.faq-contact-premium .contact-form textarea {
    border-color: rgba(91, 76, 240, 0.18);
    background: linear-gradient(145deg, #ffffff, #faf8ff);
    border-radius: 10px;
    transition: border-color 0.2s ease;
}

.faq-contact-premium .contact-form input:focus,
.faq-contact-premium .contact-form textarea:focus {
    border-color: rgba(91, 76, 240, 0.45);
    outline: none;
}

.faq-contact-premium .btn-primary {
    background: var(--gradient-brand);
    border: none;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
    .mb-hero-grid {
        grid-template-columns: 1fr;
    }

    .mb-platform-preview {
        order: -1;
        max-width: 560px;
        margin-inline: auto;
        width: 100%;
    }

    .mb-capabilities {
        grid-template-columns: repeat(2, 1fr);
    }

    .mb-cap-card:nth-child(n) {
        grid-column: span 1;
    }

    .mb-ai-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .mb-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mb-integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mb-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mb-identity-grid,
    .mb-products-grid,
    .mb-services-grid,
    .mb-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .mb-preview-body {
        grid-template-columns: 1fr;
    }

    .mb-preview-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 0.75rem;
    }

    .mb-capabilities {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mb-trust-grid,
    .mb-integrations-grid {
        grid-template-columns: 1fr;
    }

    .mb-industries-grid {
        grid-template-columns: 1fr;
    }
}


/* ─── Dark mode (when user toggles theme) ─── */
body:not(.light-mode-ui) .page-home2 {
    --text-main: #ffffff;
    --text-soft: #c7d2fe;
    --text-muted: #a5b4fc;
    --surface: #4338ca;
    --surface-2: #3730a3;
    --border: rgba(165, 180, 252, 0.22);
    color: #ffffff;
}

body:not(.light-mode-ui) .page-home2 .mb-section-alt {
    background: linear-gradient(180deg, rgba(91, 76, 240, 0.18) 0%, transparent 100%);
    border-color: rgba(165, 180, 252, 0.15);
}

body:not(.light-mode-ui) .page-home2 .mb-hero-copy h1,
body:not(.light-mode-ui) .page-home2 .mb-head h2,
body:not(.light-mode-ui) .page-home2 .mb-cta-panel h2,
body:not(.light-mode-ui) .page-home2 .section-title {
    color: #ffffff !important;
}

body:not(.light-mode-ui) .page-home2 .mb-hero-lead,
body:not(.light-mode-ui) .page-home2 .mb-head p,
body:not(.light-mode-ui) .page-home2 .section-copy,
body:not(.light-mode-ui) .page-home2 .mb-cta-panel p,
body:not(.light-mode-ui) .page-home2 .mb-identity-card p,
body:not(.light-mode-ui) .page-home2 .mb-cap-card p,
body:not(.light-mode-ui) .page-home2 .mb-product-card p,
body:not(.light-mode-ui) .page-home2 .mb-service-card p,
body:not(.light-mode-ui) .page-home2 .mb-testimonial p {
    color: #c7d2fe !important;
}

body:not(.light-mode-ui) .page-home2 .mb-trust-grid {
    background: linear-gradient(90deg, rgba(91, 76, 240, 0.25), rgba(37, 99, 235, 0.2)) !important;
    border-color: rgba(165, 180, 252, 0.2) !important;
}

body:not(.light-mode-ui) .page-home2 .mb-trust-item {
    background: linear-gradient(145deg, #4338ca 0%, #3730a3 100%) !important;
}

body:not(.light-mode-ui) .page-home2 .mb-trust-item span {
    color: #c7d2fe !important;
}

body:not(.light-mode-ui) .page-home2 .mb-identity-card,
body:not(.light-mode-ui) .page-home2 .mb-cap-card,
body:not(.light-mode-ui) .page-home2 .mb-product-card,
body:not(.light-mode-ui) .page-home2 .mb-service-card,
body:not(.light-mode-ui) .page-home2 .mb-industry-card,
body:not(.light-mode-ui) .page-home2 .mb-testimonial,
body:not(.light-mode-ui) .page-home2 .mb-ai-panel,
body:not(.light-mode-ui) .page-home2 .mb-integrations-panel,
body:not(.light-mode-ui) .page-home2 .faq-contact-premium .faq-panel,
body:not(.light-mode-ui) .page-home2 .faq-contact-premium .contact-panel {
    background: linear-gradient(145deg, #4338ca 0%, #3730a3 100%) !important;
    border-color: rgba(165, 180, 252, 0.2) !important;
}

body:not(.light-mode-ui) .page-home2 .mb-cta-panel {
    background: linear-gradient(165deg, #4338ca 0%, #5b4cf0 45%, #2563eb 100%) !important;
    border-color: rgba(165, 180, 252, 0.25) !important;
    box-shadow: 0 24px 64px rgba(91, 76, 240, 0.35) !important;
}

body:not(.light-mode-ui) .page-home2 .mb-ai-layer,
body:not(.light-mode-ui) .page-home2 .mb-integration-item,
body:not(.light-mode-ui) .page-home2 .faq-contact-premium .faq-item {
    background: linear-gradient(145deg, rgba(91, 76, 240, 0.15), rgba(37, 99, 235, 0.1)) !important;
    border-color: rgba(165, 180, 252, 0.18) !important;
}

body:not(.light-mode-ui) .page-home2 .mb-identity-card h3,
body:not(.light-mode-ui) .page-home2 .mb-cap-card h3,
body:not(.light-mode-ui) .page-home2 .mb-product-card h3,
body:not(.light-mode-ui) .page-home2 .mb-service-card h3 {
    color: #ffffff !important;
}

body:not(.light-mode-ui) .page-home2 .btn-ghost {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #c7d2fe !important;
    border-color: rgba(165, 180, 252, 0.25) !important;
}

body:not(.light-mode-ui) .page-home2 .headline-highlight {
    color: #ffffff !important;
    background: linear-gradient(115deg, rgba(91, 76, 240, 0.3), rgba(37, 99, 235, 0.2)) !important;
}

body:not(.light-mode-ui) .page-home2 .faq-contact-premium .contact-form input,
body:not(.light-mode-ui) .page-home2 .faq-contact-premium .contact-form textarea {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(165, 180, 252, 0.22) !important;
    color: #ffffff !important;
}

/* ─── Footer — seamless with homepage ─── */
.page-home2 .site-footer {
    margin-top: 0;
}

.page-home2 .mb-section:last-of-type {
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.page-home2 .footer-accent-line {
    opacity: 1;
}

.page-home2 .footer-top-card {
    margin-top: 0;
}

body.light-mode-ui.page-home2 .site-footer {
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(91, 76, 240, 0.08), transparent 50%),
        linear-gradient(180deg, #f5f3ff 0%, #eef2ff 100%);
}

body.light-mode-ui.page-home2 .site-header.site-header-light {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(91, 76, 240, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 20px rgba(91, 76, 240, 0.05);
}

body:not(.light-mode-ui).page-home2 .site-footer {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(91, 76, 240, 0.2), transparent 55%),
        linear-gradient(180deg, #3730a3 0%, #312e81 100%);
}
