/* 机场独立文章页专属样式 */

/* Breadcrumb */
.detail-breadcrumb {
    padding: 1.5rem 2rem 0;
    font-size: 0.875rem;
    color: #64748b;
}
.detail-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}
.detail-breadcrumb a:hover {
    text-decoration: underline;
}

/* Page Wrapper */
.detail-page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    position: relative;
    padding-top: 1rem;
}

/* Side Nav (Right side) */
.detail-side-nav {
    position: sticky;
    top: 6rem;
    width: 160px;
    height: fit-content;
    flex-shrink: 0;
    margin-left: 2rem;
}
.nav-sticky-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.nav-title {
    margin: 0 0 0.5rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.premium-nav-item {
    padding: 0.75rem 1rem;
    color: #475569;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.875rem;
}
.premium-nav-item:hover {
    background: #f1f5f9;
    color: #2563eb;
    transform: translateX(4px);
}
.detail-main {
    flex: 1;
    max-width: 900px;
    padding-bottom: 5rem;
}

/* Premium Hover & Glass Effects */
.premium-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Premium Visit Button */
.btn-visit-premium {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}
.btn-visit-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}
@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
.btn-visit-premium:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

/* Hero Section with AI Background */
.detail-hero-new {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.hero-bg-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.75) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: white;
}
.detail-hero-copy {
    flex: 1;
}
.detail-hero-title {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.detail-hero-desc {
    font-size: 1.125rem;
    color: #e2e8f0;
    margin: 0 0 1.5rem 0;
}
.detail-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}
.detail-hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.detail-official-btn {
    display: inline-block;
    color: white;
}
.detail-back-btn {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.detail-back-btn:hover {
    color: white;
}

/* Score Card */
.detail-score-card {
    width: 220px;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.dsc-header {
    margin-bottom: 1rem;
}
.dsc-label { font-size: 0.875rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem;}
.dsc-user-rating { font-size: 0.75rem; color: #10b981; font-weight: 600; background: rgba(16, 185, 129, 0.1); padding: 0.25rem 0.5rem; border-radius: 1rem; display: inline-block;}
.dsc-number { font-size: 4rem; font-weight: 900; color: #0f172a; line-height: 1; margin-bottom: 1rem; display: flex; align-items: baseline; justify-content: center;}
.dsc-slash { font-size: 1rem; color: #94a3b8; font-weight: 500; margin-left: 0.25rem;}
.dsc-bar-track { height: 6px; background: rgba(0,0,0,0.05); border-radius: 3px; overflow: hidden; margin-bottom: 1.5rem; }
.dsc-bar-fill { height: 100%; background: linear-gradient(90deg, #3b82f6, #8b5cf6); width: 0%; transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1); border-radius: 3px;}
.dsc-grade { font-size: 1.75rem; font-weight: 800; color: #2563eb; background: linear-gradient(to right, #2563eb, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Snapshot Grid */
.detail-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 2rem;
    margin-bottom: 4rem;
}
.snap-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}
.snap-label { font-size: 0.875rem; color: #64748b; margin-bottom: 0.75rem; font-weight: 500; }
.snap-value { font-size: 1.75rem; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; }
.snap-green { color: #10b981; }
.snap-blue { color: #2563eb; }

/* Generic Section */
.detail-section {
    padding: 0 2rem;
    margin-bottom: 3rem;
}
.detail-section-title {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Capabilities Grid */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.cap-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.cap-card-title {
    font-size: 1.125rem;
    margin: 0 0 1.25rem 0;
    color: #1e293b;
    font-weight: 700;
}
.cap-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.cap-item {
    background: #f8fafc;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    color: #475569;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

/* Node Grid */
.node-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.node-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.node-name { font-size: 0.875rem; color: #334155; font-weight: 500; }
.node-ping { display: flex; align-items: center; gap: 0.5rem; font-family: 'JetBrains Mono', monospace; font-size: 0.875rem; font-weight: 600; }
.ping-dot { width: 8px; height: 8px; border-radius: 50%; }
.ping-green { color: #10b981; }
.ping-green .ping-dot { background: #10b981; box-shadow: 0 0 4px #10b981; }
.ping-yellow { color: #f59e0b; }
.ping-yellow .ping-dot { background: #f59e0b; box-shadow: 0 0 4px #f59e0b; }
.ping-red { color: #ef4444; }
.ping-red .ping-dot { background: #ef4444; box-shadow: 0 0 4px #ef4444; }

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1rem;
    overflow: hidden;
}
.faq-q {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    font-family: inherit;
}
.faq-q svg {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: transform 0.3s;
}
.faq-item.active .faq-q svg {
    transform: rotate(180deg);
}
.faq-a {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-item.active .faq-a {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 500px;
}
.faq-a p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.summary-wrapper {
    padding: 2rem;
    border-radius: 1rem;
}
.summary-wrapper p {
    margin: 0 0 1.5rem 0;
    line-height: 1.8;
    color: #475569;
    font-size: 1.05rem;
}
.summary-wrapper p:last-child {
    margin-bottom: 0;
}
.summary-wrapper strong {
    color: #1e293b;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .detail-page-wrapper { flex-direction: column; }
    .detail-side-nav { display: none; }
    .detail-main { margin-left: 0; }
    .detail-hero { flex-direction: column; }
    .hero-content { flex-direction: column; align-items: stretch; padding: 2rem 1.25rem; gap: 1.5rem; }
    .detail-hero-title { font-size: 1.85rem; }
    .detail-tags, .detail-hero-actions { flex-wrap: wrap; }
    .detail-official-btn, .detail-promo-btn { white-space: nowrap; }
    .detail-score-card { width: 100%; box-sizing: border-box; }
    .detail-snapshot-grid, .node-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-grid { grid-template-columns: 1fr; }
}
