/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 科技感配色方案 - 深邃工业蓝 + 科技青 */
    --primary-color: #0a3d6e;
    --primary-light: #1a5276;
    --secondary-color: #0e4d8c;
    --accent-color: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.3);
    --accent-secondary: #00ff88;
    --dark-color: #1a1a2e;
    --dark-secondary: #16213e;
    --gray-color: #64748b;
    --light-gray: #f0f4f8;
    --border-color: rgba(0, 212, 255, 0.2);
    --white: #fff;
    /* 玻璃态效果 */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #0a0a14;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 100, 150, 0.06) 0%, transparent 50%);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - 玻璃态导航栏 */
.header {
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.logo-text h1 {
    font-size: 20px;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 2px;
}

.logo-text p {
    font-size: 12px;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    gap: 40px;
}

.nav a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    position: relative;
    transition: all 0.3s;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--accent-glow);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover::before,
.nav a.active::before {
    opacity: 1;
    top: -8px;
}

.nav a:hover,
.nav a.active {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark-color);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    padding: 20px;
}

.mobile-menu li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.mobile-menu a.active {
    color: var(--accent-color);
}

/* Hero Section - 科技感动效背景 */
.hero {
    height: auto;
    min-height: 640px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    padding-top: 56px;
    padding-bottom: 88px;
    background: linear-gradient(135deg, #0a0a14 0%, #0a1628 50%, #0a0a14 100%);
    overflow: hidden;
    box-shadow: inset 0 0 80px rgba(0, 212, 255, 0.08);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 100, 150, 0.2) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://2.ss.508sys.com/image/materialLib/image/3000027.jpg') center/cover no-repeat;
    opacity: 0.12;
}

/* 科技网格线 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 0 20px;
    position: relative;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 12px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.9)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2px;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--accent-color);
    background: rgba(0, 212, 255, 0.08);
    font-size: 12px;
    letter-spacing: 2px;
}

.industrial-note {
    max-width: 1000px;
    margin: -20px auto 30px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.5px;
    text-wrap: pretty;
}

@media (min-width: 992px) {
    .industrial-note {
        white-space: nowrap;
    }
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
}

.hero-metric {
    padding: 14px 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
}

.hero-metric strong {
    display: block;
    margin-bottom: 3px;
    font-size: 32px;
    line-height: 1.1;
    color: var(--accent-color);
    text-shadow: 0 0 12px var(--accent-glow);
}

.hero-metric span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 1px;
}

/* Buttons - 科技发光按钮 */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #0099cc 100%);
    color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00e5ff 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    box-shadow: 0 0 25px var(--accent-glow);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 38px;
    text-align: center;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    margin: 20px auto 0;
    box-shadow: 0 0 15px var(--accent-glow);
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.section-soft {
    background: rgba(255, 255, 255, 0.02);
}

.cta-block {
    text-align: center;
}

/* Solutions */
.solutions {
    background: transparent;
    position: relative;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.solution-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px var(--accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-icon {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid var(--border-color);
}

.solution-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 212, 255, 0.1) 100%);
    pointer-events: none;
}

.solution-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.solution-card:hover .solution-icon img {
    transform: scale(1.05);
}

.solution-card h3 {
    font-size: 26px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.solution-card ul {
    margin-bottom: 30px;
}

.solution-card li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.solution-card li:last-child {
    border-bottom: none;
}

.solution-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Products Preview */
.products-preview {
    background: transparent;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.product-tag {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    letter-spacing: 1px;
}

.product-tag:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-2px);
}

/* About */
.about {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(10, 10, 20, 0.95) 50%, rgba(0, 255, 136, 0.05) 100%);
    color: var(--white);
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.about-text .section-title {
    color: var(--white);
    text-align: left;
}

.about-text .section-title::after {
    margin: 20px 0 0;
}

