/* Apple官网风格样式 */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
:root {
    --apple-white: #FFFFFF;
    --apple-black: #000000;
    --apple-gray: #86868b;
    --apple-light-gray: #f5f5f7;
    --apple-blue: #0071e3;
    --apple-gold: #ffd60a;
    --apple-gradient-start: #fef7e0;
    --apple-gradient-end: #fffbeb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--apple-white);
    color: var(--apple-black);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 移除赛博风格背景 */
.cyber-bg {
    display: none;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* 顶部区域 */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--apple-black);
    letter-spacing: 0;
    animation: none;
    text-shadow: none;
    margin: 0;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-btn {
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    background-color: transparent;
    color: var(--apple-black);
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0;
    font-family: inherit;
}

.nav-btn:hover {
    color: var(--apple-blue);
    background-color: transparent;
    transform: none;
    box-shadow: none;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(180deg, var(--apple-gradient-start) 0%, var(--apple-gradient-end) 100%);
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.3)" fill-opacity="1" d="M0,224L48,218.7C96,213,192,203,288,213.3C384,224,480,256,576,245.3C672,235,768,181,864,181.3C960,181,1056,235,1152,245.3C1248,256,1344,224,1392,208L1440,192L1440,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;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--apple-black);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 21px;
    color: var(--apple-gray);
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    min-width: 120px;
}

.hero-btn.primary {
    background-color: var(--apple-blue);
    color: var(--apple-white);
}

.hero-btn.primary:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

.hero-btn.secondary {
    background-color: transparent;
    color: var(--apple-blue);
}

.hero-btn.secondary:hover {
    background-color: rgba(0, 113, 227, 0.1);
}

/* 赛博链接样式改为Apple风格 */
.cyber-link {
    color: var(--apple-blue);
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
    font-weight: 400;
}

.cyber-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--apple-blue);
    transition: opacity 0.2s ease;
    opacity: 1;
}

.cyber-link:hover {
    color: #0077ed;
    text-shadow: none;
}

.cyber-link:hover::after {
    opacity: 0.5;
    background-color: #0077ed;
    width: 100%;
}

/* 区块标题 */
.section-title,
.section-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--apple-black);
    text-align: center;
    position: relative;
    text-transform: none;
    letter-spacing: 0;
    font-family: inherit;
    line-height: 1.1;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: block;
}

.section-title {
    margin: 60px 0 12px;
}

.section-subtitle {
    margin-bottom: 60px;
}

/* 门店展示区 */
.stores {
    padding: 60px 0;
    position: relative;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.store-card {
    background-color: var(--apple-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: none;
    box-shadow: none;
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.05);
}

.store-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

.store-image {
    display: none;
}

.store-card:hover .store-image-wrapper {
    transform: scale(1.05);
    transition: all 0.5s ease;
}

.cyber-border {
    display: none;
}

.store-info {
    padding: 24px;
}

.store-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--apple-black);
    margin-bottom: 8px;
    font-family: inherit;
    text-align: center;
}

.store-address {
    color: var(--apple-gray);
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.5;
    text-align: center;
}

.store-phone {
    display: block;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: inherit;
    text-align: center;
}

/* 门店操作按钮 */
.store-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.store-action-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.btn-navigate {
    background-color: var(--apple-light-gray);
    color: var(--apple-black);
}

.btn-navigate:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: none;
    box-shadow: none;
}

.btn-call {
    background-color: var(--apple-blue);
    color: var(--apple-white);
}

.btn-call:hover {
    background-color: #0077ed;
    transform: none;
    box-shadow: none;
}

/* 网吧介绍区 */
.introduction {
    padding: 60px 0;
    position: relative;
    background-color: var(--apple-light-gray);
    margin: 60px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.cyber-card {
    background-color: var(--apple-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: none;
    box-shadow: none;
}

.cyber-card::before {
    display: none;
}

.cyber-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.05);
}

.intro-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--apple-black);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-transform: none;
    letter-spacing: 0;
    font-family: inherit;
}

.intro-content {
    list-style: none;
    position: relative;
    z-index: 2;
}

.intro-content li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: var(--apple-gray);
    transition: all 0.2s ease;
    font-size: 17px;
    line-height: 1.5;
}

.intro-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--apple-blue);
    font-size: 24px;
    transition: all 0.2s ease;
    font-weight: bold;
    line-height: 1;
}

.cyber-card:hover .intro-content li {
    color: var(--apple-gray);
}

.cyber-card:hover .intro-content li::before {
    transform: none;
    color: var(--apple-blue);
    text-shadow: none;
}

/* 选项卡样式 */
.options-tabs {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.option-tab {
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 400;
    background-color: transparent;
    color: var(--apple-gray);
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.option-tab:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--apple-black);
    transform: none;
    box-shadow: none;
}

.option-tab.active {
    background-color: var(--apple-blue);
    color: var(--apple-white);
}

.option-tab.active:hover {
    background-color: #0077ed;
    color: var(--apple-white);
}

/* 选项卡内容 */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 底部区域 */
.footer {
    padding: 60px 0;
    background-color: var(--apple-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

.footer-contact {
    text-align: center;
}

.footer-phone, .footer-address {
    margin-bottom: 8px;
    color: var(--apple-gray);
    font-size: 17px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--apple-gray);
    text-align: center;
    font-family: inherit;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

/* 加载动画 */
#loading-screen {
    background-color: var(--apple-white);
}

.loading-logo {
    font-size: 28px;
    color: var(--apple-black);
    text-shadow: none;
    animation: none;
    font-family: inherit;
    font-weight: 700;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: var(--apple-light-gray);
    border: none;
    border-radius: 2px;
    box-shadow: none;
}

.loading-progress {
    background: var(--apple-blue);
    box-shadow: none;
}

.loading-text {
    color: var(--apple-gray);
    font-size: 14px;
    animation: none;
    font-family: inherit;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .nav {
        width: 100%;
        justify-content: center;
        gap: 16px;
    }

    .nav-btn {
        flex: 1;
        max-width: 120px;
    }

    .hero {
        padding: 40px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: 24px;
        margin: 40px 0 24px;
    }

    .section-subtitle {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .stores-grid, .intro-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .store-image-wrapper {
        height: 200px;
    }

    .store-info {
        padding: 20px;
    }

    .store-actions {
        flex-direction: column;
    }

    .cyber-card {
        padding: 24px;
    }
}

/* 移除不必要的动画 */
@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

/* 滚动动画 */
.stores, .introduction {
    opacity: 1;
    transform: none;
    transition: none;
}

.stores.visible, .introduction.visible {
    opacity: 1;
    transform: none;
}