/*
 * 文件名: style.css
 * 描述: 福建安泰新能源科技有限公司官网全局样式（阳光能源 · 绿色科技风）
 */

:root {
    /* 品牌与语义色 */
    --color-primary: #F97316;          /* 阳光橙 */
    --color-primary-strong: #EA580C;
    --color-secondary: #0284C7;        /* 光伏蓝 */
    --color-secondary-strong: #0B74B3;
    --color-accent: #16A34A;           /* 生态绿 */
    --color-accent-strong: #0F8A34;
    --color-surface: rgba(255, 255, 255, 0.08);
    --color-surface-strong: rgba(16, 34, 54, 0.9);
    --color-background: #0A1424;
    --color-background-alt: #0C2237;
    --color-ink: #E8F0FF;
    --color-ink-muted: #A7B5C6;
    --color-ink-strong: #F8FAFC;
    --color-border: rgba(255, 255, 255, 0.12);

    /* 字体与尺寸 */
    --font-family-main: 'Plus Jakarta Sans', 'Inter', 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 0.9375rem;
    --font-size-lg: 1.1rem;
    --font-size-h1: 3rem;
    --font-size-h2: 2.25rem;
    --font-size-h3: 1.5rem;
    --font-weight-regular: 400;
    --font-weight-bold: 700;

    /* 间距 */
    --spacing-xs: 6px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --container-max-width: 1280px;
    --container-wide: 1440px;

    /* 圆角与阴影 */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.28);
    --shadow-strong: 0 30px 140px rgba(0, 0, 0, 0.45);

    /* 渐变 */
    --gradient-sunrise: radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.35), transparent 45%), radial-gradient(circle at 80% 10%, rgba(14, 165, 233, 0.24), transparent 32%), linear-gradient(135deg, #0A1424 0%, #0D2135 42%, #0F2F47 100%);
    --gradient-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    --gradient-aurora: radial-gradient(circle at 10% 30%, rgba(249, 115, 22, 0.2), transparent 30%), radial-gradient(circle at 80% 10%, rgba(14, 165, 233, 0.16), transparent 32%), linear-gradient(135deg, #0A1424 0%, #0B1E32 36%, #0E3048 100%);
    --gradient-solar: conic-gradient(from 60deg, rgba(249, 115, 22, 0.18), rgba(14, 165, 233, 0.18), rgba(22, 163, 74, 0.12), rgba(249, 115, 22, 0.18));
    --panel-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    --panel-soft: rgba(255, 255, 255, 0.05);

    /* 兼容旧变量 */
    --color-background-light: #102133;
    --color-background-dark: #081021;
    --color-text: var(--color-ink);
    --color-text-muted: var(--color-ink-muted);
    --color-text-dark: var(--color-ink-strong);
    --color-text-light: #FFFFFF;
    --color-neutral: var(--color-text-muted);
    --border-radius-sm: var(--radius-sm);
    --border-radius-md: var(--radius-md);
    --box-shadow-sm: var(--shadow-soft);
    --box-shadow-md: var(--shadow-soft);
    --box-shadow-lg: var(--shadow-strong);
    --font-weight-light: 300;
    --font-weight-bold: var(--font-weight-bold);
    --font-size-h4: 1.3rem;
    --spacing-unit: var(--spacing-md);
}

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

html {
    font-size: var(--font-size-base);
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-main);
    color: var(--color-text);
    background: var(--gradient-aurora);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 12% 10%, rgba(249, 115, 22, 0.16), transparent 30%), radial-gradient(circle at 80% 8%, rgba(14, 165, 233, 0.14), transparent 30%), radial-gradient(circle at 40% 80%, rgba(34, 197, 94, 0.08), transparent 35%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

h1, h2, h3, h4 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: #fff;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-muted);
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -12px;
}

.col {
    padding: 12px;
}

.col-12 { width: 100%; }

@media (min-width: 768px) {
    .col-md-6 { width: 50%; }
    .col-md-4 { width: 33.3333%; }
}

@media (min-width: 992px) {
    .col-lg-6 { width: 50%; }
    .col-lg-4 { width: 33.3333%; }
    .col-lg-3 { width: 25%; }
}

/* 头部与导航 */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    background: rgba(9, 18, 34, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.topbar {
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.1), rgba(14, 165, 233, 0.12));
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
    color: var(--color-ink);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px var(--spacing-md);
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #F97316;
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.2);
    display: inline-flex;
}

.topbar a {
    color: var(--color-ink);
}

