/* ============================================
   Xlinkcam Website v2 - Premium Design
   Inspired by Willfine industrial aesthetic
   ============================================ */

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* ===== Light Theme (default) ===== */
    --c-bg: #f7f9f8;
    --c-bg-rgb: 247, 249, 248;
    --c-surface: #ffffff;
    --c-surface-rgb: 255, 255, 255;
    --c-surface-2: #eef3f0;
    --c-surface-3: #e3ebe6;
    --c-border: #d4ddd7;
    --c-border-light: #c5d1c9;
    --c-border-soft: rgba(27, 67, 50, 0.08);

    /* Brand Colors - Nature-inspired forest green */
    --c-primary: #1b4332;
    --c-accent: #2d6a4f;
    --c-accent-bright: #40916c;
    --c-accent-dim: rgba(45, 106, 79, 0.12);
    --c-green: #40916c;
    --c-green-glow: rgba(64, 145, 108, 0.18);

    /* Text - High contrast for readability */
    --c-text: #1a2e25;
    --c-text-dim: #4f6b5e;
    --c-text-soft: #3a574a;
    --c-text-muted: #7d8f85;
    --c-text-dark: #0d1f17;
    --c-white: #ffffff;

    /* Layout */
    --max-w: 1280px;
    --radius: 10px;
    --radius-lg: 18px;
    --radius-sm: 6px;

    /* Shadows - softer for light theme */
    --sh-sm: 0 2px 12px rgba(13, 31, 23, 0.06);
    --sh-md: 0 8px 32px rgba(13, 31, 23, 0.1);
    --sh-lg: 0 20px 60px rgba(13, 31, 23, 0.12);
    --sh-glow: 0 0 40px rgba(45, 106, 79, 0.12);

    /* Transitions */
    --t: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: all 0.15s ease;
}

/* ===== Dark Theme ===== */
[data-theme="dark"] {
    --c-bg: #0f1512;
    --c-bg-rgb: 15, 21, 18;
    --c-surface: #1a221e;
    --c-surface-rgb: 26, 34, 30;
    --c-surface-2: #242e28;
    --c-surface-3: #2e3a32;
    --c-border: #3a4a40;
    --c-border-light: #4a5e52;
    --c-border-soft: rgba(116, 198, 157, 0.08);

    --c-primary: #74c69d;
    --c-accent: #74c69d;
    --c-accent-bright: #95d5b2;
    --c-accent-dim: rgba(116, 198, 157, 0.15);
    --c-green: #52b788;
    --c-green-glow: rgba(82, 183, 136, 0.22);

    --c-text: #e8f0ec;
    --c-text-dim: #a8b8ae;
    --c-text-soft: #c4d2ca;
    --c-text-muted: #6e7f75;
    --c-text-dark: #0d1f17;

    --sh-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
    --sh-md: 0 8px 32px rgba(0, 0, 0, 0.45);
    --sh-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
    --sh-glow: 0 0 40px rgba(82, 183, 136, 0.18);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --c-bg: #0f1512;
        --c-bg-rgb: 15, 21, 18;
        --c-surface: #1a221e;
        --c-surface-rgb: 26, 34, 30;
        --c-surface-2: #242e28;
        --c-surface-3: #2e3a32;
        --c-border: #3a4a40;
        --c-border-light: #4a5e52;
        --c-border-soft: rgba(116, 198, 157, 0.08);

        --c-primary: #74c69d;
        --c-accent: #74c69d;
        --c-accent-bright: #95d5b2;
        --c-accent-dim: rgba(116, 198, 157, 0.15);
        --c-green: #52b788;
        --c-green-glow: rgba(82, 183, 136, 0.22);

        --c-text: #e8f0ec;
        --c-text-dim: #a8b8ae;
        --c-text-soft: #c4d2ca;
        --c-text-muted: #6e7f75;
        --c-text-dark: #0d1f17;

        --sh-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
        --sh-md: 0 8px 32px rgba(0, 0, 0, 0.45);
        --sh-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
        --sh-glow: 0 0 40px rgba(82, 183, 136, 0.18);
    }
}

html { scroll-behavior: smooth; font-size: 16px; }

body, .navbar, .hero-card, .btn, .section, .footer, input, textarea, select {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; transition: var(--t-fast); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== Container ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 28px; }

/* ===== Sections ===== */
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 64px 0; }

.section-dark { background: var(--c-surface); }
.section-darker { background: var(--c-bg); }
.section-surface2 { background: var(--c-surface-2); }

/* ===== Section Header ===== */
.sec-header { max-width: 720px; margin: 0 auto 56px; }
.sec-header-center { text-align: center; }
.sec-header-left { margin-left: 0; margin-right: auto; }

.sec-header .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 16px;
}

.sec-header .eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--c-accent);
}

.sec-header-center .eyebrow::before { display: none; }

.sec-header h2 {
    font-size: clamp(1.7rem, 3.8vw, 2.8rem);
    margin-bottom: 16px;
    color: var(--c-text);
}

