/* --- 保持原样 --- */
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: normal; /* 对应 400 */
    font-style: normal;
}

/* --- 新增：指向专门的粗体文件 --- */
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin-800.woff2') format('woff2'); /* 注意文件名要对 */
    font-weight: bold; /* 对应 800 或 700 */
    font-style: normal;
}

:root {
    --primary: #003087; 
    --accent: #FFCD00; 
    --dark: #001A41;
    --light: #F4F7FA;
    --white: #ffffff;
    --gray: #64748b;
    --success: #00843D;
    --card-shadow: 0 10px 30px rgba(0, 48, 135, 0.08);
}

html { scroll-behavior: smooth; }

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
}
body { background-color: var(--white); color: var(--dark); line-height: 1.6; }

/* --- Navigation --- */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 90px;
    display: flex;
    align-items: center; justify-content: space-between;
    padding: 0 8%; position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.logo { font-size: 26px; font-weight: 800; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo i { color: var(--accent); }
.nav-links { display: flex; gap: 35px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn-cta { background: var(--accent); color: var(--dark) !important; padding: 12px 28px; border-radius: 6px; font-weight: 700; }

/* --- Hero Section --- */
#home {
    position: relative;
    padding: 100px 8% 60px; 
    background: linear-gradient(135deg, #001A41 0%, #003087 100%);
    color: var(--white);
    text-align: center;
    min-height: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-content { max-width: 900px; z-index: 2; }
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; line-height: 1.5; margin-bottom: 30px; max-width: 700px; margin: 0 auto 30px; opacity: 0.9; }
.btn-primary { display: inline-block; background: var(--accent); color: var(--dark) !important; padding: 14px 35px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 1rem; }

/* --- Stats --- */
#stats { background: var(--dark); padding: 80px 8%; border-bottom: 1px solid rgba(255,255,255,0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; text-align: center; }
.stat-number { display: block; font-size: 3.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.stat-label { color: rgba(255, 255, 255, 0.6); font-size: 1rem; font-weight: 600; text-transform: uppercase; }

/* --- About --- */
section { padding: 100px 8%; }
#about { background: var(--white); display: flex; align-items: center; gap: 80px; }
.why-content { flex: 1; }
.why-content h2 { font-size: 2.8rem; color: var(--primary); margin-bottom: 40px; }
.why-list { list-style: none; }
.why-item { display: flex; align-items: center; padding: 20px 15px; border-bottom: 1px solid #f1f5f9; gap: 20px; transition: 0.3s; border-left: 4px solid transparent; }
.why-item:hover { background: #f0f7ff; border-left: 4px solid var(--primary); transform: translateX(10px); }
.why-item i { color: var(--success); font-size: 18px; }

/* --- Services --- */
#services { background: var(--light); padding: 60px 8%; }
.services-container { display: flex; gap: 30px; max-width: 1200px; margin: 0 auto; justify-content: center; }
.service-item { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--card-shadow); flex: 1; display: flex; align-items: flex-start; gap: 25px; transition: 0.3s; }
.service-item:hover { transform: translateY(-5px); }
.service-item i { font-size: 40px; color: var(--primary); flex-shrink: 0; margin-top: 5px; }
.service-info h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 12px; font-weight: 700; }
.service-info p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

/* --- Channels --- */
#channels { background: var(--dark); color: var(--white); text-align: center; }
.channels-header { margin-bottom: 60px; }
.channels-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.channels-header .badge { background: #475569; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; text-transform: uppercase; }
.channels-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; max-width: 1000px; margin: 0 auto; }
.channel-card { background: var(--white); border-radius: 20px; padding: 30px; display: flex; align-items: center; gap: 25px; text-align: left; transition: 0.3s; color: var(--dark); text-decoration: none; }
.channel-card:hover { transform: translateY(-5px); box-shadow: 0 0 20px rgba(255, 205, 0, 0.3); }
.channel-icon { width: 60px; height: 60px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: white; }
.icon-sms { background: #86EFAC; color: #166534; } 
.icon-whatsapp { background: #25D366; } 
.icon-viber { background: #7360F2; } 
.icon-voice { background: #F43F5E; } 


/* --- AI Engine Section  --- */
#ai-engine {
    background: var(--white);
    padding: 100px 8%;
}
.ai-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}
.ai-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary); /* 适配原网站主标题颜色 */
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.ai-subtitle {
    color: var(--gray); /* 迎合原网站的字体颜色 */
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.ai-dot-divider {
    width: 6px;
    height: 6px;
    background: var(--accent); /* 使用原网站标志性的金黄色作为点缀 */
    border-radius: 50%;
    margin: 0 auto 30px;
    position: relative;
}
.ai-dot-divider::before {
    content: '';
    position: absolute;
    top: 2px; left: -40px;
    width: 30px; height: 1px;
    background: linear-gradient(to left, rgba(0, 48, 135, 0.3), rgba(0, 48, 135, 0));
}
.ai-dot-divider::after {
    content: '';
    position: absolute;
    top: 2px; left: 16px;
    width: 30px; height: 1px;
    background: linear-gradient(to right, rgba(0, 48, 135, 0.3), rgba(0, 48, 135, 0));
}
.ai-description {
    text-align: left;
    color: var(--dark);
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.85;
}

/* 8列网格排版 */
.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 60px;
    max-width: 1200px;
    margin: 0 auto 40px;
}
.ai-feature-item {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.ai-feature-item .ai-icon {
    font-size: 22px;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ai-feature-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark); /* 严格匹配原网站暗色文本 */
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.ai-feature-info p {
    color: var(--gray); /* 严格匹配原网站段落灰色 */
    font-size: 0.95rem;
    line-height: 1.6;
}

.ai-divider-line {
    height: 1px;
    background: #e2e8f0;
    max-width: 1200px;
    margin: 50px auto 60px;
}

/* 底部区域 */
.ai-bottom-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}
.ai-why-left {
    flex: 1.2;
}
.ai-why-left h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary); /* 适配统一的主色调标题 */
    margin-bottom: 30px;
}
.ai-why-list {
    display: flex;
    gap: 50px;
}
.ai-why-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ai-why-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
}
.ai-why-pill i {
    color: var(--success); /* 绿色的打勾标志，和原本 #about 模块的 why-item 打勾样式完美统一 */
    font-size: 16px;
}

/* 右侧名言/卡片样式 */
.ai-quote-right {
    flex: 1;
}
.ai-quote-card {
    background: var(--light); /* 使用原网页的浅背景色，不再是生硬的纯白边框卡片 */
    border-top: 4px solid var(--primary); /* 顶部边缘条使用主色调蓝色 */
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--card-shadow); /* 沿用原网页优雅的阴影特效 */
}
.ai-quote-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.ai-quote-card p {
    color: var(--gray);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}



/* --- Use Cases --- */
#use-cases { background: var(--white); }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; margin-top: 50px; }
.case-card { border: 1px solid #e2e8f0; padding: 40px 30px; border-radius: 12px; transition: 0.3s; }
.case-card:hover { background: var(--primary); color: white; transform: translateY(-10px); }

/* --- Footer --- */
footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 100px 8% 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { color: var(--white); font-size: 24px; font-weight: 800; margin-bottom: 25px; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: inherit; text-decoration: none; transition: 0.3s; }
.footer-column ul li a:hover { color: var(--accent); }
.compliance-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; font-size: 0.75rem; margin-top: 20px; }
.compliance-badge i { color: var(--success); }
.copyright { text-align: center; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }

/* --- Responsive --- */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .channels-grid { grid-template-columns: 1fr; }

    .ai-header { text-align: center; }
    .ai-left-divider { margin: 20px auto; }
    .ai-features-grid { grid-template-columns: 1fr; gap: 35px; }
    .ai-bottom-container { flex-direction: column; gap: 40px; text-align: left; }
    .ai-why-list { gap: 30px; }
    .ai-quote-right { width: 100%; }

    .nav-links { display: none; }
    #about, .services-container { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}
