:root {
    --fx-primary: #1C4333;
    --fx-primary-dark: #103022;
    --fx-accent: #12B981;
    --fx-gradient1: #27523F;
    --fx-gradient2: #173A29;
    --fx-dark1: #09180E;
    --fx-dark2: #112818;
    --fx-text: #E2E8F0;
    --fx-text-muted: #94A3B8;
    --fx-bg: #0F172A;
    --fx-bg-alt: #1E293B;
    --fx-card: rgba(30, 41, 59, 0.6);
    --fx-border: rgba(148, 163, 184, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--fx-dark1);
    color: var(--fx-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--fx-accent); text-decoration: none; transition: all .25s; }
a:hover { color: var(--fx-primary); }

/* Header */
.fx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fx-border);
}

.fx-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.fx-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.fx-logo { width: 36px; height: 36px; border-radius: 8px; }

.fx-brand-text {
    background: linear-gradient(135deg, var(--fx-accent), var(--fx-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fx-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.fx-nav-list a {
    color: var(--fx-text);
    font-size: 0.95rem;
    transition: color .25s;
}

.fx-nav-list a:hover { color: var(--fx-accent); }

.fx-nav-cta {
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent));
    color: #fff !important;
    border-radius: 24px;
    font-weight: 600;
}

.fx-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--fx-border);
    color: var(--fx-text);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .fx-nav-list { display: none; }
    .fx-nav-toggle { display: block; }
    .fx-nav-list.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--fx-dark1);
        padding: 20px;
        gap: 16px;
    }
}

/* Hero */
.fx-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
}

.fx-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.fx-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.fx-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, var(--fx-dark1) 0%, var(--fx-dark2) 50%, var(--fx-primary-dark) 100%);
    opacity: 0.85;
}

.fx-hero-bg .fx-watermark {
    z-index: 3;
}

.fx-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.fx-hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--fx-accent);
    border-radius: 24px;
    color: var(--fx-accent);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.fx-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
}

.fx-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--fx-accent), var(--fx-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fx-hero-sub {
    font-size: 1.1rem;
    color: var(--fx-text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.fx-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.fx-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all .25s;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.fx-btn-primary {
    background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent));
    color: #fff;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.fx-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
    color: #fff;
}

.fx-btn-outline {
    background: transparent;
    color: #fff;
    border-color: var(--fx-accent);
}

.fx-btn-outline:hover {
    background: var(--fx-accent);
    color: var(--fx-dark1);
}

.fx-btn-light {
    background: #fff;
    color: var(--fx-primary-dark);
}

.fx-hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    color: var(--fx-text-muted);
    font-size: 0.95rem;
}

.fx-hero-stats span i {
    color: var(--fx-accent);
    margin-right: 6px;
}

/* Section Common */
.fx-section {
    padding: 80px 0;
    background: var(--fx-dark1);
}

.fx-section-alt {
    background: var(--fx-bg-alt);
}

.fx-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}

.fx-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--fx-accent), var(--fx-primary));
    margin-top: 16px;
    border-radius: 2px;
}

.fx-section-title-light {
    color: #fff;
}

.fx-section-sub {
    font-size: 1.05rem;
    color: var(--fx-text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.fx-section-sub-light {
    color: rgba(255, 255, 255, 0.85);
}

/* About */
.fx-about-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.fx-about-img img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.fx-about-card {
    background: var(--fx-card);
    border: 1px solid var(--fx-border);
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    transition: all .3s;
    backdrop-filter: blur(8px);
}

.fx-about-card:hover {
    transform: translateY(-6px);
    border-color: var(--fx-accent);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.2);
}

.fx-about-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent));
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.fx-about-card h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.fx-about-card p {
    color: var(--fx-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Stats */
.fx-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--fx-primary-dark), var(--fx-dark2));
    position: relative;
    overflow: hidden;
}

.fx-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, var(--fx-accent) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, var(--fx-primary) 0%, transparent 50%);
    opacity: 0.15;
}

.fx-stats > .container {
    position: relative;
    z-index: 1;
}

.fx-stat-item {
    text-align: center;
    padding: 32px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: all .3s;
}

.fx-stat-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--fx-accent);
}

.fx-stat-num {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--fx-accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.fx-stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
}

/* Security */
.fx-security-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.fx-security-img img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.fx-security-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fx-security-item {
    display: flex;
    gap: 20px;
    background: var(--fx-card);
    border: 1px solid var(--fx-border);
    border-radius: 14px;
    padding: 20px;
    transition: all .3s;
    backdrop-filter: blur(8px);
}

.fx-security-item:hover {
    border-color: var(--fx-accent);
    transform: translateX(4px);
}

.fx-security-num {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--fx-accent), var(--fx-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 48px;
}

