/* 漫格陪玩系统 - 主样式表 */

/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
}

/* 头部导航 - 优化设计 */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb, #2575fc, #11998e, #38ef7d);
    z-index: 1001;
}

.header .container {
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(106, 17, 203, 0.05), rgba(37, 117, 252, 0.1), rgba(17, 153, 142, 0.05));
    border-radius: 40px;
    padding: 5px 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.nav-buttons .btn {
    margin: 0 5px;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    transition: all 0.3s ease;
    position: relative;
}

.nav-buttons .btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-buttons .btn:hover {
    color: #2575fc;
    transform: translateY(-2px);
}

.nav-buttons .btn:hover::before {
    width: 70%;
    opacity: 1;
}

.nav-buttons .btn i {
    margin-right: 6px;
    font-size: 1.1rem;
}

.header-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-contact-info {
    display: none;
    margin-right: 15px;
    text-align: right;
}

.header-contact-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #777;
}

.header-contact-info strong {
    color: #2575fc;
    font-weight: 600;
}

@media (min-width: 992px) {
    .header-contact-info {
        display: block;
    }
    
    .nav-buttons .btn {
        padding: 10px 0px;
    }
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-items {
    padding: 20px 0;
}

.mobile-menu-items a {
    display: block;
    padding: 12px 20px;
    color: #333;
    border-bottom: 1px solid #f1f1f1;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.mobile-menu-items a i {
    color: #2575fc;
}

.mobile-menu-items a:hover {
    background-color: #f8f9fa;
    color: #2575fc;
}

.mobile-contact-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.mobile-contact-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.mobile-contact-info p i {
    color: #2575fc;
}

.mobile-contact-info p:last-child {
    margin-bottom: 0;
}

/* Banner部分 */
.banner {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/banner3.jpg') center center no-repeat;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.banner .container {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.banner-buttons {
    margin-top: 30px;
}

.banner-buttons .btn {
    margin: 0 5px;
    padding: 12px 30px;
}

/* 功能特点部分 */
.feature-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}

.feature-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-content ul {
    padding-left: 20px;
    margin-top: 15px;
}

.feature-content ul li {
    margin-bottom: 8px;
    position: relative;
}

/* 技术栈部分 */
.tech-stack {
    background-color: #f8f9fa;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.tech-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/adminbg.png') right bottom no-repeat;
    background-size: 40%;
    opacity: 0.05;
    z-index: 0;
}

.tech-stack .container {
    position: relative;
    z-index: 1;
}

.tech-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.tech-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2575fc;
}

/* 演示地址部分 */
.demo-section {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/banner3.jpg') center center no-repeat;
    background-size: cover;
    opacity: 0.03;
    z-index: 0;
}

.demo-section .container {
    position: relative;
    z-index: 1;
}

.demo-cards {
    margin-top: 40px;
}

.demo-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s;
}

.demo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.demo-card-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.demo-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.demo-icon i {
    font-size: 2rem;
}

.demo-card-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.demo-card-body {
    padding: 0;
}

.demo-preview {
    position: relative;
    overflow: hidden;
}

.demo-preview img {
    width: 100%;
    height: 330px;
    transition: transform 0.5s;
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.demo-preview:hover .demo-overlay {
    opacity: 1;
}

.demo-preview:hover img {
    transform: scale(1.05);
}

.demo-info {
    padding: 20px;
}

.demo-info p {
    margin-bottom: 15px;
}

.demo-url {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    word-break: break-all;
}

.demo-url a {
    color: #2575fc;
    font-weight: 500;
}

.demo-account {
    background-color: #e9f7fe;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2575fc;
}

/* 价格部分 */
.price-section {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/banner3.jpg') center center no-repeat;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.price-section .container {
    position: relative;
    z-index: 1;
}

.price-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    margin-top: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    color: #333;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-value {
    font-size: 3.5rem;
    font-weight: bold;
    color: #11998e;
    margin: 15px 0;
}

.price-card ul {
    margin-top: 25px;
}

.price-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.price-card .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    margin-top: 20px;
    border-radius: 30px;
    transition: all 0.3s;
}

/* 联系部分 */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2575fc;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
}

.contact-actions .btn {
    margin-bottom: 10px;
}

.contact-highlight {
    background-color: #e9f7fe;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2575fc;
}

/* 底部部分 */
.footer {
    background-color: #343a40;
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer p {
    margin-bottom: 10px;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.friend-links {
    margin-top: 40px;
}

.friend-links a {
    margin-right: 15px;
    margin-bottom: 10px;
    white-space: nowrap;
    display: inline-block;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .banner h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .feature-content h3 {
        font-size: 1.4rem;
    }
    
    .tech-item, .contact-card {
        padding: 20px;
    }
    
    .demo-card-header {
        padding: 15px;
    }
    
    .demo-icon {
        width: 50px;
        height: 50px;
    }
    
    .demo-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .banner {
        padding: 60px 0 40px;
    }
    
    .banner h1 {
        font-size: 1.8rem;
    }
    
    .banner p {
        font-size: 1rem;
    }
    
    .feature-section, .tech-stack, .price-section, .contact-section, .demo-section {
        padding: 50px 0;
    }
    
    .feature-content {
        margin-top: 20px;
    }
    
    .price-value {
        font-size: 2.8rem;
    }
    
    .demo-info {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .banner h1 {
        font-size: 1.6rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .feature-section, .tech-stack, .price-section, .contact-section, .demo-section {
        padding: 40px 0;
    }
    
    .price-card {
        padding: 25px 20px;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .demo-card-header h3 {
        font-size: 1.2rem;
    }
    
    .demo-icon {
        width: 40px;
        height: 40px;
    }
    
    .demo-icon i {
        font-size: 1.2rem;
    }
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.4);
}

.btn-light {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline-primary {
    border-radius: 30px;
    border-color: #2575fc;
    color: #2575fc;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.2);
}

.btn-outline-light {
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
} 