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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 顶部导航栏 */
.navbar {
    background: linear-gradient(90deg, #2BB3F5 0%, #1E9FE8 100%);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo img{
    height: 30px;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
}

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

.login-btn {
    background: white;
    color: #FF6B4A;
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero区域 */
.hero {
    /*background: linear-gradient(180deg, #E6F5FF 0%, #F0F8FF 100%);*/
    background-image: url('../images/top_bg.png');
    background-repeat: no-repeat; /* 防止背景图像重复 */
    background-position: center; /* 使背景图像居中 */
    padding: 120px 20px 80px;
    margin-top: 56px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
    animation: wave 10s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 40px;
}

.phrase-tags {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 700px;
}

.phrase-tag {
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 14px;
    color: #333;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

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

.phrase-tag {
    transform: translateY(20px);
}

.phrase-tag:nth-child(1) { animation-delay: 0.1s; }
.phrase-tag:nth-child(2) { animation-delay: 0.2s; }
.phrase-tag:nth-child(3) { animation-delay: 0.3s; }
.phrase-tag:nth-child(4) { animation-delay: 0.4s; }
.phrase-tag:nth-child(5) { animation-delay: 0.5s; }
.phrase-tag:nth-child(6) { animation-delay: 0.6s; }
.phrase-tag:nth-child(7) { animation-delay: 0.7s; }
.phrase-tag:nth-child(8) { animation-delay: 0.8s; }
.phrase-tag:nth-child(9) { animation-delay: 0.9s; }

.phrase-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(43, 179, 245, 0.3);
    border-color: #2BB3F5;
}

.phrase-tag .english {
    color: #333;
    font-weight: 600;
}

.phrase-tag .chinese {
    color: #999;
    font-size: 12px;
    margin-left: 5px;
}

/* 免费试听卡片 */
.trial-card {
    background: white;
    border-radius: 18px;
    padding: 30px 28px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    width: 310px;
    text-align: center;
    animation: slideInRight 0.8s ease;
    transition: all 0.3s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.trial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.trial-card h3 {
    color: #FF6B4A;
    font-size: 26px;
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: bold;
}

.trial-card > p {
    color: #999;
    font-size: 13px;
    margin-bottom: 25px;
}

.trial-form input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    transition: all 0.3s;
    background: #F9F9F9;
}

.trial-form input:focus {
    outline: none;
    border-color: #2BB3F5;
    box-shadow: 0 0 0 3px rgba(43, 179, 245, 0.1);
    background: white;
}

.trial-form input::placeholder {
    color: #BBB;
}

.trial-submit {
    width: 100%;
    background: linear-gradient(90deg, #2BB3F5 0%, #1E9FE8 100%);
    color: white;
    border: none;
    padding: 13px 14px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    box-shadow: 0 3px 12px rgba(43, 179, 245, 0.3);
}

.trial-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.trial-submit:hover::before {
    width: 300px;
    height: 300px;
}

.trial-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(43, 179, 245, 0.4);
}

.stats {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #F0F0F0;
}

.stat-item {
    flex: 1;
    text-align: center;
    background: linear-gradient(135deg, #2BB3F5 0%, #1E9FE8 100%);
    padding: 12px 8px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(43, 179, 245, 0.3);
    transition: all 0.3s;
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(43, 179, 245, 0.4);
}

.stat-number {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
    display: block;
    line-height: 1.2;
}

.stat-label {
    color: white;
    font-size: 10px;
    opacity: 0.95;
    line-height: 1.2;
}

/* 主标题区域 */
.main-intro {
    text-align: center;
    padding: 80px 20px;
    background: white;
}

.main-intro h1 {
    font-size: 38px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-intro .subtitle {
    color: #666;
    font-size: 17px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease 0.2s both;
}

.main-intro .subtitle .highlight {
    color: #FF9800;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 1s ease 0.4s both;
}

.btn-primary {
    background: linear-gradient(90deg, #2BB3F5 0%, #1E9FE8 100%);
    color: white;
    padding: 16px 45px;
    border-radius: 35px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(43, 179, 245, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(43, 179, 245, 0.4);
}

.btn-secondary {
    background: white;
    color: #333;
    padding: 16px 45px;
    border-radius: 35px;
    text-decoration: none;
    font-size: 16px;
    border: 2px solid #E0E0E0;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #2BB3F5;
    color: #2BB3F5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* 产品展示区域 */
.product-showcase {
    background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.product-showcase .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.showcase-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.showcase-left {
    flex: 1;
    max-width: 500px;
}

.showcase-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
}

.showcase-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.showcase-subtitle .highlight {
    color: #4A90E2;
    font-weight: 600;
}

.showcase-buttons {
    display: flex;
    gap: 20px;
}

/* 统一按钮基础样式 */
.showcase-buttons button {
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #4A90E2;
}

/* 默认状态（未激活） */
.showcase-buttons button {
    background: white;
    color: #4A90E2;
}

/* 激活状态 */
.showcase-buttons button.active {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: 2px solid #4A90E2;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* 悬停效果 */
.showcase-buttons button:hover {
    transform: translateY(-2px);
}

.showcase-buttons button:not(.active):hover {
    background: #4A90E2;
    color: white;
}

.showcase-buttons button.active:hover {
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.showcase-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-image {
    width: 400px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

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

.showcase-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.floating-phrases {
    position: absolute;
    width: 150%;
    height: 100%;
    left: -25%;
    top: 0;
}

.floating-phrase {
    position: absolute;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    animation: floatPhrase 3s ease-in-out infinite;
}

.floating-phrase span {
    color: #999;
}

@keyframes floatPhrase {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.phrase-1 { top: 5%; left: 5%; animation-delay: 0s; }
.phrase-2 { top: 5%; right: 5%; animation-delay: 0.2s; }
.phrase-3 { top: 25%; left: 0%; animation-delay: 0.4s; }
.phrase-4 { top: 25%; right: 0%; animation-delay: 0.6s; }
.phrase-5 { top: 50%; left: 2%; animation-delay: 0.8s; }
.phrase-6 { top: 50%; right: 2%; animation-delay: 1s; }
.phrase-7 { top: 75%; left: 5%; animation-delay: 1.2s; }
.phrase-8 { top: 75%; right: 5%; animation-delay: 1.4s; }

/* 场景切换效果 */
.floating-phrases {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.floating-phrases.active {
    opacity: 1;
    visibility: visible;
}

/* 图片切换效果 */
#scene-image {
    transition: opacity 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .showcase-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .showcase-title {
        font-size: 36px;
    }
    
    .showcase-buttons {
        justify-content: center;
    }
    
    .showcase-image {
        width: 300px;
    }
}

/* 特色介绍 */
.features-intro {
    text-align: center;
    padding: 80px 20px;
    background: white;
}

.features-intro h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.features-intro .subtitle {
    font-size: 17px;
    color: #666;
    margin-bottom: 60px;
}

.features-intro .subtitle .highlight {
    color: #FF9800;
    font-weight: 600;
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.feature-item {
    text-align: center;
    transition: transform 0.3s;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 10px;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: all 0.3s;
}

/*.feature-item:hover .feature-icon {*/
/*    transform: scale(1.1) rotate(5deg);*/
/*    box-shadow: 0 12px 35px rgba(255, 152, 68, 0.4);*/
/*}*/

/*.feature-item:nth-child(2) .feature-icon {*/
/*    background: linear-gradient(135deg, #E0E0E0 0%, #BDBDBD 100%);*/
/*    box-shadow: 0 8px 25px rgba(189, 189, 189, 0.3);*/
/*}*/

/*.feature-item:nth-child(3) .feature-icon {*/
/*    background: linear-gradient(135deg, #D0D0D0 0%, #B0B0B0 100%);*/
/*    box-shadow: 0 8px 25px rgba(176, 176, 176, 0.3);*/
/*}*/

/*.feature-item:nth-child(4) .feature-icon {*/
/*    background: linear-gradient(135deg, #E8D0B8 0%, #D4BCA4 100%);*/
/*    box-shadow: 0 8px 25px rgba(212, 188, 164, 0.3);*/
/*}*/

.feature-icon img {
    width: 90px;
    height: 90px;
}

/* 图片悬停切换效果 */
.feature-icon {
    position: relative;
}

.feature-icon .default-img,
.feature-icon .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    transition: opacity 0.3s ease;
}

.feature-icon .default-img {
    opacity: 1;
}

.feature-icon .hover-img {
    opacity: 0;
}

.feature-item:hover .feature-icon .default-img {
    opacity: 0;
}

.feature-item:hover .feature-icon .hover-img {
    opacity: 1;
}

.feature-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 外教展示 */
.teachers-section {
    background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.section-title .subtitle {
    font-size: 17px;
    color: #666;
}

.section-title .highlight {
    color: #FF9800;
    font-weight: 600;
}

.teachers-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.teacher-category {
    text-align: center;
    border: none;
    padding: 15px;
    border-radius: 35px;
    box-shadow: 0 4px 20px rgba(43, 179, 245, 0.3);
}

.teacher-category h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: bold;
}

.category-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.category-icon img {
    width: 50px;
    height: 50px;
}

.teacher-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.teacher-card {
    background: white;
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.teacher-photo {
    width: 100%;
    height: 140px;
    background: #F5F5F5;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.teacher-card:hover .teacher-photo img {
    transform: scale(1.1);
}

.teacher-name {
    font-size: 15px;
    color: #333;
    font-weight: bold;
    margin-bottom: 6px;
}

.teacher-desc {
    font-size: 12px;
    color: #999;
}

.view-more-btn {
    text-align: center;
    margin-top: 50px;
}

.view-more-btn button {
    background: linear-gradient(90deg, #2BB3F5 0%, #1E9FE8 100%);
    color: white;
    border: none;
    padding: 16px 55px;
    border-radius: 35px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(43, 179, 245, 0.3);
}

.view-more-btn button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(43, 179, 245, 0.4);
}

/* 免费领取区域 */
.free-trial-section {
    padding: 100px 20px;
    background: white;
}

.trial-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.trial-image {
    flex: 0 0 380px;
}

.trial-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.trial-content {
    flex: 1;
}

.trial-content h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 25px;
    font-weight: bold;
}

.trial-content .badge {
    display: inline-block;
    background: linear-gradient(90deg, #FF9844 0%, #FF7722 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 15px;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(255, 119, 34, 0.3);
    font-weight: bold;
}

.trial-features {
    list-style: none;
}

.trial-features li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #333;
    transition: transform 0.3s;
}

.trial-features li:hover {
    transform: translateX(10px);
}

.trial-icon {
    width: 60px;
    height: 60px;
    background: #F5F5F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.trial-features li:nth-child(1) .trial-icon {
    background: linear-gradient(135deg, #FFE0B2 0%, #FFCC80 100%);
}

.trial-features li:nth-child(2) .trial-icon {
    background: linear-gradient(135deg, #E0E0E0 0%, #BDBDBD 100%);
}

.trial-features li:nth-child(3) .trial-icon {
    background: linear-gradient(135deg, #FFCC80 0%, #FFB74D 100%);
}

.trial-btn {
    background: linear-gradient(90deg, #FF9844 0%, #FF7722 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 119, 34, 0.3);
}

.trial-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 119, 34, 0.4);
}

/* 定制内容区域 */
.custom-content-section {
    background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
    padding: 100px 20px;
}

.custom-content-section h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.custom-content-section .subtitle {
    text-align: center;
    font-size: 17px;
    color: #666;
    margin-bottom: 60px;
}

.content-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.content-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.content-card-image {
    width: 100%;
    height: 320px;
    background: #F5F5F5;
    overflow: hidden;
    position: relative;
}

.content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.content-card:hover .content-card-image img {
    transform: scale(1.1);
}

.content-card-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: white;
    padding: 6px 18px;
    border-radius: 18px;
    font-size: 13px;
    color: #333;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1;
}

.content-card-title {
    padding: 18px;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.red-icon {
    color: #FF4444;
    font-size: 18px;
}

/* 证书资质展示区域 */
.certificates-section {
    background: white;
    padding: 80px 20px 60px;
    text-align: center;
}

.certificates-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.certificate-item {
    width: 200px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    transform: perspective(1000px) rotateY(0deg);
}

.certificate-item:hover {
    transform: perspective(1000px) rotateY(5deg) translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.certificate-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-button-container {
    text-align: center;
}

.cert-btn {
    background: linear-gradient(90deg, #2BB3F5 0%, #1E9FE8 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    border-radius: 35px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(43, 179, 245, 0.3);
    transition: all 0.3s;
}

.cert-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(43, 179, 245, 0.4);
}

/* 红色横幅CTA */
.red-cta-banner {
    background: linear-gradient(135deg, #FF5757 0%, #FF6B6B 100%);
    padding: 50px 20px;
}

.red-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.red-banner-container .banner-text h3 {
    color: white;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
}

.red-banner-container .banner-text p {
    color: rgba(255,255,255,0.95);
    font-size: 16px;
}

.banner-cta-btn {
    background: white;
    color: #FF5757;
    border: none;
    padding: 16px 45px;
    border-radius: 35px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s;
    white-space: nowrap;
}

.banner-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0,0,0,0.25);
}

/* ReaL ABC 开口走向世界 */
.real-abc-section {
    background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
    padding: 80px 20px;
}

.real-abc-title {
    text-align: center;
    font-size: 40px;
    color: #2BB3F5;
    margin-bottom: 60px;
    font-weight: bold;
}

.real-abc-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.real-abc-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.real-abc-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.abc-badge {
    padding: 12px 20px;
    color: white;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
}

.abc-badge.blue {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.abc-badge.red {
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
}

.abc-badge.yellow {
    background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%);
}

.abc-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.abc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.real-abc-item:hover .abc-image img {
    transform: scale(1.1);
}

.abc-features {
    padding: 25px;
}

.abc-features p {
    color: #666;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 8px;
}

.abc-features p:first-child {
    color: #2196F3;
    font-weight: 600;
}

.real-abc-item:nth-child(2) .abc-features p:first-child {
    color: #F44336;
}

.real-abc-item:nth-child(3) .abc-features p:first-child {
    color: #FFA000;
}

/* 底部注册表单区域 */
.bottom-register-section {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.bottom-register-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    opacity: 0.5;
}

/* 验证码容器样式 */
/*.verification-code-container {*/
/*    display: flex;*/
/*    margin-bottom: 10px;*/
/*}*/

/*.verification-code-container input {*/
/*    flex: 1;*/
/*    margin-right: 10px;*/
/*}*/

/*.send-code-btn {*/
/*    background-color: #f5f5f5;*/
/*    color: #333;*/
/*    border: 1px solid #E0E0E0;*/
/*    border-radius: 8px;*/
/*    padding: 13px 16px;*/
/*    font-size: 14px;*/
/*    cursor: pointer;*/
/*    white-space: nowrap;*/
/*    min-width: 100px;*/
/*    height: auto;*/
/*    box-sizing: border-box;*/
/*}*/

/*.send-code-btn:hover {*/
/*    background-color: #e9e9e9;*/
/*}*/

/*.send-code-btn:disabled {*/
/*    background-color: #f5f5f5;*/
/*    color: #999;*/
/*    cursor: not-allowed;*/
/*}*/

.register-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.register-left {
    flex: 1;
}

.register-left h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: bold;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.register-form input {
    padding: 15px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    font-size: 15px;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s;
}

.register-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.register-form input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    border-color: #2BB3F5;
    box-shadow: 0 0 0 3px rgba(43, 179, 245, 0.2);
}

.code-input-group {
    display: flex;
    gap: 10px;
}

.code-input-group input {
    flex: 1;
}

.get-code-btn {
    background: linear-gradient(90deg, #2BB3F5 0%, #1E9FE8 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.get-code-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(43, 179, 245, 0.4);
}

.register-right {
    text-align: center;
}

.qr-code {
    width: 160px;
    height: 160px;
    background: white;
    padding: 10px;
    border-radius: 15px;
    margin: 0 auto 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.qr-text {
    color: white;
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.9;
}

/* 底部橙色横幅 */
.orange-bottom-banner {
    background: linear-gradient(90deg, #FF9800 0%, #FF6F00 100%);
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
}

.orange-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner-mascot {
    animation: bounce 2s infinite;
}

.banner-mascot img {
    height: 50px;
}

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

.orange-banner-container .banner-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.free-label {
    background: white;
    color: #FF9800;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
}

.banner-desc {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.banner-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    max-width: 300px;
}

.banner-input::placeholder {
    color: #999;
}

.banner-submit-btn {
    background: white;
    color: #FF9800;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.banner-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.banner-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.banner-form-wrapper #banner-phone-error {
    background: rgba(255, 255, 255, 0.95);
    color: #ff4757;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid #ff4757;
    margin-left: 10px;
}

/* 底部区域 */
.footer-cta {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), #666;
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    animation: wave 15s linear infinite;
}

.footer-cta h2 {
    font-size: 40px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.footer-cta p {
    font-size: 20px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* 右侧悬浮按钮 */
.floating-sidebar {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-btn {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #2BB3F5 0%, #1E9FE8 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(43, 179, 245, 0.3);
    font-size: 24px;
}

.floating-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(43, 179, 245, 0.5);
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .hero-container {
        gap: 30px;
    }

    .phrase-tags {
        max-width: 600px;
    }

    .trial-card {
        width: 280px;
    }

    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .content-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .showcase-image {
        width: 350px;
    }

    /* 底部横幅平板优化 */
    .orange-banner-container {
        gap: 15px;
    }

    .banner-input {
        max-width: 250px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 56px;
        left: -100%;
        width: 100%;
        background: linear-gradient(135deg, #2BB3F5 0%, #1E9FE8 100%);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 18px;
        padding: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 15px 60px;
    }

    .hero-container {
        flex-direction: column;
    }

    .phrase-tags {
        max-width: 100%;
    }

    .trial-card {
        width: 100%;
        max-width: 400px;
        margin-top: 40px;
    }

    .main-intro h1 {
        font-size: 28px;
    }

    .main-intro .subtitle {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 80%;
        max-width: 300px;
        text-align: center;
    }

    .showcase-container {
        padding: 0 20px;
    }

    .showcase-image {
        width: 100%;
        max-width: 350px;
    }

    .floating-phrases {
        display: none;
    }

    .features-intro h2 {
        font-size: 26px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .section-title h2 {
        font-size: 26px;
    }

    .trial-container {
        flex-direction: column;
        gap: 40px;
    }

    .trial-image {
        flex: none;
        width: 100%;
        max-width: 350px;
    }

    .trial-content h2 {
        font-size: 26px;
    }

    .content-cards {
        grid-template-columns: 1fr;
    }

    .custom-content-section h2 {
        font-size: 26px;
    }

    .footer-cta h2 {
        font-size: 28px;
    }

    .footer-cta p {
        font-size: 16px;
    }

    .floating-sidebar {
        right: 15px;
        gap: 10px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* 底部横幅移动端优化 */
    .orange-banner-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .banner-form-wrapper {
        width: 100%;
        align-items: center;
    }

    .banner-form-wrapper form {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .banner-input {
        max-width: none;
        width: 100%;
    }

    .banner-submit-btn {
        width: 100%;
        padding: 15px 35px;
    }

    .banner-form-wrapper #banner-phone-error {
        margin-left: 0;
        text-align: center;
        width: fit-content;
        align-self: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }

    .logo {
        font-size: 16px;
    }

    .logo img{
        height: 25px;
    }

    .login-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .phrase-tag {
        padding: 10px 18px;
        font-size: 13px;
    }

    .main-intro {
        padding: 60px 15px;
    }

    .main-intro h1 {
        font-size: 24px;
    }

    .features-intro,
    .teachers-section,
    .free-trial-section,
    .custom-content-section {
        padding: 60px 15px;
    }

    .teacher-cards {
        grid-template-columns: 1fr;
    }

    .certificate-item {
        width: 150px;
        height: 210px;
    }

    .red-banner-container .banner-text h3 {
        font-size: 22px;
    }

    .real-abc-title {
        font-size: 28px;
    }

    .orange-banner-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner-input {
        max-width: 100%;
    }
}

/* 新增区域的响应式样式 */
@media (max-width: 768px) {
    .certificates-container {
        gap: 15px;
    }

    .certificate-item {
        width: 160px;
        height: 220px;
    }

    .red-banner-container {
        flex-direction: column;
        text-align: center;
    }

    .red-banner-container .banner-text h3 {
        font-size: 26px;
    }

    .real-abc-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .real-abc-title {
        font-size: 32px;
    }

    .register-container {
        flex-direction: column;
        gap: 40px;
    }

    .orange-banner-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .banner-mascot img{
        height: 50px;
    }

    .banner-input {
        width: 100%;
        max-width: 100%;
    }

    .banner-submit-btn {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .real-abc-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

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

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

/* 页脚样式 */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-section h4 {
    color: #3498db;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-section p {
    margin: 8px 0;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-section a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #5dade2;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-links span {
    color: #7f8c8d;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    margin: 5px 0;
    font-size: 14px;
    color: #95a5a6;
}

.footer-copyright a {
    color: #3498db;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* 页脚响应式设计 */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-section h4 {
        font-size: 16px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links span {
        display: none;
    }
}