.about-text p {
    font-size: 17px;
    line-height: 1.9;
    opacity: 0.9;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-item {
    text-align: center;
    padding: 35px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 52px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
}

.stat-label {
    font-size: 15px;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: rgba(5, 5, 10, 0.98);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    color: var(--accent-color);
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0a0a14 0%, #0a1628 50%, rgba(0, 212, 255, 0.1) 100%);
    color: var(--white);
    padding: 180px 0 80px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 18px;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.7);
}

/* Products Page */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 30px var(--accent-glow);
}

.product-card .product-image {
    width: 100%;
    height: 240px;
    background: rgba(0, 212, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.product-card .product-image span {
    font-size: 60px;
    color: var(--accent-color);
}

.product-card .product-info {
    padding: 30px;
}

.product-card h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.product-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* News Page */
.news-list {
    margin-top: 50px;
}

.news-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.news-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

.news-item:hover::before {
    opacity: 1;
}

.news-item h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.news-item .news-date {
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.news-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #0099cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.contact-item .text h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 5px;
}

.contact-item .text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        height: 70px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        color: var(--white);
    }

    .hero {
        height: auto;
        min-height: 0;
        padding-top: 44px;
        padding-bottom: 40px;
    }

    .hero-content h2 {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-eyebrow {
        letter-spacing: 1px;
    }

    .industrial-note {
        margin: -20px auto 24px;
        font-size: 13px;
        line-height: 1.7;
        white-space: normal;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 320px;
    }

    .hero-metric strong {
        font-size: 26px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 30px;
    }

    .stat-number {
        font-size: 42px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 140px 0 60px;
    }

    .page-header h2 {
        font-size: 28px;
        letter-spacing: 3px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow); }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--border-color); }
    50% { border-color: var(--accent-color); }
}

.solution-card,
.product-card,
.news-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Solution Detail Pages */
.solution-detail {
    padding: 80px 0;
}

.solution-detail .container {
    max-width: 900px;
}

.solution-hero {
    text-align: center;
    margin-bottom: 60px;
}

.solution-hero img {
    max-width: 100%;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.solution-hero h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.solution-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.feature-list {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px var(--accent-glow);
}

.feature-item .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #0099cc);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.feature-item h4 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.feature-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* 新闻文章内容样式（与编辑器共享） */
.news-article-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.news-article-content h1,
.news-article-content h2,
.news-article-content h3 {
    color: var(--white) !important;
    margin-bottom: 20px;
}
.news-article-content p,
.news-article-content span,
.news-article-content div,
.news-article-content font {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.8;
    margin-bottom: 15px;
}
.news-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}
.news-article-content ul,
.news-article-content ol {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 15px 0;
    padding-left: 25px;
}
.news-article-content li {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 8px;
    line-height: 1.6;
}
.news-article-content a {
    color: #a8b4fc !important;
}
.news-article-content table {
    color: rgba(255, 255, 255, 0.9) !important;
}
.news-article-content td,
.news-article-content th {
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* =========================
   Admin Shared Styles
   Used by: /man_adm/pages.html, /man_adm/news-files.html
   ========================= */
body.admin-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f6fa;
    color: #333;
    line-height: 1.5;
}

.admin-page .header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: static;
    box-shadow: none;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.admin-page .header h1 {
    font-size: 20px;
}

