/* ============================================
   香港极光药业有限公司 - 极光极地风格样式表
   Aurora Pharmaceutical - Arctic Aurora Theme
   主色：极夜深蓝 + 极光绿/紫 + 冰蓝
   ============================================ */

/* ---------- CSS 变量定义 ---------- */
:root {
    /* 极夜深蓝主色调 */
    --color-night-deep: #0B1026;
    --color-night: #1A2050;
    --color-night-soft: #232A5C;

    /* 极光色系 */
    --color-aurora-green: #00FF9F;
    --color-aurora-green-d: #00D4AA;
    --color-aurora-purple: #9B59B6;
    --color-aurora-purple-l: #BF3EE5;
    --color-ice-blue: #00CFF9;

    /* 文字色 */
    --text-primary: #F0F4FF;
    --text-secondary: #B8C5E0;
    --text-muted: #7A87A8;

    /* 渐变 */
    --gradient-aurora: linear-gradient(135deg, #00FF9F 0%, #00CFF9 50%, #BF3EE5 100%);
    --gradient-aurora-soft: linear-gradient(135deg, rgba(0,255,159,0.15) 0%, rgba(0,207,249,0.15) 50%, rgba(191,62,229,0.15) 100%);
    --gradient-night: linear-gradient(180deg, #0B1026 0%, #1A2050 100%);

    /* 字体 */
    --font-display: 'Outfit', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', 'Outfit', sans-serif;

    /* 间距 */
    --container-max: 1200px;
    --section-pad: 6rem;
    --radius: 16px;
    --radius-lg: 24px;

    /* 动效 */
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--color-night-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 2;
}

/* ============================================
   背景层：星空 + 极光动态
   ============================================ */

/* 星空粒子层 */
.starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(1px 1px at 40% 70%, white, transparent),
        radial-gradient(1.5px 1.5px at 60% 20%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 80% 50%, white, transparent),
        radial-gradient(2px 2px at 30% 90%, rgba(0,255,159,0.6), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(191,62,229,0.7), transparent),
        radial-gradient(1.5px 1.5px at 90% 10%, rgba(0,207,249,0.7), transparent);
    background-size: 200% 200%;
    animation: starTwinkle 8s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.6; background-position: 0% 0%; }
    50% { opacity: 1; background-position: 5% 5%; }
}

/* 极光动态背景层 */
.aurora-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: var(--gradient-night);
}

.aurora-layer {
    position: absolute;
    inset: -20%;
    opacity: 0.5;
    filter: blur(80px);
    mix-blend-mode: screen;
    animation: auroraFlow 20s ease-in-out infinite;
}

.aurora-layer-1 {
    background: radial-gradient(ellipse at 20% 30%, rgba(0,255,159,0.6) 0%, transparent 50%);
    animation-delay: 0s;
}

.aurora-layer-2 {
    background: radial-gradient(ellipse at 80% 20%, rgba(191,62,229,0.5) 0%, transparent 50%);
    animation-delay: -7s;
}

.aurora-layer-3 {
    background: radial-gradient(ellipse at 50% 80%, rgba(0,207,249,0.5) 0%, transparent 50%);
    animation-delay: -14s;
}

@keyframes auroraFlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(5%, -3%) rotate(2deg) scale(1.1); }
    66% { transform: translate(-3%, 4%) rotate(-2deg) scale(0.95); }
}

/* ============================================
   1. 导航栏 + Logo
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(11, 16, 38, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 159, 0.1);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 16, 38, 0.92);
    padding: 0.6rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 12px rgba(0, 255, 159, 0.6));
    animation: logoPulse 3s ease-in-out infinite;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(0, 255, 159, 0.6)); }
    50% { filter: drop-shadow(0 0 20px rgba(191, 62, 229, 0.8)); }
}

.logo-text {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 导航菜单 */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-aurora);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.nav-cta {
    padding: 0.5rem 1.4rem !important;
    border: 1px solid var(--color-aurora-green);
    border-radius: 30px;
    color: var(--color-aurora-green) !important;
    background: rgba(0, 255, 159, 0.08);
}

.nav-cta:hover {
    background: var(--color-aurora-green);
    color: var(--color-night-deep) !important;
    box-shadow: 0 0 24px rgba(0, 255, 159, 0.5);
}

.nav-cta::after { display: none; }

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--color-aurora-green);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--color-aurora-purple-l);
}

/* ============================================
   2. 全屏轮播图
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    z-index: 1;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,16,38,0.5) 0%, rgba(11,16,38,0.7) 50%, rgba(11,16,38,0.95) 100%);
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 900px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s ease 0.3s;
}

.carousel-slide.active .carousel-content {
    transform: translateY(0);
    opacity: 1;
}

.carousel-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--color-aurora-green);
    background: rgba(0, 255, 159, 0.1);
    border: 1px solid rgba(0, 255, 159, 0.3);
    border-radius: 30px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.carousel-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 24px rgba(0, 255, 159, 0.3));
}

.carousel-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(11, 16, 38, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 159, 0.3);
    color: var(--text-primary);
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.carousel-btn:hover {
    background: var(--color-aurora-green);
    color: var(--color-night-deep);
    border-color: var(--color-aurora-green);
    box-shadow: 0 0 24px rgba(0, 255, 159, 0.6);
}

.carousel-prev { left: 2rem; }
.carousel-next { right: 2rem; }

/* 轮播指示点 */
.carousel-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(0, 255, 159, 0.5);
    transition: all var(--transition);
}

