/* ==================== 
   全局样式 
   ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C7A7B;
    --secondary-color: #38B2AC;
    --accent-color: #4FD1C5;
    --text-dark: #1A365D;
    --text-medium: #2D3748;
    --text-light: #4A5568;
    --bg-gradient-start: #E6FFFA;
    --bg-gradient-end: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    height: 100vh;
    color: var(--text-medium);
    line-height: 1.6;
    padding-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ==================== 
   容器布局 
   ==================== */

.container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

@media (min-width: 768px) {
    .container {
        padding: 15px 25px;
        box-shadow: var(--shadow-md);
        border-radius: 20px;
    }
}

/* ==================== 
   头部样式 
   ==================== */

.header {
    text-align: center;
    margin-bottom: 12px;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.subtitle {
    font-size: 10px;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

/* ==================== 
   主要内容区域 
   ==================== */

.main-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 介绍区域 */
.intro-section {
    text-align: center;
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.intro-image-wrapper {
    margin-bottom: 8px;
}

.intro-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.main-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.intro-text {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.5;
}


/* 特色功能网格 */
.features-section {
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.feature-item {
    text-align: center;
    padding: 10px 6px;
    background: linear-gradient(135deg, #F0FDFA 0%, #FFFFFF 100%);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.feature-item h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.4;
}

/* 课程列表 */
.curriculum-section {
    background: white;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.curriculum-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.curriculum-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-medium);
}

.curriculum-list i {
    font-size: 12px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* 信任标识区域 */
.trust-section {
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, rgba(44, 122, 123, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 600;
}

.trust-badge i {
    font-size: 16px;
}

.trust-divider {
    width: 40px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
    opacity: 0.6;
}

.trust-motto {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.3px;
    margin: 0;
}

/* ==================== 
   页脚 
   ==================== */

.footer {
    margin-top: 10px;
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid rgba(44, 122, 123, 0.1);
}

.footer p {
    font-size: 9px;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* ==================== 
   固定CTA按钮 
   ==================== */

/* 呼吸动画 */
@keyframes breathe {
    0%, 100% {
        box-shadow: 0 5px 18px rgba(44, 122, 123, 0.3);
        transform: translateX(-50%) scale(1);
    }
    50% {
        box-shadow: 0 8px 28px rgba(44, 122, 123, 0.5);
        transform: translateX(-50%) scale(1.03);
    }
}

.cta-button {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 440px;
    width: calc(100% - 40px);
    
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    
    padding: 13px 24px;
    border: none;
    border-radius: 50px;
    
    font-size: 15px;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(44, 122, 123, 0.3);
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    
    transition: all 0.3s ease;
    z-index: 1000;
    
    /* 应用呼吸动画 */
    animation: breathe 2.5s ease-in-out infinite;
}

.cta-button:hover {
    animation: none;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 10px 32px rgba(44, 122, 123, 0.5);
}

.cta-button:active {
    animation: none;
    transform: translateX(-50%) translateY(0);
}

.cta-button i {
    font-size: 16px;
}

/* ==================== 
   响应式设计 
   ==================== */

@media (max-width: 480px) {
    .main-title {
        font-size: 17px;
    }
    
    .intro-text {
        font-size: 10px;
    }
    
    .cta-button {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }

    
    .feature-item h4 {
        font-size: 11px;
    }
    
    .curriculum-list li {
        font-size: 10px;
    }
}

