html {scroll-behavior: smooth;}

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

body {
    background-color: #000;
    color: #f0f0f0;
    font-family: 'Corpta', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

nav {
    background-color: #111;
    border-bottom: 2px solid #e30000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}
nav .nav-logo { font-size: 1.2rem; font-weight: bold; color: #fff; }
nav .nav-logo span { color: #e30000; }
nav ul { list-style: none; display: flex; gap: 1.8rem; }
nav ul li a { font-size: 0.9rem; color: #ccc; transition: color 0.2s; }
nav ul li a:hover { color: #e30000; }

.hero {
    background-color: #000;
    border-bottom: 2px solid #e30000;
    padding: 4rem 2rem 3rem;
    text-align: center;
}
.hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); color: #fff; margin-bottom: 0.5rem; }
.hero h1 span { color: #e30000; }
.hero .subtitle { font-size: 1rem; color: #888; margin-bottom: 0.4rem; font-style: italic; }
.hero .meta { font-size: 0.85rem; color: #555; margin-bottom: 2rem; }
.hero-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* BUTTONS */
.btn { display: inline-block; padding: 0.7em 1.8em; font-family: 'Corpta', Arial, sans-serif; font-size: 0.9rem; border-radius: 3px; transition: all 0.2s; letter-spacing: 0.04em; }
.btn-red { background-color: #e30000; color: #fff; border: 2px solid #e30000; }
.btn-red:hover { background-color: #ff1a1a; border-color: #ff1a1a; }
.btn-outline { background-color: transparent; color: #ccc; border: 2px solid #333; }
.btn-outline:hover { border-color: #e30000; color: #e30000; }

/* SECTIONS */
section { padding: 3.5rem 2rem; max-width: 1100px; margin: 0 auto; }
section h2 { font-size: 1.5rem; color: #fff; border-left: 4px solid #e30000; padding-left: 0.8rem; margin-bottom: 1.8rem; }
section p, pre { color: #aaa; font-size: 0.95rem; line-height: 1.7; max-width: 800px; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.card { background-color: #111; border: 1px solid #222; border-top: 3px solid #e30000; border-radius: 3px; padding: 1.5rem; transition: background 0.2s; }
.card:hover { background-color: #181818; }
.card .card-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.card h3 { font-size: 1rem; color: #fff; margin-bottom: 0.5rem; }
.card p, pre { font-size: 0.85rem; color: #777; line-height: 1.6; max-width: none; }
.card .tag { display: inline-block; margin-top: 0.8rem; font-size: 0.7rem; color: #e30000; border: 1px solid #e30000; padding: 0.15em 0.6em; border-radius: 2px; opacity: 0.8; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.step { background-color: #111; border: 1px solid #222; border-radius: 3px; padding: 1.5rem; transition: background 0.2s; }
.step:hover { background-color: #181818; }
.step .step-num { font-size: 2rem; font-weight: bold; color: #e30000; margin-bottom: 0.8rem; }
.step h3 { font-size: 0.95rem; color: #fff; margin-bottom: 0.4rem; }
.step p, pre { font-size: 0.83rem; color: #777; max-width: none; }

.warn { background-color: #111; border: 1px solid #331100; border-left: 4px solid #e35500; border-radius: 3px; padding: 1.2rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; }
.warn .warn-icon { font-size: 1.3rem; flex-shrink: 0; }
.warn p, pre { font-size: 0.87rem; color: #996644; max-width: none; }
.warn strong { color: #cc7733; }

.tech-pills { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.pill { background-color: #111; border: 1px solid #222; color: #aaa; font-size: 0.82rem; padding: 0.45em 1.1em; border-radius: 3px; transition: all 0.2s; }
.pill:hover { border-color: #e30000; color: #e30000; }
.lang-bar { display: flex; height: 5px; border-radius: 3px; overflow: hidden; max-width: 420px; margin-top: 2rem; background: #222; }
.lang-python { background: #3572A5; flex: 98.9; }
.lang-batch  { background: #C1F12E; flex: 1.1; }
.lang-labels { display: flex; gap: 1.5rem; margin-top: 0.6rem; font-size: 0.78rem; color: #666; }
.lang-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.3rem; vertical-align: middle; }

/* DIVIDER */
hr { border: none; border-top: 1px solid #1a1a1a; margin: 0; }

/* FOOTER */
footer { background-color: #111; border-top: 2px solid #e30000; padding: 1.8rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: #555; }
footer .footer-brand { color: #888; }
footer .footer-brand strong { color: #ccc; }
footer .footer-links { display: flex; gap: 1.5rem; }
footer .footer-links a { font-size: 0.8rem; color: #555; transition: color 0.2s; }
footer .footer-links a:hover { color: #e30000; }

@media (max-width: 600px) {
    nav ul { gap: 1rem; }
    .hero { padding: 3rem 1.2rem 2rem; }
    section { padding: 2.5rem 1.2rem; }
    footer { flex-direction: column; align-items: flex-start; }
}