/* ==========================================================================
   cocoduck机场官网 - Style System
   Design Style: Classic Vintage & Premium Warm Palette (Inspired by Reference Image 1)
   Colors: Warm Beige (#F5EBE1), Cream (#FAF6F0), Terracotta Brown (#8C441E / #6A2E13), 
           Gold/Accent (#D9822B), Dark Espresso (#2C1810)
   ========================================================================== */

:root {
    --bg-primary: #F7F0E6;
    --bg-secondary: #EFE4D6;
    --bg-card: #FAF6F0;
    --bg-card-hover: #FFFFFF;
    
    --text-main: #2A1F1B;
    --text-muted: #6E5C53;
    --text-light: #9B867B;
    
    --brand-primary: #7A3519;
    --brand-hover: #592510;
    --brand-accent: #C86D28;
    --brand-gold: #D4A359;
    
    --border-color: #D9C8B5;
    --border-vintage: #8C533A;
    
    --shadow-soft: 0 10px 30px rgba(42, 31, 27, 0.06);
    --shadow-vintage: 0 15px 35px rgba(122, 53, 25, 0.12);
    
    --font-heading: 'Noto Serif SC', 'Cinzel', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.68;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--brand-accent);
}

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

.text-center { text-align: center; }

/* Buttons & Animations */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, #7A3519 0%, #A44A25 100%);
    color: #FFF !important;
    box-shadow: 0 4px 15px rgba(122, 53, 25, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #592510 0%, #7A3519 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 53, 25, 0.35);
}

.animate-pulse {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(200, 109, 40, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(200, 109, 40, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 109, 40, 0); }
}

/* Site Header */
.site-header {
    background: rgba(247, 240, 230, 0.92);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    width: 42px;
    height: 42px;
    background: var(--brand-primary);
    color: #FAF6F0;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(122, 53, 25, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--brand-accent);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 90px 0 70px;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(217, 163, 89, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(122, 53, 25, 0.05) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.vintage-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(140, 83, 58, 0.1);
    color: var(--brand-primary);
    border: 1px solid var(--border-vintage);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1.25;
    color: var(--text-main);
    margin-bottom: 20px;
}

.highlight-text {
    color: var(--brand-primary);
    position: relative;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 35px;
}

.feat-item {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(250, 246, 240, 0.6);
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-main {
    background: var(--brand-primary);
    color: #FAF6F0 !important;
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(122, 53, 25, 0.25);
}

.btn-hero-main:hover {
    background: var(--brand-hover);
    transform: translateY(-3px);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 6px;
}

.btn-hero-secondary:hover {
    background: rgba(122, 53, 25, 0.05);
}

/* Vintage Card Replica (Image 1 Style) */
.hero-visual {
    display: flex;
    justify-content: center;
}

.vintage-card-frame {
    background-color: #F7EFE5;
    border: 3px solid #7A3519;
    padding: 40px 30px;
    width: 100%;
    max-width: 380px;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-vintage);
    border-radius: 4px;
}

.corner-bracket {
    position: absolute;
    width: 16px;
    height: 16px;
}