.nav-wrapper {
    padding: 6px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: var(--spacing-sm) 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: #fff;
    letter-spacing: 0.02em;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    max-width: 240px;
}

.logo-text strong {
    font-size: 1rem;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: conic-gradient(from 120deg, #F97316, #FBBF24, #0EA5E9, #F97316);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0A1424;
    font-weight: 800;
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.35);
}

.logo-text small {
    display: block;
    font-weight: 500;
    color: var(--color-ink-muted);
    letter-spacing: 0.05em;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--color-text);
    padding: 10px 14px;
    border-radius: 999px;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: linear-gradient(120deg, rgba(249, 115, 22, 0.16), rgba(14, 165, 233, 0.14));
    border: 1px solid var(--color-border);
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    left: 0;
    top: 105%;
    min-width: 210px;
    background: #0E2236;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: none;
    padding: 8px 0;
}

.dropdown-item a {
    padding: 10px 16px;
    display: block;
    color: var(--color-text);
}

.dropdown-item a:hover,
.dropdown-item a.active {
    color: #fff;
    background: rgba(14, 165, 233, 0.14);
}

.nav-item:hover > .dropdown-menu {
    display: block;
}

.nav-item.nav-cta .btn {
    padding: 10px 16px;
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.content-placeholder {
    height: 118px;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(120deg, #F97316, #F59E0B);
    color: #1F2937;
    box-shadow: 0 18px 45px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover { transform: translateY(-1px); }

.btn-secondary {
    background: linear-gradient(120deg, #22C55E, #10B981);
    color: #052e16;
    box-shadow: 0 18px 45px rgba(34, 197, 94, 0.32);
}

.btn-outline-primary {
    border-color: rgba(249, 115, 22, 0.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline-primary:hover {
    background: rgba(249, 115, 22, 0.18);
}

.btn-outline-secondary {
    border-color: rgba(34, 197, 94, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline-secondary:hover {
    background: rgba(34, 197, 94, 0.18);
}

.btn-sm {
    padding: 10px 14px;
    font-size: var(--font-size-sm);
}

.btn.full-width,
.full-width.btn {
    width: 100%;
}

.chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border);
    color: #fff;
    font-size: var(--font-size-sm);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    color: #fff;
    font-size: var(--font-size-sm);
}

.pill-soft {
    background: rgba(14, 165, 233, 0.14);
    color: #E0F2FE;
    border-color: rgba(14, 165, 233, 0.35);
}

/* 面板与卡片 */
.glass-card,
.content-card,
.product-card,
.case-card,
.news-item,
.cta-panel,
.stats-card {
    background: var(--gradient-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.glass-card::before,
.product-card::before,
.case-card::before,
.news-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.18), transparent 40%);
    opacity: 0.7;
    pointer-events: none;
}

.product-card:hover,
.case-card:hover,
.news-item:hover {
    transform: translateY(-6px) rotateX(1deg) rotateY(-1deg);
    box-shadow: var(--shadow-strong);
}

.product-card img,
.case-card-img {
    border-radius: var(--radius-md);
    height: 220px;
    object-fit: cover;
}

.product-card-content h3,
.case-card-content h3,
.news-item h4 {
    color: #fff;
    margin: 0 0 10px 0;
}

.product-card-content p,
.case-meta,
.news-item-content p {
    color: var(--color-text-muted);
}

.product-detail-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-lg);
}

.spec-table th,
.spec-table td {
    border: 1px solid var(--color-border);
    padding: var(--spacing-md);
    text-align: left;
}

.spec-table th {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%2328A745\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\"></polyline></svg>') no-repeat left center;
    background-size: 16px;
    padding-left: 25px;
    margin-bottom: var(--spacing-sm);
}

.solution-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
}

.advantage-list {
    list-style: none;
    padding-left: 0;
}

.advantage-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%230EA5E9\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\"></polyline></svg>') no-repeat left center;
    background-size: 16px;
    padding-left: 25px;
    margin-bottom: var(--spacing-sm);
}

.carport-type-card,
.process-card {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.carport-type-card h3,
.process-card h3 {
    margin-top: 0;
    color: #fff;
}

/* 英雄区与背景 */
body .hero-section,
body .subpage-hero,
body .page-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(8, 15, 26, 0.9), rgba(12, 50, 77, 0.82)), url('../images/solar_project_drone_40.png') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
    padding: calc(var(--spacing-xl) + 40px) 0 var(--spacing-xl);
    min-height: 420px;
    isolation: isolate;
}

