
/* ==========================================================================
   MYODDLAB - ULTIMATE INDUSTRIAL DESIGN SYSTEM (FULL SUITE)
   ========================================================================== */

:root {
    --brand-gold: #f59e0b;
    --brand-gold-hover: #d97706;
    --brand-gold-glow: rgba(245, 158, 11, 0.35);
    --bg-main: #0b0f19;
    --bg-surface: #111827;
    --bg-card: #1e293b;
    --bg-card-hover: #243248;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(245, 158, 11, 0.4);
    --text-pure: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
}

/* 全局与重置 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    -webkit-font-smoothing: antialiased;
    background-color: #0b0f19 !important;
    color: #cbd5e1 !important;
    margin: 0;
    padding: 0;
}

/* 强制打破 Astra 主题容器限制，实现真正的沉浸式全宽 (Full Width) */
.home .site-content,
.home #content,
.home #primary,
.home .ast-container,
.home .entry-content,
.home .ast-article-single {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Header 导航栏优化 */
.site-header, .main-header-bar {
    background: #0b0f19 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}
.site-title a {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.site-title a::before {
    content: "⚙️";
    font-size: 20px;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
}
.main-navigation a {
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
}
.main-navigation a:hover {
    color: #f59e0b !important;
}

/* ===================================================
   HERO 黄金视觉区域 (修复原先白底和左对齐问题)
   =================================================== */
.hero-wrapper {
    background: radial-gradient(circle at 50% 15%, #1e293b 0%, #0b0f19 100%) !important;
    color: #ffffff !important;
    padding: 90px 20px 80px !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.hero-wrapper .container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    text-align: center !important;
}
.hero-badge {
    display: inline-block !important;
    background: rgba(245, 158, 11, 0.15) !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    color: #f59e0b !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 6px 18px !important;
    border-radius: 9999px !important;
    margin-bottom: 24px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}
.hero-title {
    font-size: 46px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 auto 20px !important;
    color: #ffffff !important;
    max-width: 950px !important;
    text-align: center !important;
    letter-spacing: -0.5px !important;
}
.hero-subtitle {
    font-size: 18px !important;
    color: #94a3b8 !important;
    max-width: 760px !important;
    margin: 0 auto 36px !important;
    line-height: 1.65 !important;
    text-align: center !important;
}
.hero-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-bottom: 45px !important;
}
.btn-primary {
    background: #f59e0b !important;
    color: #000000 !important;
    padding: 14px 34px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35) !important;
    display: inline-block !important;
}
.btn-primary:hover {
    background: #d97706 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5) !important;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 14px 34px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* 四大数据面板 (Stats Grid) */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    max-width: 900px !important;
    margin: 40px auto 0 !important;
    gap: 20px !important;
    padding-top: 35px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center !important;
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .hero-title {
        font-size: 32px !important;
    }
}
.stat-item h4 {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #f59e0b !important;
    margin: 0 0 6px !important;
}
.stat-item p {
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* ===================================================
   四大信赖支柱 (Core Pillars Section)
   =================================================== */
.section-features {
    padding: 80px 20px !important;
    background: #0b0f19 !important;
    color: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.section-features .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}
.features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 24px !important;
}
.feature-card {
    background: #111827 !important;
    padding: 32px 26px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    transition: all 0.25s ease !important;
    text-align: left !important;
}
.feature-card:hover {
    border-color: #f59e0b !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
.feature-icon {
    font-size: 34px !important;
    margin-bottom: 18px !important;
    display: inline-block !important;
}
.feature-card h3 {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 12px !important;
}
.feature-card p {
    font-size: 14px !important;
    color: #94a3b8 !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* ===================================================
   精选商品陈列网格 (Featured Products Section)
   =================================================== */
.section-products {
    padding: 85px 20px !important;
    background: #0f172a !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.section-products .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}
.section-header {
    text-align: center !important;
    margin-bottom: 50px !important;
}
.section-header h2 {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
}
.section-header p {
    font-size: 16px !important;
    color: #94a3b8 !important;
    max-width: 620px !important;
    margin: 0 auto !important;
}
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
    gap: 30px !important;
}
.pro-card {
    background: #1e293b !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
}
.pro-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
    border-color: #f59e0b !important;
}
.pro-card-header {
    background: #111827 !important;
    padding: 24px !important;
    color: #ffffff !important;
    position: relative !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.pro-badge {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    background: #f59e0b !important;
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    letter-spacing: 0.5px !important;
}
.pro-card-header h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 18px 0 0 !important;
    line-height: 1.4 !important;
}
.pro-card-body {
    padding: 24px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.pro-specs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
}
.pro-specs li {
    font-size: 13px !important;
    color: #94a3b8 !important;
    padding: 9px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    justify-content: space-between !important;
}
.pro-specs li strong {
    color: #ffffff !important;
}
.pro-card-footer {
    margin-top: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.pro-price {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #f59e0b !important;
}
.pro-btn {
    background: #f59e0b !important;
    color: #000000 !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}
.pro-btn:hover {
    background: #d97706 !important;
    transform: translateY(-2px) !important;
}

/* ===================================================
   品牌矩阵 (Brand Ecosystem)
   =================================================== */
.section-brands {
    padding: 65px 20px !important;
    background: #0b0f19 !important;
    text-align: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.section-brands .container {
    max-width: 1100px !important;
    margin: 0 auto !important;
}
.brands-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin-top: 30px !important;
}
.brand-pill {
    background: #111827 !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    letter-spacing: 0.5px !important;
}

/* ===================================================
   商品详情页 3D 封套与灯箱 (Product Page Enhancements)
   =================================================== */
.binder-mockup-wrapper {
    perspective: 1200px;
    display: inline-block;
    padding: 15px;
}
.binder-book {
    width: 220px;
    height: 310px;
    position: relative;
    transform: rotateY(-18deg) rotateX(8deg);
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: -15px 20px 30px rgba(0, 0, 0, 0.6), -2px 0 10px rgba(245, 158, 11, 0.2);
    border-radius: 4px 10px 10px 4px;
    cursor: pointer;
}
.binder-book:hover {
    transform: rotateY(-4deg) rotateX(2deg) translateY(-8px);
    box-shadow: -10px 25px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.4);
}
.binder-book img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 10px 10px 4px;
    display: block;
}
.binder-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 18px;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(255,255,255,0.2) 50%, rgba(0,0,0,0.5) 100%);
    border-radius: 4px 0 0 4px;
}

/* 灯箱 Modal */
.doc-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.94);
    backdrop-filter: blur(10px);
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.doc-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}
.doc-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 158, 11, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.doc-lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    background: #000;
}
.doc-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.doc-lightbox-close:hover {
    background: #f59e0b;
    color: #000;
}
.doc-lightbox-caption {
    background: #111827;
    color: #f8fafc;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================================
   结账页面美化 (Checkout Luxury Form &amp; Trust Badges)
   =================================================== */
#edd_checkout_form_wrap {
    max-width: 960px;
    margin: 40px auto;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    color: #1e293b;
}
#edd_checkout_cart {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}
#edd_checkout_cart th {
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 14px 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#edd_checkout_cart td {
    padding: 16px 18px;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
}
.edd_cart_total {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}
#edd_purchase_submit input[type="submit"], #edd-purchase-button {
    background: #f59e0b !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    padding: 16px 36px !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4) !important;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 15px;
}
#edd_purchase_submit input[type="submit"]:hover {
    background: #d97706 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.55) !important;
}
.checkout-trust-box {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    text-align: center;
}
.checkout-trust-item {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.checkout-trust-item span {
    font-size: 18px;
}

/* 页脚 */
.site-footer {
    background: #020617 !important;
    color: #64748b !important;
    padding: 40px 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

