/* ==========================================
   通用样式 - General Styles
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background: linear-gradient(180deg, #f0f8ff 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================
   主容器 - Main Container
   ========================================== */

.page-container {
    flex: 1;
    width: 100%;
    padding: 60px 20px;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   页面标题 - Page Header
   ========================================== */

.page-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.header-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================
   内容卡片 - Content Card
   ========================================== */

.content-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

/* ==========================================
   公司信息盒子 - Company Info Box
   ========================================== */

.company-info-box {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.company-info-box h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
}

.info-grid {
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.info-label {
    font-weight: 600;
    min-width: 140px;
    font-size: 18px;
}

.info-value {
    font-size: 18px;
    flex: 1;
}

/* ==========================================
   内容区域 - Content Section
   ========================================== */

.content-section {
    margin-bottom: 30px;
}

.intro-text {
    font-size: 18px;
    line-height: 2;
    color: #4b5563;
    text-align: justify;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #FFD700;
}

/* ==========================================
   联系我们页面 - Contact Page
   ========================================== */

.company-name-section {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 16px;
    margin-bottom: 40px;
}

.company-name-section h2 {
    font-size: 36px;
    color: #1e40af;
    font-weight: 700;
}

.contact-section {
    padding: 20px 0;
}

.contact-section h3 {
    font-size: 28px;
    color: #1e40af;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-info-grid {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: #f9fafb;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.15);
    border-color: #FFD700;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.contact-label {
    font-weight: 600;
    font-size: 18px;
    color: #1e40af;
}

.contact-value {
    font-size: 18px;
    color: #4b5563;
}

.contact-value a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: #1e40af;
}

/* ==========================================
   条款与细则页面 - Terms Page
   ========================================== */

.terms-section,
.privacy-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f9fafb;
    border-radius: 16px;
}

.terms-section:last-child,
.privacy-section:last-child {
    margin-bottom: 0;
}

.terms-section h2,
.privacy-section h2 {
    font-size: 28px;
    color: #1e40af;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 3px solid #FFD700;
}

.terms-section p,
.privacy-section p {
    font-size: 17px;
    line-height: 2;
    color: #4b5563;
    margin-bottom: 20px;
    text-align: justify;
}

.terms-list,
.privacy-list {
    margin: 20px 0;
    padding-left: 30px;
}

.terms-list li,
.privacy-list li {
    font-size: 17px;
    line-height: 2;
    color: #4b5563;
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
}

.terms-list li::marker {
    color: #FFD700;
    font-weight: bold;
}

/* ==========================================
   隐私政策页面 - Privacy Page
   ========================================== */

.privacy-intro {
    padding: 30px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border-radius: 16px;
    margin-bottom: 40px;
    border-left: 5px solid #1e40af;
}

.privacy-intro p {
    font-size: 17px;
    line-height: 2;
    color: #1e40af;
    text-align: justify;
}

.privacy-section a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* ==========================================
   页脚 - Footer
   ========================================== */

.footer {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 50px 20px 30px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.footer-links a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    transform: translateY(-2px);
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.footer-copyright {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 500;
}

.footer-info {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.footer-info p {
    margin: 10px 0;
}

/* ==========================================
   响应式设计 - Responsive Design
   ========================================== */

@media (max-width: 768px) {
    .page-container {
        padding: 30px 15px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .content-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .company-info-box {
        padding: 25px;
    }

    .company-info-box h2 {
        font-size: 24px;
    }

    .info-label,
    .info-value {
        font-size: 16px;
    }

    .info-item {
        flex-direction: column;
    }

    .info-label {
        min-width: auto;
        margin-bottom: 5px;
    }

    .intro-text {
        font-size: 16px;
        padding: 15px;
    }

    .company-name-section h2 {
        font-size: 26px;
    }

    .contact-section h3 {
        font-size: 22px;
    }

    .contact-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .contact-details {
        flex-direction: column;
        text-align: center;
    }

    .contact-label,
    .contact-value {
        font-size: 16px;
    }

    .terms-section,
    .privacy-section {
        padding: 20px;
    }

    .terms-section h2,
    .privacy-section h2 {
        font-size: 22px;
    }

    .terms-section p,
    .privacy-section p,
    .terms-list li,
    .privacy-list li {
        font-size: 15px;
    }

    .footer {
        padding: 30px 15px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-links .separator {
        display: none;
    }

    .footer-links a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .footer-copyright {
        font-size: 14px;
    }

    .footer-info {
        font-size: 13px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .page-header h1 {
        font-size: 40px;
    }

    .content-card {
        padding: 40px;
    }
}

/* ==========================================
   动画效果 - Animations
   ========================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    animation: fadeIn 0.6s ease-out;
}

/* ==========================================
   打印样式 - Print Styles
   ========================================== */

@media print {
    .footer {
        page-break-before: always;
    }

    body {
        background: white;
    }

    .content-card {
        box-shadow: none;
    }
}