.admin-page .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-page .logout-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 0;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.admin-page .nav {
    background: #fff;
    padding: 0 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.admin-page .nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.admin-page .nav a {
    display: block;
    padding: 16px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    letter-spacing: 0;
    text-transform: none;
    position: static;
    transition: none;
}

.admin-page .nav a::before,
.admin-page .nav a::after {
    display: none;
}

.admin-page .nav a:hover,
.admin-page .nav a.active {
    color: #667eea;
    border-bottom-color: #667eea;
    text-shadow: none;
}

.admin-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.admin-page .toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-page .toolbar h2 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.admin-page .btn {
    padding: 10px 20px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}

.admin-page .btn::before {
    display: none;
}

.admin-page .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.admin-page .btn:hover {
    transform: none;
    box-shadow: none;
}

.admin-page .btn-primary:hover {
    background: linear-gradient(135deg, #5f73d9 0%, #6c4398 100%);
    color: #fff;
}

.admin-page .btn-secondary {
    background: #6c757d;
    color: #fff;
}

.admin-page .btn-secondary:hover {
    background: #5f676f;
    color: #fff;
}

.admin-page .btn-danger {
    background: #e74c3c;
    color: #fff;
}

.admin-page .btn-danger:hover {
    background: #d33f30;
    color: #fff;
}

.admin-page .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.admin-page table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-collapse: collapse;
}

.admin-page th,
.admin-page td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-page th {
    background: #f8f9fa;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.admin-page td {
    font-size: 14px;
    color: #666;
}

.admin-page .actions {
    display: flex;
    gap: 8px;
}

.admin-page .tips {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.admin-page .tips-spacious {
    margin-top: 20px;
}

/* Shared list/pagination */
.admin-page .empty {
    padding: 60px;
    text-align: center;
    color: #999;
}

.admin-page .news-list {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.admin-page .news-item {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-page .news-item:last-child {
    border-bottom: 0;
}

.admin-page .news-info {
    flex: 1;
}

.admin-page .news-info h3 {
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}

.admin-page .news-info .news-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.admin-page .news-info .news-summary {
    font-size: 13px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-page #pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.admin-page .pagination-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    cursor: pointer;
    font-size: 14px;
}

.admin-page .pagination-btn:hover {
    background: #f5f5f5;
    border-color: #667eea;
}

.admin-page .pagination-current {
    padding: 8px 16px;
    background: #667eea;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
}

.admin-page .pagination-info {
    color: #999;
    font-size: 14px;
    margin-left: 15px;
}

.admin-page .view-list {
    display: block;
}

.admin-page .view-list.hidden {
    display: none;
}

.admin-page .view-editor {
    display: none;
}

.admin-page .view-editor.active {
    display: block;
}

/* Shared editor styles */
.admin-page .editor-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px);
}

.admin-page .editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    flex-shrink: 0;
}

.admin-page .editor-header h3 {
    font-size: 20px;
    color: #333;
}

.admin-page #newsForm {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.admin-page .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.admin-page .form-group {
    flex: 1;
}

.admin-page .form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}

.admin-page .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #111827;
    -webkit-text-fill-color: #111827;
}

.admin-page .form-group input::placeholder {
    color: #6b7280;
}

.admin-page .form-group input[type="date"] {
    color: #111827;
    -webkit-text-fill-color: #111827;
}