body .hero-section::before,
body .subpage-hero::before,
body .page-hero::before {
    content: '';
    position: absolute;
    inset: -60px;
    background: var(--gradient-solar);
    opacity: 0.6;
    filter: blur(50px);
    animation: ray-spin 28s linear infinite;
    z-index: 0;
}

body .hero-section::after,
body .subpage-hero::after,
body .page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(249, 115, 22, 0.25), transparent 35%), radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.22), transparent 30%), radial-gradient(circle at 0% 80%, rgba(22, 197, 94, 0.18), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.solar-hero {
    background: linear-gradient(135deg, rgba(8, 15, 26, 0.92), rgba(12, 56, 92, 0.85)), url('../images/solar_project_drone_40.png') center/cover no-repeat;
    min-height: 520px;
    padding-top: calc(var(--spacing-xl) + 70px);
}

.solar-hero .hero-grid {
    align-items: center;
    gap: var(--spacing-lg);
}

.solar-hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.08);
    font-size: var(--font-size-sm);
}

.solar-hero .hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
}

.hero-insight-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-insight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(14, 165, 233, 0.18), transparent 40%);
    pointer-events: none;
}

.hero-insight-card .split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hero-badges .chip {
    background: rgba(255, 255, 255, 0.1);
}

body .hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

body .hero-section > .container,
body .subpage-hero > .container,
body .page-hero > .container {
    position: relative;
    z-index: 1;
}

.sun-path {
    position: absolute;
    top: -140px;
    right: -140px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.4), transparent 60%);
    filter: blur(38px);
    animation: orbit 14s linear infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(20px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(20px) rotate(-360deg); }
}

@keyframes ray-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-head {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-head .eyebrow {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.section-head p {
    max-width: 820px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.stats-card h3 {
    margin: 6px 0 4px 0;
    color: #fff;
}

.stats-value {
    font-size: 2rem;
    color: #fff;
}

.data-ticker {
    display: grid;
    gap: 10px;
    max-height: 220px;
    overflow: hidden;
}

.ticker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
}

.ticker-item.slide-out {
    animation: slideUp 0.32s ease forwards;
}

@keyframes slideUp {
    to { transform: translateY(-110%); opacity: 0; }
}

.map-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.15));
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-md);
}

.table th,
.table td {
    padding: 14px 12px;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

.table th {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(14, 165, 233, 0.16);
    color: #E0F2FE;
    font-size: var(--font-size-sm);
}

.footer {
    background: #0A1321;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    margin-top: var(--spacing-xl);
}

.footer a {
    color: var(--color-text-muted);
}

.footer a:hover { color: #fff; }

.footer-col h4 {
    margin-bottom: var(--spacing-sm);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-bottom {
    margin-top: var(--spacing-lg);
    text-align: center;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-md);
}

/* 响应式 */
@media (max-width: 991px) {
    .nav-menu {
        position: absolute;
        top: 112px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #0F2236;
        padding: 10px;
        gap: 0;
        display: none;
    }

    .nav-menu.active { display: flex; }

    .nav-item { width: 100%; }
    .nav-link { width: 100%; }
    .dropdown-menu { position: static; border: none; box-shadow: none; background: transparent; display: none; }
    .nav-item:hover > .dropdown-menu { display: none; }
    .menu-toggle { display: block; }
    .topbar .container { flex-direction: column; align-items: flex-start; }
    .secondary-nav { top: 96px; }
    .row { margin: -8px; }
    .col { padding: 8px; }
}

/* 辅助类 */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mb-md { margin-bottom: var(--spacing-md); }
.text-light { color: #fff; }
.pill { border-radius: 999px; }

/* 分段背景与版心 */
.section.surface {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.container-wide {
    max-width: var(--container-wide);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 指标网格 */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.metric-card {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.metric-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.18), transparent 40%);
    opacity: 0.5;
    pointer-events: none;
}

.metric-card .label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: var(--font-size-sm);
}

.metric-card .value {
    font-size: 2.4rem;
    color: #fff;
    margin: 10px 0 6px;
}

.metric-card p {
    margin: 0;
}

/* 解决方案卡片 */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.solution-card {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solution-card h3 {
    margin: 0;
}

.solution-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.solution-card .tags .chip {
    background: rgba(255, 255, 255, 0.08);
}

/* 地图与全球布局 */
.map-shell {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--panel-strong);
    box-shadow: var(--shadow-soft);
    min-height: 380px;
    height: 440px;
}

.map-shell .map-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.1), transparent 45%), radial-gradient(circle at 80% 10%, rgba(14, 165, 233, 0.14), transparent 40%);
    pointer-events: none;
}

