/* Color Variables & Theming */
:root {
    --bg-dark: #050510;
    --elec-blue: #00E5FF;
    --quan-purple: #7000FF;
    --text-main: #e0e0f0;
    --text-muted: #8a8a9e;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: 'Consolas', 'Courier New', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

/* Background Vortex Effect */
#vortex-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 250vw;
    height: 250vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, transparent 10%, rgba(112, 0, 255, 0.08) 30%, transparent 60%),
                conic-gradient(from 0deg, transparent 0%, rgba(0, 229, 255, 0.05) 25%, transparent 50%, rgba(112, 0, 255, 0.05) 75%, transparent 100%);
    animation: rotateVortex 40s linear infinite;
    z-index: -2;
    pointer-events: none;
}
@keyframes rotateVortex {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Vertical Status Marquee */
.status-marquee-container {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 70vh;
    width: 25px;
    overflow: hidden;
    z-index: 100;
    pointer-events: none;
    opacity: 0.85;
}
.status-marquee {
    display: flex;
    flex-direction: column;
    animation: scrollVertical 15s linear infinite;
    white-space: nowrap;
}
.status-marquee span {
    transform: rotate(90deg);
    transform-origin: left top;
    margin-bottom: 350px;
    color: var(--elec-blue);
    font-size: 0.75rem;
    text-shadow: 0 0 5px var(--elec-blue);
    letter-spacing: 2px;
}
@keyframes scrollVertical {
    from { transform: translateY(100%); }
    to { transform: translateY(-100%); }
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    text-shadow: 0 0 15px var(--quan-purple);
    text-transform: uppercase;
}

.neon-text {
    color: var(--elec-blue);
    text-shadow: 0 0 8px var(--elec-blue);
}

a {
    text-decoration: none;
    color: var(--elec-blue);
}

/* Navbar */
.navbar {
    background: rgba(5, 5, 16, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}
.nav-links a {
    color: var(--text-main);
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s, text-shadow 0.3s;
}
.nav-links a:hover {
    color: var(--elec-blue);
    text-shadow: 0 0 8px var(--elec-blue);
}
.nav-actions .nav-btn {
    background: transparent;
    border: 1px solid var(--elec-blue);
    color: var(--elec-blue);
    padding: 8px 22px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.2) inset;
}
.nav-actions .nav-btn:hover {
    background: var(--elec-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--elec-blue);
}

/* Sections */
.cyber-section {
    background: linear-gradient(180deg, transparent, rgba(112,0,255,0.03), transparent);
    padding: 80px 0;
}
section {
    padding: 80px 0;
}

/* Hero Section */
.hero {
    padding: 80px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.hero-text {
    flex: 1.2;
}
.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}
.hero-intro {
    font-size: 1.15rem;
    margin-bottom: 45px;
    color: var(--text-muted);
    max-width: 90%;
}
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* SVG Quantum Accelerator Ring */
.quantum-ring {
    width: 450px;
    height: 450px;
    filter: drop-shadow(0 0 25px rgba(112, 0, 255, 0.4));
}
.spin-slow {
    transform-origin: center;
    animation: spin 20s linear infinite;
}
.spin-reverse {
    transform-origin: center;
    animation: spin-rev 12s linear infinite;
}
.spin-fast {
    transform-origin: center;
    animation: spin 6s linear infinite;
}
.pulse-core {
    animation: pulse 2s ease-in-out infinite alternate;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-rev { 100% { transform: rotate(-360deg); } }
@keyframes pulse { 
    0% { opacity: 0.5; r: 10; } 
    100% { opacity: 1; r: 20; filter: drop-shadow(0 0 15px var(--elec-blue)); } 
}

/* SVG Particles emitting */
.particle { transform-origin: center; }
.p1 { animation: shoot1 2s linear infinite; }
.p2 { animation: shoot2 2.5s linear infinite 0.5s; }
.p3 { animation: shoot3 1.8s linear infinite 1s; }
.p4 { animation: shoot4 2.2s linear infinite 1.5s; }

@keyframes shoot1 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(180px, -120px) scale(0); opacity: 0; }
}
@keyframes shoot2 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(-140px, -160px) scale(0); opacity: 0; }
}
@keyframes shoot3 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(-160px, 120px) scale(0); opacity: 0; }
}
@keyframes shoot4 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(120px, 170px) scale(0); opacity: 0; }
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--quan-purple), var(--elec-blue));
    color: #fff;
    padding: 18px 45px;
    font-size: 1.15rem;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    cursor: pointer;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.7);
    color: #fff;
}
.cta-button.outline {
    background: transparent;
    border: 1px solid var(--quan-purple);
    color: var(--text-main);
    box-shadow: 0 0 10px rgba(112, 0, 255, 0.3) inset;
}
.cta-button.outline:hover {
    background: rgba(112, 0, 255, 0.15);
    border-color: var(--elec-blue);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    color: #fff;
}

