* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #1e88e5;
    overflow-x: hidden;
}

/* 英雄区 */
.hero-section {
    background-color: #1e88e5;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.8), rgba(10, 97, 185, 0.8));
    border-radius: 50% 0 0 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

/* 学校标题 */
.school-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

/* 标题部分 */
.title-container {
    position: relative;
    z-index: 3;
   /* margin-top: 40px;*/
}

.main-title {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    margin-bottom: 20px;
}

.subtitle-tag {
    display: inline-block;
    background-color: #ffeb3b;
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.enroll-time {
    display: inline-block;
    background-color: #ffeb3b;
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.enroll-btn-small {
    background-color: #ff5722;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enroll-btn-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.6);
    background-color: #ff7043;
}

/* 视觉元素部分 */
.hero-visual {
    position: relative;
    z-index: 3;
    width: 100%;
    /*height: 400px; */
    margin: 40px 0;
}

.gold-circle {
    position: absolute;
    top: -50px;
    right: 100px;
    width: 120px;
    height: 120px;
    background-color: #ffc107;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.6);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.clock-icon {
    position: absolute;
    bottom: 100px;
    right: 200px;
    font-size: 2rem;
    color: white;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.css-bubble {
    position: absolute;
    top: 150px;
    right: 300px;
    background-color: white;
    color: #333;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: float 4s ease-in-out infinite;
}

.js-bubble {
    position: absolute;
    bottom: 150px;
    right: 150px;
    background-color: white;
    color: #333;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: float 5s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.character-container {
    position: relative;
    width: 600px;
    height: 400px;
    margin: 0 auto;
}

.character {
    position: absolute;
    bottom: 60px;
    left: 150px;
    width: 200px;
    height: 250px;
    background-color: #f48fb1;
    border-radius: 50% 50% 0 0;
    z-index: 4;
}

.character::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-color: #f48fb1;
    border-radius: 50%;
}

.character::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background-color: #e91e63;
    border-radius: 50% 50% 0 0;
    z-index: -1;
}

.laptop {
    position: absolute;
    bottom: 100px;
    left: 100px;
    width: 180px;
    height: 120px;
    background-color: #90caf9;
    border-radius: 10px;
    z-index: 3;
}

.laptop::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-color: #e3f2fd;
    border-radius: 5px;
}

.phone {
    position: absolute;
    bottom: 150px;
    left: 50px;
    width: 60px;
    height: 100px;
    background-color: #e3f2fd;
    border-radius: 10px;
    z-index: 2;
}

.phone::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background-color: white;
    border-radius: 5px;
}

.gear {
    position: absolute;
    bottom: 120px;
    right: 80px;
    width: 80px;
    height: 80px;
    border: 8px solid #9e9e9e;
    border-radius: 50%;
    z-index: 2;
    animation: rotate 8s linear infinite;
}

.gear::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #9e9e9e;
    border-radius: 50%;
}

.lamp {
    position: absolute;
    bottom: 60px;
    right: 50px;
    width: 30px;
    height: 80px;
    background-color: #ff5722;
    border-radius: 15px 15px 0 0;
    z-index: 3;
}

.lamp::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -40px;
    width: 100px;
    height: 40px;
    background-color: #ff5722;
    border-radius: 20px;
}

.lamp::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 30px;
    height: 20px;
    background-color: #ff9800;
    border-radius: 10px 10px 0 0;
}

.plant {
    position: absolute;
    bottom: 60px;
    right: 120px;
    width: 40px;
    height: 60px;
    background-color: #4caf50;
    border-radius: 20px 20px 0 0;
    z-index: 2;
}

.leaves {
    position: absolute;
    bottom: 100px;
    right: 100px;
    font-size: 2rem;
    color: #4caf50;
    z-index: 2;
}

/* 班型设置 */
.course-types {
    position: relative;
    z-index: 3;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.types-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e88e5;
    text-align: center;
    margin-bottom: 20px;
}

.types-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.type-item {
    background-color: #e3f2fd;
    color: #1e88e5;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.course-highlights {
    position: relative;
    z-index: 3;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.highlights-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e88e5;
    text-align: center;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    justify-content: center;
}

.highlight-tag {
    background-color: #1e88e5;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
}

.highlight-desc {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
    text-align: center;
}

.type-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background-color: #bbdefb;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 报名部分 */
.enroll-section {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.enroll-btn {
    background-color: #ff5722;
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 40px;
    font-weight: bold;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(255, 87, 34, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enroll-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(255, 87, 34, 0.6);
    background-color: #ff7043;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section::before {
        width: 100%;
        border-radius: 0;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .school-title {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle-tag {
        font-size: 1.2rem;
    }
    
    .enroll-time {
        font-size: 1rem;
        padding: 6px 16px;
    }
    
    .enroll-btn-small {
        font-size: 1rem;
        padding: 10px 24px;
    }
    
    .character-container {
        width: 100%;
        height: 300px;
    }
    
    .character {
        left: 50%;
        transform: translateX(-50%);
        width: 150px;
        height: 200px;
    }
    
    .laptop {
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        height: 120px;
    }
    
    .phone {
        left: 30%;
        width: 40px;
        height: 80px;
    }
    
    .gear {
        right: 30%;
        font-size: 1.5rem;
    }
    
    .lamp {
        right: 20%;
        width: 40px;
        height: 80px;
    }
    
    .plant {
        right: 30%;
        width: 30px;
        height: 60px;
    }
    
    .course-types {
        padding: 20px;
    }
    
    .types-title {
        font-size: 1.5rem;
    }
    
    .types-list {
        flex-direction: column;
        align-items: center;
    }
    
    .type-item {
        font-size: 1rem;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
    
    .course-highlights {
        padding: 20px;
    }
    
    .highlights-title {
        font-size: 1.5rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .highlight-tag {
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }
    
    .highlight-desc {
        font-size: 1rem;
    }
    
    .enroll-btn {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
}

/* 平板设备响应式设计 */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .character-container {
        height: 400px;
    }
    
    .types-list {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .type-item {
        font-size: 1rem;
        padding: 10px 20px;
    }
}