.map-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: var(--spacing-md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.15);
}

/* ESG 栅格 */
.esg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.esg-card {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
}

.progress-bar {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(120deg, #F97316, #0EA5E9);
}

/* 二级导航 */
.secondary-nav {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 118px;
    z-index: 9;
}

.secondary-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: var(--spacing-md) 0;
}

.secondary-nav a {
    color: var(--color-text);
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
}

.secondary-nav a:hover,
.secondary-nav a.active {
    background: rgba(249, 115, 22, 0.14);
    color: #fff;
}

/* 时间轴 */
body .timeline {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

body .timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.8), rgba(14, 165, 233, 0.6));
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background: #0B1726;
    border: 4px solid var(--color-primary);
    top: 16px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-container.left { left: 0; }
.timeline-container.right { left: 50%; }
.timeline-container.right::after { left: -8px; right: auto; }

.timeline-container.left::before,
.timeline-container.right::before {
    content: '';
    position: absolute;
    top: 20px;
    border: 10px solid transparent;
}

.timeline-container.left::before {
    right: 30px;
    border-left-color: var(--color-primary);
}

.timeline-container.right::before {
    left: 30px;
    border-right-color: var(--color-primary);
}

.timeline-content {
    padding: 20px 24px;
    background: var(--panel-strong);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

@media screen and (max-width: 768px) {
    body .timeline::after { left: 20px; }
    .timeline-container {
        width: 100%;
        padding-left: 50px;
        padding-right: 20px;
        left: 0 !important;
    }
    .timeline-container::after { left: -2px; }
    .timeline-container.left::before,
    .timeline-container.right::before { left: 26px; border-width: 10px 10px 10px 0; border-color: transparent var(--color-primary) transparent transparent; }
}

/* 新闻列表 */
.news-listing {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0 0;
}

.news-listing-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.news-listing-thumb {
    height: 170px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0F2236;
}

.news-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-listing-content h3 {
    margin: 0 0 6px;
    color: #fff;
}

.news-listing-meta {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .news-listing-item {
        grid-template-columns: 1fr;
    }
}

/* 招聘与表单 */
.job-card,
.benefit-card {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
}

.job-meta {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.form-grid {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.news-detail-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.news-detail-header h1 {
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

.news-meta {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.news-content img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.news-content p {
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.highlight-quote {
    border-left: 4px solid var(--color-secondary);
    padding-left: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    font-style: italic;
    color: #fff;
}

.award-section {
    background: var(--panel-strong);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.award-section h2 {
    color: #fff;
    margin-top: 0;
}

.key-data-box {
    background: var(--panel-strong);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--color-secondary);
    border-radius: var(--radius-lg);
    margin: var(--spacing-xl) 0;
}

.key-data-box h3 { margin-top: 0; color: #fff; }

.speaker-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.speaker-list li {
    flex: 1 1 45%;
    background: var(--panel-strong);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
}

.project-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-xl) 0;
}

.project-data-table th,
.project-data-table td {
    border: 1px solid var(--color-border);
    padding: var(--spacing-md);
    text-align: center;
}

.project-data-table th {
    background: rgba(249, 115, 22, 0.14);
    color: #fff;
}

.case-detail-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
}

.case-info-box {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.case-info-box h3 {
    color: #fff;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-sm);
    margin-top: 0;
}

.case-info-box ul {
    list-style: none;
    padding-left: 0;
}

.case-info-box li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.case-info-box strong { color: #fff; }

.form-control {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.form-control:focus {
    outline: 2px solid rgba(14, 165, 233, 0.4);
}

.job-detail-section {
    padding: var(--spacing-xl) 0;
}

.job-meta-box {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.job-meta-box strong { color: #fff; }

.job-content h3 {
    color: #fff;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.job-content ul {
    list-style: disc;
    padding-left: var(--spacing-xl);
}

.career-section {
    padding: var(--spacing-xl) 0;
}

.culture-point {
    text-align: center;
    padding: var(--spacing-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--panel-strong);
    height: 100%;
}

.culture-point h4 {
    color: #fff;
    margin-top: var(--spacing-sm);
}

/* 文本与内容块 */
.content-block {
    margin-bottom: var(--spacing-xl);
}

.content-block img {
    border-radius: var(--radius-md);
}

.highlight-box {
    background: var(--panel-strong);
    border-left: 4px solid var(--color-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.culture-card,
.cert-card,
.region-card {
    background: var(--panel-strong);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.culture-card h3,
.cert-card h4,
.region-card h3 {
    margin-top: 0;
    color: #fff;
}

.culture-card:hover,
.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.global-map-container {
    position: relative;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.global-map-container img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.csr-block img {
    border-radius: var(--radius-md);
}

/* ------------- 阳光使命增强模块 ------------- */
#sunRays {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.55;
}

.metric-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-top: -32px;
    position: relative;
    z-index: 2;
}

.ribbon-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 4px;
}

.ribbon-card .label {
    font-size: var(--font-size-sm);
    color: var(--color-ink-muted);
}

.ribbon-card .value {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-rows: auto auto auto auto auto 1fr auto;
    gap: 10px;
    position: relative;
    overflow: hidden;
    align-content: start;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 15%, rgba(249, 115, 22, 0.14), transparent 40%), radial-gradient(circle at 82% 10%, rgba(14, 165, 233, 0.14), transparent 36%);
    pointer-events: none;
    z-index: 0;
}

.product-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-card h3 {
    margin: 6px 0 2px;
}

.product-meta {
    margin: 0 0 4px;
    color: var(--color-ink-muted);
    font-size: var(--font-size-sm);
}

.product-card p {
    margin: 0;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.product-media {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.bento-card {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.16), transparent 40%);
    pointer-events: none;
}

.bento-card h3 {
    margin-top: 0;
    color: #fff;
}

.bento-card .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
    color: var(--color-ink-muted);
    font-size: var(--font-size-sm);
}

.bento-card .stacked {
    display: grid;
    gap: 8px;
}

.bento-card.product {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
}

@media (max-width: 900px) {
    .bento-card.product { grid-template-columns: 1fr; }
}

.map-shell svg {
    width: 100%;
    height: 100%;
    display: block;
}

.map-backdrop {
    fill: #0B1E32;
}

.map-sphere {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.08);
}

.map-grid {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 0.7;
    stroke-dasharray: 3 4;
}

.map-halo circle {
    fill: rgba(14, 165, 233, 0.06);
}

.map-arcs path {
    fill: none;
}

.arc-glow {
    stroke-width: 10;
    filter: blur(16px);
}

.arc-line {
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.95;
}

.node-glow {
    opacity: 0.8;
}

.node-dot {
    fill: #F97316;
    stroke: #fff;
    stroke-width: 1.6;
    filter: drop-shadow(0 10px 22px rgba(249, 115, 22, 0.35));
}

.node-label {
    fill: #E8F0FF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.node-role {
    fill: var(--color-ink-muted);
    font-size: 11px;
}

.map-highlight {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    pointer-events: none;
}

.map-highlight .chip {
    background: rgba(5, 12, 24, 0.7);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.map-fallback {
    padding: var(--spacing-lg);
    color: var(--color-ink-muted);
    text-align: center;
}

@media (max-width: 768px) {
    .map-shell { height: 340px; }
}

.esg-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.esg-item {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
}

.esg-item h4 {
    margin: 0 0 6px;
    color: #fff;
}

.esg-item .desc {
    color: var(--color-ink-muted);
    margin-top: 4px;
}

.install-lab {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.install-flow {
    position: relative;
}

.install-step {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-rows: auto 1fr;
    gap: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.install-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 16%, rgba(249, 115, 22, 0.14), transparent 38%), radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.12), transparent 32%);
    pointer-events: none;
    z-index: 0;
}

.install-step > * {
    position: relative;
    z-index: 1;
}

.step-top h3 {
    margin: 8px 0 6px;
}

.step-top p {
    margin: 0;
}

.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.step-media {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    color: #fff;
    background: rgba(249, 115, 22, 0.12);
}

.roi-shell {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-lg);
}

@media (max-width: 960px) {
    .roi-shell { grid-template-columns: 1fr; }
}

.calc-shell {
    background: var(--panel-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.result-grid strong {
    color: #fff;
    font-size: 1.2rem;
}

.muted {
    color: var(--color-ink-muted);
    margin-top: 8px;
}

.cta-banner {
    background: linear-gradient(120deg, rgba(249, 115, 22, 0.2), rgba(14, 165, 233, 0.24));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: var(--spacing-md);
    align-items: center;
}

@media (max-width: 960px) {
    .cta-banner { grid-template-columns: 1fr; }
}

.cta-banner h3 {
    margin: 0;
}

.data-strip {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-chip {
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    color: #fff;
}
