/* ====================
   荆楚AI官网 - 全局样式 v2
   ==================== */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #222238;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #2d2d44;
    --success: #10b981;
    --danger: #ef4444;
    --gradient-text: linear-gradient(135deg, #6366f1 0%, #818cf8 50%, #f59e0b 100%);
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans SC', -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(15,15,26,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar.scrolled { padding: 10px 0; background: rgba(15,15,26,0.97); }
.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; }
.nav-logo-img { height: 32px; width: auto; border-radius: 6px; }
.logo-icon { font-size: 26px; }
.logo-text .accent { color: var(--primary-light); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 7px 13px; color: var(--text-secondary); font-size: 14px; font-weight: 500;
    border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nav-cta-btn {
    padding: 9px 20px; background: var(--primary); color: white !important;
    font-weight: 600; border-radius: var(--radius); margin-left: 6px; transition: var(--transition);
}
.nav-cta-btn:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(99,102,241,0.4); }
.nav-cta-btn.active { background: var(--primary-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 62px; left: 0; right: 0;
        background: var(--bg-dark); flex-direction: column; padding: 20px; gap: 4px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%); opacity: 0; pointer-events: none; transition: var(--transition);
    }
    .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-link { width: 100%; text-align: center; padding: 12px; }
    .nav-cta-btn { width: 100%; text-align: center; margin-left: 0; margin-top: 6px; }
    .container { padding: 0 24px; }
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; font-size: 14px; font-weight: 600; border-radius: var(--radius);
    border: 2px solid transparent; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 24px rgba(99,102,241,0.4); }
.btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--text-muted); }
.btn-outline-light { background: transparent; color: var(--primary-light); border-color: var(--primary-light); }
.btn-outline-light:hover { background: rgba(99,102,241,0.1); }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* ===== 通用区块 ===== */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-title { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; margin-bottom: 14px; line-height: 1.2; }
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }
.section-header.light .section-title { color: white; }
.section-header.light .section-desc { color: rgba(255,255,255,0.65); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding-top: 76px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 60%, rgba(245,158,11,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 30% 30% at 15% 85%, rgba(99,102,241,0.08) 0%, transparent 50%);
}
.hero-container {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between; gap: 60px;
    width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 40px;
}
.hero-content { flex: 1; max-width: 520px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3);
    border-radius: 100px; font-size: 13px; color: var(--primary-light); margin-bottom: 20px;
}
.badge-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.2)} }
.hero-title { font-size: clamp(36px, 5vw, 54px); font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero-subtitle { font-size: 17px; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.8; }
.hero-subtitle strong { color: var(--text-primary); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat-item { text-align: left; }
.stat-num { display: block; font-size: 30px; font-weight: 900; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 12px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* Hero 手机模拟 */
.hero-visual { flex-shrink: 0; }
.phone-mockup { width: 250px; background: #111; border-radius: 34px; padding: 9px; box-shadow: var(--shadow-lg), 0 0 50px rgba(99,102,241,0.15); border: 2px solid rgba(255,255,255,0.08); }
.phone-screen { background: #1a1a2e; border-radius: 26px; padding: 13px; height: 440px; overflow: hidden; display: flex; flex-direction: column; }
.live-indicator { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #ef4444; font-weight: 700; margin-bottom: 10px; }
.live-dot { width: 7px; height: 7px; background: #ef4444; border-radius: 50%; animation: pulse 1.5s infinite; }
.phone-content { flex: 1; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.msg { display: flex; }
.msg-ai { justify-content: flex-start; }
.msg-user { justify-content: flex-end; }
.bubble { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: 12px; line-height: 1.5; }
.msg-ai .bubble { background: rgba(99,102,241,0.2); color: var(--text-primary); border-bottom-left-radius: 3px; }
.msg-user .bubble { background: var(--primary); color: white; border-bottom-right-radius: 3px; }

@media (max-width: 1000px) {
    .hero-container { gap: 50px; padding: 0 32px; }
    .hero-content { max-width: 460px; }
    .phone-mockup { width: 220px; }
    .phone-screen { height: 400px; }
}
@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; justify-content: center; gap: 32px; padding: 0 24px; max-width: 100%; }
    .hero-content { max-width: 100%; }
    .hero-badge { margin: 0 auto 20px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
}

/* ===== 两款产品 Hero ===== */
.two-products { background: #0f0f1a; padding: 80px 0; }
.product-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 32px !important; max-width: 1000px !important; margin: 0 auto !important; width: 100% !important; }
@media (max-width: 768px) { .product-grid { grid-template-columns: 1fr; max-width: 480px; } }
.product-card {
    background: #1a1a2e; border: 2px solid #2d2d44; border-radius: 20px;
    padding: 32px; position: relative; transition: all 0.3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(99,102,241,0.2); }
.product-card.digital { border-color: rgba(245,158,11,0.5); background: linear-gradient(180deg, rgba(245,158,11,0.1) 0%, #1a1a2e 50%); }
.product-badge {
    position: absolute; top: -1px; right: 24px;
    background: linear-gradient(135deg, #6366f1, #818cf8); color: white; font-size: 12px; font-weight: 700;
    padding: 6px 16px; border-radius: 0 0 12px 12px;
}
.digital-badge { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.product-icon { font-size: 56px; margin-bottom: 16px; }
.product-name { font-size: 24px; font-weight: 900; margin-bottom: 4px; color: #fff; }
.product-tagline { font-size: 14px; color: #94a3b8; margin-bottom: 20px; }
.product-price { margin-bottom: 18px; padding: 16px; background: rgba(255,255,255,0.03); border-radius: 12px; display: inline-block; }
.product-price .price-num { font-size: 48px; font-weight: 900; color: #6366f1; }
.product-price .price-unit { font-size: 16px; color: #94a3b8; margin-left: 4px; }
.product-desc { font-size: 14px; color: #c0c8d8; margin-bottom: 20px; line-height: 1.7; }
.product-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.product-features li { font-size: 14px; color: #c0c8d8; padding-left: 24px; position: relative; }
.product-features li::before { content: "✓"; position: absolute; left: 0; color: #10b981; font-weight: bold; }
.product-btn { width: 100%; text-align: center; padding: 14px; border-radius: 12px; font-weight: 600; }
.product-card:not(.digital) .product-btn { background: rgba(99,102,241,0.15); border: 1px solid #6366f1; color: #818cf8; }
.product-card:not(.digital) .product-btn:hover { background: #6366f1; color: #fff; }
.product-card.digital .product-btn { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #000; border: none; }
.product-card.digital .product-btn:hover { opacity: 0.9; transform: scale(1.02); }

/* ===== 为什么选择 ===== */
.why-us { padding: 80px 0; background: #0f0f1a; }
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 768px) { .adv-grid { grid-template-columns: 1fr; } }
.adv-card {
    background: #1a1a2e; border: 1px solid #2d2d44; border-radius: 12px;
    padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: all 0.3s;
}
.adv-card:hover { background: #222238; transform: translateY(-2px); border-color: #6366f1; }
.adv-num { font-size: 14px; font-weight: 800; color: #6366f1; letter-spacing: 2px; }
.adv-card h3 { font-size: 17px; font-weight: 700; color: #ffffff; margin: 8px 0; }
.adv-card p { font-size: 14px; color: #c0c8d8; line-height: 1.7; }

/* ===== 适用行业 ===== */
.industries { background: var(--bg-card); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-card {
    background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; text-align: center; transition: var(--transition);
}
.ind-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 6px 28px rgba(99,102,241,0.15); }
.ind-icon { font-size: 44px; margin-bottom: 12px; }
.ind-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ind-card p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ===== 案例预览 ===== */
.cases-preview { background: var(--bg-card); }
.case-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .case-preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .case-preview-grid { grid-template-columns: 1fr; } }
.case-preview-card {
    background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; cursor: pointer; transition: var(--transition);
}
.case-preview-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.case-thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%); display: flex; align-items: center; justify-content: center; }
.case-thumb-placeholder { font-size: 56px; opacity: 0.45; }
.case-tag-overlay { position: absolute; top: 10px; left: 10px; background: rgba(99,102,241,0.85); color: white; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.case-info { padding: 16px; }
.case-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.case-info p { font-size: 12px; color: var(--text-muted); }
.cases-more { text-align: center; margin-top: 40px; }

/* ===== 定价预览 ===== */
.pricing-preview { padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 800px; margin: 0 auto 24px; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; } }
.pricing-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; position: relative; transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--primary); background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, var(--bg-card) 100%); }
.pricing-badge { position: absolute; top: -1px; right: 20px; background: var(--accent); color: white; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 0 0 8px 8px; }
.pricing-header h3 { font-size: 18px; font-weight: 800; margin-bottom: 2px; }
.pricing-header p { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.pricing-price { margin-bottom: 14px; }
.pricing-price .price-currency { font-size: 18px; font-weight: 700; vertical-align: top; }
.pricing-price .price-num { font-size: 42px; font-weight: 900; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pricing-price .price-period { font-size: 14px; color: var(--text-muted); }
.pricing-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.pricing-features li { font-size: 12px; color: var(--text-secondary); }
.pricing-btn { width: 100%; }
.pricing-note { text-align: center; font-size: 13px; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 20px; max-width: 700px; margin: 0 auto; }

/* ===== 联系方式 ===== */
.contact-section { background: var(--bg-card); }
.contact-card { text-align: center; padding: 56px 32px; background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, var(--bg-dark) 100%); border: 1px solid rgba(99,102,241,0.3); border-radius: var(--radius); max-width: 600px; margin: 0 auto; }
.contact-icon { font-size: 52px; margin-bottom: 16px; }
.contact-card h2 { font-size: 28px; font-weight: 900; margin-bottom: 10px; }
.contact-card > p { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.contact-methods { display: flex; gap: 32px; justify-content: center; margin-bottom: 28px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 12px; color: var(--text-muted); }
.contact-value { font-size: 18px; font-weight: 700; }

/* ===== CTA ===== */
.cta-section { position: relative; text-align: center; padding: 110px 0; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(99,102,241,0.28) 0%, transparent 70%); }
.cta-section .container { position: relative; z-index: 1; }
.cta-title { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; margin-bottom: 14px; }
.cta-desc { font-size: 17px; color: var(--text-secondary); margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ===== 页脚 ===== */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 70px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 13px; line-height: 1.8; }
.footer-links h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--text-primary); }
.footer-links a { display: block; color: var(--text-muted); font-size: 13px; margin-bottom: 9px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.footer-links p { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.footer-bottom { text-align: center; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-muted); font-size: 12px; }

/* ===== 通用响应式 ===== */
@media (max-width: 768px) {
    section { padding: 80px 0; }
    .section-header { margin-bottom: 40px; }
}

/* ===== 动画 ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.logo-img { height: 32px; width: auto; vertical-align: middle; }