.sec-header p {
    font-size: 1.05rem;
    color: var(--c-text-dim);
    line-height: 1.75;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--t);
    font-family: inherit;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn-accent {
    background: var(--c-accent);
    color: var(--c-bg);
}
.btn-accent:hover {
    background: var(--c-accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--c-accent-dim);
}

.btn-outline {
    background: transparent;
    color: var(--c-text);
    border: 1px solid var(--c-border-light);
}
.btn-outline:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: var(--c-accent-dim);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 68px;
    display: flex;
    align-items: center;
    background: transparent;
    transition: var(--t);
}

.navbar.scrolled {
    background: rgba(var(--c-surface-rgb), 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--c-text);
}

.nav-logo .logo-icon {
    width: 34px; height: 34px;
    background: var(--c-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--c-bg);
}

.nav-logo .logo-text span { color: var(--c-accent); }

.nav-logo .logo-img {
    height: 34px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border-radius: 8px;
    display: block;
}

.nav-menu { display: flex; align-items: center; gap: 4px; }

.nav-menu a {
    color: var(--c-text-dim);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-menu a:hover { color: var(--c-text); }
.nav-menu a.active { color: var(--c-accent); }

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px; right: 16px;
    height: 2px;
    background: var(--c-accent);
    border-radius: 1px;
}

.nav-cta { margin-left: 12px; }
.nav-menu a.nav-cta,
.nav-menu a.nav-cta:visited {
    background: var(--c-accent);
    color: var(--c-bg);
    border: none;
}
.nav-menu a.nav-cta:hover {
    background: var(--c-accent-bright);
    color: var(--c-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--c-accent-dim);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--c-text);
    border-radius: 1px;
    transition: var(--t);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--c-border);
    border-radius: 50%;
    background: var(--c-surface);
    color: var(--c-text-dim);
    cursor: pointer;
    transition: var(--t);
}

.theme-toggle:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    transform: rotate(12deg);
}

/* ===== Page Header (inner pages) ===== */
/* ===== Page Header ===== */
.page-header {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: 140px 0 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 100% at center top, var(--c-accent-dim), transparent);
}

.page-header .container { position: relative; z-index: 2; }

.page-header h1 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    margin-bottom: 14px;
    color: var(--c-text);
}

.page-header p {
    font-size: 1.05rem;
    color: var(--c-text-dim);
    max-width: 580px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

.breadcrumb a { color: var(--c-text-dim); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span { color: var(--c-text-muted); }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 68px;
    background: var(--c-bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 70% 30%, var(--c-green-glow) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 70%, var(--c-accent-dim) 0%, transparent 50%),
        linear-gradient(180deg, var(--c-bg) 0%, var(--c-surface-2) 100%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(var(--c-border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--c-border-light) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at center, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, black, transparent);
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-accent-dim);
    border: 1px solid var(--c-border-light);
    color: var(--c-accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--c-text);
}
.hero h1 .h1-line1 {
    display: block;
}
.hero h1 .h1-line2 {
    display: block;
    color: var(--c-accent);
}
.hero h1 .h1-line3 {
    display: block;
    font-size: clamp(1.15rem, 2.2vw, 1.7rem);
    line-height: 1.3;
    font-weight: 500;
    color: var(--c-text-soft);
    margin-top: 14px;
    letter-spacing: 0.005em;
    position: relative;
    padding-left: 30px;
}
.hero h1 .h1-line3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 22px;
    height: 3px;
    background: var(--c-accent);
    border-radius: 2px;
}

.hero h1 .highlight { color: var(--c-accent); }

.hero .hero-sub {
    font-size: 1.12rem;
    color: var(--c-text-dim);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual card */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--c-green-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.hero-card {
    position: relative;
    background: linear-gradient(145deg, var(--c-surface), var(--c-surface-2));
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--sh-lg);
}
.hero-card img {
    width: 100%;
    max-width: 400px;
    box-shadow: var(--sh-md);
}

.hero-card-label {
    font-size: 0.75rem;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card-label::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--c-green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--c-green);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
}

.hero-stat .stat-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--c-accent);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat .stat-lbl {
    font-size: 0.82rem;
    color: var(--c-text-dim);
}

/* ===== Stats Bar ===== */
.stats-bar {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: 56px 0;
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-block {
    text-align: center;
    position: relative;
}

.stat-block:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: var(--c-border);
}

