:root {
    --bg-color: #0b0f19;
    --card-bg: #161b28;
    --primary: #3b82f6;
    --secondary: #94a3b8;
    --success: #10b981;
}

body {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    color: white;
    margin: 0;
    line-height: 1.6;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.col-left {
    flex: 1;
    min-width: 300px;
}

.col-right {
    flex: 1;
    min-width: 300px;
}

h1.display-3 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

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

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

.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.terminal-card {
    background: #000;
    border: 1px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

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

.terminal-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
}

.terminal-header span:nth-child(2) {
    background: #ffbd2e;
}

.terminal-header span:nth-child(3) {
    background: #27c93f;
}

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

.cmd {
    color: var(--success);
}

.status {
    color: #38bdf8;
}

.status-success {
    color: var(--success);
}

.category-title {
    margin: 40px 0 20px;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
    font-size: 1.5rem;
}

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

.tool-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    border: 1px solid #1e293b;
    transition: 0.3s;
}

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

.icon-box {
    font-size: 35px;
    color: var(--primary);
    margin-bottom: 15px;
}

.tool-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.tool-card p {
    color: var(--secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    h1.display-3 {
        font-size: 2.2rem;
    }
    .row {
        flex-direction: column;
        text-align: center;
    }
    .btn-group {
        justify-content: center;
    }
}

.seo-content {
    max-width: 600px;
    margin: 40px auto 10px;
    text-align: left;
    line-height: 1.7;
}

.seo-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 32px 0 12px;
}

.seo-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 20px 0 6px;
}

.seo-content p,
.seo-content li {
    color: #94a3b8;
    font-size: 0.95rem;
}

.seo-content p {
    margin: 0 0 10px;
}

/* Converted from inline style attributes */
.st-fs-60px-c-3b82f6 {
    font-size: 60px;
    color: #3b82f6;
}

.st-fs-60px-c-64748b {
    font-size: 60px;
    color: #64748b;
}

.st-op-5-cur-not-allowed {
    opacity: .5;
    cursor: not-allowed;
}

/* 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/ai_tools.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/ai_tools-sm.webp') center / cover no-repeat;
    }
}

/* SEO content: follow container width (aligns with tool cards) */
.seo-content {
    max-width: 100%;
    overflow-wrap: break-word;
}
