/* Hero */
.hero {
    padding-top: calc(6rem + 4rem);
    padding-bottom: 6rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.hero-col-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-col-left h1 {
    font-family: "Roboto Mono", monospace;
    font-size: 3.5rem;
    line-height: 1.15;
}

.hero-col-right {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.hero-logo {
    width: 300px;
    max-width: none;
    height: auto;
}

.mobile-break {
    display: none;
}

.hero-sub {
    font-size: 1.15rem;
    font-weight: 400;
    max-width: none;
}

.cta-group {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-group .btn {
    padding: 0.6rem 1.8rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: 2px solid var(--color-foreground);
    box-shadow: 4px 4px 0 var(--color-foreground);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-group .btn:hover {
    transform: translate(3px, 3px);
    box-shadow: 0 0 0 var(--color-foreground);
}

.cta-group .btn-primary {
    background: #2DD4A8;
    color: var(--neutral-900);
}

.cta-group .btn-outline {
    background: transparent;
    color: var(--color-foreground);
    border-color: var(--color-foreground);
}

/* Rotating agent logo in hero h1 */
.rotating-agent-logo {
    display: inline-block;
    height: 0.8em;
    width: 0.8em;
    object-fit: contain;
    vertical-align: baseline;
    position: relative;
    top: 0.1em;
    transition: opacity 0.3s ease;
}

/* Terminal window */
.terminal-window {
    width: 100%;
    max-width: 500px;
    border: 2px solid var(--color-foreground);
    box-shadow: 4px 4px 0 var(--color-foreground);
    background: var(--neutral-900);
}

.terminal-titlebar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--neutral-800);
    border-bottom: 2px solid var(--color-foreground);
}

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

.terminal-dot-red { background: var(--ansi-red); }
.terminal-dot-yellow { background: var(--ansi-yellow); }
.terminal-dot-green { background: var(--ansi-green); }

.terminal-title {
    font-family: "Roboto Mono", monospace;
    font-size: 0.75rem;
    color: var(--neutral-500);
    margin-left: 0.5rem;
}

.terminal-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: "Fira Code", "Roboto Mono", monospace;
    font-size: 1rem;
}

.cli-prompt {
    color: var(--ansi-green);
    font-weight: 700;
}

.terminal-line .cli-command {
    color: var(--neutral-200);
}

.terminal-line .cli-cursor {
    color: var(--neutral-200);
    animation: blink 1s step-end infinite;
}

.install-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.install-note {
    text-align: center;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--neutral-500);
    margin-top: 1.5rem;
}

/* Install CTA Section */
.install-cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.install-cta-section h2 {
    font-size: 2rem;
    text-align: center;
}

/* Floating CLI */
.floating-cli {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    font-family: "Fira Code", monospace;
    font-size: 1.25rem;
    font-weight: 500;
    /* padding: 0.75rem 1.25rem; */
    background: var(--color-background);
    /* border: 1px solid var(--color-muted);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.cli-path {
    color: var(--jumbo-blue-dark);
    margin-right: 0.5rem;
    text-decoration: none;
}

.cli-path:hover {
    text-decoration: underline;
}

.cli-arrow {
    color: var(--marigold-dark);
    margin: 0 0.5rem;
}

.cli-command {
    color: var(--color-foreground);
}

.cli-cursor {
    color: var(--color-foreground);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.cli-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-muted);
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.25rem;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease, opacity 0.3s ease;
    vertical-align: super;
    font-size: 0.7em;
    position: relative;
    top: -0.8em;
    opacity: 0;
}

.cli-copy.visible {
    opacity: 1;
}

.cli-copy:hover {
    color: var(--jumbo-blue);
    background-color: rgba(128, 128, 128, 0.1);
}

.cli-copy .check-icon {
    display: none;
}

.cli-copy.copied .copy-icon {
    display: none;
}

.cli-copy.copied .check-icon {
    display: block;
    color: var(--success);
}
