/* 基础重置 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #333;
    background-color: #f8f9fc;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.dg-wrapper {
    min-height: calc(100vh - 80px); /* 减去footer高度 */
    display: flex;
    flex-direction: column;
}

.dg-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.dg-navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
}

.dg-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.dg-logo a {
    font-size: 24px;
    font-weight: 700;
    color: #4a6cf7;
    letter-spacing: 1px;
}

.dg-nav-links a {
    margin-left: 30px;
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

.dg-nav-links a:hover, .dg-nav-links a.active {
    color: #4a6cf7;
}

/* 英雄区域 */
.dg-hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #e0e9ff 0%, #f8f9fc 100%);
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
}

.dg-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.dg-hero-title {
    font-size: 50px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.dg-hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #4a6cf7;
    margin-bottom: 20px;
}

.dg-hero-desc {
    font-size: 18px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.dg-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
}

.dg-btn-primary {
    background-color: #4a6cf7;
    color: #fff;
    box-shadow: 0 4px 14px rgba(74, 108, 247, 0.4);
}

.dg-btn-primary:hover {
    background-color: #3858e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 108, 247, 0.5);
    color: #fff;
}

.dg-btn-outline {
    background-color: transparent;
    color: #4a6cf7;
    border: 2px solid #4a6cf7;
}

.dg-btn-outline:hover {
    background-color: #4a6cf7;
    color: #fff;
    transform: translateY(-2px);
}

.dg-hero-bg-shape {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.dg-hero-bg-shape-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

/* 特性区域 */
.dg-features {
    padding: 80px 0;
    background-color: #fff;
}

.dg-features-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.dg-feature-item {
    flex: 1;
    min-width: 300px;
    padding: 40px 30px;
    background: #f8f9fc;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dg-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dg-feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.dg-feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.dg-feature-item p {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
}

/* 底部区域 */
.dg-footer {
    background-color: #1a202c;
    padding: 30px 0;
    text-align: center;
    color: #a0aec0;
}

.dg-footer p {
    margin: 0;
    font-size: 14px;
}

.dg-beian {
    color: #a0aec0;
    margin-left: 10px;
}

.dg-beian:hover {
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .dg-hero-title {
        font-size: 36px;
    }
    .dg-hero-subtitle {
        font-size: 22px;
    }
    .dg-hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .dg-btn {
        width: 100%;
    }
    .dg-features-inner {
        flex-direction: column;
    }
    .dg-nav-links {
        display: none;
    }
    .dg-nav-inner {
        justify-content: center;
    }
}