/* Modern Dark Gradient Glassmorphism Style for 九云机场 (9yuncloud.lol) */

:root {
    --bg-dark: #090915;
    --bg-card: rgba(18, 18, 38, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(168, 85, 247, 0.4);
    
    --primary-grad: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --accent-blue: #3b82f6;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-bright: #ffffff;

    --font-main: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --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-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Gradient Orbs */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: floatOrb 18s infinite ease-in-out alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8b5cf6 0%, #3b82f6 100%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ec4899 0%, #a855f7 100%);
    bottom: -150px;
    right: -100px;
    animation-delay: -6s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06b6d4 0%, #3b82f6 100%);
    top: 50%;
    left: 40%;
    animation-delay: -12s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 80px) scale(1.1); }
    100% { transform: translate(-40px, 40px) scale(0.95); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.15);
    transform: translateY(-4px);
}

/* Buttons & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(9, 9, 21, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -0.5px;
}

.logo-text span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 4px;
}

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

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

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-grad);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.glow-btn:hover {
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
    transform: scale(1.03);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    background: transparent;
    padding: 8px 16px;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
}

.btn-outline:hover {
    background: var(--primary-grad);
    color: #fff;
    border-color: transparent;
}

/* Hero Section */
.hero {
    padding: 160px 0 90px;
    text-align: center;
}

.hero-container {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 30px;
    font-size: 0.85rem;
    color: #d8b4fe;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn-hero {
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: 12px;
    background: var(--primary-grad);
    color: #fff;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 24px;
    background: rgba(18, 18, 38, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-bright);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Features Section */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
}

.gradient-purple { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.gradient-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.gradient-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-bright);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Nodes Grid */
.nodes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.node-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.node-info h4 {
    font-size: 1rem;
    color: var(--text-bright);
}

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

.node-badge {
    margin-left: auto;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Pricing Grid (Figure 2 Style Match) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #0f1026;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
    border: 2px solid #38bdf8;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
    background: #111432;
}

.featured-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-grad);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.plan-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.plan-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.plan-subtitle {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.plan-features {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.feature-item .check {
    color: #38bdf8;
    font-weight: bold;
}

.plan-price {
    margin-top: auto;
    margin-bottom: 20px;
}

.plan-price .currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.plan-price .price-val {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-left: 2px;
}

.plan-price .period {
    font-size: 0.85rem;
    color: #94a3b8;
}

.plan-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    color: #38bdf8;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.plan-action-btn:hover {
    color: #7dd3fc;
}

/* Download Section */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.download-card {
    padding: 28px 20px;
    text-align: center;
}

.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.download-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-bright);
}

.download-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 28px;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

.user-meta h4 {
    font-size: 1.05rem;
    color: var(--text-bright);
}

.user-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment {
    font-size: 0.92rem;
    color: #d1d5db;
    margin-bottom: 16px;
    line-height: 1.6;
}

.rating {
    color: #f59e0b;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.article-tag {
    align-self: flex-start;
    font-size: 0.75rem;
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.article-card h3 a {
    color: var(--text-bright);
    text-decoration: none;
    transition: var(--transition);
}

.article-card h3 a:hover {
    color: var(--accent-pink);
}

.article-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-decoration: none;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 20px 24px;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-bright);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-purple);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* CTA Banner */
.cta-banner {
    padding: 60px 0;
}

.cta-card {
    padding: 50px 30px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15) 0%, rgba(18, 18, 38, 0.8) 100%);
}

.cta-card h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: #06060e;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 380px;
}

.footer-links h4 {
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--accent-purple);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid, .pricing-grid, .testimonials-grid, .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nodes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .nav-links {
        display: none;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid, .pricing-grid, .testimonials-grid, .articles-grid, .nodes-grid, .downloads-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}
