@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes hero-arrow-bounce {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(6px); }
}
@keyframes hero-win-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}
@keyframes hero-glow-pulse {
    0%, 100% { box-shadow: 5px 5px 0 #0f380f, 0 0 30px rgba(187,223,118,0.18); }
    50%       { box-shadow: 5px 5px 0 #0f380f, 0 0 50px rgba(187,223,118,0.30); }
}

.m-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 24px 40px;
    background: radial-gradient(ellipse at 50% 30%, rgba(187,223,118,0.06) 0%, transparent 65%);
}
.m-hero__title {
    font-size: clamp(48px, 9vw, 96px);
    line-height: 0.95;
    margin: 0 0 16px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.m-hero__title .a-text--highlight {
    text-shadow: 0 0 40px rgba(187,223,118,0.4);
}
.m-hero__sub {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-muted);
    margin: 0 0 40px;
    text-align: center;
}
.m-hero__demo {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 36px;
}
.m-hero__gb {
    background: #cadc9f;
    border: 3px solid #0f380f;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 5px 5px 0 #0f380f, 0 0 30px rgba(187,223,118,0.18);
    font-family: ui-monospace, monospace;
    color: #0f380f;
    width: 240px;
    flex-shrink: 0;
    animation: hero-float 4s ease-in-out infinite, hero-glow-pulse 4s ease-in-out infinite;
}
.m-hero__gb-label {
    font-size: 8px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 700;
}
.m-hero__gb-screen {
    background: #9bbc0f;
    border: 2px solid #0f380f;
    height: 160px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.m-hero__gb-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0 2px,
        rgba(0,0,0,0.2) 2px 3px
    );
    pointer-events: none;
}
.m-hero__silhouette {
    width: 100px;
    height: 100px;
    filter: brightness(0) saturate(100%);
    image-rendering: pixelated;
    position: relative;
    z-index: 1;
}
.m-hero__gb-btns {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    margin-top: 8px;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.m-hero__arrow {
    font-size: 36px;
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    animation: hero-arrow-bounce 1.4s ease-in-out infinite;
}
.m-hero__chat-box {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 290px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    text-align: left;
    transition: box-shadow 0.4s ease;
}
.m-hero__chat-box:hover {
    box-shadow: var(--shadow-lg), 0 0 20px rgba(187,223,118,0.08);
}
.m-hero__chat-header {
    background: var(--bg-elevated);
    padding: 8px 14px;
    font-size: 12px;
    font-family: ui-monospace, monospace;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.m-hero__chat-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.m-hero__chat-line {
    display: grid;
    grid-template-columns: 38px auto 1fr;
    gap: 5px;
    font-size: 12px;
    font-family: ui-monospace, monospace;
    align-items: baseline;
    overflow: hidden;
}
.m-hero__chat-line time { color: var(--text-muted); white-space: nowrap; }
.mc1 { color: var(--chat-1); font-weight: 700; white-space: nowrap; }
.mc2 { color: var(--chat-2); font-weight: 700; white-space: nowrap; }
.mc3 { color: var(--chat-3); font-weight: 700; white-space: nowrap; }
.mc4 { color: var(--chat-4); font-weight: 700; white-space: nowrap; }
.mc5 { color: var(--chat-5); font-weight: 700; white-space: nowrap; }
.mc-bot { color: var(--accent); font-weight: 700; white-space: nowrap; }
.m-hero__chat-win {
    color: var(--accent);
    animation: hero-win-pulse 2s ease-in-out infinite;
}
.m-hero__ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.m-hero__pills {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-family: ui-monospace, monospace;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    text-transform: uppercase;
}
.m-hero__sep { color: var(--border-accent); }
.m-hero__search-wrap {
    text-align: center;
    width: 100%;
    max-width: 460px;
}
@media (max-width: 680px) {
    .m-hero__demo { flex-direction: column; }
    .m-hero__arrow { transform: rotate(90deg); }
    .m-hero__chat-box, .m-hero__gb { width: 100%; max-width: 320px; }
}
