:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #1e293b;
    --muted-text: #64748b;
    --accent-color: #ef4444;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 0;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted-text);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary-color);
}

.container {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    width: 95%;
    max-width: 950px;
}

h1 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
}

/* Info Card */
.info-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.info-card h3 {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.info-card ul {
    padding-left: 1.25rem;
    margin: 0;
}

.info-card li {
    margin-bottom: 0.5rem;
}

.example-box {
    display: block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-left: 4px solid #cbd5e1;
    border-radius: 0 4px 4px 0;
    color: #475569;
}

/* Tool Link Card */
.tool-link-card {
    background-color: #f8fafc;
    border: 2px dashed #cbd5e1;
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1.5rem 0 2.5rem;
    text-align: center;
}

.tool-link-card h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.tool-link-card p {
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
    color: var(--muted-text);
}

.tool-link-btn {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid var(--primary-color);
    transition: all 0.2s;
}

.tool-link-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Legal */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.legal-item {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.6;
}

.legal-item h4 {
    font-size: 0.9rem;
    margin: 0 0 0.75rem 0;
    color: #334155;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-weight: bold;
    color: #475569;
    margin-right: 6px;
    font-size: 0.8rem;
}

/* Copyright */
.copyright {
    text-align: center;
    margin-top: 60px;
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 1px;
    font-family: 'Outfit', sans-serif;
}

.copyright a {
    color: inherit;
    text-decoration: none;
    margin-left: 15px;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.copyright a:hover {
    opacity: 0.7;
}

.last-updated {
    opacity: 0.6;
    letter-spacing: 0.5px;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.delay-2 {
    animation-delay: 0.4s;
}
