:root {
    --bg: #FAF6FB;
    --surface: #FFFFFF;
    --canvas: #FFFDFB;
    --primary: #A57FD4;
    --primary-pressed: #8B62BE;
    --secondary: #EAD2F4;
    --accent: #E978A6;
    --text: #6E4871;
    --text-muted: #9585A0;
    --border: #EDE3F2;
    --success: #9FC17A;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}

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

.logo-container {
    margin-bottom: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.logo-circle {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(165, 127, 212, 0.2);
}

.logo-icon {
    font-size: 2rem;
    color: white;
}

h1 {
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 8px;
}

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

/* Landing page elements */
.hero {
    background: var(--surface);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(74, 53, 80, 0.04);
    text-align: center;
    margin-bottom: 32px;
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text);
}

.hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(165, 127, 212, 0.3);
}

.cta-button:hover {
    background: var(--primary-pressed);
    transform: translateY(-1px);
}

.cta-button .badge-icon {
    font-size: 1.25rem;
}

/* Feature grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Policy & Support Layout */
.legal-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(74, 53, 80, 0.04);
    margin-bottom: 32px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.back-link:hover {
    color: var(--primary-pressed);
    text-decoration: underline;
}

.date {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.legal-card h2 {
    font-size: 1.25rem;
    color: var(--text);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-card p, .legal-card ul {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-card ul {
    padding-left: 20px;
}

.legal-card li {
    margin-bottom: 8px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}