.admin-page .editor-form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.admin-page .editor-wrapper {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 10px;
    background: #0a0a14;
    min-height: 620px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.admin-page .editor-mode {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    flex-shrink: 0;
}

.admin-page .mode-btn,
.admin-page .editor-mode button {
    padding: 6px 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(30, 41, 59, 0.95);
    color: #dbe7ff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.admin-page .mode-btn.active,
.admin-page .editor-mode button.active {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.admin-page .editor-pane {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    overflow: auto;
    background: #0a0a14;
    flex: 1;
}

.admin-page .editor-pane.hidden {
    display: none;
}

.admin-page .editor-pane.active {
    display: flex;
}

.admin-page .tiny-host {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.admin-page #tinyVisualEditor {
    width: 100%;
    height: 100%;
}

.admin-page .tiny-host .tox-tinymce {
    min-height: 0;
    flex: 1;
}

.admin-page .tiny-host .tox-editor-container {
    min-height: 520px;
}

.admin-page .tiny-host .tox-sidebar-wrap {
    min-height: 500px;
}

.admin-page .tiny-host .tox-edit-area {
    min-height: 460px;
}

.admin-page .tiny-host .tox-edit-area__iframe {
    min-height: 440px;
}

.admin-page #htmlSourceEditor,
.admin-page textarea#htmlSourceEditor {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 14px;
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 13px;
    line-height: 1.6;
    resize: none;
    outline: none;
    white-space: pre;
    overflow: auto;
    background: #0a0f1f;
    color: #dbe7ff;
}

.admin-page .editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.admin-page .header-action-btn {
    padding: 8px 14px;
    font-size: 13px;
}

.admin-page .save-status {
    margin-right: 6px;
    color: #666;
    font-size: 13px;
    min-width: 140px;
    text-align: right;
}

/* Page editor modal */
.admin-page .modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.admin-page .modal.active {
    display: flex;
}

.admin-page .modal-content {
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    width: min(1760px, calc(100vw - 10px));
    height: min(98vh, calc(100vh - 10px));
    min-width: 900px;
    min-height: 560px;
    max-width: calc(100vw - 8px);
    max-height: calc(100vh - 8px);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.admin-page .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    cursor: move;
    user-select: none;
}

.admin-page .modal-header h3 {
    font-size: 18px;
    color: #333;
}

.admin-page .modal-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-page .modal-close {
    background: none;
    border: 0;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.admin-page .resize-handle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 16px;
    height: 16px;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 35%, #b8c2d4 35%, #b8c2d4 45%, transparent 45%, transparent 60%, #b8c2d4 60%, #b8c2d4 70%, transparent 70%);
}

/* TinyMCE iframe content styles for admin editors */
body.admin-tiny-page-body {
    margin: 0;
    padding: 16px 16px 320px;
    line-height: 1.6;
    background: #0a0f1f;
    color: #dbe7ff;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto !important;
}

body.admin-tiny-page-body img {
    max-width: 100%;
    height: auto;
}

/* Fix button clipping in TinyMCE page editor preview */
body.admin-tiny-page-body .cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

body.admin-tiny-page-body .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    min-height: 48px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Prevent home hero clipping in page editor preview */
body.admin-tiny-page-body .hero {
    height: auto !important;
    min-height: 680px !important;
    margin-top: 80px !important;
    padding-top: 56px;
    padding-bottom: 140px;
    overflow: visible !important;
    box-sizing: border-box;
}

body.admin-tiny-page-body .hero-content {
    padding-bottom: 8px;
}

/* Give solution-page media/cards more vertical room inside editor preview */
body.admin-tiny-page-body .solution-icon {
    height: 300px;
    min-height: 300px;
}

body.admin-tiny-page-body .solution-card {
    overflow: visible;
}

body.admin-tiny-page-body .hero-actions,
body.admin-tiny-page-body .cta-actions,
body.admin-tiny-page-body .card-action {
    padding-bottom: 24px;
}

body.admin-tiny-page-body::after {
    content: '';
    display: block;
    height: 320px;
}

body.admin-tiny-page-body .section,
body.admin-tiny-page-body .solution-detail,
body.admin-tiny-page-body .products-preview,
body.admin-tiny-page-body .about {
    padding-bottom: 120px;
}

body.editor-news-preview-body {
    margin: 0;
    min-height: 100%;
    background-color: #0a0a14 !important;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 100, 150, 0.06) 0%, transparent 50%);
}

body.editor-news-preview-body .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px;
}

body.editor-news-preview-body .news-article-content {
    min-height: 420px;
}

body.editor-news-preview-body img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .admin-page .container {
        padding: 20px;
    }

    .admin-page .nav {
        padding: 0 20px;
    }

    .admin-page .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .admin-page .editor-wrapper {
        min-height: 460px;
    }

    .admin-page .tiny-host {
        min-height: 420px;
    }

    .admin-page .tiny-host .tox-tinymce {
        min-height: 420px;
    }

    .admin-page .tiny-host .tox-editor-container {
        min-height: 380px;
    }

    .admin-page .tiny-host .tox-edit-area {
        min-height: 340px;
    }
}
