/* ============================================
   Zabbix 信创一体机 Landing Page Styles
   与现有站点风格保持一致，融合 Zabbix 品牌色
   ============================================ */

:root {
    --zabbix-red: #d40000;
    --zabbix-red-rgb: 212, 0, 0;
    --zabbix-dark: #1a1a2e;
    --zabbix-dark-rgb: 26, 26, 46;
    --zabbix-gray: #6c7280;
    --zabbix-light: #f9fafb;
    --zabbix-blue: #0c7be0;
    --zabbix-green: #2b937c;
    --zabbix-line: rgba(var(--zabbix-dark-rgb), 0.08);
    --zabbix-surface: #ffffff;
    --zabbix-surface-soft: rgba(255, 255, 255, 0.74);
    --zabbix-shadow: 0 18px 48px rgba(0, 27, 91, 0.08);
}

body.antialiased {
    background: linear-gradient(180deg, #edf5ff 0%, #fbfdff 42%, #f7fbff 100%);
}

#main-content {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

body > .position-fixed.inset-0 {
    overflow: hidden;
    pointer-events: none;
}

#main-content .bg-light {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%) !important;
}

#navigation .navbar-nav > li > a {
    white-space: nowrap;
}

#wechat-customer {
    right: 24px !important;
    bottom: 24px !important;
}

#config,
#cta-section {
    scroll-margin-top: 130px;
}

/* ---- Decorative Blob ---- */
.blob-bg-zabbix {
    background: rgba(var(--zabbix-red-rgb), 0.04);
    width: 600px;
    height: 600px;
    top: 30%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: -2;
}

/* ---- Hero Section ---- */
.zabbix-hero {
    position: relative;
    padding: 158px 0 92px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(212, 0, 0, 0.06) 0%, rgba(212, 0, 0, 0) 44%),
        linear-gradient(225deg, rgba(12, 123, 224, 0.08) 0%, rgba(12, 123, 224, 0) 45%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.78);
}

.zabbix-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image:
        linear-gradient(rgba(12, 123, 224, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 123, 224, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 76%);
    pointer-events: none;
}

.zabbix-hero .container {
    position: relative;
    z-index: 1;
}

.zabbix-hero-badge {
    margin-bottom: 20px;
}

.zabbix-partner-badge {
    display: inline-block;
    background: rgba(var(--zabbix-red-rgb), 0.09);
    color: var(--zabbix-red);
    border: 1px solid rgba(var(--zabbix-red-rgb), 0.15);
    font-size: 14px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 50px;
    letter-spacing: 0;
    box-shadow: 0 8px 24px rgba(var(--zabbix-red-rgb), 0.08);
}

.zabbix-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--zabbix-dark);
    line-height: 1.12;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.zabbix-hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: var(--zabbix-red);
    line-height: 1.4;
    margin-bottom: 20px;
}

.zabbix-hero-desc {
    font-size: 17px;
    color: var(--zabbix-gray);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 720px;
}

.zabbix-hero-actions .btn-lg {
    --bs-btn-padding-y: 14px;
    --bs-btn-padding-x: 28px;
    border-radius: 12px;
    font-size: 16px;
}

.zabbix-cta-btn {
    background: linear-gradient(135deg, var(--zabbix-red) 0%, #e63946 100%) !important;
    border: none !important;
    box-shadow: 0 12px 30px rgba(var(--zabbix-red-rgb), 0.22);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.zabbix-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--zabbix-red-rgb), 0.35);
}

/* ---- Hero Visual (Right Side) ---- */
.zabbix-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
}

.zabbix-hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 252, 255, 0.9) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 26px 60px rgba(0, 27, 91, 0.12);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    animation: zabbix-card-float 8s ease-in-out infinite;
}

@keyframes zabbix-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.zabbix-hero-card-inner {
    position: relative;
    padding: 36px 32px 32px;
    text-align: center;
}

.zabbix-logo-group {
    margin-bottom: 24px;
}

.zabbix-brand-mark {
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid var(--zabbix-line);
    border-radius: 14px;
}

.zabbix-brand-mark svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 260px;
    margin: 0 auto;
}

.zabbix-spec-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 28px;
}

