/* Color Variables */
: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;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-link:hover { color: var(--primary); }

/* Hero Section */
.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 */
.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; }

/* Grid & Cards */
.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 */
.footer {
    text-align: center;
    padding: 50px 0;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: 50px;
}

/* Mobile Responsive */
@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; }
}