.stat-block .stat-num {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--c-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-block .stat-desc {
    font-size: 0.82rem;
    color: var(--c-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== Product Showcase ===== */
.products-section { background: var(--c-bg); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.products-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 72px 24px;
    background: var(--c-surface-2);
    border: 1px dashed var(--c-border);
    border-radius: var(--radius-lg);
}

.products-empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.products-empty h3 {
    margin-bottom: 12px;
    color: var(--c-text);
}

.products-empty p {
    color: var(--c-text-dim);
    max-width: 480px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.product-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--t);
    position: relative;
}

.product-card:hover {
    border-color: var(--c-border-light);
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
    opacity: 0;
    transition: var(--t);
}

.product-card:hover::before { opacity: 1; }

.product-img {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--c-surface-2), var(--c-surface-3));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img .ph-icon {
    font-size: 3.5rem;
    color: var(--c-text-muted);
    opacity: 0.4;
}

.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* ----- Protocol category cards (home Featured Products top row) ----- */
.protocol-grid {
    grid-template-columns: repeat(3, 1fr);
}
.protocol-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    padding: 22px 22px 18px;
    gap: 14px;
    min-height: 220px;
}
.protocol-card .protocol-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.protocol-card .protocol-head-l {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.protocol-card .protocol-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: var(--c-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}
.protocol-card .protocol-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-text);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.protocol-card .protocol-meta {
    font-size: 0.78rem;
    color: var(--c-text-soft);
    background: #f1efe8;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.protocol-card .protocol-desc {
    margin: 0;
    color: var(--c-text-soft);
    line-height: 1.6;
    font-size: 0.92rem;
    flex: 1;
}
.protocol-card .protocol-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid #ece9e0;
    gap: 8px;
}
.protocol-card .protocol-cta {
    color: var(--c-accent);
    font-weight: 600;
    font-size: 0.88rem;
}
.protocol-card .protocol-tech-link {
    color: var(--c-text-soft);
    font-size: 0.82rem;
}
.protocol-card .protocol-tech-link:hover {
    color: var(--c-accent);
}
.protocol-cta-card {
    background: linear-gradient(135deg, var(--c-accent) 0%, #053b2a 100%);
    color: #fff;
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 200px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.protocol-cta-card > .protocol-cta-title + .protocol-cta-desc {
    margin-top: 4px;
}
.protocol-cta-card > .protocol-cta-desc + .protocol-cta-btn {
    margin-top: 18px;
}
.protocol-cta-title {
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #fff;
}
.protocol-cta-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    flex: 1;
}
.protocol-cta-btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 18px;
    padding: 9px 18px;
    background: #fff;
    color: var(--c-accent);
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.protocol-cta-card:hover .protocol-cta-btn {
    transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.protocol-tech-light {
    color: rgba(255, 255, 255, 0.75) !important;
}
@media (max-width: 1100px) {
    .protocol-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .protocol-grid { grid-template-columns: 1fr; }
}

.product-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--c-accent);
    color: var(--c-bg);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* When the protocol chip lives inside .product-img (top-right corner) */
.product-img .protocol-chip {
    position: absolute;
    top: 14px; right: 14px;
    margin-bottom: 0;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--c-accent);
    border: 1px solid var(--c-accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
    z-index: 2;
}
.product-img .protocol-chip-dot { display: none; }

.product-body { padding: 24px; }

.product-cat {
    font-size: 0.75rem;
    color: var(--c-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.18rem;
    margin-bottom: 14px;
    color: var(--c-text);
}

.product-model {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--c-text-dim);
    background: var(--c-bg-soft, #f3f6f4);
    border: 1px solid var(--c-border-light, #e3e9e5);
    border-radius: 6px;
    padding: 3px 9px;
    margin-bottom: 12px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.product-features {
    margin-bottom: 20px;
    min-height: 80px;
}

.product-features li {
    font-size: 0.88rem;
    color: var(--c-text-dim);
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 7px;
    width: 6px; height: 6px;
    background: var(--c-accent);
    border-radius: 50%;
    opacity: 0.6;
}

/* Protocol chip — single primary connectivity badge shown on product cards */
.protocol-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--c-accent);
    background: rgba(46, 125, 50, 0.06);
    margin-bottom: 18px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--c-accent);
    line-height: 1;
}

.protocol-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-accent);
    flex-shrink: 0;
}

.protocol-chip-label { white-space: nowrap; }

.product-actions { display: flex; gap: 10px; }

/* ===== Services / Advantages ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--t);
    text-align: left;
}

.service-card:hover {
    border-color: var(--c-border-light);
    background: var(--c-surface-3);
    transform: translateY(-3px);
}

.service-icon {
    width: 52px; height: 52px;
    background: var(--c-accent-dim);
    border: 1px solid var(--c-border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--c-accent);
}

.service-stat {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--c-accent);
    letter-spacing: -0.01em;
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.service-stat .stat-plus { color: var(--c-accent); font-size: 1.6rem; }
.service-stat .stat-tag {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text-dim);
    margin-left: 2px;
}
.service-stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-text-dim);
    margin-top: 8px;
    margin-bottom: 18px;
    font-weight: 600;
}

.service-card h3 {
    font-size: 1.12rem;
    margin-bottom: 10px;
    color: var(--c-text);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--c-text-dim);
    line-height: 1.7;
}

/* ===== Process Steps ===== */
.process-wrap { position: relative; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, var(--c-border-light), var(--c-border-light) 40%, transparent);
    z-index: 1;
}

.process-num {
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--c-accent);
    position: relative;
    z-index: 2;
}

.process-step h4 {
    font-size: 1.08rem;
    margin-bottom: 10px;
    color: var(--c-text);
}

.process-step p {
    font-size: 0.88rem;
    color: var(--c-text-dim);
    line-height: 1.7;
}

