:root {
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --blob-1: #8b5cf6;
    --blob-2: #ec4899;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
}

/* Background Blobs for Modern Aesthetic */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blob-1) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blob-2) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Glassmorphism Container */
.container {
    max-width: 800px;
    width: 100%;
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    z-index: 10;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-inner {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
}

header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.icon-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent);
    margin-bottom: 1.5rem;
    position: relative;
}

.icon-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Steps */
.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
}

/* Connecting Line */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 55px;
    bottom: -30px;
    width: 2px;
    background: var(--glass-border);
    z-index: -1;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--blob-1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.step-content {
    flex-grow: 1;
    padding-top: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hint {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1rem;
}

.hint a {
    color: var(--accent);
    text-decoration: none;
}

.hint a:hover {
    text-decoration: underline;
}

/* Buttons */
.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.download-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.download-button.outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    box-shadow: none;
}

.download-button.outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

/* Terminal Snippet */
.terminal-snip {
    margin-top: 3rem;
    border-radius: 12px;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-header .title {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: monospace;
}

pre {
    padding: 1.5rem;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.2);
}

code {
    font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.95rem;
    color: #a78bfa;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 2rem 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
}
