/* ============================================
   德扑圈 - Editorial/Magazine Style
   Blue-500 + Warm Gray Accent
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Georgia', 'Noto Serif SC', 'Source Han Serif SC', 'PingFang SC', 'Microsoft YaHei', serif; overflow-x: hidden; }

/* Base typography */
h1, h2, h3, h4, h5, h6 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
p, li, a, span, div { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; }

/* ---- Navbar ---- */
#navbar { background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); }
.navbar-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important; }
#mobile-menu { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
#mobile-menu.open { max-height: 400px; }

/* ---- Editorial hero grid ---- */
.hero-editorial {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.hero-editorial::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
}
.image-grid .grid-img {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.image-grid .grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.image-grid .grid-img:hover img { transform: scale(1.05); }
.image-grid .grid-img:first-child { border-radius: 20px 12px 12px 12px; }
.image-grid .grid-img:last-child { border-radius: 12px 12px 20px 12px; }

/* ---- Feature cards with big numbers ---- */
.feature-numbered {
    position: relative;
    padding: 40px 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.35s ease;
    overflow: hidden;
}
.feature-numbered .big-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 120px;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
    pointer-events: none;
    transition: color 0.35s ease;
    font-family: 'Georgia', serif;
}
.feature-numbered:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.1);
    border-color: #bfdbfe;
}
.feature-numbered:hover .big-number { color: #dbeafe; }
.feature-numbered .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #3b82f6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* ---- Card grid ---- */
.card-editorial {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #f1f5f9;
    transition: all 0.35s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card-editorial:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: #dbeafe;
}

/* ---- Stats row ---- */
.stats-row {
    background: #1e293b;
    position: relative;
    overflow: hidden;
}
.stats-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ---- Testimonial quote cards ---- */
.quote-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px;
    position: relative;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.35s ease;
}
.quote-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.quote-mark {
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 80px;
    line-height: 1;
    color: #eff6ff;
    font-family: 'Georgia', 'Times New Roman', serif;
    pointer-events: none;
}

/* ---- FAQ accordion ---- */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}
.faq-question {
    cursor: pointer;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1e293b;
    transition: color 0.3s;
    user-select: none;
}
.faq-question:hover { color: #3b82f6; }
.faq-question i { transition: transform 0.4s ease; color: #3b82f6; font-size: 0.9rem; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: #64748b;
    line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-question { color: #3b82f6; }

/* ---- CTA ---- */
.cta-editorial {
    background: linear-gradient(135deg, #1e40af, #3b82f6, #2563eb);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
.cta-editorial::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

/* ---- Footer ---- */
.footer-dark { background: #0f172a; }

/* ---- Page hero (sub-pages) ---- */
.page-hero-light {
    background: linear-gradient(180deg, #eff6ff, #f8fafc);
    position: relative;
    overflow: hidden;
}

/* ---- Form inputs ---- */
.form-input-light {
    width: 100%;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #1e293b;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}
.form-input-light:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }
.form-input-light::placeholder { color: #94a3b8; }

@media (max-width: 768px) {
    .feature-numbered .big-number { font-size: 80px; top: 5px; right: 10px; }
    .quote-mark { font-size: 56px; }
    .image-grid { grid-template-columns: 1fr; gap: 8px; }
    .cta-editorial { border-radius: 16px; }
}