/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
}

.wrapper {  
    width: 1170px;
    margin: 0 auto;
}

/* 头部样式 */
.header {
    background-color: #0088cc;
    color: white;
    padding: 15px 0;
}

.header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1170px;
    padding: 0 15px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    margin: 0;
    padding: 0;
}

.login-register {
    margin: 0;
    padding: 0;
}

.login-register a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
}

.login-register a:hover {
    text-decoration: underline;
}

/* 主内容样式 */
.main {
    position: relative;
}

/*  banner样式 */
.banner {
    background: linear-gradient(135deg, #0088cc 0%, #00aaff 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/public/web/img/index/banner-bg.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* 左侧区域 */
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 测评书本 */
.assessment-book {
    position: relative;
    margin-bottom: 40px;
}

.book-cover {
    width: 200px;
    height: 280px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: rotate(-10deg);
    overflow: hidden;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e6f7ff 0%, #b3e5fc 100%);
    opacity: 0.8;
}

.star-rating {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.star {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #ffcc00;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    margin-right: 5px;
}

.book-title {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    z-index: 2;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.book-subtitle {
    position: absolute;
    top: 130px;
    left: 38%;
    transform: translateX(-50%);
    font-size: 18px;
    color: #666666;
    z-index: 2;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.like-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #ff6b6b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
}

.like-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* 指标区域 */
.indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.process-indicator, .academic-indicator, .development-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
}

.indicator-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.indicator-icon.green {
    background-color: #4caf50;
}

.indicator-icon.blue {
    background-color: #2196f3;
}

.indicator-icon.purple {
    background-color: #9c27b0;
}

.indicator-text {
    color: white;
}

.indicator-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.indicator-subtitle {
    font-size: 14px;
    margin-bottom: 2px;
}

/* 右侧登录区域 */
.right-section {
    flex: 0 0 350px;
}

.login-box {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.login-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.login-box-header h3 {
    color: #0088cc;
    margin: 0;
    font-size: 24px;
}

.login-tab {
    color: #666666;
    font-size: 16px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .input-group {
    border-radius: 4px;
    overflow: hidden;
}

.login-form .input-group-addon {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

.login-form .form-control {
    border-left: none;
    box-shadow: none;
    padding: 12px;
}

.login-form .btn-primary {
    background-color: #0088cc;
    border-color: #0088cc;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.login-form .btn-primary:hover {
    background-color: #006699;
}

.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.login-links a {
    color: #666666;
    font-size: 14px;
    text-decoration: none;
}

.login-links a:hover {
    color: #0088cc;
    text-decoration: underline;
}

/* 功能区域 */
.features {
    background-color: white;
    padding: 40px 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.features .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border-radius: 8px;
    color: white;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    cursor: pointer;
}

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

.feature-item.blue {
    background-color: #2196f3;
}

.feature-item.purple {
    background-color: #9c27b0;
}

.feature-item.orange {
    background-color: #ff9800;
}

.feature-item.green {
    background-color: #4caf50;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.feature-text {
    font-size: 18px;
    font-weight: bold;
}

/* 页脚样式 */
.footer {
    background-color: #333333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

/* 图标样式 */
.icon-piano::before {
    content: '🎹';
    font-size: 30px;
}

.icon-book::before {
    content: '📚';
    font-size: 30px;
}

.icon-music::before {
    content: '🎵';
    font-size: 30px;
}

.icon-user::before {
    content: '👤';
    font-size: 16px;
}

.icon-lock::before {
    content: '🔒';
    font-size: 16px;
}

.icon-pencil::before {
    content: '📝';
    font-size: 30px;
}

.icon-community::before {
    content: '👥';
    font-size: 30px;
}

.icon-trophy::before {
    content: '🏆';
    font-size: 30px;
}

.icon-practice::before {
    content: '🎨';
    font-size: 30px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .banner-content {
        flex-direction: column;
        gap: 40px;
    }

    .right-section {
        flex: 1;
        width: 100%;
        max-width: 400px;
    }

    .features .container {
        flex-wrap: wrap;
    }

    .feature-item {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 20px;
    }

    .login-register a {
        font-size: 14px;
        margin-left: 10px;
    }

    .book-cover {
        width: 160px;
        height: 224px;
    }

    .star {
        width: 16px;
        height: 16px;
    }

    .book-title {
        font-size: 20px;
    }

    .book-subtitle {
        font-size: 14px;
    }

    .like-button {
        width: 32px;
        height: 32px;
    }

    .like-icon {
        width: 16px;
        height: 16px;
    }

    .indicator-icon {
        width: 60px;
        height: 60px;
    }

    .indicator-title {
        font-size: 16px;
    }

    .indicator-subtitle {
        font-size: 12px;
    }

    .feature-item {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .banner {
        padding: 40px 0;
    }

    .login-box {
        padding: 20px;
    }

    .login-box-header h3 {
        font-size: 20px;
    }

    .features {
        padding: 20px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content {
    animation: fadeInUp 0.8s ease-out;
}

.feature-item {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.feature-item:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.8s;
}