:root {
    --primary: #0066ff;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #333;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
}

.navbar {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: #333;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.hero {
    background: linear-gradient(rgba(0, 102, 255, 0.85), rgba(0, 102, 255, 0.9)),
        url('https://picsum.photos/id/1015/1920/1080') center/cover no-repeat;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 5%;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.3);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    padding: 4rem 5%;
}

.sidebar {
    width: 280px;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

#toc {
    list-style: none;
}

#toc li {
    margin: 0.8rem 0;
}

#toc a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

#toc a:hover,
#toc a.active {
    background: #f0f4ff;
    color: var(--primary);
    padding-left: 1.4rem;
}

.content {
    flex: 1;
}

.step {
    background: white;
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
}

.step-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: #e0e7ff;
    line-height: 1;
    min-width: 80px;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.step-image {
    width: 100%;
    border-radius: 12px;
    margin-top: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.celebration {
    background: linear-gradient(90deg, #0066ff, #00ccff);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 2rem;
}

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-note {
    opacity: 0.7;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 5%;
        background: white;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .step {
        flex-direction: column;
    }

    .step-number {
        font-size: 3rem;
    }
}

.console-window {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 1rem;
    position: relative;
}

.console-window pre {
    margin: 0;
    overflow-x: auto;
}

.console-window code {
    color: #f8f8f2;
    font-family: monospace;
    font-size: 0.9rem;
    white-space: pre;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    background-color: #007acc;
    color: white;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.copy-btn:hover {
    background-color: #005a99;
}

.step {
    padding: 1rem;
}

.step-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (min-width: 768px) {

    .step {
        padding: 2rem;
    }

    .step-content {
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {

    .step-content {
        max-width: 1000px;
    }

    .step {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .step-number {
        font-size: 3rem;
        font-weight: bold;
    }
}


.step ul {
    padding-left: 1.2rem;
}

.step li {
    margin-bottom: 0.4rem;
}

img {
    max-width: 100%;
    height: auto;
}