.corner-bracket.tl { top: 8px; left: 8px; border-top: 3px solid #7A3519; border-left: 3px solid #7A3519; }
.corner-bracket.tr { top: 8px; right: 8px; border-top: 3px solid #7A3519; border-right: 3px solid #7A3519; }
.corner-bracket.bl { bottom: 8px; left: 8px; border-bottom: 3px solid #7A3519; border-left: 3px solid #7A3519; }
.corner-bracket.br { bottom: 8px; right: 8px; border-bottom: 3px solid #7A3519; border-right: 3px solid #7A3519; }

.frame-sub {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--text-light);
    display: block;
    margin-bottom: 12px;
}

.frame-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.frame-tag {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EAE0D3;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4A3E39;
    margin-bottom: 25px;
}

.dot-online {
    width: 8px;
    height: 8px;
    background-color: #2E7D32;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.btn-vintage {
    display: block;
    width: 100%;
    background-color: #7A3519;
    color: #FAF6F0 !important;
    padding: 14px 0;
    font-family: 'Cinzel', var(--font-heading);
    letter-spacing: 2px;
    font-weight: 700;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-vintage:hover {
    background-color: #592510;
}

/* Stats Bar */
.stats-bar {
    background: var(--brand-primary);
    color: #FAF6F0;
    padding: 35px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #FCEBD9;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

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

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

.sub-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--brand-accent);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-main);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 10px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Portal Section */
.portal-section {
    background-color: var(--bg-secondary);
}

.portal-box {
    background: var(--bg-card);
    border: 2px dashed var(--border-vintage);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.portal-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.promo-box {
    margin-top: 20px;
    background: rgba(200, 109, 40, 0.08);
    padding: 12px 18px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(200, 109, 40, 0.2);
}

.promo-code {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: #FFF;
    padding: 2px 8px;
    border-radius: 4px;
}

.btn-portal-cta {
    background: linear-gradient(135deg, #C86D28 0%, #7A3519 100%);
    color: #FFF !important;
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(200, 109, 40, 0.3);
}

.btn-portal-cta:hover {
    transform: scale(1.03);
}

.security-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 12px;
    text-align: center;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-vintage);
    border-color: var(--brand-accent);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pricing Grid (Inspired by Reference Image 2) */
.pricing-section {
    background-color: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: #FFF;
    border-radius: 12px;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.pricing-card.popular {
    border: 2px solid var(--brand-primary);
    transform: scale(1.03);
    background: #FFFAF5;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: #FFF;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    margin: 30px 0;
}

.plan-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: var(--brand-accent);
    font-style: normal;
    font-weight: bold;
}

.btn-plan {
    display: block;
    width: 100%;
    background: var(--bg-secondary);
    color: var(--brand-primary) !important;
    text-align: center;
    padding: 14px 0;
    font-weight: 700;
    border-radius: 6px;
}

.btn-plan:hover {
    background: var(--border-color);
}

.btn-plan-popular {
    display: block;
    width: 100%;
    background: var(--brand-primary);
    color: #FFF !important;
    text-align: center;
    padding: 14px 0;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(122, 53, 25, 0.3);
}

.btn-plan-popular:hover {
    background: var(--brand-hover);
}

/* Tutorials & Steps */
.tutorial-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 35px 25px;
    position: relative;
}

.step-num {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(122, 53, 25, 0.15);
    line-height: 1;
    margin-bottom: 15px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--brand-primary);
    margin-bottom: 10px;
}

/* Troubleshoot Section */
.troubleshoot-section {
    background: var(--bg-secondary);
}

.troubleshoot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ts-card {
    background: var(--bg-card);
    padding: 25px 30px;
    border-radius: 8px;
    border-left: 4px solid var(--brand-accent);
}

.ts-card h4 {
    font-size: 1.1rem;
    color: var(--brand-primary);
    margin-bottom: 10px;
}

/* Articles SEO Hub Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.article-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-vintage);
}

.article-meta {
    font-size: 0.8rem;
    color: var(--brand-accent);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-title a {
    color: var(--text-main);
}

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

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

.read-more {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Article Detail Pages Specific Styling */
.article-header {
    background: var(--bg-secondary);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.article-page-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--brand-primary);
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-body-wrapper {
    padding: 60px 0;
}

.article-body-grid {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 50px;
}

.article-main-content {
    background: #FFF;
    padding: 40px 45px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.article-main-content h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--brand-primary);
    margin: 35px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bg-secondary);
}

.article-main-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
    margin: 25px 0 12px;
}

.article-main-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #3A2E2B;
    line-height: 1.8;
}

.article-main-content ul, .article-main-content ol {
    margin: 0 0 25px 25px;
    color: var(--text-muted);
    font-size: 1.02rem;
}

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

/* Callout Box inside Articles */
.article-cta-box {
    background: #FAF3EC;
    border-left: 5px solid var(--brand-primary);
    padding: 24px;
    border-radius: 6px;
    margin: 35px 0;
}

.article-cta-box h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

/* Article Internal FAQ */
.article-faq-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px dashed var(--border-color);
}

.article-faq-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--brand-primary);
    margin-bottom: 25px;
}

.article-faq-item {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.article-faq-item h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--brand-primary);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    margin-bottom: 12px;
    font-size: 0.92rem;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 24px;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--brand-primary);
    margin-bottom: 10px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #7A3519 0%, #4A1F0D 100%);
    color: #FAF6F0;
    padding: 70px 0;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-cta-large {
    background: var(--brand-gold);
    color: #2A1F1B !important;
    font-size: 1.15rem;
    padding: 18px 40px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.btn-cta-large:hover {
    background: #E5B46A;
    transform: translateY(-3px);
}

/* Footer */
.site-footer {
    background: #1F1613;
    color: #B5A49C;
    padding: 70px 0 30px;
}

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

.footer-about h3 {
    font-family: var(--font-heading);
    color: #FAF6F0;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-links h4, .footer-seo h4 {
    color: #FAF6F0;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

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

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

.footer-links a {
    color: #B5A49C;
}

.footer-links a:hover {
    color: var(--brand-gold);
}

.footer-seo p {
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #33241F;
    padding-top: 25px;
    font-size: 0.88rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid, .portal-box, .article-body-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid, .pricing-grid, .tutorial-steps, .articles-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
}

@media (max-width: 600px) {
    .main-nav {
        display: none; /* Mobile menu simplify */
    }
    
    .features-grid, .pricing-grid, .tutorial-steps, .articles-grid, .troubleshoot-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
