:root {
    --primary-color: #FF4500; /* 岩浆橙 */
    --primary-hover: #ff6a33;
    --bg-color: #0b0b0b; /* 焦炭黑 */
    --text-color: #ffffff; /* 炽热白 */
    --card-bg: #1a1a1a;
    --border-color: #333333;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    position: relative;
    overflow-x: hidden;
}

/* 动态红色光晕（岩浆呼吸） */
body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 200vw;
    height: 80vh;
    background: radial-gradient(ellipse at center, rgba(255, 69, 0, 0.15) 0%, rgba(11, 11, 11, 0) 70%);
    z-index: -1;
    animation: breathe 5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes breathe {
    0% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    100% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

/* Navigation */
.navbar {
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(255, 69, 0, 0.2);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #FF4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
}

.hero-intro {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Eye SVG */
.magic-eye {
    width: 350px;
    height: 350px;
    filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.8));
}
.pupil { animation: pulse 2s infinite alternate; }
.radar-line { transform-origin: 100px 100px; animation: spin 2s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { r: 20; } 100% { r: 30; } }

/* Data Ticker */
.data-ticker {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    height: 40px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 5px var(--primary-color), 0 0 15px #ff0000;
}
.ticker-content span {
    line-height: 40px;
}

/* Buttons */
.cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
}

.cta-btn:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.8);
    transform: translateY(-2px);
}

/* Sections Common */
section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

/* Grids */
.grid-3, .grid-2 {
    display: grid;
    gap: 30px;
}

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

/* Cards */
.card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.2);
}

.card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Carousel 3D */
.carousel-container {
    perspective: 1200px;
    height: 650px;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.carousel-3d {
    width: 320px;
    height: 520px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Pricing Card overriding for carousel */
.carousel-3d .pricing-card {
    position: absolute;
    width: 320px;
    height: 520px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    backface-visibility: hidden;
}

/* Magma Flow Border for Featured */
.pricing-card.featured {
    border: 2px solid transparent;
    background: 
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(45deg, #FF4500, #ff8c00, #ff0000, #FF4500) border-box;
    background-size: 100% 100%, 400% 400%;
    animation: magmaFlow 3s linear infinite;
}

@keyframes magmaFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0 5px 0;
    text-shadow: 0 0 10px rgba(255,69,0,0.3);
}

.pricing-card .price span {
    font-size: 1rem;
    color: #94a3b8;
}

.price-yearly {
    font-size: 0.9rem;
    color: #ff8c00;
    margin-bottom: 20px;
    font-weight: bold;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: #cbd5e1;
}

/* Reviews Marquee */
.reviews-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track .card {
    width: 350px;
    margin: 0 15px;
    white-space: normal;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    font-style: italic;
}
.review-card .author {
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
    color: var(--primary-color);
}

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

.faq-item {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    transition: color 0.3s;
}

.faq-item h4:hover {
    color: var(--primary-color);
}

.faq-item p {
    color: #cbd5e1;
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95rem;
}

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

/* Subpages Container */
.page-container {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
    margin-bottom: 40px;
}
.page-container h1 { border-bottom: 1px solid var(--border-color); padding-bottom: 10px; color: var(--primary-color);}
.page-container h2 { text-align: left; font-size: 1.5rem; margin-top: 30px; margin-bottom: 15px;}
.page-container p { margin-bottom: 15px; color: #cbd5e1; }

/* Responsive */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; height: auto; padding: 15px 20px; }
    .nav-links { margin-top: 15px; flex-wrap: wrap; justify-content: center; gap: 15px; padding-left:0; }
    .nav-links li { margin-left: 0; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-text { padding-right: 0; margin-bottom: 30px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .carousel-container { height: 750px; overflow: visible; }
    .carousel-3d { width: 280px; height: 550px; }
    .carousel-3d .pricing-card { width: 280px; height: 550px; }
    .cta-btn { width: 100%; display: block; box-sizing: border-box; }
}

/* Navigation Button */
.nav-btn {
    padding: 8px 20px;
    font-size: 1rem;
    margin-left: 20px;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}
@media (max-width: 768px) {
    .nav-btn {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}


/* Accessibility & SEO Fixes */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary-color); color: #fff; padding: 8px; z-index: 9999; transition: top 0.3s; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px dashed var(--primary-color); outline-offset: 4px; }
h1[id], h2[id], h3[id], section[id] { scroll-margin-top: 100px; }
details.faq-item { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 15px; overflow: hidden; }
details.faq-item summary { padding: 20px; font-size: 1.2rem; color: var(--primary-color); cursor: pointer; font-weight: bold; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item[open] summary { border-bottom: 1px solid var(--border-color); }
details.faq-item p { padding: 20px; color: #cbd5e1; margin: 0; line-height: 1.6; }