/* ===== About Preview ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    aspect-ratio: 5 / 4;
    background: linear-gradient(135deg, var(--c-surface-2), var(--c-surface-3));
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual .ph {
    text-align: center;
    color: var(--c-text-muted);
}

.about-visual .ph .icon { font-size: 4rem; margin-bottom: 12px; }

.about-visual .about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 20px;
    color: var(--c-text);
}

.about-content p {
    color: var(--c-text-dim);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 0.98rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0 32px;
}

.about-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--c-text);
}

.about-feat .check {
    width: 22px; height: 22px;
    background: var(--c-accent-dim);
    border: 1px solid var(--c-border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--c-accent);
    flex-shrink: 0;
}

/* ===== Applications ===== */
.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.app-card {
    background: linear-gradient(135deg, var(--c-surface-2), var(--c-surface-3));
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--t);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.app-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--c-surface-2);
}

.app-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.app-card:hover .app-photo img {
    transform: scale(1.06);
}

.app-body {
    padding: 16px 18px 20px;
    text-align: center;
}

.app-body h4 { font-size: 1.05rem; margin-bottom: 6px; }
.app-body p { font-size: 0.82rem; color: var(--c-text-dim); margin: 0; }

/* ===== Blog Cards ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--t);
}

.blog-card:hover {
    border-color: var(--c-border-light);
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.blog-img {
    aspect-ratio: 16 / 9;
    background: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    font-size: 2.5rem;
}

.blog-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-date {
    position: absolute;
    bottom: 12px; left: 12px;
    background: var(--c-accent);
    color: var(--c-bg);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
}

.blog-body { padding: 22px; }

.blog-cat {
    font-size: 0.72rem;
    color: var(--c-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 1.08rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--c-text);
}

.blog-excerpt {
    font-size: 0.88rem;
    color: var(--c-text-dim);
    line-height: 1.65;
    margin-bottom: 14px;
}

.blog-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--c-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--t-fast);
}

.blog-link:hover { gap: 10px; }


/* ===== News Detail Page ===== */
.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.news-article {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    color: var(--c-text);
}

.news-article-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--c-border-soft);
}

.news-cat-badge {
    display: inline-block;
    background: var(--c-accent-dim);
    color: var(--c-accent);
    border: 1px solid var(--c-border-light);
    border-radius: var(--radius-sm);
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.news-article-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    line-height: 1.2;
    margin: 0 0 14px;
    color: var(--c-text);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--c-text-muted);
    font-size: 0.88rem;
}

.news-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.news-meta-divider { color: var(--c-text-muted); opacity: 0.5; }

.news-featured-img {
    margin: 0 0 28px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-surface-2);
    aspect-ratio: 16 / 9;
}

.news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-excerpt {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--c-text);
    background: var(--c-surface-2);
    border-left: 3px solid var(--c-accent);
    padding: 18px 22px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 0 0 28px;
    font-style: italic;
}

.news-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--c-text);
}

.news-content p { margin: 0 0 18px; }
.news-content h2, .news-content h3 { color: var(--c-text); margin: 28px 0 14px; }
.news-content h2 { font-size: 1.5rem; }
.news-content h3 { font-size: 1.2rem; }
.news-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 16px 0; }
.news-content ul, .news-content ol { padding-left: 24px; margin: 0 0 18px; }
.news-content li { margin-bottom: 6px; }
.news-content a { color: var(--c-accent); }
.news-content blockquote {
    border-left: 3px solid var(--c-accent);
    background: var(--c-surface-2);
    padding: 14px 18px;
    margin: 18px 0;
    color: var(--c-text-dim);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.news-share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border-soft);
}

.news-share-label {
    font-weight: 600;
    color: var(--c-text);
    margin-right: 4px;
}

.news-sidebar { display: flex; flex-direction: column; gap: 24px; }

.news-sidebar-block {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.news-sidebar-title {
    font-size: 1rem;
    color: var(--c-text);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border-soft);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.news-sidebar-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--c-border-soft);
    text-decoration: none;
    color: var(--c-text);
    transition: var(--t-fast);
}
.news-sidebar-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-sidebar-item:hover { color: var(--c-accent); }

.news-sidebar-item h4 {
    font-size: 0.95rem;
    margin: 4px 0;
    line-height: 1.45;
    font-weight: 600;
}

.news-sidebar-cat {
    font-size: 0.7rem;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.news-sidebar-date {
    font-size: 0.78rem;
    color: var(--c-text-muted);
}

.news-sidebar-cta {
    background: linear-gradient(135deg, var(--c-accent-dim), var(--c-surface-2));
    border: 1px solid var(--c-border-light);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    text-align: center;
}
.news-sidebar-cta h3 { font-size: 1.1rem; margin: 0 0 8px; color: var(--c-text); }
.news-sidebar-cta p { font-size: 0.9rem; color: var(--c-text-dim); margin: 0 0 18px; line-height: 1.6; }
.news-sidebar-cta .btn { display: inline-block; margin-bottom: 10px; }
.news-sidebar-cta-actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.news-sidebar-cta-actions .btn { margin-bottom: 0; }
.news-sidebar-cta-actions .news-sidebar-link { margin-top: 0; }

.news-sidebar-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--c-accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: 4px;
}
.news-sidebar-link:hover { color: var(--c-primary); }