.zabbix-pill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    background: #ffffff;
    color: var(--zabbix-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    padding: 7px 12px;
    border-radius: 10px;
    border: 1px solid var(--zabbix-line);
    box-shadow: 0 8px 18px rgba(0, 27, 91, 0.04);
    text-align: center;
}

.zabbix-hero-icon-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.zabbix-mini-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: var(--zabbix-gray);
    min-height: 88px;
    justify-content: center;
    background: rgba(var(--zabbix-red-rgb), 0.035);
    border: 1px solid rgba(var(--zabbix-red-rgb), 0.08);
    border-radius: 12px;
}

.zabbix-mini-icon .mdi {
    font-size: 24px;
    color: var(--zabbix-red);
}

.zabbix-mini-icon small {
    font-size: 12px;
    font-weight: 600;
    color: var(--zabbix-dark);
}

/* Floating decor elements */
.zabbix-float {
    position: absolute;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 30px rgba(0, 27, 91, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 5s ease-in-out infinite;
}

.zabbix-float .mdi {
    font-size: 20px;
    color: var(--zabbix-red);
}

.zabbix-float-1 {
    width: 52px;
    height: 52px;
    top: 8%;
    left: 1%;
    animation-delay: 0s;
}

.zabbix-float-2 {
    width: 46px;
    height: 46px;
    top: 60%;
    right: 0%;
    animation-delay: 1.2s;
}

.zabbix-float-3 {
    display: none;
}

/* ---- Hero Wave ---- */
.zabbix-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
}

.zabbix-hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ---- Partner Note ---- */
.zabbix-partner-section {
    padding-top: 56px;
}

.zabbix-partner-note {
    max-width: 900px;
    margin: 0 auto;
    font-size: 15px;
    color: var(--zabbix-gray);
    line-height: 1.8;
    padding: 26px 32px;
    background: var(--zabbix-surface-soft);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--zabbix-shadow);
    text-align: left;
}

.zabbix-partner-note strong {
    color: var(--zabbix-dark);
}

.zabbix-partner-note .zabbix-section-label {
    margin: 0 4px;
    padding: 2px 8px;
    font-size: 12px;
    vertical-align: middle;
}

/* ---- Section Labels ---- */
.zabbix-section-label {
    display: inline-block;
    background: rgba(var(--zabbix-red-rgb), 0.07);
    color: var(--zabbix-red);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0;
    text-transform: none;
}

.zabbix-section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--zabbix-dark);
    margin-bottom: 0;
    letter-spacing: 0;
}

.zabbix-section-heading p,
.zabbix-section-intro {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.zabbix-twinstar-intro {
    margin-bottom: 40px;
}

.zabbix-integrations-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* ---- Value Cards ---- */
.zabbix-value-card {
    height: 100%;
    overflow: hidden;
    cursor: default;
    border-radius: 16px !important;
    border: 1px solid var(--zabbix-line) !important;
    box-shadow: var(--zabbix-shadow);
}

.zabbix-value-card:hover {
    border-color: rgba(var(--zabbix-red-rgb), 0.1) !important;
}

.zabbix-value-card .card-body {
    padding: 34px 32px 32px;
}

.zabbix-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.zabbix-value-icon .mdi {
    font-size: 26px;
}

.zabbix-icon-compliance {
    background: linear-gradient(135deg, rgba(212, 0, 0, 0.1), rgba(212, 0, 0, 0.05));
    color: var(--zabbix-red);
}

.zabbix-icon-efficiency {
    background: linear-gradient(135deg, rgba(12, 123, 224, 0.12), rgba(12, 123, 224, 0.05));
    color: var(--zabbix-blue);
}

.zabbix-icon-reliability {
    background: linear-gradient(135deg, rgba(43, 147, 124, 0.12), rgba(43, 147, 124, 0.05));
    color: var(--zabbix-green);
}

.zabbix-value-lead {
    font-size: 15px;
    font-weight: 500;
    color: var(--zabbix-dark);
    margin-bottom: 16px;
}

.zabbix-value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zabbix-value-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--zabbix-gray);
    line-height: 1.7;
}

.zabbix-value-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--zabbix-red), var(--zabbix-blue));
}

