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

:root {
    --primary-color: #5f141a;
    --secondary-color: #b69e95;
    --dark-bg: #5f141a;
    --dark-card: #7a1f26;
    --light-bg: #eae9d9;
    --light-alt: #eaeada;
    --text-dark: #5f141a;
    --text-light: #8b6f66;
    --text-white: #ffffff;
    --border-color: #d4cfc0;
    --gradient-1: linear-gradient(135deg, #5f141a 0%, #8b2a32 100%);
    --gradient-2: linear-gradient(135deg, #b69e95 0%, #9d8177 100%);
    --gradient-3: linear-gradient(135deg, #5f141a 0%, #b69e95 100%);
    --shadow-sm: 0 1px 2px 0 rgba(95, 20, 26, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(95, 20, 26, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(95, 20, 26, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(95, 20, 26, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a.btn-primary {
    color: white;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    padding: 0.8rem 2rem;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    display: block;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-2);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* 主横幅区 */
.hero {
    position: relative;
    background: linear-gradient(135deg, #5f141a 0%, #8b2a32 100%);
    color: white;
    padding: 150px 0 100px;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.gradient-text {
    background: linear-gradient(135deg, #eae9d9 0%, #eaeada 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(234, 233, 217, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-decoration {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--light-bg);
    transform: skewY(-2deg);
}

/* 区块样式 */
.section {
    padding: 80px 0;
}

.section-alt {
    background: #eaeada;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #5f141a 0%, #b69e95 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #b69e95;
}

/* 内容网格 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #d4cfc0;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 关于详情 */
.about-detail {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid #d4cfc0;
}

.about-detail p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* 对比网格 */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.comparison-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid #d4cfc0;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.comparison-header表站 {
    background: var(--gradient-1);
    color: white;
    padding: 1.5rem;
}

.comparison-header里站 {
    background: var(--gradient-2);
    color: white;
    padding: 1.5rem;
}

.comparison-header表站 h3,
.comparison-header里站 h3 {
    margin-bottom: 0.5rem;
}

.site-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
}

.feature-list {
    list-style: none;
    padding: 2rem;
}

.feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* 提示框 */
.notice-box {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, #eaeada 0%, #d4cfc0 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #b69e95;
}

.notice-icon {
    font-size: 2rem;
}

.notice-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.notice-content p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* 访问区块 */
.access-section {
    margin-bottom: 3rem;
}

.step-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: #ffffff;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #d4cfc0;
}

.step-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.step-content a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 移动端访问网格 */
.mobile-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.method-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid #d4cfc0;
}

.method-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.method-card ol {
    padding-left: 1.5rem;
}

.method-card ol li {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 需求网格 */
.requirement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.requirement-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #d4cfc0;
}

.requirement-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.req-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.requirement-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.requirement-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 教程内容 */
.tutorial-content {
    max-width: 900px;
    margin: 0 auto;
}

.tutorial-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid #d4cfc0;
}

.tutorial-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-3);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.tutorial-detail h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.tutorial-detail p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.tutorial-detail a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 表单指南 */
.form-guide {
    margin-top: 1rem;
}

.form-item {
    background: var(--light-bg);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.form-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.3rem;
}

.form-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* 警告框 */
.warning-box {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, #f5e6e4 0%, #ead9d6 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #5f141a;
    margin-top: 2rem;
}

.warning-icon {
    font-size: 2rem;
}

.warning-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.warning-content ul {
    list-style: none;
    padding-left: 0;
}

.warning-content ul li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.warning-content ul li::before {
    content: '• ';
    color: #5f141a;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 页脚 */
.footer {
    background: var(--dark-bg);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-domain {
    color: #b69e95;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.9rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .subsection-title {
        font-size: 1.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .mobile-access-grid {
        grid-template-columns: 1fr;
    }

    .requirement-grid {
        grid-template-columns: 1fr;
    }

    .tutorial-step {
        flex-direction: column;
    }

    .tutorial-number {
        width: 60px;
        height: 60px;
    }

    .notice-box,
    .warning-box {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }
}

