/*
Theme Name: CeoDocs Clone Pro
Theme URI: https://yourdomain.com
Author: Your Name
Author URI: https://yourdomain.com
Description: 复刻 CeoDocs 主题展示页面，集成授权码生成系统
Version: 1.0.0
License: Commercial
License URI: https://yourdomain.com/license
Text Domain: ceodocs-clone
*/

/* ========== 基础重置 ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; line-height: 1.6; background: #f5f6fa; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ========== 容器 ========== */
.ceo-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== 顶部导航 ========== */
.navBar_01 { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.navBar_01 .ceo-container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.ceo-logo-navBar_01 img { height: 32px; }
.navBar_01 .nav ul { display: flex; gap: 30px; }
.navBar_01 .nav a { font-size: 15px; color: #333; font-weight: 500; transition: color .3s; }
.navBar_01 .nav a:hover { color: #215dff; }
.navBar_01 .nav em { font-size: 10px; padding: 2px 8px; border-radius: 10px; margin-left: 4px; font-style: normal; font-weight: 600; }
.navBar_01 .nav em.new { background: #215dff; color: #fff; }
.navBar_01 .nav em.hot { background: #ff4757; color: #fff; }
.navBar_01 .search a { font-size: 20px; color: #666; }
.navBar_01 .user-actions { display: flex; align-items: center; gap: 15px; }
.navBar_01 .btn-nav { padding: 8px 18px; border-radius: 6px; font-size: 14px; font-weight: 500; }
.navBar_01 .btn-nav-login { color: #666; }
.navBar_01 .btn-nav-register { background: #215dff; color: #fff; }

/* ========== 产品展示区域 ========== */
.ceo-shop-single { position: relative; padding: 100px 0 60px; overflow: hidden; color: #fff; }
.ceo-shop-single::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #215dff 0%, #1a4fd9 100%); z-index: 0; }
.background-shape .circle1, .background-shape .circle2, .background-shape .circle3, .background-shape .circle4 { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.05); z-index: 1; }
.background-shape .circle1 { width: 400px; height: 400px; top: -100px; right: -50px; }
.background-shape .circle2 { width: 300px; height: 300px; bottom: 50px; right: 100px; }
.background-shape .circle3 { width: 200px; height: 200px; top: 200px; left: -50px; }
.background-shape .circle4 { width: 150px; height: 150px; bottom: 100px; left: 200px; }
.ceo-shop-single-box { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.shop-single-z-title h1 { font-size: 42px; font-weight: 700; margin-bottom: 15px; }
.shop-single-z-title p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; }
.shop-single-z-price { font-size: 16px; margin-bottom: 25px; }
.shop-single-z-price span { font-size: 32px; font-weight: 700; }
.shop-single-z-price span em { font-size: 42px; font-style: normal; }
.shop-single-z-price s { margin-left: 15px; opacity: 0.7; font-size: 14px; }
.shop-single-z-price s i { background: #ff4757; padding: 2px 8px; border-radius: 4px; font-style: normal; margin-left: 8px; font-size: 12px; }
.shop-single-z-btn .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.shop-single-z-btn .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 15px; }
.shop-single-z-btn a { display: block; text-align: center; padding: 14px 20px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: all .3s; }
.shop-single-z-btn .btn1 { background: #fff; color: #215dff; }
.shop-single-z-btn .btn1:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.shop-single-z-btn .btn2 { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.shop-single-z-btn .btn2:hover { background: rgba(255,255,255,0.25); }
.shop-single-z-btn .btn3 { background: #ff9f43; color: #fff; font-size: 13px; }
.shop-single-z-btn .btn4 { background: rgba(255,255,255,0.1); color: #fff; font-size: 13px; border: 1px solid rgba(255,255,255,0.2); }
.shop-single-z-btn .btn4:hover { background: rgba(255,255,255,0.2); }
.shop-single-z-meta { margin-top: 30px; }
.shop-single-z-meta .ul { display: flex; flex-wrap: wrap; gap: 15px 30px; }
.shop-single-z-meta .li { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.shop-single-z-meta .li span { opacity: 0.7; }
.shop-single-z-meta .li p { font-weight: 500; }
.shop-single-z-meta .ceo_meta_go { margin-left: 8px; opacity: 0.8; font-size: 13px; }
.shop-single-z-meta .ceo_meta_go:hover { opacity: 1; }
.shop-single-z-meta .discount { position: relative; }
.shop-single-z-meta .discount a { display: flex; align-items: center; gap: 5px; color: #ffd700; font-weight: 600; }
.shop-single-z-meta .discount .box { display: none; position: absolute; top: 100%; left: 0; background: #fff; color: #333; border-radius: 8px; padding: 15px; min-width: 200px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); margin-top: 10px; z-index: 10; }
.shop-single-z-meta .discount:hover .box { display: block; }
.shop-single-z-meta .discount .box .title { font-weight: 700; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
.shop-single-z-meta .discount .box li { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; }
.shop-single-z-meta .discount .box li p { color: #215dff; font-weight: 600; }
.ceo-shop-single-y { position: relative; }
.ceo-shop-single-y .main-img { border-radius: 12px; overflow: hidden; box-shadow: 0 45px 80px -24px rgba(33,93,255,0.48); }
.ceo-shop-single-y .thumbnav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 15px; }
.ceo-shop-single-y .thumbnav a { display: block; border-radius: 6px; overflow: hidden; opacity: 0.6; transition: all .3s; border: 2px solid transparent; }
.ceo-shop-single-y .thumbnav a:hover, .ceo-shop-single-y .thumbnav a.active { opacity: 1; border-color: #fff; }

/* ========== 快捷导航 ========== */
.ceo-shop1-quick { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 64px; z-index: 100; }
.ceo-shop1-quickbox { display: flex; gap: 30px; padding: 15px 0; }
.ceo-shop1-quickbox a { font-size: 14px; color: #666; font-weight: 500; transition: color .3s; position: relative; }
.ceo-shop1-quickbox a:hover { color: #215dff; }
.ceo-shop1-quickbox a::after { content: ''; position: absolute; bottom: -15px; left: 0; right: 0; height: 2px; background: #215dff; transform: scaleX(0); transition: transform .3s; }
.ceo-shop1-quickbox a:hover::after { transform: scaleX(1); }

/* ========== 模块标题 ========== */
.ceo-shop1-mktitle { text-align: center; padding: 60px 0 40px; }
.ceo-shop1-mktitle span { font-size: 28px; font-weight: 700; color: #1a1d29; display: block; margin-bottom: 10px; }
.ceo-shop1-mktitle p { font-size: 16px; color: #666; }

/* ========== 主题介绍 ========== */
.ceo-shop1-introduce { background: #fff; padding: 0 0 60px; }
.ceo-shop1-content { max-width: 900px; margin: 0 auto; font-size: 16px; line-height: 1.8; }
.ceo-shop1-content blockquote { background: #f8f9fa; border-left: 4px solid #215dff; padding: 20px 25px; margin-bottom: 25px; border-radius: 0 8px 8px 0; }
.ceo-shop1-content blockquote p { margin-bottom: 10px; }
.ceo-shop1-content blockquote p:last-child { margin-bottom: 0; }
.ceo-shop1-content img { border-radius: 8px; margin: 20px 0; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }

/* ========== 特色功能 ========== */
.ceo-shop1-characteristic { background: #f5f6fa; padding: 0 0 60px; }
.ceo-grid-medium { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.ceo-shop1-characteristic .box { background: #fff; border-radius: 12px; padding: 30px; text-align: center; transition: all .3s; border: 1px solid #eee; }
.ceo-shop1-characteristic .box:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.ceo-shop1-characteristic .box img { width: 60px; height: 60px; margin: 0 auto 15px; }
.ceo-shop1-characteristic .box span { font-size: 16px; font-weight: 600; color: #1a1d29; display: block; margin-bottom: 10px; }
.ceo-shop1-characteristic .box p { font-size: 14px; color: #666; line-height: 1.6; }

/* ========== 更多功能 ========== */
.ceo-shop1-more { background: #fff; padding: 0 0 60px; }
.ceo-shop1-morebox ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.ceo-shop1-morebox li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #555; padding: 12px 15px; background: #f8f9fa; border-radius: 8px; }
.ceo-shop1-morebox li::before { content: '✓'; width: 20px; height: 20px; background: #215dff; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* ========== 附赠服务 ========== */
.ceo-shop1-service { background: #f5f6fa; padding: 0 0 60px; }
.ceo-shop1-servicebox { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 25px; }
.ceo-shop1-servicebox .box { background: #fff; border-radius: 12px; padding: 30px; text-align: center; transition: all .3s; }
.ceo-shop1-servicebox .box:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.ceo-shop1-servicebox .box img { width: 50px; height: 50px; margin: 0 auto 15px; }
.ceo-shop1-servicebox .box span { font-size: 15px; font-weight: 600; color: #1a1d29; display: block; margin-bottom: 8px; }
.ceo-shop1-servicebox .box p { font-size: 13px; color: #888; }

/* ========== 更新记录 ========== */
.ceo-shop1-update { background: #fff; padding: 0 0 60px; }
.ceo-shop1-updatebox { max-width: 900px; margin: 0 auto; }
.ceo-update-item { border-left: 3px solid #215dff; padding-left: 25px; margin-bottom: 30px; position: relative; }
.ceo-update-item::before { content: ''; position: absolute; left: -8px; top: 0; width: 14px; height: 14px; background: #215dff; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(33,93,255,0.2); }
.ceo-update-item .date { font-size: 14px; color: #215dff; font-weight: 600; margin-bottom: 8px; }
.ceo-update-item .version { font-size: 18px; font-weight: 700; color: #1a1d29; margin-bottom: 10px; }
.ceo-update-item .content { font-size: 14px; color: #555; line-height: 1.8; }
.ceo-update-item .content ul { list-style: disc; padding-left: 20px; }
.ceo-update-item .content li { margin-bottom: 5px; }

/* ========== 常见问题 ========== */
.ceo-shop1-faq { background: #f5f6fa; padding: 0 0 60px; }
.ceo-shop1-faqbox { max-width: 900px; margin: 0 auto; }
.ceo-faq-item { background: #fff; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.ceo-faq-item .question { padding: 18px 25px; font-size: 15px; font-weight: 600; color: #1a1d29; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .3s; }
.ceo-faq-item .question:hover { background: #f8f9fa; }
.ceo-faq-item .question::after { content: '+'; font-size: 20px; color: #215dff; transition: transform .3s; }
.ceo-faq-item.active .question::after { transform: rotate(45deg); }
.ceo-faq-item .answer { padding: 0 25px 18px; font-size: 14px; color: #555; line-height: 1.8; display: none; }
.ceo-faq-item.active .answer { display: block; }

/* ========== 底部 ========== */
.site-footer { background: #1a1d29; color: rgba(255,255,255,0.6); padding: 50px 0 30px; font-size: 14px; }
.site-footer .ceo-container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .footer-brand img { height: 30px; margin-bottom: 15px; opacity: 0.8; }
.site-footer .footer-brand p { line-height: 1.8; font-size: 13px; }
.site-footer .footer-links h4 { color: #fff; font-size: 15px; margin-bottom: 20px; font-weight: 600; }
.site-footer .footer-links ul li { margin-bottom: 10px; }
.site-footer .footer-links a { color: rgba(255,255,255,0.5); transition: color .3s; font-size: 13px; }
.site-footer .footer-links a:hover { color: #fff; }
.site-footer .footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; color: rgba(255,255,255,0.3); }

/* ========== 授权码生成页面 ========== */
.page-generate-license { background: linear-gradient(135deg, #1a1d29 0%, #2c3e50 100%); min-height: 100vh; padding-top: 100px; }
.generate-license-box { max-width: 600px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 50px; box-shadow: 0 25px 60px rgba(0,0,0,0.3); }
.generate-license-box h1 { text-align: center; font-size: 28px; color: #1a1d29; margin-bottom: 10px; }
.generate-license-box .subtitle { text-align: center; color: #888; font-size: 14px; margin-bottom: 35px; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; }
.form-group select, .form-group input { width: 100%; padding: 14px 16px; border: 2px solid #e8e8e8; border-radius: 10px; font-size: 15px; transition: border-color .3s; background: #fafafa; }
.form-group select:focus, .form-group input:focus { outline: none; border-color: #215dff; background: #fff; }
.form-group .hint { font-size: 12px; color: #999; margin-top: 5px; }
.btn-generate { width: 100%; padding: 16px; background: linear-gradient(135deg, #215dff 0%, #1a4fd9 100%); color: #fff; border-radius: 10px; font-size: 16px; font-weight: 600; transition: all .3s; }
.btn-generate:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(33,93,255,0.4); }
.btn-generate:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.license-result { margin-top: 30px; padding: 25px; background: #f0f5ff; border-radius: 12px; border: 2px dashed #215dff; text-align: center; display: none; }
.license-result.show { display: block; animation: fadeInUp .5s; }
.license-result .label { font-size: 13px; color: #666; margin-bottom: 10px; }
.license-result .key { font-size: 20px; font-weight: 700; color: #215dff; font-family: 'Courier New', monospace; letter-spacing: 1px; word-break: break-all; }
.license-result .copy-btn { margin-top: 15px; padding: 10px 25px; background: #215dff; color: #fff; border-radius: 8px; font-size: 14px; transition: all .3s; }
.license-result .copy-btn:hover { background: #1a4fd9; }
.license-result .copy-btn.copied { background: #2ecc71; }
.license-table { margin-top: 40px; }
.license-table h3 { font-size: 18px; margin-bottom: 20px; color: #1a1d29; }
.license-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.license-table th { background: #1a1d29; color: #fff; padding: 12px 15px; text-align: left; font-weight: 600; }
.license-table td { padding: 12px 15px; border-bottom: 1px solid #eee; }
.license-table tr:hover td { background: #f8f9fa; }
.license-table .status-active { color: #2ecc71; font-weight: 600; }
.license-table .status-pending { color: #f39c12; font-weight: 600; }
.license-table .status-expired { color: #e74c3c; font-weight: 600; }

/* ========== 授权验证页面 ========== */
.auth-check-page { min-height: 100vh; padding-top: 100px; background: #f5f6fa; }
.auth-check-box { max-width: 500px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 50px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.auth-check-box h2 { text-align: center; font-size: 24px; margin-bottom: 30px; color: #1a1d29; }
.auth-check-box .status-icon { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 25px; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.auth-check-box .status-icon.success { background: #d4edda; color: #28a745; }
.auth-check-box .status-icon.error { background: #f8d7da; color: #dc3545; }
.auth-check-box .status-icon.pending { background: #fff3cd; color: #ffc107; }
.auth-check-box .status-text { text-align: center; font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.auth-check-box .status-desc { text-align: center; color: #888; font-size: 14px; margin-bottom: 30px; }
.auth-check-box .detail-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.auth-check-box .detail-row span { color: #888; }
.auth-check-box .detail-row strong { color: #333; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .ceo-shop-single-box { grid-template-columns: 1fr; gap: 40px; }
    .shop-single-z-title h1 { font-size: 28px; }
    .shop-single-z-btn .grid-2, .shop-single-z-btn .grid-4 { grid-template-columns: 1fr; }
    .ceo-shop1-characteristic .ceo-grid-medium { grid-template-columns: 1fr; }
    .site-footer .ceo-container { grid-template-columns: 1fr; gap: 30px; }
    .ceo-shop1-quickbox { overflow-x: auto; gap: 20px; padding: 12px 0; }
    .ceo-shop1-quickbox a { white-space: nowrap; font-size: 13px; }
    .generate-license-box { padding: 30px 20px; margin: 20px; }
    .navBar_01 .nav { display: none; }
}
@media (max-width: 480px) {
    .shop-single-z-title h1 { font-size: 24px; }
    .shop-single-z-price span em { font-size: 28px; }
    .ceo-shop1-mktitle span { font-size: 22px; }
    .ceo-shop1-servicebox { grid-template-columns: 1fr; }
    .shop-single-z-meta .ul { flex-direction: column; gap: 8px; }
}