.carousel-dot.active {
    width: 40px;
    border-radius: 6px;
    background: var(--gradient-aurora);
    box-shadow: 0 0 16px rgba(0, 255, 159, 0.6);
}

/* ============================================
   通用按钮
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.03em;
    border-radius: 30px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-aurora {
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--color-aurora-green) 0%, var(--color-ice-blue) 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    box-shadow: 0 4px 24px rgba(0, 255, 159, 0.3);
}

.btn-aurora:hover {
    background-position: 100% 50%;
    color: var(--color-night-deep);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 207, 249, 0.6);
}

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

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

/* ============================================
   通用区块标题
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--color-aurora-green);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-line {
    width: 80px;
    height: 3px;
    margin: 0 auto;
    background: var(--gradient-aurora);
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(0, 255, 159, 0.6);
}

/* ============================================
   3. 关于我们
   ============================================ */
.about {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 32, 80, 0.4) 50%, transparent 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.about-lead {
    font-size: 1.3rem !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    line-height: 1.5;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 159, 0.2);
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-aurora-soft);
    z-index: 1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.about-image-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 1s ease;
}

.about-image-wrap:hover img {
    transform: scale(1.08);
}

.about-image-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-aurora);
    opacity: 0;
    filter: blur(20px);
    transition: opacity var(--transition-slow);
    z-index: -1;
}

.about-image-wrap:hover .about-image-glow {
    opacity: 0.6;
}

/* 统计数据卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(26, 32, 80, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 207, 249, 0.2);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 159, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before { left: 100%; }

.stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-aurora-green);
    box-shadow: 0 12px 40px rgba(0, 255, 159, 0.25);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-aurora-green);
}

.stat-label {
    display: block;
    margin-top: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* ============================================
   4. 服务介绍
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.service-card {
    padding: 2.2rem 1.6rem;
    background: rgba(26, 32, 80, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

/* 冰晶几何装饰 */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-aurora-soft);
    opacity: 0;
    transition: opacity var(--transition-slow);
    transform: rotate(45deg);
}

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-aurora-green);
    box-shadow: 0 16px 48px rgba(0, 255, 159, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.4rem;
    color: var(--color-aurora-green);
    background: rgba(0, 255, 159, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card:hover .service-icon {
    color: var(--color-night-deep);
    background: var(--color-aurora-green);
    transform: rotate(360deg);
    box-shadow: 0 0 24px rgba(0, 255, 159, 0.6);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.service-tag {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    font-size: 0.78rem;
    color: var(--color-ice-blue);
    background: rgba(0, 207, 249, 0.1);
    border: 1px solid rgba(0, 207, 249, 0.3);
    border-radius: 20px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.05em;
}

/* ============================================
   5. 客户案例
   ============================================ */
.cases-slider {
    overflow: hidden;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.cases-track {
    display: flex;
    gap: 1.8rem;
    transition: transform 0.6s ease;
    will-change: transform;
}

.case-card {
    flex: 0 0 calc(25% - 1.35rem);
    min-width: 280px;
    background: rgba(26, 32, 80, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-snap-align: start;
    transition: all var(--transition);
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-aurora-purple-l);
    box-shadow: 0 16px 48px rgba(191, 62, 229, 0.3);
}

.case-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 16, 38, 0.9) 100%);
}

.case-body {
    padding: 1.4rem;
}

.case-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.case-meta {
    font-size: 0.85rem;
    color: var(--color-aurora-green);
    margin-bottom: 0.8rem;
}

.case-quote {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-style: italic;
    line-height: 1.6;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(26, 32, 80, 0.6);
    border: 1px solid rgba(0, 255, 159, 0.3);
    color: var(--text-primary);
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.slider-btn:hover {
    background: var(--color-aurora-purple-l);
    border-color: var(--color-aurora-purple-l);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(191, 62, 229, 0.6);
}

/* ============================================
   6. 新闻资讯
   ============================================ */
.news {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 32, 80, 0.3) 100%);
}

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

.news-card {
    display: flex;
    gap: 1.2rem;
    padding: 1.8rem;
    background: rgba(26, 32, 80, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.news-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-aurora);
    transition: width var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 207, 249, 0.4);
    box-shadow: 0 12px 40px rgba(0, 207, 249, 0.2);
}

.news-card:hover::after { width: 100%; }

.news-date {
    flex-shrink: 0;
    text-align: center;
    padding: 0.8rem 0.6rem;
    background: var(--gradient-aurora);
    border-radius: 12px;
    min-width: 70px;
    color: var(--color-night-deep);
}

.news-day {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.news-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.news-content {
    flex: 1;
}

.news-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-aurora-purple-l);
    background: rgba(191, 62, 229, 0.12);
    padding: 0.2rem 0.7rem;
    border-radius: 12px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

