/* ============================================
   Aurora CH 主题主样式
   ============================================ */

:root {
    --primary-color: #1a56db;
    --logo-color: #22c55e;
    --text-dark: #1a202c;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========== 导航栏 ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: var(--shadow-sm);
    height: 72px;
    display: flex;
    align-items: center;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--logo-color);
    text-decoration: none;
}

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

.main-nav .nav-menu {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-menu a {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.main-nav .nav-menu a:hover {
    color: var(--primary-color);
}

.nav-cta-btn {
    background: var(--primary-color);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-cta-btn:hover {
    opacity: 0.9;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
}

/* ========== Hero 区域 ========== */
.hero-section {
    position: relative;
}

.hero-bg {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-color: #1a202c;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,41,59,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: #fff;
    padding: 80px 0;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
    font-weight: 500;
}

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

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

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

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* ========== 服务优势区域 ========== */
.features-section {
    padding: 60px 0;
    background: #fff;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
}

.icon-placeholder {
    width: 48px;
    height: 48px;
    background: #e0e7ff;
    border-radius: 10px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== 通用区域标题 ========== */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title .subtitle {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title .title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 15px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 产品展示区域 ========== */
.products-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-img-wrap {
    background: #eef2f7;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.mock-device {
    width: 100px;
    height: 70px;
    background: #1e293b;
    border-radius: 6px;
    position: relative;
}

.mock-device::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #475569;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 14px;
}

.view-more {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.view-more:hover {
    text-decoration: underline;
}

.section-bottom-btn {
    text-align: center;
}

/* ========== 解决方案区域 ========== */
.solutions-section {
    padding: 80px 0;
    background: #fff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 32px 28px;
    transition: all 0.3s;
}

.solution-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.solution-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.solution-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 18px;
}

/* ========== 案例展示区域 ========== */
.projects-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.project-img-wrap {
    background: #eef2f7;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.mock-device.large {
    width: 140px;
    height: 90px;
}

.project-info {
    padding: 24px;
}

.project-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.project-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 14px;
}

/* ========== CTA 底部横幅 ========== */
.cta-section {
    padding: 60px 0;
    background: #fff;
}

.cta-inner {
    background: #1e293b;
    border-radius: 12px;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* ========== 页脚 ========== */
.site-footer {
    background: #0f172a;
    padding: 48px 0 24px;
    color: #94a3b8;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.footer-desc {
    font-size: 14px;
    margin-top: 10px;
    color: #94a3b8;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
}

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

.footer-contact p {
    font-size: 13px;
    margin: 0;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
}

/* ========== 文章页面 ========== */
.site-main {
    padding: 60px 0;
    min-height: 50vh;
}

.entry-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.entry-meta {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .nav-cta-btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 28px;
    }
    .solutions-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .section-title .title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        text-align: center;
    }
}