/* Card Grids */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.card-grid.duo {
    grid-template-columns: repeat(2, 1fr);
}
.cyber-card {
    background: rgba(15, 15, 25, 0.5);
    padding: 35px 30px;
    border: 1px solid rgba(112, 0, 255, 0.2);
    border-radius: 6px;
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}
.cyber-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--elec-blue), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.cyber-card:hover {
    border-color: var(--elec-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 229, 255, 0.15);
}
.cyber-card:hover::before {
    transform: translateX(100%);
}
.cyber-card h3 {
    font-size: 1.3rem;
    color: var(--elec-blue);
    margin-bottom: 15px;
}

/* Pricing Table / 3D Hover */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.price-card {
    text-align: center;
    padding: 45px 30px;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out; /* Smooth snapping back */
}
.price-card.highlight {
    border-color: var(--elec-blue);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.15) inset;
}
.price-card.highlight::before {
    content: "系统推荐";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--elec-blue);
    color: #000;
    padding: 3px 15px;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}
.price-card h3 {
    color: var(--quan-purple);
    text-shadow: 0 0 8px rgba(112,0,255,0.6);
}
.price-card .price {
    font-size: 2.8rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 0 15px var(--elec-blue);
}
.price-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
    text-shadow: none;
}
.price-card ul {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}
.price-card ul li {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    color: var(--text-muted);
}
.price-card ul li:last-child {
    border-bottom: none;
}
.price-card .cta-button {
    width: 100%;
}

/* FAQs & Reviews */
.faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.faq-item h4 {
    color: var(--elec-blue);
    margin-bottom: 12px;
}
.faq-item p {
    color: var(--text-muted);
}

.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.review-author {
    font-weight: bold;
    color: var(--elec-blue);
    text-align: right;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: #020205;
    border-top: 1px solid rgba(112, 0, 255, 0.2);
    padding: 40px 0 20px 0;
    text-align: center;
}
.footer-links {
    margin-bottom: 25px;
}
.footer-links a {
    color: var(--text-muted);
    margin: 0 18px;
    transition: color 0.3s;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--elec-blue);
    text-shadow: 0 0 5px var(--elec-blue);
}
.copyright {
    font-size: 0.85rem;
    color: #444;
    padding-top: 20px;
}

/* Simple Pages (Knowledge, etc) will inherit dark mode automatically */
.page-content {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    min-height: calc(100vh - 150px);
}
.page-content h1 {
    color: var(--elec-blue);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.page-content h2 {
    border-bottom: 1px solid rgba(112, 0, 255, 0.3);
}

/* Media Queries */
@media (max-width: 900px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }
    .hero-visual {
        margin-top: 20px;
    }
    .pricing-table, .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .price-card.highlight {
        transform: none;
    }
}

@media (max-width: 768px) {
    .status-marquee-container {
        display: none; /* Hide vertical marquee on very small screens */
    }
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .nav-actions {
        margin-top: 15px;
    }
    .card-grid, .card-grid.duo, .pricing-table, .faq-list {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-intro {
        margin: 0 auto 30px auto;
    }
    .cta-button {
        display: block;
        width: 100%;
        text-align: center;
        padding: 18px 20px;
    }
    .footer-links a {
        display: block;
        margin: 15px 0;
    }
}
