/* 基礎樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 首頁標題 */
.main-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.main-header h1 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #888;
    font-weight: 300;
    margin-bottom: 10px;
}

.description {
    color: #666;
    font-size: 1rem;
}

/* App 卡片網格 */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.app-card {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.app-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.app-name {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.app-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 麵包屑導航 */
.breadcrumb {
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #764ba2;
}

/* 隱私政策頁面標題 */
header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

header h1 {
    font-size: 2.2rem;
    color: #667eea;
    margin-bottom: 10px;
}

.last-updated {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

/* 政策內容 */
.policy-content {
    margin-bottom: 40px;
}

.policy-content section {
    margin-bottom: 35px;
}

.policy-content h2 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.policy-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.policy-content ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.policy-content li {
    margin-bottom: 10px;
}

.policy-content a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.policy-content strong {
    color: #555;
}

/* 頁尾 */
footer {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    color: #888;
    font-size: 0.9rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .main-header h1 {
        font-size: 2rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .app-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .policy-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
        border-radius: 10px;
    }

    .main-header h1 {
        font-size: 1.5rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .app-icon {
        font-size: 3rem;
    }
}
