/* ========================================
   殴易app - 全局样式表
   专业深色主题 - 数字资产交易平台
   ======================================== */

/* CSS 变量定义 */
:root {
    --primary-color: #f0b90b;
    --primary-dark: #d4a30a;
    --primary-light: #ffd666;
    --secondary-color: #00c9a7;
    --accent-color: #ff6b6b;
    --dark-bg: #0a1628;
    --dark-bg-2: #131f33;
    --dark-bg-3: #1e2d45;
    --card-bg: #1a2740;
    --text-primary: #ffffff;
    --text-secondary: #b7bdc6;
    --text-muted: #848e9c;
    --border-color: #2b3a55;
    --success-color: #0ecb81;
    --danger-color: #f6465d;
    --gradient-primary: linear-gradient(135deg, #f0b90b 0%, #d4a30a 100%);
    --gradient-dark: linear-gradient(135deg, #0a1628 0%, #1a2740 100%);
    --gradient-glow: linear-gradient(135deg, rgba(240, 185, 11, 0.3) 0%, rgba(0, 201, 167, 0.3) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(240, 185, 11, 0.3);
    --transition: all 0.3s ease;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --max-width: 1280px;
}

/* 重置样式 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-light);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* 容器 */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 导航栏 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-brand-logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--dark-bg);
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(240, 185, 11, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==================== Hero 区域 ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(240, 185, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 201, 167, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(240, 185, 11, 0.15);
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f0b90b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-float-card {
    position: absolute;
    background: rgba(26, 39, 64, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
}

.hero-float-card.card-1 {
    top: 20px;
    left: -40px;
    animation: floatUp 3s ease-in-out infinite;
}

.hero-float-card.card-2 {
    bottom: 40px;
    right: -30px;
    animation: floatDown 3s ease-in-out infinite;
}

.float-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.float-card-icon.success {
    background: rgba(14, 203, 129, 0.2);
    color: var(--success-color);
}

.float-card-icon.primary {
    background: rgba(240, 185, 11, 0.2);
    color: var(--primary-color);
}

.float-card-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.float-card-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(240, 185, 11, 0.4);
    color: var(--dark-bg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ==================== 通用区域 ==================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-title .accent {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Features ==================== */
.features {
    background: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(240, 185, 11, 0.3);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(240, 185, 11, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==================== Services ==================== */
.services {
    background: var(--dark-bg-2);
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-content h2 {
    margin-bottom: 20px;
}

.services-content > p {
    margin-bottom: 32px;
}

.service-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-item:last-child {
    border-bottom: none;
}

.service-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark-bg);
    font-size: 0.9rem;
}

.service-item h4 {
    margin-bottom: 6px;
    color: var(--text-primary);
}

.service-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ==================== Detailed Content ==================== */
.detailed {
    background: var(--dark-bg);
}

.detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.detailed-item {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.detailed-item.reverse {
    direction: rtl;
}

.detailed-item.reverse > * {
    direction: ltr;
}

.detailed-item-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}

.detailed-item-image {
    overflow: hidden;
}

.detailed-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.detailed-item:hover .detailed-item-image img {
    transform: scale(1.05);
}

.detailed-item-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detailed-item-text h3 {
    margin-bottom: 16px;
}

.detailed-item-text p {
    margin-bottom: 16px;
}

.detailed-item-text ul {
    margin-top: 8px;
}

.detailed-item-text li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.detailed-item-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* ==================== Download Section ==================== */
.download {
    background: var(--gradient-dark);
    text-align: center;
}

.download-badge {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
}

.download-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.download-btn-icon {
    font-size: 2rem;
}

.download-btn-text small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

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

/* ==================== CTA ==================== */
.cta {
    background: linear-gradient(135deg, #131f33 0%, #1e2d45 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(240, 185, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta p {
    margin-bottom: 36px;
    font-size: 1.1rem;
}

/* ==================== FAQ ==================== */
.faq {
    background: var(--dark-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(240, 185, 11, 0.3);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
}

.faq-question-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(240, 185, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question-icon {
    transform: rotate(45deg);
    background: var(--gradient-primary);
    color: var(--dark-bg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==================== Footer ==================== */
.footer {
    background: #060d18;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-desc {
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 1rem;
}

.footer-social-link:hover {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    border-color: transparent;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==================== 页面标题 ==================== */
.page-header {
    padding: 160px 0 80px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(240, 185, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--primary-color);
}

/* ==================== About Page ==================== */
.about-story {
    background: var(--dark-bg);
}

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

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-values {
    background: var(--dark-bg-2);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(240, 185, 11, 0.3);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.about-stats {
    background: var(--gradient-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==================== Contact Page ==================== */
.contact {
    background: var(--dark-bg);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: rgba(240, 185, 11, 0.3);
    transform: translateX(5px);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(240, 185, 11, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    background: var(--dark-bg-3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

/* ==================== News Page ==================== */
.news-list {
    background: var(--dark-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(240, 185, 11, 0.3);
}

.news-card-image {
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 24px;
}

.news-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-card-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: var(--transition);
}

.news-card:hover .news-card-title {
    color: var(--primary-color);
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.news-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.news-card-readmore::after {
    content: '→';
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-readmore::after {
    transform: translateX(5px);
}

/* ==================== News Detail Page ==================== */
.news-detail {
    background: var(--dark-bg);
}

.news-detail-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-article {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.news-detail-header {
    padding: 48px 48px 0;
}

.news-detail-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(240, 185, 11, 0.15);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.news-detail-title {
    margin-bottom: 20px;
}

.news-detail-meta {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.news-detail-featured {
    margin: 32px 0;
}

.news-detail-featured img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.news-detail-body {
    padding: 0 48px 48px;
}

.news-detail-body h2 {
    margin: 32px 0 16px;
    font-size: 1.4rem;
}

.news-detail-body h3 {
    margin: 24px 0 12px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.news-detail-body p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.news-detail-body ul,
.news-detail-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.news-detail-body li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.news-detail-body ul li {
    list-style-type: disc;
}

.news-detail-body ol li {
    list-style-type: decimal;
}

.news-detail-body blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    background: rgba(240, 185, 11, 0.08);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-style: italic;
}

/* ==================== Products Page ==================== */
.products {
    background: var(--dark-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.product-card:hover {
    border-color: rgba(240, 185, 11, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card:hover::after {
    opacity: 1;
}

.product-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dark-bg);
}

.product-card h3 {
    margin-bottom: 12px;
}

.product-features {
    text-align: left;
    margin: 20px 0;
}

.product-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(43, 58, 85, 0.5);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: 700;
}

.product-btn {
    position: relative;
    z-index: 1;
    margin-top: 12px;
}

/* ==================== 404 Page ==================== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    padding: 120px 20px;
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-code {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.error-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.error-message {
    margin-bottom: 32px;
}

/* ==================== 返回顶部 ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--dark-bg);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==================== 动画 ==================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(15px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-wrapper {
        grid-template-columns: 1fr;
    }

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

    .detailed-item-content {
        grid-template-columns: 1fr;
    }

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

    .news-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 70px 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 14px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-float-card.card-1 {
        left: -10px;
    }

    .hero-float-card.card-2 {
        right: -10px;
    }

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

    .services-wrapper {
        gap: 40px;
    }

    .news-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

    .news-detail-header,
    .news-detail-body {
        padding-left: 24px;
        padding-right: 24px;
    }

    .contact-form {
        padding: 28px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stat {
        text-align: center;
    }

    .download-badge {
        flex-direction: column;
    }
}

/* ==================== 打印样式 ==================== */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .back-to-top,
    .download-badge,
    .hero-actions {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ==================== 无障碍 ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 焦点样式 */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}