:root {
    --primary-color: #8A2BE2;
    --secondary-color: #4B0082;
    --text-color: #FFFFFF;
    --dark-bg: #000000;
    --dark-card-bg: #111111;
    --gradient-purple: linear-gradient(90deg, #8A2BE2 0%, #4B0082 100%);
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* 导航栏样式 */
nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
}

.logo-text .dot {
    color: var(--primary-color);
}

/* Footer Logo樣式 */
.footer-logo .logo-text {
    font-size: 1.5rem;
}

/* Logo hover效果 */
.logo:hover .dot {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

/* 头部区域样式 */
header {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    padding: 200px 0 150px;
    color: white;
}

header h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

header p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* 添加内容动画 */
header .container {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.research-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.research-card:nth-child(1) { animation-delay: 0.2s; }
.research-card:nth-child(2) { animation-delay: 0.4s; }
.research-card:nth-child(3) { animation-delay: 0.6s; }

/* 添加悬浮动画 */
.arch-visual img {
    animation: float 6s ease-in-out infinite;
}

/* 添加滚动显示动画 */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 更卡片悬浮效果 */
.service-card,
.price-card,
.case-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--dark-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover,
.price-card:hover,
.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: var(--dark-card-bg);
    border: 1px solid rgba(138, 43, 226, 0.2);
}

/* 服务区域样式 */
#services {
    padding: 100px 0;
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--dark-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 价格区域样式 */
#pricing {
    padding: 100px 0;
    background: var(--dark-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.price-card {
    background: var(--dark-card-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price-card ul {
    list-style: none;
    margin: 2rem 0;
}

.price-card li {
    margin: 0.5rem 0;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 联系表单样式 */
#contact {
    padding: 100px 0;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    background: var(--dark-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-color);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    height: 150px;
}

/* 按钮样式 */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background: var(--secondary-color);
}

/* 页脚样式 */
footer {
    background: var(--dark-card-bg);
    color: var(--text-color);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .logo-icon {
    width: 24px;
    height: 24px;
}

.footer-desc {
    opacity: 0.7;
    line-height: 1.6;
}

.footer-contact h4,
.footer-hours h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.footer-contact ul,
.footer-hours ul {
    list-style: none;
}

.footer-contact li,
.footer-hours li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    opacity: 0.7;
}

.footer-contact svg {
    margin-top: 0.25rem;
}

.footer-contact a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    footer {
        padding: 3rem 0 1.5rem;
    }
} 

/* 添加背景装饰样式 */
.background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

/* 添加新的按钮样式 */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button.primary {
    background: var(--gradient-purple);
    border: none;
}

.cta-button.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 添加客户标志部分样式 */
#clients {
    padding: 80px 0;
    background: var(--dark-bg);
}

.section-subtitle {
    text-align: center;
    color: #6B7280;
    margin-bottom: 3rem;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.client-logos img {
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: opacity 0.3s;
}

.client-logos img:hover {
    opacity: 1;
}

/* 特性展示样式 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--dark-card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
} 

/* Frontier AI Research */
.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.research-card {
    background: var(--dark-card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.research-card .stat {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Generative AI Architecture */
.architecture-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.feature-list .icon {
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Data Engine */
.engine-features {
    margin-top: 3rem;
}

.code-preview {
    background: #000000;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-preview pre {
    margin: 0;
}

/* Data Labeling */
.labeling-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.labeling-features {
    list-style: none;
    margin-top: 2rem;
}

.labeling-features li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.labeling-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Data Curation */
.curation-showcase {
    margin-top: 3rem;
}

.curation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--dark-card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Case Studies */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background: var(--dark-card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 2rem;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .architecture-display,
    .labeling-grid {
        grid-template-columns: 1fr;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
} 

/* 调整架构图片尺寸和布局 */
.arch-visual {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.arch-visual img {
    width: 100%;
    max-width: 500px; /* ��大宽度 */
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* 调整数据标注图片 */
.labeling-visual {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.labeling-visual img {
    width: 100%;
    max-width: 450px; /* 限制最大宽度 */
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* 调整案例研究图片 */
.case-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    position: relative;
    overflow: hidden;
}

.case-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .arch-visual img,
    .labeling-visual img {
        max-width: 100%;
    }
    
    .architecture-display {
        gap: 2rem;
    }
    
    .case-image {
        padding-bottom: 75%; /* 移动端调整为4:3比 */
    }
} 

/* 确保所有section都是深色背景 */
section {
    background-color: var(--dark-bg);
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

/* 视频背景容器样式 */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.3;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
} 

/* About Section Styles */
#about {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--dark-card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.expertise-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 12px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.expertise-info {
    width: 100%;
}

.expertise-info h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.expertise-info p {
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

/* 应式调整 */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .expertise-item {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 2rem auto 0;
    }
    
    .expertise-item {
        padding: 2rem;
    }
    
    .expertise-info p {
        max-width: 100%;
    }
} 

/* 更新服卡片的图标样式 */
.service-card .feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    width: 64px;
    height: 64px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 12px;
    color: var(--primary-color);
}

.service-card .feature-icon svg {
    width: 40px;
    height: 40px;
} 

/* 添加光影线条动画 */
.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-line {
    position: absolute;
    width: 2px;
    height: 200px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(138, 43, 226, 0.8),
        transparent
    );
    animation: flowingLine 4s linear infinite;
    opacity: 0;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

/* 调整线条位置和角度 */
.hero-line:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
    transform-origin: top left;
}

.hero-line:nth-child(2) {
    left: 35%;
    animation-delay: 1s;
    transform-origin: top left;
}

.hero-line:nth-child(3) {
    left: 55%;
    animation-delay: 2s;
    transform-origin: top left;
}

.hero-line:nth-child(4) {
    left: 75%;
    animation-delay: 3s;
    transform-origin: top left;
}

@keyframes flowingLine {
    0% {
        transform: translateY(-100%) rotate(35deg);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(35deg);
        opacity: 0;
    }
}

/* 添加额外的效 */
.header-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(138, 43, 226, 0.1) 0%,
        transparent 70%
    );
    top: -200px;
    right: -200px;
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

/* 全局线条动画样式 */
header .flowing-lines {
    position: absolute;
    top: 50%;
    left: 20%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    z-index: 2;
}

header .flow-line {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(138, 43, 226, 0.5),
        transparent
    );
    animation: flowingHorizontal 6s ease-in-out infinite;
    opacity: 0;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
    transform-origin: center;
}

/* 更新線條延遲 */
header .flow-line:nth-child(1) { animation-delay: 0s; }
header .flow-line:nth-child(2) { animation-delay: 1s; }
header .flow-line:nth-child(3) { animation-delay: 2s; }
header .flow-line:nth-child(4) { animation-delay: 3s; }
header .flow-line:nth-child(5) { animation-delay: 4s; }
header .flow-line:nth-child(6) { animation-delay: 5s; }

/* 新的左右往返動畫 */
@keyframes flowingHorizontal {
    0% {
        transform: translateX(0) rotate(35deg);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
        transform: translateX(200px) rotate(35deg);
    }
    40% {
        opacity: 1;
        transform: translateX(400px) rotate(35deg);
    }
    50% {
        opacity: 0.8;
        transform: translateX(500px) rotate(35deg);
    }
    60% {
        opacity: 1;
        transform: translateX(400px) rotate(35deg);
    }
    80% {
        opacity: 0.8;
        transform: translateX(200px) rotate(35deg);
    }
    100% {
        transform: translateX(0) rotate(35deg);
        opacity: 0;
    }
}

/* 确保section有相对定位以容纳线条 */
section {
    position: relative;
    overflow: hidden;
}

/* 调整z-index确保内容在线条上层 */
section > .container {
    position: relative;
    z-index: 2;
}

/* Services Section Styles */
.services-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.services-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* 調整現有的services-grid的margin */
.services-grid {
    margin-top: 2rem;
}

/* Hero背景圖片樣式 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('src/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}

/* 調整video-background的z-index確保在背景圖片上層 */
.video-background {
    z-index: 1;
}

/* 調整flowing-lines的z-index確保在視頻上層 */
.flowing-lines {
    z-index: 2;
}

/* 確保內容在最上層 */
header .container {
    position: relative;
    z-index: 4;
}

/* 確保video-overlay在正確的層級 */
.video-overlay {
    z-index: 2;
}

/* 漢堡選單樣式 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* 導航列RWD */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--dark-card-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    /* 漢堡選單動畫 */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Footer Links */
.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links span {
    margin: 0 1rem;
    opacity: 0.7;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-card-bg);
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.cookie-btn.accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn.settings {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Legal Pages Styles */
.legal-content {
    padding: 160px 0 80px;
    background: var(--dark-bg);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-card-bg);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-text h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.legal-text ul {
    margin: 1rem 0 2rem 2rem;
    opacity: 0.9;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.legal-text a:hover {
    opacity: 0.8;
}

/* 更新footer-bottom樣式 */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom p {
    opacity: 0.7;
    margin: 0;
}

.footer-links {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-links span {
    opacity: 0.7;
}

/* 移動端適配 */
@media (max-width: 768px) {
    .footer-bottom {
        gap: 1rem;
    }
}

/* 發光球體容器 */
.glowing-orbs {
    position: absolute;
    top: 100px;
    right: 15%;
    width: 300px;
    height: 300px;
}

/* 發光球體基礎樣式 */
.glowing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
}

/* 紫色球體 */
.glowing-orb.purple {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, rgba(138, 43, 226, 0.8), rgba(75, 0, 130, 0.6));
    animation: purpleGlow 4s ease-in-out infinite;
    right: 0;
}

/* 金色球體 */
.glowing-orb.gold {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.8), rgba(218, 165, 32, 0.6));
    animation: goldGlow 4s ease-in-out infinite;
    right: 60px;
    top: 40px;
}

/* 發光球體光暈 */
.glowing-orb::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: inherit;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    z-index: -1;
}

/* 紫色球體動畫 */
@keyframes purpleGlow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* 金色球體動畫 */
@keyframes goldGlow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* 移動端適配 */
@media (max-width: 768px) {
    .glowing-orbs {
        right: 10%;
        top: 80px;
        transform: scale(0.7);
    }
}