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

:root {
    --primary-coral: #FF6B5A;
    --primary-coral-light: #FF8A7A;
    --bg-black: #0a0a0a;
    --bg-dark: #111111;
    --bg-card: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --text-dim: #666666;
    --border-subtle: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-black);
    color: var(--text-gray);
    line-height: 1.8;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.back-link {
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--primary-coral);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.back-link:hover {
    color: var(--primary-coral-light);
    transform: translateX(-4px);
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 24px;
    box-shadow: 
        0 10px 40px rgba(255, 107, 90, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

/* Content */
.content {
    background: var(--bg-card);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-gray);
}

.content a {
    color: var(--primary-coral);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.content a:hover {
    color: var(--primary-coral-light);
    text-decoration: underline;
}

.content section {
    margin-bottom: 40px;
}

.content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
    letter-spacing: -0.5px;
    padding-top: 20px;
}

.content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-white);
    letter-spacing: -0.3px;
}

.content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-white);
}

.content ul,
.content ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.content li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.content li::marker {
    color: var(--primary-coral);
}

.content strong {
    font-weight: 600;
    color: var(--text-white);
}

.content em {
    font-style: italic;
    color: var(--text-white);
}

.content code {
    background: var(--bg-black);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-coral-light);
    border: 1px solid var(--border-subtle);
}

.content blockquote {
    border-left: 3px solid var(--primary-coral);
    padding-left: 20px;
    margin: 24px 0;
    color: var(--text-gray);
    font-style: italic;
}

.content hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 40px 0;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.content th,
.content td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.content th {
    font-weight: 600;
    color: var(--text-white);
    background: var(--bg-black);
}

.content td {
    color: var(--text-gray);
}

/* Note/Alert boxes */
.content p strong:first-child {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--primary-coral), rgba(255, 107, 90, 0.8));
    color: white;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-right: 8px;
}

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

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

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.separator {
    color: var(--text-dim);
    font-size: 0.875rem;
}

.copyright {
    color: var(--text-dim);
    font-size: 0.875rem;
    font-weight: 400;
}

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

    header {
        margin-bottom: 40px;
    }

    .back-link {
        position: static;
        display: inline-block;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .content {
        padding: 40px 28px;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .content h3 {
        font-size: 1.25rem;
    }

    .content h4 {
        font-size: 1.125rem;
    }

    .content p,
    .content li {
        font-size: 1rem;
    }
}

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

    h1 {
        font-size: 1.75rem;
    }

    .content {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .logo {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .content h2 {
        font-size: 1.375rem;
    }

    .content h3 {
        font-size: 1.125rem;
    }
}

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

header,
.content,
footer {
    animation: fadeIn 0.6s ease-out;
}

.content {
    animation-delay: 0.1s;
}
