:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #21262d;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --accent-color: #ffa116;
    --accent-hover: #ffb347;
    --border-color: #30363d;
    --code-bg: #000000;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}


h1,
h2,
h3 {
    color: #ffffff;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
}

p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.accent-text {
    color: var(--accent-color);
}

.badge {
    display: inline-block;
    background: rgba(255, 161, 22, 0.15);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 161, 22, 0.3);
}

/* Header / Hero */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 35px;
    max-width: 500px;
}


.cta-group {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.download-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.download-stats {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #27c93f;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(39, 201, 63, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(39, 201, 63, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(39, 201, 63, 0);
    }
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}


.code-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: var(--font-mono);
}

.window-header {
    background: var(--bg-card);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.window-title {
    margin-left: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.window-body {
    padding: 20px;
    background: var(--code-bg);
}

pre {
    margin: 0;
}

code {
    font-size: 0.9rem;
    color: #e6edf3;
}

.keyword {
    color: #ff7b72;
}

.function {
    color: #d2a8ff;
}

.class-name {
    color: #ffa657;
}

.string {
    color: #a5d6ff;
}

.comment {
    color: #8b949e;
    font-style: italic;
}

.builtin {
    color: #79c0ff;
}


.features {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}


.steps-section {
    padding: 100px 0;
}

.steps-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--accent-color);
    z-index: 1;
}

.step-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    flex-grow: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.step-details ol {
    margin-left: 20px;
    margin-top: 15px;
    color: var(--text-secondary);
}

.step-details li {
    margin-bottom: 8px;
}

code {
    background: rgba(110, 118, 129, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.alert {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 95, 86, 0.1);
    color: #ff7b72;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 95, 86, 0.2);
}

.step-image-container {
    margin-top: 15px;
}

.ext .step-image {
    max-height: 300px;
    /* Shorten height as requested */
    display: block;
    margin: 0 auto;
    width: 100%;
    cursor: zoom-in;
}

.step-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: zoom-in;
    transition: transform 0.2s;
}

.step-image:hover {
    transform: scale(1.02);
}


.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: zoom-out;
    opacity: 0;
    animation: fadeIn 0.2s forwards;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    animation: zoomIn 0.2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    to {
        transform: scale(1);
    }
}


footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}


@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }

    .cta-group {
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .steps-timeline::before {
        left: 24px;
    }
}