:root {
    --bg-color: #0d1117;
    --text-color: #c9d1d9;
    --text-muted: #8b949e;
    --primary-color: #58a6ff;
    --accent-color: #bc8cff;
    --success-color: #3fb950;
    --card-bg: #161b22;
    --card-border: #30363d;
    --code-bg: #2d333b; /* Slightly lighter for code blocks */
    --code-text: #c9d1d9;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
header {
    margin-bottom: 60px;
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    background: rgba(88, 166, 255, 0.15);
    color: var(--primary-color);
    font-size: 0.6em;
    padding: 4px 10px;
    border-radius: 20px;
    vertical-align: middle;
    border: 1px solid rgba(88, 166, 255, 0.3);
}

.intro {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.intro-sub {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Steps */
section.step {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out both;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 10px;
}

.highlight {
    color: var(--accent-color);
    font-size: 0.8em;
}

.step-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 25px;
}

/* Lists */
ol, ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

li {
    margin-bottom: 12px;
}

li strong {
    color: #fff;
}

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

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

code {
    font-family: var(--font-mono);
    background: rgba(110, 118, 129, 0.4);
    padding: 0.2em 0.4em;
    border-radius: 6px;
    font-size: 85%;
    color: var(--code-text);
}

.note {
    background: rgba(188, 140, 255, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 0 6px 6px 0;
    font-size: 0.9em;
    color: var(--text-muted);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Tips */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    background: rgba(22, 27, 34, 0.5);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.tip-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
}

.footer-note {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, var(--success-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Delay for sections */
section.step:nth-of-type(1) { animation-delay: 0.2s; }
section.step:nth-of-type(2) { animation-delay: 0.4s; }
section.step:nth-of-type(3) { animation-delay: 0.6s; }
section.step:nth-of-type(4) { animation-delay: 0.8s; }

/* Responsive */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    .container { padding: 20px 15px; }
}
