:root {
    --bg: #0b0f19;
    --card-bg: #161b28;
    --primary: #3b82f6;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: #1e293b;
}

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

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0;
    gap: 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-primary {
    color: var(--primary);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-outline {
    border: 1px solid var(--border);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.terminal {
    background: #000;
    border: 1px solid var(--primary);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.terminal-header {
    background: #1a1a1a;
    padding: 12px;
    display: flex;
    gap: 8px;
}

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

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.p-green {
    color: #27c93f;
}

.p-blue {
    color: #3b82f6;
}

.category-section {
    margin-bottom: 60px;
}

.cat-name {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--primary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.tool-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    border: 1px solid var(--border);
    transition: 0.4s;
    display: block;
}

.tool-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    background: #1e293b;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.tool-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.tool-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.explore-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer {
    text-align: center;
    padding: 50px 0;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: 50px;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }
    .hero-text {
        margin: 0 auto 30px;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Converted from inline style attributes */
.st-c-white-fw-600 {
    color: white;
    font-weight: 600;
}

/* hero background image */
.hero-bg {
    min-height: 420px;
    padding: 40px;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(5,8,22,.92) 0%, rgba(5,8,22,.65) 50%, rgba(5,8,22,.15) 100%),
                url('/doc/logo/root.webp') center / cover no-repeat;
}
@media (max-width: 900px) {
    .hero-bg {
        padding: 32px 16px;
        justify-content: center;
        background: linear-gradient(rgba(5,8,22,.75), rgba(5,8,22,.75)),
                    url('/doc/logo/root-sm.webp') center / cover no-repeat;
    }
}