.news-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    line-height: 1.4;
}

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

.news-link {
    color: var(--color-aurora-green);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition);
}

.news-link:hover {
    color: var(--color-ice-blue);
    letter-spacing: 0.04em;
}

/* ============================================
   7. 常见问题 FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(26, 32, 80, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item.active {
    border-color: var(--color-aurora-green);
    box-shadow: 0 8px 32px rgba(0, 255, 159, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--color-aurora-green);
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 255, 159, 0.1);
    color: var(--color-aurora-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 300;
    transition: all var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--color-aurora-green);
    color: var(--color-night-deep);
}

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

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 1.6rem 1.4rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================
   8. 联系我们
   ============================================ */
.contact {
    background: linear-gradient(180deg, rgba(26, 32, 80, 0.3) 0%, transparent 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    padding: 2rem;
    background: rgba(26, 32, 80, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 207, 249, 0.2);
    border-radius: var(--radius-lg);
}

.contact-info-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-ic {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-aurora);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-night-deep);
    box-shadow: 0 4px 16px rgba(0, 255, 159, 0.3);
}

.contact-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-value {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
}

.contact-value a:hover {
    color: var(--color-aurora-green);
}

/* 表单 */
.contact-form {
    padding: 2rem;
    background: rgba(11, 16, 38, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 207, 249, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 40px rgba(0, 207, 249, 0.08);
}

.form-group {
    margin-bottom: 1.3rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.req {
    color: var(--color-aurora-purple-l);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(11, 16, 38, 0.6);
    border: 1px solid rgba(0, 207, 249, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-ice-blue);
    box-shadow: 0 0 0 3px rgba(0, 207, 249, 0.15), 0 0 20px rgba(0, 207, 249, 0.2);
    background: rgba(11, 16, 38, 0.8);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: var(--color-aurora-purple-l);
    box-shadow: 0 0 0 3px rgba(191, 62, 229, 0.15);
}

.form-error {
    display: block;
    color: var(--color-aurora-purple-l);
    font-size: 0.82rem;
    margin-top: 0.4rem;
    min-height: 1rem;
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.form-success {
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
    color: var(--color-aurora-green);
    background: rgba(0, 255, 159, 0.1);
    border: 1px solid rgba(0, 255, 159, 0.3);
    border-radius: 10px;
    font-weight: 500;
}

/* ============================================
   页脚 + 9. 友情链接
   ============================================ */
.footer {
    position: relative;
    z-index: 2;
    padding: 4rem 0 2rem;
    background: rgba(11, 16, 38, 0.9);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 255, 159, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    font-size: 1.6rem;
}

.footer-tagline {
    font-family: var(--font-display);
    color: var(--color-aurora-green);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-aurora);
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a,
.footer-links li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-meta {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

/* ============================================
   回到顶部按钮
   ============================================ */
.back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-aurora);
    color: var(--color-night-deep);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: 0 8px 24px rgba(0, 255, 159, 0.4);
}

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

.back-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 32px rgba(191, 62, 229, 0.6);
}

/* ============================================
   滚动显现动画
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   响应式 - 平板
   ============================================ */
@media (max-width: 992px) {
    :root {
        --section-pad: 4rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image-wrap img {
        height: 320px;
    }

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

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

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

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .case-card {
        flex: 0 0 calc(50% - 0.9rem);
    }
}

/* ============================================
   响应式 - 移动端
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-pad: 3rem;
    }

    /* 移动端汉堡菜单激活 */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(11, 16, 38, 0.97);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(0, 255, 159, 0.2);
        padding: 5rem 2rem 2rem;
        transition: right var(--transition);
        z-index: 100;
    }

    .nav-menu.active {
        right: 0;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    }

    .nav-list {
        flex-direction: column;
        gap: 1.2rem;
        align-items: stretch;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 1rem;
        border-radius: 10px;
        font-size: 1.05rem;
    }

    .nav-link:hover {
        background: rgba(0, 255, 159, 0.08);
    }

    .nav-cta {
        text-align: center;
        margin-top: 0.5rem;
    }

    /* 轮播按钮调整 */
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    .carousel-prev { left: 0.8rem; }
    .carousel-next { right: 0.8rem; }

    /* 服务网格单列 */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* 案例卡片单列宽度 */
    .case-card {
        flex: 0 0 80%;
    }

    /* 新闻卡片纵向布局 */
    .news-card {
        flex-direction: column;
        gap: 1rem;
    }

    .news-date {
        align-self: flex-start;
    }

    /* 联系信息堆叠 */
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    /* 页脚单列 */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* 回到顶部调整 */
    .back-top {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .carousel-title {
        font-size: 2rem;
    }

    .carousel-btn {
        display: none;
    }

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

    .case-card {
        flex: 0 0 90%;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }
}

/* ============================================
   无障碍 - 减少动画偏好
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .aurora-layer,
    .starfield,
    .logo-icon {
        animation: none !important;
    }
}

/* ============================================
   焦点可见样式
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-aurora-green);
    outline-offset: 3px;
    border-radius: 4px;
}