.zabbix-value-list li em {
    font-style: normal;
    color: var(--zabbix-red);
    font-weight: 600;
}

.zabbix-value-list li strong {
    color: var(--zabbix-dark);
}

/* ---- Advantage Cards ---- */
.zabbix-advantage-card {
    background: var(--zabbix-surface-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    padding: 34px 30px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--zabbix-shadow);
    cursor: default;
}

.zabbix-advantage-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--zabbix-red-rgb), 0.1);
}

.zabbix-advantage-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 38px;
    font-size: 18px;
    font-weight: 800;
    color: var(--zabbix-red);
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: 0;
    background: rgba(var(--zabbix-red-rgb), 0.08);
    border: 1px solid rgba(var(--zabbix-red-rgb), 0.14);
    border-radius: 999px;
}

.zabbix-advantage-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--zabbix-dark);
    line-height: 1.4;
    margin-bottom: 24px;
}

.zabbix-tech-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zabbix-tech-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: rgba(var(--zabbix-red-rgb), 0.02);
    border-radius: 12px;
    border: 0;
    border-left: 3px solid rgba(var(--zabbix-red-rgb), 0.2);
    transition: all 0.3s ease;
}

.zabbix-tech-item:hover {
    background: rgba(var(--zabbix-red-rgb), 0.04);
    border-left-color: var(--zabbix-red);
}

.zabbix-tech-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--zabbix-red);
    text-transform: none;
    letter-spacing: 0;
}

.zabbix-tech-value {
    font-size: 14px;
    color: var(--zabbix-gray);
    line-height: 1.6;
}

.zabbix-tech-value em {
    font-style: normal;
    color: var(--zabbix-red);
    font-weight: 600;
}

/* ---- Configuration Table ---- */
.zabbix-config-table-wrapper {
    background: var(--zabbix-surface-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    overflow: hidden;
    box-shadow: var(--zabbix-shadow);
}

.zabbix-config-table {
    margin-bottom: 0;
    min-width: 760px;
}

.zabbix-config-table thead th {
    background: linear-gradient(90deg, rgba(var(--zabbix-red-rgb), 0.06), rgba(12, 123, 224, 0.05));
    font-weight: 600;
    font-size: 15px;
    color: var(--zabbix-dark);
    border-bottom: 1px solid rgba(var(--zabbix-red-rgb), 0.12);
    padding: 16px 24px;
}

.zabbix-config-table tbody td {
    padding: 20px 24px;
    font-size: 14px;
    color: var(--zabbix-gray);
    vertical-align: top;
    border-color: rgba(var(--zabbix-dark-rgb), 0.06);
}

.zabbix-config-table tbody tr {
    transition: background 0.3s ease;
}

.zabbix-config-table tbody tr:hover {
    background: rgba(var(--zabbix-red-rgb), 0.015);
}

.zabbix-config-category {
    font-weight: 600 !important;
    color: var(--zabbix-dark) !important;
    font-size: 15px !important;
    white-space: nowrap;
    width: 180px;
}

.zabbix-config-category .mdi {
    color: var(--zabbix-red);
    margin-right: 6px;
    font-size: 18px;
}

.zabbix-config-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zabbix-config-list li {
    position: relative;
    padding: 4px 0 4px 18px;
    line-height: 1.7;
    color: var(--zabbix-gray);
}

.zabbix-config-list li::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(var(--zabbix-red-rgb), 0.58);
}

.zabbix-config-list li strong {
    color: var(--zabbix-dark);
}

/* ---- CTA Section ---- */
.zabbix-cta-card {
    background:
        linear-gradient(135deg, rgba(212, 0, 0, 0.22) 0%, rgba(212, 0, 0, 0) 36%),
        linear-gradient(135deg, var(--zabbix-dark) 0%, #1f2945 58%, #151b2d 100%);
    border-radius: 18px;
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(var(--zabbix-dark-rgb), 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.zabbix-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 72%);
    pointer-events: none;
}

.zabbix-cta-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.08) 100%);
    transform: skewX(-12deg) translateX(26%);
    pointer-events: none;
}

.zabbix-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.zabbix-cta-lead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.zabbix-cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.zabbix-cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.zabbix-cta-features > span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}

