/* 基础样式设置 - 仅保留必要的自定义样式 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #4f46e5;
    --accent-color: #f59e0b;
    --text-color: #1e293b;
    --light-text: #64748b;
    --bg-color: #ffffff;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --gradient-primary: linear-gradient(135deg, #2563eb, #4f46e5);
    --gradient-accent: linear-gradient(135deg, #f59e0b, #ef4444);
}

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

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn.primary {
    background: var(--gradient-primary);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

.btn.secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区域样式 */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ecfb 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--dark-bg);
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 80%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* 亮点区域样式 */
.highlights {
    padding: 80px 0;
    background-color: var(--bg-color);
}

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

.highlight-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.highlight-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.highlight-card p {
    color: var(--light-text);
}

/* 关于本书区域样式 */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-text h3 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.book-details {
    flex: 1;
    min-width: 250px;
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.detail-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.detail-item .label {
    font-weight: 600;
    width: 100px;
    color: var(--light-text);
}

.detail-item .value {
    flex: 1;
}

/* 目录区域样式 */
.toc {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.toc-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.toc-column {
    flex: 1;
    min-width: 250px;
}

.toc-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.toc-column ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.toc-column ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 作者介绍区域样式 */
.author {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.author-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

/* 推荐语区域样式 */
.endorsements {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
}

.endorsements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('quote-bg.png');
    background-size: 200px;
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 0;
}

.endorsements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.endorsement-card {
    background-color: var(--bg-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.endorsement-content {
    flex: 1;
    position: relative;
    padding-top: 20px;
}

.endorsement-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.endorsement-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

.endorser {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.endorser-name {
    flex: 1;
}

.endorser-name h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.endorser-name p {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .endorsements-grid {
        grid-template-columns: 1fr;
    }
    
    .endorsement-card {
        margin-bottom: 20px;
    }
}

/* 电子资源区域样式 */
.resources {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.resources-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--light-text);
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.resource-card {
    display: flex;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    background: var(--gradient-primary);
    color: white;
    font-size: 2rem;
}

.resource-info {
    padding: 25px;
    flex: 1;
}

.resource-info h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.resource-info p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.resource-links {
    display: flex;
    gap: 10px;
}

.resource-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.resource-link:hover {
    background-color: #e0e0e0;
}

.resources-cta {
    text-align: center;
    margin-top: 50px;
}

.resources-cta p {
    margin-bottom: 20px;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .resource-card {
        flex-direction: column;
    }
    
    .resource-icon {
        width: 100%;
        height: 80px;
    }
    
    .resource-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .resource-links {
        flex-direction: column;
    }
    
    .resource-links-grid {
        grid-direction: column;
    }
}

/* 购买链接区域样式 */
.buy {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.buy-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--light-text);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.store-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
}

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

.store-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.store-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* 购买链接区域图标样式 */
.store-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.store-card:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* 读者评价区域样式 */
.reviews {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
}

.reviews-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.reviews-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.review-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background-color: var(--light-bg);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.review-content {
    position: relative;
    padding-top: 20px;
    margin-bottom: 20px;
}

.review-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.reviewer {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.reviewer-info p {
    font-size: 0.9rem;
    color: var(--light-text);
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.slider-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 页脚样式 */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo .logo {
    color: white;
    margin-bottom: 15px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* 自定义动画效果 */
@keyframes highlightIn {
    to { transform: scaleX(1); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

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

/* 打字机效果 */
.typing-container {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    animation: highlightIn 1.5s 1s forwards;
}

.cursor {
    width: 3px;
    height: 42px;
    background-color: var(--accent-color);
    display: inline-block;
    margin-left: 5px;
    animation: blink 1s infinite;
}

/* 书籍发光效果 */
.book-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 0 30px rgba(0, 102, 204, 0.3);
    opacity: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 600px;
    width: 90%;
    padding: 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
}

.close-modal:hover {
    color: var(--text-color);
}

.modal h2 {
    margin-bottom: 20px;
}

.modal p {
    margin-bottom: 30px;
    color: var(--light-text);
}

#resource-form {
    display: flex;
    flex-direction: column;
}

#resource-form input {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.modal-desc {
    text-align: center;
    margin-bottom: 25px;
    color: var(--light-text);
}

.verification-methods {
    margin-bottom: 25px;
}

.verification-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.verification-tab {
    padding: 10px 15px;
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--light-text);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.verification-tab.active {
    color: var(--primary-color);
    font-weight: 600;
}

.verification-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}

.verification-method {
    display: none;
}

.verification-method.active {
    display: block;
}

/* 扫描条形码样式 */
.scanner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scanner-frame {
    width: 100%;
    max-width: 300px;
    height: 200px;
    position: relative;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(79, 70, 229, 0.7);
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.7);
    z-index: 2;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

#barcode-scanner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scanner-instructions {
    text-align: center;
}

.scanner-instructions p {
    margin-bottom: 15px;
    color: var(--light-text);
}

/* 上传条形码图片样式 */
.upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-area {
    width: 100%;
    max-width: 300px;
    height: 200px;
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.02);
}

.upload-area i {
    font-size: 3rem;
    color: var(--light-text);
    margin-bottom: 15px;
}

.upload-area p {
    color: var(--light-text);
}

.upload-preview {
    display: none;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.upload-preview img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* 手动输入ISBN样式 */
.manual-container {
    text-align: center;
}

.isbn-input-container {
    display: flex;
    max-width: 400px;
    margin: 20px auto;
}

#isbn-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

#verify-isbn {
    border-radius: 0 5px 5px 0;
}

.isbn-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 0.9rem;
}

.isbn-hint i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* 验证状态样式 */
.verification-status {
    display: none;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.status-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.status-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.status-icon i {
    color: var(--primary-color);
}

.status-message {
    font-weight: 500;
}

.progress-bar {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* 验证成功模态框样式 */
.success-content {
    text-align: center;
}

.success-animation {
    margin: 20px auto;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-left: auto;
    margin-right: auto;
}

.checkmark-circle .background {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
}

.checkmark-circle .checkmark {
    border-radius: 5px;
}

.checkmark-circle .checkmark.draw:after {
    animation-delay: 100ms;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(135deg);
    animation-fill-mode: forwards;
}

.checkmark-circle .checkmark:after {
    opacity: 1;
    height: 40px;
    width: 20px;
    transform-origin: left top;
    border-right: 5px solid var(--accent-color);
    border-top: 5px solid var(--accent-color);
    content: '';
    left: 30px;
    top: 45px;
    position: absolute;
}

@keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }
    20% {
        height: 0;
        width: 20px;
        opacity: 1;
    }
    40% {
        height: 40px;
        width: 20px;
        opacity: 1;
    }
    100% {
        height: 40px;
        width: 20px;
        opacity: 1;
    }
}

.resources-unlocked {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
}

.resources-unlocked h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.unlocked-list {
    list-style: none;
}

.unlocked-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.unlocked-list li i {
    width: 25px;
    color: var(--primary-color);
    margin-right: 10px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image img {
        max-width: 60%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .review-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .review-card {
        flex: 0 0 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .store-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .verification-tab {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* 社交媒体链接样式 */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.social-links i {
    font-size: 1.2rem;
}

/* 微信二维码样式 */
.wechat-qrcode {
    display: none;
    position: absolute;
    bottom: 50px;
    left: 0;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.wechat-link {
    position: relative;
}

/* Toast消息样式 */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1rem;
    z-index: 1000;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* 视频区域样式 */
.videos {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.videos-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.video-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.video-tab {
    padding: 10px 20px;
    background-color: #eee;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.video-tab.active {
    background-color: #333;
    color: white;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.video-player {
    display: none;
    width: 100%;
}

.video-player.current {
    display: block;
}

.video-player iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.video-info p {
    color: #666;
    line-height: 1.6;
}

.video-cta {
    text-align: center;
    margin-top: 40px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .video-player iframe {
        height: 300px;
    }
    
    .video-tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .video-player iframe {
        height: 240px;
    }
}

/* 添加动态背景元素 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(79, 70, 229, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 20%);
    z-index: -1;
}

/* 添加动态悬浮效果到卡片 */
.highlight-card, .endorsement-card, .review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

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

/* 更新章节标题样式 */
.section-title::after {
    background: var(--gradient-primary);
    border-radius: 2px;
}