@media (max-width: 900px) {
    .news-detail-layout { grid-template-columns: 1fr; gap: 32px; }
    .news-article { padding: 24px 20px; }
}

/* ===== Certifications ===== */
.cert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.cert-badge {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 18px 28px;
    text-align: center;
    min-width: 130px;
    transition: var(--t);
}

.cert-badge:hover {
    border-color: var(--c-accent);
    background: var(--c-surface-2);
}

.cert-badge .cert-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--c-accent);
    margin-bottom: 4px;
}

.cert-badge .cert-desc {
    font-size: 0.72rem;
    color: var(--c-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== Timeline ===== */
.timeline {
    max-width: 760px;
    margin: 0 auto;
    padding-left: 36px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--c-accent), var(--c-border));
}

.tl-item { position: relative; padding-bottom: 36px; }

.tl-item::before {
    content: '';
    position: absolute;
    left: -32px; top: 4px;
    width: 12px; height: 12px;
    background: var(--c-accent);
    border-radius: 50%;
    border: 2px solid var(--c-bg);
}

.tl-year {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--c-accent);
    margin-bottom: 6px;
}

.tl-item h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--c-text); }
.tl-item p { color: var(--c-text-dim); font-size: 0.92rem; line-height: 1.7; }

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at center, var(--c-accent-dim), transparent);
}

.cta-section .container { position: relative; z-index: 2; }

.cta-section h2 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    margin-bottom: 14px;
    color: #ffffff;
}

.cta-section p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    margin: 0 auto 32px;
}

/* CTA 按钮：白底深绿字，与深绿底色强对比（不受主题 accent 影响） */
.cta-section .btn-accent {
    background: #ffffff;
    color: #1b4332;
    border-color: #ffffff;
}
.cta-section .btn-accent:hover {
    background: #eef3f0;
    color: #1b4332;
    border-color: #eef3f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}


/* ===== Footer ===== */
.footer {
    background: var(--c-bg);
    border-top: 1px solid var(--c-border);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand p {
    font-size: 0.92rem;
    color: var(--c-text-soft);
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-text);
    margin: 14px 0 10px;
    letter-spacing: 0.2px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 36px; height: 36px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--c-text-dim);
}

.footer-social a:hover {
    background: var(--c-accent);
    color: var(--c-bg);
    border-color: var(--c-accent);
}

.footer-col h4 {
    color: var(--c-text);
    font-size: 0.95rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.92rem; color: var(--c-text-soft); }
.footer-col ul li a:hover { color: var(--c-accent); }

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--c-text-soft);
}

.footer-contact-item .icon { color: var(--c-accent); flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid var(--c-border);
    padding: 20px 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--c-text-soft);
}


/* ============================================================
   RESTORED FROM 2026-07-28 SNAPSHOT (merged 2026-07-30)
   The following sections were missing from the current build.
   Kept current Page Header / Footer / News Detail Page as-is.
   ============================================================ */


/* ===== Contact Form (restored) ===== */
/* ===== Contact Form ===== */
.inquiry-form {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: var(--sh-sm);
}

.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--c-text);
}

.form-group label .req { color: #e85d5d; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--c-border-light);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--c-surface-2);
    color: var(--c-text);
    transition: var(--t-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-accent);
    background: var(--c-surface-3);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
    background: var(--c-accent-dim);
    border: 1px solid var(--c-border-light);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 18px;
    color: var(--c-accent);
    font-size: 0.92rem;
}


/* ===== Product Filter (restored) ===== */
/* ===== Product Filter ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 9px 22px;
    border: 1px solid var(--c-border-light);
    background: var(--c-surface);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--t-fast);
    color: var(--c-text-dim);
    font-family: inherit;
}

.filter-btn:hover { border-color: var(--c-accent); color: var(--c-text); }
.filter-btn.active {
    background: var(--c-accent);
    color: var(--c-bg);
    border-color: var(--c-accent);
}

.conn-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}
.conn-filter-bar .filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text-dim);
    margin-right: 4px;
}
.conn-filter-bar .filter-clear {
    font-size: 0.82rem;
    color: var(--c-accent);
    text-decoration: none;
    margin-left: 4px;
}
.conn-filter-bar .filter-clear:hover { text-decoration: underline; }

.connectivity-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 4px;
}
.conn-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(45, 106, 79, 0.10);
    color: var(--c-accent);
    border: 1px solid rgba(45, 106, 79, 0.25);
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px 18px;
    margin-top: 6px;
}
.check-grid .form-check { margin: 0; }


/* ===== Animations (restored) ===== */
/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }


/* ===== Responsive (main) (restored) ===== */
/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .app-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 68px; left: 0; right: 0;
        background: var(--c-bg);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--c-border);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a {
        display: block;
        padding: 14px 16px;
        border-bottom: 1px solid var(--c-border);
    }
    .nav-menu a.active::after { display: none; }
    .nav-cta { margin: 12px 0 0; width: 100%; text-align: center; }
    .nav-toggle { display: flex; }
    
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-badge, .hero .hero-sub, .hero-actions { justify-content: center; }
    
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .stat-block::after { display: none; }
    
    .products-grid,
    .services-grid,
    .blog-grid { grid-template-columns: 1fr; }
    
    .app-grid { grid-template-columns: 1fr 1fr; }
    
    .about-grid { grid-template-columns: 1fr; }
    
    .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
    .process-step::after { display: none; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; }
    
    .inquiry-form { padding: 24px; }
    
    .section { padding: 64px 0; }
}

@media (max-width: 480px) {
    .stats-bar .container { grid-template-columns: 1fr; }
    .app-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}


/* ===== Product Detail Page (restored) ===== */
/* ============================================
   Product Detail Page
   ============================================ */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Gallery */
.pd-gallery { position: relative; }

.pd-main-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--c-surface-2), var(--c-surface-3));
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.pd-main-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.pd-placeholder {
    text-align: center;
    color: var(--c-text-muted);
}

.pd-placeholder .ph-icon {
    font-size: 5rem;
    opacity: 0.35;
    margin-bottom: 12px;
}

.pd-placeholder p {
    font-size: 0.85rem;
    opacity: 0.6;
}

.pd-tag {
    top: 16px; left: 16px;
    z-index: 3;
}

/* Info Panel */
.pd-info { padding-top: 8px; }

.pd-cat {
    font-size: 0.78rem;
    color: var(--c-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.pd-title {
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--c-text);
}

.pd-model {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.pd-model-label {
    color: var(--c-text-muted);
    font-weight: 500;
}

.pd-model-value {
    background: var(--c-accent-dim);
    border: 1px solid var(--c-border-light);
    color: var(--c-accent);
    padding: 3px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 0.88rem;
}

.pd-shortdesc {
    font-size: 1.05rem;
    color: var(--c-text-dim);
    line-height: 1.7;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--c-border);
}

/* Features */
.pd-features { margin-bottom: 32px; }

.pd-features h3 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: var(--c-text);
}

.pd-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.pd-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--c-text-dim);
    line-height: 1.5;
}

.pd-feature-list .check {
    width: 18px; height: 18px;
    background: var(--c-accent-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--c-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA Actions */
.pd-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pd-back-link {
    display: block;
    text-align: right;
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--c-text-dim);
    text-decoration: none;
    transition: var(--t);
}

.pd-back-link:hover { color: var(--c-accent); }

/* Content Grid: Description + Specs */
.pd-content-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
}

.pd-section-title {
    font-size: 1.35rem;
    margin-bottom: 20px;
    color: var(--c-text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-accent);
    display: inline-block;
}

.pd-description {
    font-size: 1rem;
    color: var(--c-text-dim);
    line-height: 1.85;
}

/* Specs Table */
.pd-specs-block {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.pd-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.pd-specs-table tr {
    border-bottom: 1px solid var(--c-border-soft);
}

.pd-specs-table tr:last-child { border-bottom: none; }

.pd-spec-label {
    padding: 12px 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text);
    width: 45%;
    vertical-align: top;
}

.pd-spec-value {
    padding: 12px 0 12px 16px;
    font-size: 0.85rem;
    color: var(--c-text-dim);
}

/* Product card as link */
a.product-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Responsive Product Detail */
@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr; gap: 32px; }
    .pd-content-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .pd-feature-list { grid-template-columns: 1fr; }
    .pd-actions { flex-direction: column; }
    .pd-actions .btn { width: 100%; }
}

/* ===== Floating WhatsApp Button (restored) ===== */
/* ============================================
   Floating WhatsApp Button
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    position: relative;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse-anim 2s ease-out infinite;
    z-index: 1;
}

@keyframes whatsapp-pulse-anim {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--c-text);
    color: var(--c-bg);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--c-text);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

.whatsapp-float:hover .whatsapp-pulse {
    animation-play-state: paused;
    opacity: 0;
}

@media (max-width: 480px) {
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
    .whatsapp-tooltip { display: none; }
}

/* ===== Navigation Search Bar (restored) ===== */
/* ===== Navigation Search Bar ===== */
.nav-search-wrap { margin-left: 8px; }

