:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #b7c2d2;
    --accent: #6366f1;
    --accent-light: #a5b4fc;
    --gold: #ffd700;
    --border: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 56px 24px;
}

.container--wide {
    max-width: 1000px;
}

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

.logo {
    font-size: 48px;
    margin-bottom: 12px;
}

.logo--hero {
    font-size: 72px;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-light), #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

h1.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-light), #a78bfa, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
}

.tagline {
    font-size: 1.35rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-description {
    max-width: 640px;
    margin: 20px auto 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.language-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 8px;
}

.language-nav a {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(165, 180, 252, 0.45);
    border-radius: 999px;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 0.9rem;
}

.language-nav a:hover {
    background: rgba(99, 102, 241, 0.3);
}

.card {
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 22px;
}

.language-heading {
    margin: 52px 0 24px;
    padding-top: 12px;
    font-size: 2rem;
    color: var(--text-primary);
}

h2 {
    font-size: 1.45rem;
    font-weight: 650;
    color: var(--accent-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

h2:not(.language-heading)::before {
    content: "";
    width: 4px;
    min-width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--accent), var(--accent-light));
    border-radius: 2px;
}

h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 22px 0 10px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 14px;
}

ul {
    color: var(--text-secondary);
    margin: 0 0 16px 24px;
}

li {
    margin-bottom: 8px;
}

strong {
    color: var(--text-primary);
}

a {
    color: var(--accent-light);
}

.highlight {
    background: rgba(99, 102, 241, 0.12);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}

.highlight p:last-child {
    margin-bottom: 0;
}

.warning {
    background: rgba(245, 158, 11, 0.12);
    border-left: 3px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}

.warning p {
    margin: 0;
    color: #fcd34d;
}

.table-wrap {
    overflow-x: auto;
    margin: 14px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

th,
td {
    border-bottom: 1px solid var(--border);
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
    color: var(--text-secondary);
}

th {
    color: var(--text-primary);
    font-weight: 600;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin: 44px 0;
}

.feature-card {
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    text-align: center;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.cta-section {
    text-align: center;
    margin: 48px 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.app-store-badge {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent), #818cf8);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 12px;
}

footer {
    text-align: center;
    padding: 38px 0;
    border-top: 1px solid var(--border);
    margin-top: 48px;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.nav-links,
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 20px;
}

.nav-links a,
.footer-links a {
    color: var(--accent-light);
    text-decoration: none;
    font-size: 0.92rem;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--text-primary);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 20px;
}

@media (max-width: 640px) {
    .container {
        padding: 36px 16px;
    }

    h1,
    h1.hero-title {
        font-size: 2rem;
    }

    .card {
        padding: 22px;
    }

    .language-heading {
        font-size: 1.65rem;
    }
}
