/* Modern Zen Design System (V2) */
:root {
    /* Colors matches iOS App Theme */
    --bg-app: #F9F6F0;
    /* Light Rice Paper */
    --bg-card: #FFFFFF;
    --text-primary: #1C1C1E;
    --text-secondary: #8E8E93;
    --accent-red: #C0392B;
    /* Cinnabar Red */
    --divider: rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-serif: "Songti SC", "Noto Serif SC", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;

    /* Dimensions */
    --card-radius: 16px;
    --content-width: 680px;
}

body {
    background-color: var(--bg-app);
    color: var(--text-primary);
    font-family: var(--font-sans);
    /* Default to sans for readability */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 60px 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

.app-icon-placeholder {
    width: 80px;
    height: 80px;
    background-color: var(--accent-red);
    border-radius: 20px;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(192, 57, 43, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-family: var(--font-serif);
}

h1.zen-title {
    font-family: var(--font-serif);
    font-size: 28px;
    margin: 0 0 8px;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: normal;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--card-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.card-title {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 8px 16px;
    /* Align with list content */
    letter-spacing: 0.5px;
}

/* List Items (iOS Settings Style) */
.list-group {
    background: var(--bg-card);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 32px;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-primary);
    background: white;
    transition: background 0.2s;
    border-bottom: 1px solid var(--divider);
}

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

.list-item:hover {
    background-color: #F5F5F7;
}

.list-item-icon {
    width: 28px;
    height: 28px;
    background: #F2F2F7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 14px;
    color: var(--text-primary);
}

.list-item-title {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.list-item-arrow {
    font-family: var(--font-serif);
    /* Just for the arrow look */
    color: #C7C7CC;
    font-size: 14px;
}

/* Typography styles */
h2 {
    font-family: var(--font-serif);
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 16px;
    border-left: 3px solid var(--accent-red);
    padding-left: 12px;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

p,
li {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Footer */
footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    padding-top: 20px;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

/* Animation */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 40px 16px;
    }
}