.nav-search-form {
    display: flex;
    align-items: center;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 24px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.nav-search-form:focus-within {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.nav-search-input {
    border: none;
    background: transparent;
    padding: 7px 14px;
    font-size: 0.85rem;
    color: var(--c-text);
    width: 160px;
    outline: none;
}

.nav-search-input::placeholder { color: var(--c-text-muted); }

.nav-search-btn {
    border: none;
    background: transparent;
    color: var(--c-text-dim);
    padding: 6px 12px 6px 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.nav-search-btn:hover { color: var(--c-primary); }

@media (max-width: 768px) {
    .nav-search-wrap { display: none; }
}

/* ===== Product Detail Gallery Thumbnails (restored) ===== */
/* ===== Product Detail Gallery Thumbnails ===== */
.pd-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pd-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--c-border);
    transition: border-color 0.2s;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-thumb:hover { border-color: var(--c-primary-light); }
.pd-thumb-active { border-color: var(--c-primary); }

/* ===== Search Page (restored) ===== */
/* ===== Search Page ===== */
.search-page-bar {
    margin-bottom: 28px;
}

.search-form-large {
    display: flex;
    gap: 12px;
    max-width: 700px;
}

.search-form-large input {
    flex: 1;
    min-width: 0;
    padding: 14px 20px;
    font-size: 1rem;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: var(--c-surface);
    color: var(--c-text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form-large input:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.search-form-large button {
    white-space: nowrap;
}

.search-results-info {
    font-size: 0.95rem;
    color: var(--c-text-dim);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-border);
}

.search-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--c-text-dim);
}

.search-empty p {
    font-size: 1.1rem;
}

.search-section {
    margin-bottom: 40px;
}

.search-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    color: var(--c-text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--c-border);
}

.search-section-title svg {
    color: var(--c-primary);
}