.fx-security-body h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.fx-security-body p {
    color: var(--fx-text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

/* Update */
.fx-update-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fx-update-item {
    background: var(--fx-card);
    border: 1px solid var(--fx-border);
    border-left: 4px solid var(--fx-accent);
    border-radius: 12px;
    padding: 24px 28px;
    transition: all .3s;
    backdrop-filter: blur(8px);
}

.fx-update-item:hover {
    transform: translateX(6px);
    background: rgba(30, 41, 59, 0.8);
}

.fx-update-item h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.fx-update-item p {
    color: var(--fx-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Mission */
.fx-mission {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--fx-primary-dark), var(--fx-dark1));
    color: #fff;
    position: relative;
    overflow: hidden;
}

.fx-mission::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--fx-accent) 0%, transparent 60%);
    opacity: 0.15;
}

.fx-mission-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.fx-mission-img img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.fx-mission-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.fx-mission-point {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    font-size: 1rem;
}

.fx-mission-point i {
    color: var(--fx-accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* News */
.fx-news-card {
    display: block;
    background: var(--fx-card);
    border: 1px solid var(--fx-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s;
    backdrop-filter: blur(8px);
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.fx-news-card:hover {
    transform: translateY(-6px);
    border-color: var(--fx-accent);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.25);
    color: inherit;
}

.fx-news-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--fx-bg-alt);
}

.fx-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.fx-news-card:hover .fx-news-img img {
    transform: scale(1.08);
}

/* 图片动态水印（覆盖原图上的 flexobpm.com 域名，改为当前站点域名） */
.fx-hero-bg,
.fx-about-img,
.fx-security-img,
.fx-mission-img,
.fx-news-img {
    position: relative;
    overflow: hidden;
}

.fx-watermark {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-size: clamp(0.85rem, 1.4vw, 1.1rem);
    font-weight: 500;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
    pointer-events: none;
    overflow: hidden;
}

.fx-watermark i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent));
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.fx-watermark span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* hero - 顶部左侧 (762x508) 水印占: 3.5% top, 14.6% h, 2.0% left, 76.1% w */
.fx-wm-hero {
    top: 3.5%;
    left: 2%;
    width: 76.1%;
    height: 14.6%;
}

/* about - 底部左侧 (682x453) 水印占: 80.6% top, 15.5% h, 2.2% left, 80.6% w */
.fx-wm-about {
    top: 80.6%;
    left: 2.2%;
    width: 80.6%;
    height: 15.5%;
}

/* security - 底部左侧 (655x436) 水印占: 79.1% top, 16.1% h, 2.7% left, 85.8% w */
.fx-wm-security {
    top: 79.1%;
    left: 2.7%;
    width: 85.8%;
    height: 16.1%;
}

/* mission - 顶部中间 (768x512) 水印占: 2.0% top, 13.7% h, 26.0% left, 74.0% w */
.fx-wm-mission {
    top: 2%;
    left: 26%;
    width: 74%;
    height: 13.7%;
}

/* footer - 底部左侧 (720x480) 水印占: 82.9% top, 13.3% h, 2.1% left, 79.2% w */
.fx-wm-footer {
    top: 82.9%;
    left: 2.1%;
    width: 79.2%;
    height: 13.3%;
}

/* 新闻图水印（缩略图：about/news-2/6 类同款，3:2比例缩略） */
.fx-wm-news {
    top: 80.6%;
    left: 2.2%;
    width: 80.6%;
    height: 15.5%;
    padding: 0 10px;
    gap: 6px;
    border-radius: 6px;
    font-size: clamp(0.55rem, 1.1vw, 0.75rem);
}

.fx-wm-news i {
    width: 16px;
    height: 16px;
    font-size: 0.55rem;
    border-radius: 4px;
}

@media (max-width: 576px) {
    .fx-watermark {
        font-size: 0.7rem;
        gap: 6px;
        padding: 0 12px;
        border-radius: 8px;
    }
    .fx-watermark i {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
        border-radius: 5px;
    }
}

.fx-news-body {
    padding: 20px 22px 22px;
}

.fx-news-tag {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--fx-accent);
    border-radius: 12px;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.fx-news-body h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fx-news-date {
    color: var(--fx-text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* CTA */
.fx-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--fx-primary), var(--fx-primary-dark));
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.fx-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, var(--fx-accent) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, var(--fx-primary) 0%, transparent 50%);
    opacity: 0.2;
}

.fx-cta > .container {
    position: relative;
    z-index: 1;
}

.fx-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.fx-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

/* Footer */
.fx-footer {
    background: var(--fx-dark2);
    padding: 60px 0 20px;
    color: var(--fx-text-muted);
    border-top: 1px solid var(--fx-border);
}

.fx-footer-brand {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--fx-accent), var(--fx-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fx-footer h5 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.fx-footer-links,
.fx-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fx-footer-links li,
.fx-footer-contact li {
    margin-bottom: 10px;
    color: var(--fx-text-muted);
}

.fx-footer-links a {
    color: var(--fx-text-muted);
    transition: color .25s;
}

.fx-footer-links a:hover {
    color: var(--fx-accent);
    padding-left: 4px;
}

.fx-footer-contact li i {
    color: var(--fx-accent);
    width: 20px;
}

.fx-footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--fx-border);
    text-align: center;
    color: var(--fx-text-muted);
    font-size: 0.9rem;
}
