/* 玄晶引擎AI外呼网站 - 全局样式 */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 容器 */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部横幅 */
.top-banner {
    background: linear-gradient(90deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}

.top-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-banner-text {
    font-weight: 500;
}

.top-banner-phone {
    color: #ffd700;
    font-weight: 600;
}

.top-banner-right {
    display: flex;
    gap: 15px;
}

.btn-small {
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1a365d;
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: #4a5568;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3182ce;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3182ce, #2b6cb0);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-tag {
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-large {
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a365d;
    border: none;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #ffb700 0%, #ff9d00 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 183, 0, 0.3);
}

.btn-white {
    background: #fff;
    color: #3182ce;
    border: none;
}

.btn-white:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

/* 区块标题 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
}

.section-title-small {
    font-size: 28px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 40px;
    text-align: center;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* 卡片样式 */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #3182ce;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    color: #718096;
    line-height: 1.7;
}

/* 功能列表 */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #ebf8ff;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 13px;
    color: #718096;
    line-height: 1.6;
}

/* 技术卡片 */
.tech-card {
    background: linear-gradient(135deg, #fff 0%, #f7fafc 100%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(49, 130, 206, 0.15);
    border-color: #3182ce;
}

.tech-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
}

.tech-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 15px;
}

.tech-card h3 span {
    display: block;
    font-size: 14px;
    color: #3182ce;
    font-weight: 500;
    margin-top: 5px;
}

.tech-card p {
    font-size: 14px;
    color: #718096;
    line-height: 1.7;
}

/* 架构图区域 */
.architecture-section {
    background: linear-gradient(180deg, #f7fafc 0%, #fff 100%);
    padding: 80px 0;
}

.architecture-diagram {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.architecture-layers {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.arch-layer {
    display: flex;
    align-items: center;
    gap: 30px;
}

.arch-layer-label {
    width: 100px;
    font-size: 16px;
    font-weight: 700;
    color: #1a365d;
    flex-shrink: 0;
}

.arch-layer-items {
    flex: 1;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.arch-item {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    color: #2c5282;
    font-weight: 500;
}

.arch-item.dark {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
}

/* 客户证言轮播 */
.testimonials-section {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    padding: 80px 0;
    color: #fff;
}

.testimonials-section .section-title h2 {
    color: #fff;
}

.testimonials-section .section-title p {
    color: rgba(255,255,255,0.7);
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    padding: 0 50px;
    text-align: center;
}

.testimonial-quote {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    color: rgba(255,255,255,0.95);
}

.testimonial-author {
    font-size: 16px;
    font-weight: 600;
    color: #ffd700;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: #ffd700;
}

/* 信任数据 */
.trust-section {
    background: #f7fafc;
    padding: 60px 0;
    text-align: center;
}

.trust-number {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.trust-text {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 30px;
}

.trust-contact {
    font-size: 16px;
    color: #718096;
}

.trust-contact strong {
    color: #3182ce;
    font-size: 20px;
}

/* 页脚 */
.footer {
    background: #1a365d;
    color: #fff;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 35px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 700;
}

.footer-contact {
    text-align: right;
}

.footer-phone {
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.footer-wechat {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-wechat a {
    color: #63b3ed;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: #fff;
}

/* 子页面Hero */
.page-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* 内容区块 */
.content-section {
    padding: 60px 0;
}

.content-section.alt {
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* 能力卡片 */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.capability-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.capability-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.capability-card h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #3182ce 0%, #2b6cb0 100%);
    border-radius: 2px;
}

.capability-card p {
    font-size: 14px;
    color: #718096;
    line-height: 1.7;
}

/* 场景标签 */
.scenarios {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.scenario-tag {
    background: #ebf8ff;
    color: #2c5282;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* 案例详情 */
.case-detail {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.case-section {
    margin-bottom: 40px;
}

.case-section:last-child {
    margin-bottom: 0;
}

.case-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.case-section p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
}

.case-section ul {
    list-style: disc;
    padding-left: 25px;
}

.case-section li {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 10px;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.metric-item {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #ebf8ff 0%, #f7fafc 100%);
    border-radius: 12px;
}

.metric-value {
    font-size: 36px;
    font-weight: 800;
    color: #3182ce;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 14px;
    color: #718096;
}

.case-quote {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    position: relative;
}

.case-quote::before {
    content: '"';
    font-size: 60px;
    color: rgba(255,255,255,0.2);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.case-quote p {
    color: rgba(255,255,255,0.95);
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.data-table th {
    background: #f7fafc;
    font-weight: 600;
    color: #1a365d;
}

.data-table tr:hover {
    background: #f7fafc;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #3182ce 0%, #2b6cb0 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #3182ce;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #3182ce;
}

.timeline-date {
    font-size: 14px;
    font-weight: 600;
    color: #3182ce;
    margin-bottom: 10px;
}

.timeline-content {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 10px;
}

.timeline-content ul {
    list-style: disc;
    padding-left: 20px;
}

.timeline-content li {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 5px;
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f7fafc;
    padding: 15px 0;
    font-size: 13px;
    color: #718096;
}

.breadcrumb a {
    color: #3182ce;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #a0aec0;
}

/* 技术架构图 */
.tech-architecture {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin: 40px 0;
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.arch-block {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    min-width: 150px;
}

.arch-block.dark {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
}

.arch-block h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.arch-block p {
    font-size: 12px;
    color: #718096;
}

.arch-block.dark p {
    color: rgba(255,255,255,0.7);
}

.arch-arrow {
    font-size: 24px;
    color: #3182ce;
}

/* 技术指标 */
.tech-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.tech-metric {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #fff 0%, #f7fafc 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.tech-metric-value {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.tech-metric-label {
    font-size: 14px;
    color: #718096;
}

/* 响应式（基础适配） */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 高亮文字 */
.highlight {
    color: #3182ce;
    font-weight: 600;
}

/* 标签 */
.tag {
    display: inline-block;
    background: #ebf8ff;
    color: #2c5282;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
}

.tag-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a365d;
}
