/* ==========================================================================
   飞机云 feijiyun.mom - 官方主样式表 (Light Sky Theme & Responsive Design)
   ========================================================================== */

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary-color: #0284c7;
    --accent-color: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --bg-light: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.88);
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 20px rgba(37, 99, 235, 0.08);
    --shadow-lg: 0 12px 32px rgba(37, 99, 235, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Canvas overlay for Mouse Wing Trail */
#mouse-trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

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

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

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

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
}

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

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

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.logo-text span {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

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

.nav-btn-review {
    background: #e0f2fe;
    color: #0369a1 !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600 !important;
}

.nav-btn-review:hover {
    background: #bae6fd;
}

.nav-btn-register {
    background: var(--accent-gradient);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 24px;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.nav-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.6) 0%, rgba(248, 250, 252, 1) 100%),
                url('../assets/airplane_hero_bg.jpg') no-repeat center bottom / cover;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 24px;
    align-items: center;
}

.hero-main {
    text-align: center;
    padding: 0 15px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin-bottom: 20px;
}

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

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 36px;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* Left & Right VPN Side Floating Panels */
.vpn-panel {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vpn-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.status-label {
    color: var(--text-muted);
}

.status-value {
    font-weight: 600;
    color: var(--text-primary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.protocol-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Sections Styling */
.section {
    padding: 90px 0;
}

.section-bg-alt {
    background-color: #ffffff;
}

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

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

/* Features Grid - 6 Cards IN ONE ROW HORIZONTALLY */
.features-grid-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    align-items: stretch;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

.feature-img-wrapper {
    width: 100%;
    height: 110px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .feature-img {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.45;
}

/* PRICING SECTION - MUST BE ONE ROW HORIZONTALLY */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 44px;
}

.toggle-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.toggle-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.discount-tag {
    background: #fef3c7;
    color: #b45309;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Horizontal One Row Pricing Grid */
.pricing-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.price-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.price-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.price-header h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 16px 0 20px;
}

.price-amount span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
}

.price-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px dashed #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li::before {
    content: "✓";
    color: #10b981;
    font-weight: 800;
}

.price-btn {
    width: 100%;
    padding: 12px 0;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    border: none;
}

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

.article-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
}

.article-img-wrapper {
    width: 100%;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-img {
    transform: scale(1.05);
}

.article-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: inline-block;
}

.article-card h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.article-link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Reviews & FAQs */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.review-stars {
    color: #f59e0b;
    margin-bottom: 12px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-style: italic;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.user-info h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
}

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

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

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer & PBN Links */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 40px;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
}

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

.footer-brand h3 {
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Footer PBN Area */
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.pbn-links {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 16px;
}

.pbn-links a {
    color: #64748b;
    text-decoration: none;
}

.pbn-links a:hover {
    color: #94a3b8;
}

/* Article Page Layout */
.article-page {
    background-color: #f8fafc;
}

.article-container {
    padding: 60px 20px;
    max-width: 900px;
}

.article-content {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.article-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-meta .category {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.article-meta h1 {
    font-size: 2.2rem;
    margin: 10px 0;
    color: var(--text-primary);
}

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

.article-body h2 {
    font-size: 1.5rem;
    margin: 28px 0 14px;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1.02rem;
}

.article-body ul, .article-body ol {
    margin: 0 0 20px 24px;
    color: var(--text-secondary);
}

.article-body li {
    margin-bottom: 8px;
}

.article-cta-box {
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 28px;
    margin: 36px 0;
    text-align: center;
}

.article-cta-box h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.related-articles-list {
    list-style: square;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .features-grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .pricing-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }
    .vpn-panel {
        display: none;
    }
    .features-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Floating Recommend Button */
.floating-recommend-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: var(--accent-gradient);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.floating-recommend-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
}

@media (max-width: 640px) {
    .floating-recommend-btn {
        bottom: 16px;
        right: 16px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}