/* ===== News grid (search results) (restored) ===== */
/* ===== News grid (for search results) ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--c-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--c-border);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.news-card .news-img {
    height: 180px;
    overflow: hidden;
}

.news-card .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card .news-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.news-cat {
    background: var(--c-primary);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.news-date { color: var(--c-text-muted); }

.news-title {
    font-size: 1.05rem;
    color: var(--c-text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card .news-excerpt {
    font-size: 0.88rem;
    color: var(--c-text-dim);
    line-height: 1.5;
}


/* ===== AI Chat Widget (restored) ===== */
/* ===== AI Chat Widget ===== */
.ai-chat-fab {
    position: fixed;
    right: 22px;
    bottom: 92px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--c-primary, #2d6a4f);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, background .15s ease;
}
.ai-chat-fab:hover { transform: scale(1.06); background: var(--c-primary-dark, #1b4332); }

.ai-chat-panel {
    position: fixed;
    right: 22px;
    bottom: 160px;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: calc(100vh - 200px);
    background: var(--bg, #fff);
    border: 1px solid var(--border, #e4e9e6);
    border-radius: 16px;
    box-shadow: 0 16px 50px rgba(0,0,0,0.22);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
}
.ai-chat-panel.open { display: flex; }

.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--c-primary, #2d6a4f), var(--c-primary-dark, #1b4332));
    color: #fff;
}
.ai-chat-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.ai-chat-head-text { flex: 1; }
.ai-chat-title { font-weight: 600; font-size: 0.95rem; }
.ai-chat-status { font-size: 0.72rem; opacity: 0.85; display: flex; align-items: center; gap: 5px; }
.ai-dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; display: inline-block; }
.ai-chat-close {
    background: transparent; border: none; color: #fff;
    font-size: 22px; line-height: 1; cursor: pointer; opacity: 0.85;
}
.ai-chat-close:hover { opacity: 1; }

.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-soft, #f5f8f6);
}
.ai-chat-msg {
    max-width: 82%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.ai-chat-bot {
    align-self: flex-start;
    background: var(--bg, #fff);
    border: 1px solid var(--border, #e4e9e6);
    border-bottom-left-radius: 4px;
}
.ai-chat-user {
    align-self: flex-end;
    background: var(--c-primary, #2d6a4f);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ai-chat-input-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--border, #e4e9e6);
    background: var(--bg, #fff);
}
.ai-chat-input-row textarea {
    flex: 1;
    resize: none;
    border: 1px solid var(--border, #e4e9e6);
    border-radius: 10px;
    padding: 9px 11px;
    font-family: inherit;
    font-size: 0.88rem;
    max-height: 96px;
    outline: none;
}
.ai-chat-input-row textarea:focus { border-color: var(--c-primary, #2d6a4f); }
.ai-chat-send {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    border: none;
    border-radius: 10px;
    background: var(--c-primary, #2d6a4f);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.ai-chat-send:hover { background: var(--c-primary-dark, #1b4332); }

@media (max-width: 480px) {
    .ai-chat-panel { right: 12px; left: 12px; width: auto; bottom: 150px; }
    .ai-chat-fab { right: 14px; bottom: 84px; }
}

/* ===== Resources / Downloads center (restored) ===== */
/* ===== Resources / Downloads center ===== */
.res-group { margin-bottom: 48px; }
.res-group-title { font-size: 1.25rem; font-weight: 700; color: var(--c-text); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--c-accent); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card { background: var(--c-card, #fff); border: 1px solid var(--c-border, #e2e8e4); border-radius: 14px; padding: 22px; display: flex; gap: 16px; transition: transform .18s ease, box-shadow .18s ease; }
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(45,106,79,.10); }
.res-icon { flex: 0 0 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--c-accent-dim, rgba(45,106,79,.12)); color: var(--c-accent); }
.res-icon svg { width: 22px; height: 22px; }
.res-body { flex: 1; min-width: 0; }
.res-title { font-weight: 700; color: var(--c-text); font-size: 1.02rem; }
.res-model { font-size: 0.82rem; color: var(--c-accent); font-weight: 600; margin: 2px 0 6px; }
.res-desc { font-size: 0.86rem; color: var(--c-text-dim); line-height: 1.5; margin: 0 0 10px; }
.res-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.res-ext { font-size: 0.72rem; font-weight: 700; background: var(--c-accent); color: #fff; padding: 2px 7px; border-radius: 4px; }
.res-size { font-size: 0.76rem; color: var(--c-text-dim); }
.res-gate { font-size: 0.72rem; font-weight: 600; background: var(--c-warn, #fff3cd); color: #8a6d00; padding: 2px 7px; border-radius: 4px; }
.res-btn { display: inline-block; }
.res-cta { text-align: center; background: var(--c-card, #fff); border: 1px dashed var(--c-accent); border-radius: 14px; padding: 36px 24px; margin-top: 12px; }
.res-cta h3 { color: var(--c-text); margin-bottom: 8px; }
.res-cta p { color: var(--c-text-dim); margin-bottom: 18px; font-size: 0.92rem; }

@media (max-width: 900px) { .resource-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .resource-grid { grid-template-columns: 1fr; } }

/* ============================================
   Frontend inline content editor (T4 — pencil edit)
   ============================================ */
.ce-block { position: relative; }
.ce-pencil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--c-accent, #2d6a4f);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    vertical-align: middle;
    opacity: 0.5;
    transition: opacity .15s ease, transform .15s ease;
    user-select: none;
    box-shadow: 0 1px 3px rgba(13, 31, 23, 0.25);
}
.ce-block:hover > .ce-pencil { opacity: 1; }
.ce-pencil:hover { transform: scale(1.18); }
.card-link-edit {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 5;
}
.card-link-edit .ce-pencil {
    margin-right: 0;
    opacity: 1;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   Mobile adaptation (phones/tablets only)
   这些规则只在屏幕宽度 <= 768px / 480px 时生效，
   桌面端（更宽）完全不受影响，排版保持不变。
   ============================================================ */

/* 平板 + 手机 */
@media (max-width: 768px) {
    .container, .container-wide { padding: 0 20px; }
    .page-header { padding: 104px 0 36px; }
    .hero { min-height: auto; padding-top: 84px; padding-bottom: 48px; }
    .hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
    .section { padding: 64px 0; }
    .section-sm { padding: 44px 0; }
    /* 防止英文长单词把页面撑出横向滚动条 */
    body { overflow-wrap: break-word; word-wrap: break-word; }
    h1, h2, h3, h4, .hero h1, .page-header h1, .section-title {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    img, video, iframe, table { max-width: 100%; }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .container, .container-wide { padding: 0 18px; }
    .page-header { padding: 92px 0 28px; }
    .page-header h1 { font-size: 1.6rem; }
    .section { padding: 48px 0; }
    .section-sm { padding: 36px 0; }
    .hero h1 { font-size: clamp(1.7rem, 8.5vw, 2.4rem); }
    .hero-sub, .hero .hero-sub { font-size: 0.98rem; }
    /* 产品筛选按钮：更紧凑、正常换行 */
    .conn-filter-bar { gap: 8px; margin-top: 12px; }
    .filter-btn { padding: 7px 14px; font-size: 0.82rem; flex: 0 1 auto; max-width: 100%; }
    /* 新闻头条大图保持在屏幕内 */
    .news-featured-img { margin: 0 0 20px; }
}


.ce-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(13, 31, 23, 0.55);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.ce-modal-backdrop.open { display: flex; }
.ce-modal-box {
    width: 100%;
    max-width: 760px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border, #d4ddd7);
    border-radius: var(--radius-lg, 18px);
    box-shadow: var(--sh-lg, 0 20px 60px rgba(13, 31, 23, 0.12));
}
.ce-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--c-surface-2, #eef3f0);
    border-bottom: 1px solid var(--c-border-soft, rgba(27, 67, 50, 0.08));
    font-weight: 600;
    color: var(--c-text, #1a2e25);
}
.ce-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 22px;
    line-height: 1;
    color: var(--c-text-muted, #7d8f85);
    cursor: pointer;
}
.ce-close:hover { background: var(--c-surface-3, #e3ebe6); color: var(--c-text, #1a2e25); }
#ceEditor {
    width: 100%;
    min-height: 220px;
    padding: 16px 20px;
    border: none;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    font: 14px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--c-text, #1a2e25);
}
.ce-status {
    padding: 0 20px 8px;
    min-height: 18px;
    font-size: 13px;
    color: var(--c-accent, #2d6a4f);
}
.ce-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    background: var(--c-surface-2, #eef3f0);
    border-top: 1px solid var(--c-border-soft, rgba(27, 67, 50, 0.08));
}
.ce-cancel,
.ce-save {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}
.ce-cancel {
    background: #fff;
    border-color: var(--c-border, #d4ddd7);
    color: var(--c-text-soft, #3a574a);
}
.ce-cancel:hover { background: var(--c-surface-3, #e3ebe6); }
.ce-save { background: var(--c-accent, #2d6a4f); color: #fff; }
.ce-save:hover { background: var(--c-primary, #1b4332); }

