:root {
    --primary-color: #9C0025;
    --secondary-color: #f8f8f8;
    --accent-color: #B3E5A1;
    --text-color: #333;
    --spacing: 2rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* 英雄区背景 */
.hero-background {
    background: linear-gradient(rgba(156, 0, 37, 0.9), rgba(156, 0, 37, 0.8)),
                url('../images/ruc-background.jpg.png') center/cover no-repeat;
    color: white;
}

/* 头部样式 */
.header {
    padding: calc(var(--spacing) * 2) 0;
    text-align: center;
}

.logo {
    margin-bottom: 1rem;
}

.school-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.header h2 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1e4c8c;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #2861b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 76, 140, 0.3);
}

/* 基本信息样式 */
.basic-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.info-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.info-item:hover .icon-wrapper {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

/* 介绍部分样式 */
.introduction {
    padding: calc(var(--spacing) * 2) 0;
    background-color: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.intro-text-wrapper {
    padding-right: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.intro-text.highlight {
    background: linear-gradient(to right, rgba(156, 0, 37, 0.05), transparent);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: none;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: bold;
}

/* 证书展示样式 */
.certificate-showcase {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.certificate-showcase h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.certificate-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.certificate-item {
    text-align: center;
}

.certificate-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.certificate-img:hover {
    transform: scale(1.05);
}

.certificate-item p {
    margin-top: 0.8rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.certificate-note {
    text-align: center;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: bold;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(156, 0, 37, 0.3);
}

/* 故事部分样式 */
.story {
    padding: calc(var(--spacing) * 3) 0;
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
                url('../images/hdzt.png') center/cover no-repeat fixed;
    position: relative;
}

.story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(1px);
    z-index: -1;
}

.story h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.story h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-content p {
    margin-bottom: 1.8rem;
    line-height: 2;
    text-align: justify;
    color: #2c3e50;
    font-size: 1.15rem;
    position: relative;
    padding-left: 1.5rem;
}

.story-content p:last-child {
    margin-bottom: 0;
}

.story-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1;
    opacity: 0.5;
}

/* 时间线样式 */
.schedule {
    padding: calc(var(--spacing) * 2) 0;
    background-color: white;
}

.schedule h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
    padding-left: calc(50% + 30px);
}

.timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.time {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.content ul {
    list-style-type: none;
    margin-top: 0.5rem;
}

.content li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 价格部分样式 */
.pricing {
    padding: calc(var(--spacing) * 2) 0;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('../images/huodongbg.png') center/cover no-repeat fixed;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(2px);
    z-index: -1;
}

.pricing h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
}

.price-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.price span {
    font-size: 1.5rem;
}

.price-details {
    text-align: left;
}

.price-details ul {
    list-style-type: none;
    margin: 1rem 0;
}

.price-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.price-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* 联系部分样式 */
.contact {
    padding: calc(var(--spacing) * 2) 0;
    background-color: white;
}

.contact h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.payment-info {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.payment-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.payment-info p {
    margin-bottom: 0.5rem;
}

.registration-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.registration-form input,
.registration-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.registration-form textarea {
    height: 120px;
    resize: vertical;
}

/* 页脚样式 */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing) 0;
    text-align: center;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

/* 微信公众号样式 */
.wechat-info {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.wechat-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.wechat-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.qr-code {
    width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
}

.wechat-text {
    text-align: center;
}

.wechat-text i {
    color: #07C160;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.wechat-text p {
    margin: 0.5rem 0;
    color: #666;
}

.account-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333 !important;
}

.wechat-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header h2 {
        font-size: 1.5rem;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        padding-left: 30px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: 30px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item::before {
        left: 0;
    }
    
    .qr-code {
        width: 180px;
    }
    
    .wechat-info {
        padding: 1.5rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-text-wrapper {
        padding-right: 0;
    }

    .certificate-images {
        grid-template-columns: 1fr;
    }

    .story {
        padding: calc(var(--spacing) * 2) 0;
    }

    .story h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .story-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .story-content p {
        font-size: 1.1rem;
        line-height: 1.8;
    }
} 