:root {
    --primary-color: #4A90E2; /* 蓝色，代表效率与科技 */
    --secondary-color: #50E3C2; /* 青色，代表活力与智能 */
    --dark-text-color: #333;
    --light-text-color: #f8f9fa;
    --background-color: #ffffff;
    --card-background-color: #f8f9fa;
    --footer-background-color: #212529;
    --pro-badge-bg: #e67e22;
    --font-family: 'Noto Sans SC', sans-serif;
    --container-width: 1140px;
    --border-radius: 8px;
}

body {
    font-family: var(--font-family);
    margin: 0;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--dark-text-color);
    font-weight: 400;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.main-header {
    background: var(--background-color);
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    color: var(--dark-text-color);
}

.main-nav a {
    color: var(--dark-text-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(80, 227, 194, 0.05));
}

.hero h2 {
    font-size: 2.8rem;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* 允许在小屏幕上换行 */
}

.cta-buttons a {
    padding: 14px 30px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.cta-primary:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.cta-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
}


/* --- Features Section --- */
.features-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* --- 【新增】All Features Section --- */
.all-features-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.all-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.all-feature-item {
    padding-left: 20px;
    border-left: 3px solid var(--secondary-color);
}

.all-feature-item h5 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
}

.all-feature-item p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}


/* --- Pro Section --- */
.pro-section {
    padding: 80px 0;
    background-color: var(--card-background-color);
    text-align: center;
}

.pro-section .subtitle {
    color: #555;
    margin-top: -30px;
    margin-bottom: 40px;
}

.pro-features-list {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.pro-features-list ul {
    list-style: none;
    padding: 0;
}

.pro-features-list li {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

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

.pro-badge {
    background-color: var(--pro-badge-bg);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.cta-pro {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    padding: 14px 40px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-pro:hover {
    background-color: #38c1a2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(80, 227, 194, 0.4);
}

/* --- Footer --- */
.main-footer {
    background: var(--footer-background-color);
    color: var(--light-text-color);
    padding: 40px 0;
    text-align: center;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

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

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }

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

    .cta-buttons a {
        width: 80%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .all-features-grid {
        grid-template-columns: 1fr;
    }
}

/* style.css for Policy Pages - ADDITIONS */

/* Permission Group Styling */
.permission-group {
    margin-bottom: 1.8em;
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary-color, #3B82F6); /* 使用一个主题色 */
    border-radius: 8px;
    background-color: #fdfdff;
}

.permission-title {
    font-weight: 700;
    color: #1a202c;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.permission-title code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    background-color: #eef2ff;
    padding: 2px 6px;
    border-radius: 4px;
    color: #4338ca;
}

.permission-title small {
    font-weight: 400;
    color: #718096;
    font-size: 0.85em;
    margin-left: 8px;
}

.permission-desc {
    color: #4a5568;
}

.permission-desc ul {
    margin-top: 0.8em;
    padding-left: 20px;
}

.policy-highlight {
    background-color: #f0f9ff; /* 淡蓝色背景 */
    border: 1px solid #bde0fe;
    border-left: 5px solid #60a5fa; /* 蓝色左边框 */
    padding: 20px 25px;
    margin: 2em 0;
    border-radius: 8px;
}

.policy-highlight h3 {
    margin-top: 0;
    color: #1e3a8a; /* 深蓝色标题 */
    border-bottom: none;
    padding-bottom: 0;
    font-size: 1.25rem;
}

.policy-highlight.policy-no-refund {
    background-color: #fffbeb; /* 淡黄色背景 */
    border-color: #fde68a;
    border-left-color: #facc15; /* 黄色左边框 */
}

.policy-highlight.policy-no-refund h3 {
    color: #854d0e; /* 深黄色标题 */
}

ol {
    padding-left: 25px;
}

ol li {
    padding-left: 5px;
}