/* 全局样式 重置与基础设置 */
:root {
    --primary-color: #8A2BE2; /* 耀眼紫水晶 */
    --primary-hover: #9c45ef;
    --secondary-color: rgba(0, 255, 255, 0.1);
    --secondary-hover: rgba(0, 255, 255, 0.2);
    --text-color: #ffffff;
    --text-light: #a3aed0;
    --bg-color: #0b0914; /* 深邃幽暗的地底紫黑 */
    --bg-light: rgba(20, 15, 35, 0.6);
    --border-color: rgba(138, 43, 226, 0.3);
    --cyan-glow: #00FFFF;
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 50% 0%, rgba(138,43,226,0.15) 0%, rgba(11,9,20,1) 60%);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--cyan-glow);
}

ul {
    list-style: none;
}

/* 布局与容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: var(--bg-light);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), #b475ff);
    color: white;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.8), 0 0 10px var(--cyan-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.05);
    color: var(--cyan-glow);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 255, 255, 0.1);
    border-color: var(--cyan-glow);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 导航栏 */
.navbar {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
    background-color: rgba(11, 9, 20, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 0 15px var(--primary-color);
}
.logo a { color: #fff; }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

/* 主视觉区 */
.hero {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
}

#sporesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.crystal-container {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 500px;
    z-index: 1;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero-crystal {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(138,43,226,0.6));
}

.data-vein {
    stroke-dasharray: 100;
    animation: dash 3s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -200;
    }
}
@keyframes float {
    0% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-55%) rotate(2deg); }
    100% { transform: translateY(-50%) rotate(0deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 0 0 18%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, var(--cyan-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 0 0 40px 0;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* 网格系统 */
.grid {
    display: grid;
    gap: 30px;
}

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

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

/* 卡片基础样式 */
.card {
    background: linear-gradient(135deg, rgba(30, 20, 50, 0.7), rgba(15, 10, 30, 0.9));
    padding: 40px 30px;
    border-radius: 4px; /* More angular */
    box-shadow: inset 0 0 20px rgba(138, 43, 226, 0.2), 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.4);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    color: #e0e0e0;
    clip-path: polygon(0 15px, 15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

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

.card:hover {
    box-shadow: inset 0 0 30px rgba(138, 43, 226, 0.4), 0 15px 40px rgba(0, 255, 255, 0.2);
    border-color: var(--cyan-glow);
}

/* 优势卡片 */
.advantage-card {
    text-align: center;
}

.advantage-card .icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--cyan-glow);
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.advantage-card p {
    color: var(--text-light);
}

/* 特性卡片 */
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    background: rgba(138, 43, 226, 0.2);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--cyan-glow);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

/* 价格卡片 */
.price-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.price-card h3 {
    font-size: 1.25rem;
    color: var(--cyan-glow);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price-card .price {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 20px var(--primary-color);
}

.price-card .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price-card .period {
    font-size: 1rem;
    color: var(--text-light);
}

.price-card .features {
    text-align: left;
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-card .features li {
    margin-bottom: 15px;
    color: #d0d0d0;
}

.price-card.popular {
    border-color: var(--cyan-glow);
    box-shadow: inset 0 0 30px rgba(0, 255, 255, 0.2), 0 15px 40px rgba(138, 43, 226, 0.3);
}

.price-card.popular .badge {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), var(--cyan-glow));
    color: #000;
    padding: 6px 20px;
    font-size: 0.875rem;
    font-weight: 900;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* 评论卡片 & 跑马灯 */
.reviews {
    overflow: hidden;
}
.reviews .grid-3 {
    display: flex;
    animation: scrollMarquee 20s linear infinite;
    gap: 30px;
    width: max-content;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

.review-card {
    width: 350px;
    flex-shrink: 0;
}

.review-card .stars {
    color: var(--cyan-glow);
    font-size: 1.25rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--cyan-glow);
}

.review-card .review-text {
    font-style: italic;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.review-card .user-info {
    font-weight: bold;
    color: var(--primary-color);
}

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

.faq-item {
    background: rgba(30, 20, 50, 0.5);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: var(--transition);
}

.faq-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: var(--cyan-glow);
}

.faq-item h4 {
    font-size: 1.125rem;
    margin-bottom: 10px;
    color: #fff;
}

.faq-item p {
    color: #d0d0d0;
}

/* 页脚 */
.footer {
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(to top, rgba(11, 9, 20, 1), rgba(11, 9, 20, 0));
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    display: inline-block;
    margin: 0 15px;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--cyan-glow);
    text-shadow: 0 0 8px var(--cyan-glow);
}

.copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.875rem;
}

/* 响应式媒体查询 */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    .crystal-container {
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 80px 0;
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%; /* 手机端按钮全宽，适合手指点击 */
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .price-card.popular {
        transform: none;
    }
    
    .price-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }

    .crystal-container {
        display: none; /* Hide SVG on mobile */
    }
}

/* 新页面的简单内容区样式 */
.page-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    background: rgba(20, 15, 35, 0.6);
    border: 1px solid rgba(138,43,226,0.3);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--cyan-glow);
    text-shadow: 0 0 10px rgba(0,255,255,0.4);
}

.page-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.page-content p {
    margin-bottom: 15px;
    color: #d0d0d0;
}

.page-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
    list-style-type: disc;
    color: #d0d0d0;
}

.page-content ul li {
    margin-bottom: 10px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px;
    z-index: 10000;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}