/* privacy.css - styles for privacy_policy_en.html and terms.html */
:root {
    --primary-color: #543F2E;
    --background-color: #F9F0C5;
    --accent-green: #78A137;
    --accent-red: #D81A24;
    --accent-blue: #2196F3;
    --accent-yellow: #FFC107;
    --accent-cream: #FFFFFF;
    --dark-bg: #3d2f1f;
    --darker-bg: #2a1f15;
    --light-bg: #543F2E;
    --text-primary: #2a1f15;
    --text-secondary: #F9F0C5;
    --text-dark: #1a1f15;
    --text-light: #FEFBF2;
    --gradient-primary: linear-gradient(135deg, #543F2E 0%, #78A137 100%);
    --gradient-accent: linear-gradient(135deg, #D81A24 0%, #78A137 100%);
    --gradient-dark: linear-gradient(135deg, #3d2f1f 0%, #2a1f15 100%);
    --shadow-card: 0 10px 30px rgba(84, 63, 46, 0.2);
    --shadow-hover: 0 15px 40px rgba(120, 161, 55, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.policy-content {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
    line-height: 1.7;
    box-shadow: var(--shadow-card);
    margin-top: 80px; /* 为固定导航栏留出空间 */
}

.policy-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
}

.policy-header .company-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--background-color);
    margin-bottom: 0.5rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}

.policy-header .lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.policy-toc {
    margin: 2rem 0;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.policy-toc strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.policy-toc ul {
    margin: 0;
    padding-left: 1.5rem;
    list-style: none;
}

.policy-toc li {
    margin-bottom: 0.5rem;
}

.policy-toc a {
    color: #543F2E;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 1rem;
}

.policy-toc a:hover {
    color: var(--accent-green);
    transform: translateX(5px);
}

.policy-toc a::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

.policy-section {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.policy-section:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--accent-green);
}

.policy-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--background-color);
    margin: 0 0 1rem 0;
    border-bottom: 2px solid var(--background-color);
    padding-bottom: 0.5rem;
}

.policy-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem 0;
}

.policy-section p {
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.policy-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0 0 1.5rem 0;
}

.policy-section li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.policy-section li::before {
    content: '♠';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

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

.policy-section a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
    text-align: center;
    font-size: 1rem;
}

.policy-footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-content {
        padding: 2rem;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-section {
        padding: 1rem;
        margin: 2rem 0;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .policy-toc {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .policy-content {
        padding: 1.5rem;
    }
    
    .policy-header h1 {
        font-size: 1.8rem;
    }
    
    .policy-section {
        padding: 1rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
}
