
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #ff6b8b;
    --primary-dark: #e55a7b;
    --secondary: #4ecdc4;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --success: #28a745;
    --error: #dc3545;
}

body {
    background-color: #fff;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}
.container-header{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    /* margin-top: 100px;
    margin-bottom: 100px; */
}

/* 导航栏样式 */
header {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 17px;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    background-color: var(--primary);
    color: white;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 139, 0.4);
    margin-top: 10px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 139, 0.6);
}

/* 英雄区域样式 */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #fff5f7 0%, #e6f9ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="%23ff6b8b" opacity="0.1"/></svg>') no-repeat center;
    background-size: contain;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 服务部分样式 */
.services {
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 30px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    font-size: 1.05rem;
}

/* 成功案例部分 */
.success-stories {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f7ff 100%);
}

.stories-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.story-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 350px;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
}

.story-image {
    height: 250px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-content {
    padding: 25px;
}

.story-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.story-content .quote {
    color: var(--gray);
    font-style: italic;
    margin: 15px 0;
    position: relative;
    padding-left: 25px;
}

.story-content .quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
}

/* 会员服务部分 */
.membership {
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-header {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pricing-header .price {
    font-size: 3rem;
    font-weight: 700;
}

.pricing-header .price span {
    font-size: 1.2rem;
    font-weight: normal;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary);
    margin-right: 10px;
}

.pricing-action {
    padding: 0 30px 30px;
    text-align: center;
}

/* 注册表单部分 */
.register {
    background: linear-gradient(135deg, #e6f9ff 0%, #fff5f7 100%);
}

.register-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.register-image {
    flex: 1;
}

.register-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.register-form {
    flex: 1;
    padding: 30px;
}

.register-form h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.register-form p {
    color: var(--gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

/* 错误状态 */
.form-group.error input,
.form-group.error select {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 5px;
    position: absolute;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* 成功消息 */
.success-message {
    background-color: #d4edda;
    color: var(--success);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    text-align: center;
    font-weight: 500;
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0px);
}

.success-message.show {
    display: block;
}

/* 已提交过 */
.submitted-message {
    background-color: #edd4d4;
    color: red;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    text-align: center;
    font-weight: 500;
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0px);
}

.submitted-message.show {
    display: block;
}

/* 页脚部分 */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 30px;
}
footer .container {
    padding-top:0px;
    padding-bottom: 0px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-column p {
    color: #bbb;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}
.copyright p{
    flex-wrap: wrap;
    display: inline-flex;
    align-items: center;
}
.copyright a{
    color: #bbb;
    text-decoration:none;
    display: inline-flex;
    align-items: center;
    margin: 0 6px;
}
.copyright img{
    width: 16px;
    height: 16px;
    margin-right: 3px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .register-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}
