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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* 移动端背景图自适应 */
@media (max-width: 768px) {
    body {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
}

/* 小屏设备优化 */
@media (max-width: 480px) {
    body {
        background-size: cover;
        background-position: center top;
        background-attachment: scroll;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

@keyframes shadowPulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

/* Page Load Animation */
body {
    animation: fadeIn 0.8s ease-out;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation for Reveal Elements */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }
.reveal:nth-child(5) { transition-delay: 0.5s; }
.reveal:nth-child(6) { transition-delay: 0.6s; }
.reveal:nth-child(7) { transition-delay: 0.7s; }
.reveal:nth-child(8) { transition-delay: 0.8s; }
.reveal:nth-child(9) { transition-delay: 0.9s; }
.reveal:nth-child(10) { transition-delay: 1s; }

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

/* Header Styles */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

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

.logo i {
    margin-right: 10px;
    color: #3498db;
    animation: pulse 2s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 20px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

/* 背景渐变效果 */
.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

/* 悬停效果 */
.nav-menu a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-menu a:hover::before {
    left: 100%;
}

/* 点击动画 */
.nav-menu a:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.1s ease;
}

/* 当前页面高亮效果 */
.nav-menu a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu a.active::before {
    left: 100%;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu li {
        margin-left: 0;
    }
    
    .nav-menu a {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 12px;
    }
}

/* Hero Section */
.hero {
    background: transparent;
    color: white;
    padding: 240px 0 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 移动端hero部分调整 */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 100px;
    }
}

/* Hero背景装饰效果 */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, white, transparent);
    opacity: 0.8;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-character {
    text-align: center;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.hero-character h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero-character p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin: 0;
}

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

.hero h1 {
    font-size: 52px;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
}

.hero p {
    font-size: 22px;
    margin-bottom: 50px;
    opacity: 0.95;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* 增强按钮效果 */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn::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.6s ease;
    z-index: -1;
}

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

.btn-primary {
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4), 0 4px 10px rgba(46, 204, 113, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 12px 35px rgba(46, 204, 113, 0.5), 0 6px 15px rgba(46, 204, 113, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.btn-secondary {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
}

.btn-primary {
    background-color: #2ecc71;
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 16px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
}

.section-header h2 {
    font-size: 38px;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.section-header p {
    font-size: 20px;
    color: #7f8c8d;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.about-item {
    text-align: center;
    padding: 40px 30px;
    background-color: #f8f9fa;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.about-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.about-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
}

.about-item:hover::before {
    opacity: 0.05;
}

.about-item i {
    font-size: 56px;
    color: #3498db;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.about-item:hover i {
    color: #2ecc71;
    transform: scale(1.1);
}

.about-item h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.about-item:hover h3 {
    color: #3498db;
}

.about-item p {
    color: #7f8c8d;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.about-item:hover p {
    color: #555;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.course-card {
    background-color: white;
    padding: 45px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
}

.course-card:hover::before {
    left: 100%;
}

.course-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.course-card:hover .course-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.course-icon i {
    font-size: 44px;
    color: white;
    transition: all 0.3s ease;
}

.course-card h3 {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.course-card:hover h3 {
    color: #3498db;
    transform: translateY(-2px);
}

.course-card p {
    color: #7f8c8d;
    margin-bottom: 30px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.course-card:hover p {
    color: #555;
}

.course-card button {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.course-card:hover button {
    transform: translateY(-2px) scale(1.05);
}

/* Tips Section */
.tips {
    padding: 80px 0;
    background-color: white;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.tip-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.tip-item i {
    font-size: 24px;
    color: #2ecc71;
    margin-right: 15px;
}

.tip-item p {
    color: #2c3e50;
    font-weight: 500;
}

/* Profile Section */
.profile {
    padding: 80px 0;
    background-color: white;
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    color: #555;
}

.expertise {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.expertise-item {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-radius: 25px;
    font-weight: 600;
    color: #3498db;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.expertise-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    background-color: #3498db;
    color: white;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.benefit-item {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

.benefit-number {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.benefit-item h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    margin-top: 20px;
}

.benefit-item ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.benefit-item li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.benefit-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
}

/* Target Audience Section */
.target-audience {
    padding: 80px 0;
    background-color: white;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.target-item {
    text-align: center;
    padding: 35px;
    background-color: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.target-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: white;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.target-item i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.target-item:hover i {
    transform: scale(1.1) rotate(5deg);
    color: #2ecc71;
}

.target-item h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* How to Join Section */
.how-to-join {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 30px;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(52, 152, 219, 0.1);
    font-family: serif;
    z-index: 0;
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 24px;
}

.testimonial-info h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.testimonial-rating {
    color: #f39c12;
    font-size: 16px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.testimonial-content p {
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-footer {
    text-align: right;
    position: relative;
    z-index: 1;
}

.testimonial-date {
    color: #95a5a6;
    font-size: 14px;
}

/* Market Updates Section */
.market-updates {
    padding: 80px 0;
    background-color: white;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.market-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: white;
}

.market-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.market-content h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.market-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.market-index {
    color: #7f8c8d;
    font-weight: 500;
}

.market-value {
    color: #2c3e50;
    font-weight: 700;
    font-size: 18px;
}

.market-change {
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 14px;
}

.market-change.positive {
    color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.1);
}

.market-change.negative {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.market-content p {
    color: #555;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
    display: block;
    visibility: visible;
    opacity: 1;
}

.faq-content {
    max-width: 800px;
    margin: 50px auto 0;
    display: block;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
    visibility: visible;
    opacity: 1;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background-color: white;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 20px;
    color: #3498db;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
    opacity: 0;
    transform: translateY(-10px);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
    opacity: 1;
    transform: translateY(0);
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Footer背景装饰 */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    opacity: 0.3;
}

.footer-top {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-section {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo i {
    margin-right: 15px;
    color: #3498db;
    font-size: 32px;
    animation: pulse 2s ease-in-out infinite;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: #3498db;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.social-link i {
    font-size: 18px;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.footer-links-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-section li {
    margin: 0;
}

.footer-links-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 10px;
}

.footer-links-section a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #3498db;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links-section a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-links-section a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item i {
    color: #3498db;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.contact-item a:hover {
    color: #3498db;
    text-decoration: underline;
}

.footer-btn {
    margin-top: 10px;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background: #3498db;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

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

.footer-info p {
    opacity: 0.7;
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-copyright i {
    color: #e74c3c;
    animation: pulse 1.5s ease-in-out infinite;
}

/* 悬浮按钮样式 */
.floating-button-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.floating-button::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.6s ease;
    z-index: -1;
}

.floating-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.5);
}

.floating-button:hover::before {
    left: 100%;
}

.floating-button:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    transition: all 0.1s ease;
}

.floating-button i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.floating-button:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column {
        align-items: center;
    }
    
    .footer-logo-section {
        max-width: 100%;
    }
    
    .footer-links-section a {
        justify-content: center;
        padding-left: 0;
    }
    
    .footer-links-section a::before {
        left: auto;
        right: 0;
    }
    
    .footer-links-section a:hover {
        transform: translateX(0) translateY(-2px);
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-btn {
        align-self: center;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 10px;
    }
    
    /* 悬浮按钮移动端适配 */
    .floating-button {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .floating-button span {
        display: none;
    }
    
    .floating-button {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        gap: 0;
    }
    
    .floating-button i {
        font-size: 24px;
    }
}

/* Privacy and Disclaimer Pages */
.privacy-container, .disclaimer-container {
    max-width: 900px;
    margin: 120px auto 80px;
    padding: 0 20px;
}

/* Risk Notice Section */
.risk-notice-section {
    background-color: #fff8e1;
    padding: 40px 0;
    border-top: 2px solid #ffc107;
    border-bottom: 2px solid #ffc107;
}

.risk-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.risk-content h3 {
    color: #e65100;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.risk-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.risk-content li {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid #ff9800;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    transition: all 0.3s ease;
}

.risk-content li:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness for risk notice */
@media (max-width: 768px) {
    .risk-notice-section {
        padding: 30px 0;
    }
    
    .risk-content h3 {
        font-size: 20px;
    }
    
    .risk-content li {
        font-size: 14px;
        padding: 12px 15px;
    }
}

.privacy-content, .disclaimer-content {
    background-color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: shadowPulse 3s ease-in-out infinite, fadeIn 1s ease-out;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.privacy-content:hover, .disclaimer-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.privacy-content::before, .disclaimer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #e74c3c, #f39c12, #2ecc71, #3498db);
    background-size: 200% 100%;
    animation: gradientFlow 5s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.privacy-content h2, .disclaimer-content h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    animation: fadeIn 1s ease-out, float 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.privacy-content h2::after, .disclaimer-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.privacy-content h3, .disclaimer-content h3 {
    font-size: 24px;
    color: #34495e;
    margin: 30px 0 15px;
    animation: slideInLeft 0.8s ease-out;
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.privacy-content h3::before, .disclaimer-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #3498db;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.privacy-content h3:hover, .disclaimer-content h3:hover {
    transform: translateX(10px);
    color: #3498db;
}

.privacy-content p, .disclaimer-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.privacy-content p::before, .disclaimer-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background-color: #2ecc71;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.privacy-content p:hover, .disclaimer-content p:hover {
    transform: translateX(5px);
    color: #333;
}

.privacy-content p:hover::before, .disclaimer-content p:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.privacy-content ul, .disclaimer-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.privacy-content li, .disclaimer-content li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-content, .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-content, .disclaimer-content {
        padding: 30px 20px;
    }
    
    .privacy-content h2, .disclaimer-content h2 {
        font-size: 28px;
    }
    
    .privacy-content h3, .disclaimer-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 16px;
    }
}