/* 闪狐云 - 黄金主题 Design System */
:root {
    --bg-primary: #0b0c10;
    --bg-secondary: #12141c;
    --bg-card: rgba(22, 25, 36, 0.75);
    --bg-card-hover: rgba(30, 35, 50, 0.9);
    --gold-primary: #f39c12;
    --gold-light: #f1c40f;
    --gold-dark: #d35400;
    --gold-gradient: linear-gradient(135deg, #ffe066 0%, #f39c12 50%, #d4ac0d 100%);
    --gold-gradient-glow: linear-gradient(135deg, rgba(255, 224, 102, 0.3) 0%, rgba(243, 156, 18, 0.15) 100%);
    --text-primary: #f8f9fa;
    --text-secondary: #a0aec0;
    --text-muted: #64748b;
    --border-gold: rgba(243, 156, 18, 0.25);
    --border-gold-hover: rgba(243, 156, 18, 0.6);
    --accent-green: #2ecc71;
    --accent-blue: #3498db;
    --shadow-gold: 0 10px 30px -10px rgba(243, 156, 18, 0.3);
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

body {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Canvas */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Top Announcement Banner */
.top-banner {
    background: linear-gradient(90deg, #b7950b 0%, #f39c12 50%, #b7950b 100%);
    color: #0b0c10;
    font-weight: 700;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.top-banner span.badge {
    background: #0b0c10;
    color: #f39c12;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(243, 156, 18, 0.15);
    padding: 15px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gold-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #0b0c10;
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.5);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-gold {
    background: var(--gold-gradient);
    color: #0b0c10 !important;
    font-weight: 700 !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px -5px rgba(243, 156, 18, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--gold-light) !important;
    font-weight: 600 !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: rgba(243, 156, 18, 0.1);
    border-color: var(--gold-primary);
}

/* Layout Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
}

.section-tag {
    color: var(--gold-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
    background: rgba(243, 156, 18, 0.1);
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid var(--border-gold);
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Card Styling */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gold-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(243, 156, 18, 0.15);
}

/* Hero Section */
.hero {
    padding: 100px 0 60px 0;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(243, 156, 18, 0.12);
    border: 1px solid var(--border-gold);
    padding: 6px 16px;
    border-radius: 30px;
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 25px;
    background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 60%, #b7950b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-cta-btn {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 50px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(18, 20, 28, 0.8);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 25px;
    backdrop-filter: blur(12px);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-primary);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Node Latency Monitor */
.node-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

.node-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.node-flag {
    font-size: 1.8rem;
}

.node-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.node-type {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.node-status-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ping-badge {
    background: rgba(46, 204, 113, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(46, 204, 113, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: 700;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Pricing Section */
.price-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card.featured {
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.25);
}

.popular-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-gradient);
    color: #0b0c10;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.price-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.price-val {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold-primary);
    margin: 15px 0;
}

.price-val span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-features {
    list-style: none;
    text-align: left;
    margin: 25px 0;
}

.price-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.price-features li::before {
    content: "✓";
    color: var(--gold-primary);
    font-weight: bold;
}

/* Advantage Card */
.adv-icon {
    width: 54px;
    height: 54px;
    background: rgba(243, 156, 18, 0.12);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--gold-primary);
}

.adv-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.adv-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
}

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

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Knowledge Base Grid */
.article-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.article-tag {
    font-size: 0.75rem;
    color: var(--gold-light);
    background: rgba(243, 156, 18, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
    width: fit-content;
}

.article-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--gold-primary);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 15px;
}

.article-link {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Testimonial Card */
.test-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.test-avatar {
    width: 46px;
    height: 46px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0b0c10;
}

.test-name {
    font-weight: 700;
    font-size: 1rem;
}

.test-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.test-rating {
    color: var(--gold-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.test-quote {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-style: italic;
}

/* Footer */
footer {
    background: #07080a;
    border-top: 1px solid rgba(243, 156, 18, 0.15);
    padding: 60px 0 30px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--gold-primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .nav-links {
        display: none;
    }
    .section {
        padding: 50px 0;
    }
}
