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

body,
html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    scroll-behavior: smooth;
    color: #e0e1dd;
}

/* 文本内容样式 */
.text-content {
    color: #a0aec0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 价格样式 */
.price {
    font-size: 2.5rem;
    color: #778da9;
    margin-bottom: 20px;
    font-weight: 300;
}

.price span {
    font-size: 1rem;
    color: #a0aec0;
    font-weight: 300;
}

/* 布局组件 */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.section {
    min-height: 100vh;
    padding: 100px 20px;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 英雄区域组件 */
.hero {
    height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 30%, #0d0d0d 70%, #000000 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(13, 27, 42, 0.7) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.9) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(26, 83, 92, 0.4) 0%, transparent 40%);
    z-index: 0;
}

.hero-content {
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    position: absolute;
    bottom: 2.5rem;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: #4a5568;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
    text-align: center;
    width: 100%;
}

/* 导航栏组件 */
.navbar {
    position: fixed;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    max-width: 80%;
    background: rgba(13, 27, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: top 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.navbar.visible {
    top: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #e0e1dd;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #778da9;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 标题组件 */
.title-xl {
    font-size: 5.5rem;
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 0.8rem;
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
    color: #ffffff;
    text-align: center;
}

.title-lg {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #ffffff;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.title-lg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #778da9;
}

.title-md {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.4s forwards;
    color: #778da9;
    text-align: center;
    max-width: 800px;
    line-height: 1.5;
}

.title-sm {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 400;
}

.title-xs {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 400;
}

/* 分隔线组件 */
.divider {
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, transparent, #4a5568, transparent);
    margin: 2.5rem 0;
    opacity: 0;
    animation: growDivider 1s ease-out 0.8s forwards;
}

/* 按钮组件 */
.btn {
    padding: 12px 30px;
    background: rgba(119, 141, 169, 0.1);
    border: 1px solid rgba(119, 141, 169, 0.3);
    color: #e0e1dd;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: rgba(119, 141, 169, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-block {
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px 0;
}

/* 卡片组件 */
.card {
    background: rgba(13, 27, 42, 0.3);
    border-radius: 15px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(119, 141, 169, 0.2);
}

.card-popular {
    border-color: rgba(119, 141, 169, 0.4);
    position: relative;
}

.card-popular::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #778da9;
    color: #0a0a0a;
    font-size: 0.8rem;
    padding: 3px 15px;
    border-radius: 20px;
    font-weight: 500;
}

/* 图标组件 */
.icon-lg {
    font-size: 2.5rem;
    color: #778da9;
    margin-bottom: 25px;
}

/* 列表组件 */
.list-unstyled {
    list-style: none;
}

.list-features {
    margin-bottom: 30px;
}

.list-features li {
    padding: 10px 0;
    color: #a0aec0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-features li::before {
    content: '✓';
    color: #778da9;
}

/* 流程步骤组件 */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.process-step {
    display: flex;
    gap: 30px;
    align-items: center;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(119, 141, 169, 0.1);
    border: 1px solid rgba(119, 141, 169, 0.3);
    color: #778da9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

/* 表单组件 */
.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 800px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    color: #a0aec0;
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    padding: 15px 20px;
    background: rgba(13, 27, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #e0e1dd;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #778da9;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* 网格布局组件 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

/* 页脚组件 */
.footer {
    background: #0a0a0a;
    padding: 60px 20px 30px;
    color: #4a5568;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 500;
    color: #e0e1dd;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(13, 27, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
    background: rgba(119, 141, 169, 0.2);
    transform: translateY(-3px);
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 20px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #4a5568;
    text-align: center;
}

/* 动画组件 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growDivider {
    from {
        height: 0;
        opacity: 0;
    }

    to {
        height: 100px;
        opacity: 0.7;
    }
}

/* 滚动动画类 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式组件 */
@media (max-width: 768px) {
    .title-xl {
        font-size: 3.5rem;
    }

    .title-md {
        font-size: 1.3rem;
        padding: 0 20px;
    }

    .divider {
        margin: 2rem 0;
    }

    .navbar {
        width: 90%;
        padding: 12px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }

    .form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .title-xl {
        font-size: 2.8rem;
    }

    .title-md {
        font-size: 1.1rem;
    }

    .title-lg {
        font-size: 2rem;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .footer-text {
        font-size: 0.85rem;
    }
}