.zabbix-cta-features .mdi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--zabbix-red);
    font-size: 18px;
}

.zabbix-qr-placeholder {
    position: relative;
    z-index: 1;
}

.zabbix-qr-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 26px 22px;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.86);
}

.zabbix-qr-box:hover {
    transform: scale(1.05);
}

.zabbix-qr-img {
    border-radius: 8px;
}

.zabbix-qr-title {
    font-weight: 600;
    color: var(--zabbix-dark);
}

/* ---- Twin Star ---- */
.zabbix-twinstar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.zabbix-twinstar-item {
    text-align: center;
    min-width: 240px;
    padding: 28px 36px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 16px;
    box-shadow: var(--zabbix-shadow);
}

.zabbix-twinstar-icon {
    margin-bottom: 16px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.zabbix-twinstar-icon:hover {
    transform: scale(1.1);
}

.zabbix-twinstar-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--zabbix-dark);
    margin-bottom: 4px;
}

.zabbix-twinstar-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(var(--zabbix-red-rgb), 0.08);
    border: 1px solid rgba(var(--zabbix-red-rgb), 0.12);
    border-radius: 50%;
}

.zabbix-twinstar-plus .mdi {
    font-size: 30px;
    color: var(--zabbix-red);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .zabbix-hero {
        padding: 134px 0 62px;
    }

    .zabbix-hero-title {
        font-size: 38px;
    }

    .zabbix-hero-subtitle {
        font-size: 18px;
    }

    .zabbix-hero-desc {
        font-size: 15px;
    }

    .zabbix-section-title {
        font-size: 28px;
    }

    .zabbix-cta-card {
        padding: 40px 28px;
    }

    .zabbix-cta-title {
        font-size: 26px;
    }

    .zabbix-config-table-wrapper {
        overflow-x: auto;
    }

}

@media (min-width: 992px) and (max-width: 1360px) {
    .f2c-header-card .logo {
        margin-right: 42px;
    }

    #navigation .navbar-nav > li > a {
        padding: 0 12px;
    }
}

@media (max-width: 768px) {
    .zabbix-partner-section {
        padding-top: 44px;
    }

    .zabbix-partner-note {
        padding: 22px 22px;
    }

    .zabbix-hero-title {
        font-size: 32px;
    }

    .zabbix-section-title {
        font-size: 24px;
    }

    .zabbix-cta-card {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .zabbix-cta-features {
        gap: 10px;
    }

    .zabbix-cta-features > span {
        width: 100%;
        justify-content: flex-start;
    }

    .zabbix-twinstar {
        gap: 14px;
        flex-direction: column;
    }

    .zabbix-twinstar-item {
        width: 100%;
        min-width: 0;
        max-width: 360px;
    }

    .zabbix-twinstar-item h4 {
        font-size: 16px;
    }

    .zabbix-twinstar-item p {
        font-size: 12px;
    }

    .zabbix-twinstar-icon svg,
    .zabbix-twinstar-icon img {
        width: 36px;
        height: 36px;
    }

    .zabbix-twinstar-plus .mdi {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .zabbix-hero {
        padding: 124px 0 52px;
    }

    .zabbix-hero-actions .btn-lg {
        width: 100%;
    }

    .zabbix-config-table {
        min-width: 680px;
    }

}

/* ---- Reveal stagger: Hero elements animate in sequence ---- */
.zabbix-hero .slide-down .reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: zabbix-reveal-up 0.6s ease-out forwards;
}

.zabbix-hero .slide-down .reveal:nth-child(1) { animation-delay: 0.3s; }
.zabbix-hero .slide-down .reveal:nth-child(2) { animation-delay: 0.45s; }
.zabbix-hero .slide-down .reveal:nth-child(3) { animation-delay: 0.6s; }
.zabbix-hero .slide-down .reveal:nth-child(4) { animation-delay: 0.75s; }
.zabbix-hero .slide-down .reveal:nth-child(5) { animation-delay: 0.9s; }

@keyframes zabbix-reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Override reveal from IntersectionObserver for hero elements already animated */
.zabbix-hero .slide-down .reveal.active {
    transition: none;
}
