:root {
    --bg-color: #0d1117;
    --text-color: #c9d1d9;
    --accent-color: #58a6ff;
    --terminal-bg: #161b22;
    --terminal-header: #21262d;

    /* Gradient Colors */
    --g-blue-dark: #4285F4;
    --g-blue-light: #8AB4F8;
    --g-purple: #A142F4;
    --g-red: #E84033;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    /* Reduced from 4rem */
    align-items: center;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.glitch-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.agent-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.figlet-text {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.6rem;
    /* Start smaller for mobile */
    line-height: 1.1;
    background: linear-gradient(90deg,
            var(--g-blue-dark),
            var(--g-blue-light),
            var(--g-purple),
            var(--g-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: pre;
    text-align: left;
    /* Keep chars aligned */
    user-select: none;

    /* Subtle glow */
    filter: drop-shadow(0 0 5px rgba(66, 133, 244, 0.3));
}

@media (min-width: 600px) {
    .figlet-text {
        font-size: 1rem;
    }
}

@media (min-width: 900px) {
    .figlet-text {
        font-size: 1.2rem;
    }
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    opacity: 0.8;
}

.hero-install {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Terminal Window */
.terminal-window {
    background-color: var(--terminal-bg);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #30363d;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.terminal-header {
    background-color: var(--terminal-header);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #30363d;
}

.window-buttons {
    display: flex;
    gap: 8px;
    margin-right: 1rem;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.close {
    background-color: #ff5f56;
}

.minimize {
    background-color: #ffbd2e;
}

.maximize {
    background-color: #27c93f;
}

.terminal-title {
    color: #8b949e;
    font-size: 0.8rem;
    flex-grow: 1;
    text-align: center;
    margin-right: 48px;
    /* Balance the buttons */
}

.terminal-body {
    padding: 1.5rem;
    min-height: 200px;
    text-align: left;
    color: #c9d1d9;
    font-family: 'JetBrains Mono', monospace;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background-color: var(--accent-color);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.command-line {
    margin-bottom: 0.5rem;
    display: block;
}

.output-line {
    margin-bottom: 0.5rem;
    display: block;
    color: #8b949e;
}

.success-line {
    color: #27c93f;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    width: 100%;
    max-width: 900px;
    /* Match typical consistency */
}

.feature-card {
    padding: 1.5rem;
    background: rgba(22, 27, 34, 0.5);
    border-radius: 8px;
    border: 1px solid #30363d;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.feature-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Install Section */
.install-section {
    text-align: center;
    margin-bottom: 4rem;
}

.install-section h2 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.command-box {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    border: 1px solid #30363d;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
}

.command-box:hover {
    background-color: #161b22;
    border-color: #8b949e;
}

.prompt {
    color: var(--g-purple);
    margin-right: 10px;
}

.cmd-text {
    font-size: 1.1rem;
    margin-right: 2rem;
}

.copy-icon {
    opacity: 0.7;
}

/* Footer */
footer {
    border-top: 1px solid #30363d;
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    color: #8b949e;
    font-size: 0.9rem;
}

.socials {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.socials a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.socials a:hover {
    color: var(--accent-color);
}