:root {
    --monitor-accent: #f5ce4d;
    --monitor-bg: #fff;
    --monitor-surface: #f8f9f5;
    --monitor-text: #252820;
    --monitor-muted: #63695e;
    --monitor-border: #e5e8df;
    color-scheme: light;
}

body { background: var(--monitor-bg); }
.foi-header { background: var(--monitor-bg); border-bottom: 1px solid var(--monitor-border); }
body .foi-header .foi-navbar .navbar-nav .nav-link { color: var(--monitor-muted); }
body .foi-header .foi-navbar .navbar-nav .nav-link:hover,
body .foi-header .foi-navbar .navbar-nav .nav-link[aria-current="page"] { color: var(--monitor-text); }
.foi-header .navbar-toggler { border-color: var(--monitor-border); }
.foi-footer { background: var(--monitor-bg); background-image: none; border-top: 1px solid var(--monitor-border); padding-top: 36px; }
.foi-footer .footer-content { display: none; }
.foi-footer .footer-widget-area { padding-top: 0; padding-bottom: 24px; }
body .foi-footer .nav-link, body .foi-footer .footer-widget-area p { color: var(--monitor-muted); }
body .foi-footer .nav-link:hover { color: #72560d; }
.foi-footer a[href*="beian.miit.gov.cn"] { color: var(--monitor-muted) !important; }

.custom-monitoring { color: var(--monitor-text); background: var(--monitor-bg); line-height: 1.8; }
.custom-monitoring *, .custom-monitoring *::before, .custom-monitoring *::after { box-sizing: border-box; }
.custom-shell { max-width: 1280px; padding-right: 32px; padding-left: 32px; }
.custom-monitoring h1, .custom-monitoring h2, .custom-monitoring h3 { color: var(--monitor-text); letter-spacing: -.035em; }
.custom-monitoring p { color: var(--monitor-muted); margin: 0; }
.custom-monitoring h1 { font-size: 48px; line-height: 1.25; font-weight: 650; margin: 28px 0; }
.custom-monitoring h1 span { color: var(--monitor-text); background: linear-gradient(transparent 76%, rgba(245, 206, 77, .65) 76%); }
.custom-monitoring h2 { font-size: 44px; line-height: 1.2; font-weight: 600; margin: 22px 0 0; }
.custom-monitoring h3 { font-size: 18px; line-height: 1.5; font-weight: 600; }
.custom-monitoring .custom-eyebrow { display: inline-flex; border: 1px solid rgba(245, 206, 77, .22); border-radius: 999px; padding: 6px 12px; color: #72560d; background: #fff9e5; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.custom-hero-band { position: relative; background-image: radial-gradient(ellipse at 25% 0, rgba(245, 206, 77, .055), transparent 55%), linear-gradient(rgba(37, 40, 32, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 40, 32, .025) 1px, transparent 1px); background-size: auto, 64px 64px, 64px 64px; }
.custom-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding-top: 106px; padding-bottom: 112px; }
.custom-intro { max-width: 560px; font-size: 18px; line-height: 1.85; }
.custom-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.custom-primary, .custom-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.custom-monitoring .custom-primary { color: #201c0c; background: var(--monitor-accent); border: 1px solid var(--monitor-accent); }
.custom-monitoring .custom-primary:hover { color: #201c0c; background: #ffdc65; text-decoration: none; transform: translateY(-2px); }
.custom-monitoring .custom-secondary { border: 1px solid var(--monitor-border); color: var(--monitor-text); background: #fff; }
.custom-monitoring .custom-secondary:hover { color: var(--monitor-text); border-color: #b4932c; text-decoration: none; }
.custom-monitoring a:focus-visible, .custom-monitoring summary:focus-visible { outline: 3px solid var(--monitor-accent); outline-offset: 5px; }
.custom-benefits { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; color: var(--monitor-muted); font-size: 13px; }
.custom-demo-wrap { position: relative; min-width: 0; }
.custom-demo { width: 100%; max-width: 510px; margin-left: auto; border: 1px solid var(--monitor-border); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 24px 70px rgba(37, 40, 32, .08); }
.custom-demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--monitor-border); font-size: 12px; color: var(--monitor-muted); }
.custom-demo-label { border-radius: 999px; padding: 3px 10px; background: #fff6d4; color: #72560d; font-size: 11px; }
.custom-demo-content { padding: 26px; }
.custom-monitoring .custom-demo-kicker { font-size: 12px; }
.custom-monitoring .custom-demo h2 { font-size: 17px; line-height: 1.6; margin: 6px 0 26px; letter-spacing: 0; }
.custom-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
.custom-metrics div { min-width: 0; border: 1px solid var(--monitor-border); border-radius: 13px; padding: 14px 12px; background: var(--monitor-surface); }
.custom-metrics dt { color: var(--monitor-muted); font-size: 11px; font-weight: 400; margin-bottom: 8px; }
.custom-metrics dd { color: var(--monitor-text); font-size: 17px; font-weight: 600; margin: 0; }
.custom-monitoring .custom-chart-title { font-size: 12px; margin-bottom: 18px; }
.custom-chart { display: flex; align-items: flex-end; gap: 7px; height: 86px; border-bottom: 1px solid var(--monitor-border); background-image: linear-gradient(rgba(37, 40, 32, .06) 1px, transparent 1px); background-size: 100% 28px; }
.custom-chart span { flex: 1; height: var(--bar-height); border-radius: 4px 4px 0 0; background: linear-gradient(to top, rgba(245, 206, 77, .30), #e6ba2d); }
.custom-change { border: 1px solid rgba(245, 206, 77, .15); border-radius: 14px; padding: 14px 16px; margin-top: 24px; background: rgba(245, 206, 77, .04); }
.custom-monitoring .custom-change p { color: var(--monitor-text); font-size: 14px; }
.custom-change span { display: block; color: var(--monitor-muted); font-size: 12px; margin-top: 4px; }
.custom-floating { position: absolute; z-index: 1; padding: 10px 14px; border: 1px solid var(--monitor-border); border-radius: 12px; background: #fff; color: var(--monitor-muted); box-shadow: 0 12px 32px rgba(37, 40, 32, .07); font-size: 11px; }
.custom-floating-top { top: 21%; right: -20px; }
.custom-floating-bottom { bottom: -20px; left: -24px; }
.custom-audience { border-top: 1px solid var(--monitor-border); border-bottom: 1px solid var(--monitor-border); background: var(--monitor-surface); }
.custom-audience > div { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px 32px; padding-top: 26px; padding-bottom: 26px; color: var(--monitor-muted); font-size: 14px; }
.custom-section { padding-top: 104px; padding-bottom: 104px; }
.custom-section-heading { text-align: center; }
.custom-scenarios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.custom-scenarios article { position: relative; display: flex; flex-direction: column; min-height: 235px; border: 1px solid var(--monitor-border); border-radius: 20px; padding: 28px; background: #fff; transition: transform .2s ease, border-color .2s ease; }
.custom-scenarios article:hover { transform: translateY(-4px); border-color: rgba(245, 206, 77, .3); }
.custom-card-number { align-self: flex-end; color: #7c7762; font-size: 12px; }
.custom-scenarios h3 { margin: 22px 0 12px; }
.custom-scenarios p { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.custom-scenarios a { margin-top: auto; color: #72560d; font-size: 12px; }
.custom-scenarios a:hover { color: #72560d; }
.custom-related { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin-top: 28px; color: var(--monitor-muted); font-size: 13px; }
.custom-related a { color: var(--monitor-text); }
.custom-related a:hover { color: #72560d; }
.custom-process-panel { position: relative; overflow: hidden; border: 1px solid var(--monitor-border); border-radius: 28px; padding: 54px; background: radial-gradient(circle at 90% 0, rgba(245, 206, 77, .055), transparent 40%), linear-gradient(#fff, #fff); }
.custom-heading-left { text-align: left; }
.custom-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; margin: 44px 0 0; padding: 0; }
.custom-process li { min-width: 0; }
.custom-process-number { display: flex; align-items: center; gap: 20px; color: #72560d; font-size: 13px; font-weight: 600; }
.custom-process-number::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(245, 206, 77, .35), var(--monitor-border)); }
.custom-process li:last-child .custom-process-number::after { display: none; }
.custom-process h3 { margin: 24px 0 12px; font-size: 17px; }
.custom-process p { max-width: 280px; font-size: 14px; }
.custom-faq-list { max-width: 840px; margin: 44px auto 0; }
.custom-faq details { border: 1px solid var(--monitor-border); border-radius: 16px; background: #fff; margin-top: 12px; }
.custom-faq details[open], .custom-faq details:hover { border-color: rgba(245, 206, 77, .28); }
.custom-faq summary { cursor: pointer; padding: 20px 24px; font-size: 15px; color: var(--monitor-text); }
.custom-faq summary::marker { color: #72560d; }
.custom-faq details p { font-size: 14px; padding: 0 24px 22px; }
.custom-contact-section { padding-bottom: 96px; }
.custom-closing { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 54px; border-radius: 28px; background-color: var(--monitor-accent); background-image: radial-gradient(ellipse at 100% 0, rgba(255, 255, 255, .35), transparent 65%), linear-gradient(rgba(91, 67, 10, .065) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 67, 10, .065) 1px, transparent 1px); background-size: auto, 32px 32px, 32px 32px; color: #28240f; scroll-margin-top: 24px; }
.custom-closing .custom-eyebrow { color: #534714; border-color: rgba(40, 36, 15, .18); background: rgba(255, 255, 255, .18); }
.custom-closing h2 { color: #24210e; font-size: 40px; margin: 20px 0 12px; }
.custom-closing p { color: #534b2d; font-size: 14px; }
.custom-contact-methods { min-width: 0; flex-shrink: 0; }
.custom-contact-methods p + p { margin-top: 16px; }
.custom-contact-methods span { display: block; margin-bottom: 7px; font-size: 12px; }
.custom-contact-methods a { display: block; border-radius: 999px; padding: 12px 20px; color: #28240f; background: #fff; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.custom-contact-methods a:hover { color: #28240f; background: #fff9e5; text-decoration: none; }
.custom-closing a:focus-visible { outline-color: #28240f; }
.custom-monitoring .custom-boundary { color: var(--monitor-muted); max-width: none; margin: 20px auto 0; font-size: 12px; text-align: center; }
#custom-process { scroll-margin-top: 24px; }

@media (max-width: 1199px) {
    .custom-monitoring h1 { font-size: 40px; }
    .custom-hero { gap: 40px; padding-top: 80px; padding-bottom: 88px; }
    .custom-scenarios article { padding: 24px; }
    .custom-floating-top { right: -10px; }
    .custom-floating-bottom { left: -10px; }
}

@media (max-width: 991px) {
    .custom-hero { grid-template-columns: 1fr; gap: 56px; }
    .custom-hero-copy { max-width: 660px; }
    .custom-demo-wrap { max-width: 600px; width: 100%; margin: 0 auto; }
    .custom-demo { max-width: none; }
    .custom-scenarios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .custom-closing { flex-direction: column; align-items: flex-start; gap: 32px; }
    .custom-contact-methods { display: flex; flex-wrap: wrap; gap: 24px; }
    .custom-contact-methods p + p { margin-top: 0; }
}

@media (max-width: 640px) {
    .custom-shell { padding-right: 20px; padding-left: 20px; }
    .custom-hero { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
    .custom-monitoring h1 { font-size: clamp(25px, 7.7vw, 40px); margin: 24px 0; }
    .custom-monitoring h2 { font-size: clamp(22px, 6.66vw, 26px); }
    .custom-intro { font-size: 16px; }
    .custom-actions { margin-top: 28px; }
    .custom-primary, .custom-secondary { font-size: 14px; padding: 12px 20px; }
    .custom-benefits { gap: 20px; margin-top: 28px; }
    .custom-demo-content { padding: 22px; }
    .custom-metrics { gap: 8px; }
    .custom-metrics div { padding: 12px 8px; }
    .custom-metrics dd { font-size: 15px; }
    .custom-floating { display: none; }
    .custom-section { padding-top: 72px; padding-bottom: 72px; }
    .custom-scenarios { gap: 12px; margin-top: 32px; }
    .custom-scenarios article { min-height: 225px; padding: 20px; }
    .custom-scenarios h3 { font-size: 17px; }
    .custom-scenarios p { font-size: 13px; }
    .custom-process-panel { padding: 32px 24px; border-radius: 24px; }
    .custom-process-panel h2 { font-size: clamp(20px, 6vw, 26px); }
    .custom-process { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
    .custom-process-number::after { display: none; }
    .custom-process h3 { margin-top: 12px; }
    .custom-process p { max-width: none; }
    .custom-faq summary { padding: 18px 20px; }
    .custom-faq details p { padding: 0 20px 20px; }
    .custom-closing { padding: 36px 24px; border-radius: 24px; }
    .custom-closing h2 { font-size: 30px; }
    .custom-contact-methods { display: block; width: 100%; }
    .custom-contact-methods p + p { margin-top: 16px; }
    .custom-contact-methods a { text-align: center; font-size: 13px; padding: 12px 10px; }
    .custom-contact-section { padding-bottom: 64px; }
}

@media (max-width: 359px) {
    .custom-actions { flex-direction: column; align-items: stretch; }
    .custom-scenarios { grid-template-columns: 1fr; }
    .custom-metrics div { padding-right: 6px; padding-left: 6px; }
    .custom-metrics dd { font-size: 14px; }
    .custom-closing h2 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
    .custom-monitoring *, .custom-monitoring *::before, .custom-monitoring *::after { transition: none !important; animation: none !important; }
}
