agent-orchestrator/frontend/src/landing/styles/globals.css

1072 lines
20 KiB
CSS

@import "tailwindcss";
:root {
--font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, -apple-system, sans-serif;
--font-mono: var(--font-jetbrains-mono), ui-monospace, "SFMono-Regular", Menlo, monospace;
/* ── Light mode (default) ─────────────────────────────────────── */
--color-bg-base: #f8fafc;
--color-bg-surface: #ffffff;
--color-bg-elevated: #f9fafb;
--color-bg-subtle: rgba(80, 120, 220, 0.08);
--color-bg-inset: #f1f5f9;
--color-bg-sidebar: #f3f4f6;
--color-text-primary: #18191d;
--color-text-secondary: #62646c;
--color-text-tertiary: #8a8a91;
--color-border-default: rgba(28, 28, 31, 0.16);
--color-border-subtle: rgba(28, 28, 31, 0.09);
--color-accent: #4f7ee8;
--color-accent-dim: rgba(79, 126, 232, 0.12);
--color-accent-border: rgba(79, 126, 232, 0.32);
--color-accent-amber: var(--color-accent);
--color-accent-amber-dim: var(--color-accent-dim);
--color-accent-amber-border: var(--color-accent-border);
--color-scrollbar: rgba(0, 0, 0, 0.08);
}
/* ── Dark mode ────────────────────────────────────────────────── */
.dark {
--color-bg-base: #14120b;
--color-bg-surface: #19160e;
--color-bg-elevated: #201c12;
--color-bg-subtle: #1b170f;
--color-bg-inset: #100e08;
--color-bg-sidebar: #17140c;
--color-text-primary: #f5f5f4;
--color-text-secondary: #9b9b98;
--color-text-tertiary: #79796f;
--color-border-default: rgba(255, 255, 255, 0.12);
--color-border-subtle: rgba(255, 255, 255, 0.06);
--color-accent: #82aaff;
--color-accent-dim: rgba(130, 170, 255, 0.1);
--color-accent-border: rgba(130, 170, 255, 0.22);
--color-accent-amber: var(--color-accent);
--color-accent-amber-dim: var(--color-accent-dim);
--color-accent-amber-border: var(--color-accent-border);
--color-scrollbar: rgba(255, 240, 220, 0.15);
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
min-height: 100%;
}
html,
body {
font-family: var(--font-sans);
background: var(--color-bg-base);
color: var(--color-text-primary);
scrollbar-width: none;
}
a {
color: inherit;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.landing-page::-webkit-scrollbar {
display: none;
}
.landing-page {
scrollbar-width: none;
}
/* ── Landing Page ─────────────────────────────────────────────────── */
.landing-page {
--bg: var(--color-bg-base);
--bg-card: var(--color-bg-surface);
--bg-card-hover: var(--color-bg-elevated);
--bg-elevated: var(--color-bg-elevated);
--bg-deep: var(--color-bg-inset);
--bg-chrome: var(--color-bg-sidebar);
--nav-bg: color-mix(in srgb, var(--color-bg-base) 84%, transparent);
--code-bg: var(--color-bg-inset);
--code-chrome: var(--color-bg-sidebar);
--code-fg: var(--color-text-primary);
--code-muted: var(--color-text-tertiary);
--border: var(--color-border-subtle);
--border-strong: var(--color-border-default);
--border-bright: var(--color-accent-border);
--fg: var(--color-text-primary);
--fg-muted: var(--color-text-secondary);
--fg-dim: var(--color-text-tertiary);
--accent: var(--color-accent);
--accent-soft: var(--color-accent-dim);
--accent-glow: var(--color-accent-border);
--status-warn: var(--color-accent);
--status-fail: #dc2626;
--status-ok: #16a34a;
--wire: var(--color-border-default);
--dot-red: #ff5f57;
--dot-yellow: #ffbd2e;
--dot-green: #28c840;
--landing-bg: var(--bg);
--landing-fg: var(--fg);
--landing-muted: var(--fg-muted);
--landing-muted-dim: var(--fg-dim);
--landing-accent: var(--accent);
--landing-border-subtle: var(--border);
--landing-border-default: var(--border-strong);
--landing-border-strong: var(--border-bright);
--landing-surface: var(--bg-elevated);
--landing-card-bg: var(--bg-card);
min-height: 100vh;
background: var(--bg);
color: var(--fg);
font-family:
var(--font-inter),
-apple-system,
system-ui,
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.dark .landing-page {
--status-fail: #ef4444;
--status-ok: #22c55e;
}
.liquid-glass-solid {
background: var(--landing-accent);
color: #121110;
font-weight: 500;
border: none;
}
.liquid-glass-solid:hover {
opacity: 0.9;
}
.landing-nav-link {
color: var(--fg);
transition: color 180ms ease-out;
}
.landing-nav-link:hover {
color: var(--accent);
}
.landing-card {
background: var(--landing-card-bg);
border: 1px solid var(--landing-border-subtle);
transition:
border-color 0.2s,
background 0.2s;
}
.container-page {
width: 100%;
max-width: 1280px;
margin-left: auto;
margin-right: auto;
padding-left: clamp(1.25rem, 3.8vw, 4rem);
padding-right: clamp(1.25rem, 3.8vw, 4rem);
}
.landing-hero-section {
padding-top: clamp(120px, 13vw, 180px);
padding-bottom: clamp(80px, 9vw, 120px);
}
.landing-section {
padding-top: clamp(100px, 12vw, 180px);
padding-bottom: clamp(100px, 12vw, 180px);
}
.landing-section-compact {
padding-top: clamp(48px, 6vw, 80px);
padding-bottom: clamp(48px, 6vw, 80px);
}
.landing-section-header {
margin-bottom: clamp(64px, 8vw, 100px);
}
.landing-section-stack {
display: grid;
gap: clamp(96px, 10vw, 144px);
}
.landing-eyebrow {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 600;
line-height: 1;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--fg-muted);
}
.landing-eyebrow-accent {
color: var(--accent);
}
.landing-heading {
max-width: 760px;
font-size: clamp(36px, 4.5vw, 56px);
font-weight: 600;
line-height: 1.08;
letter-spacing: -0.02em;
color: var(--fg);
}
.landing-heading-muted {
color: var(--fg-muted);
}
/* Feature-step headings: smaller than section headings so the title and its
muted continuation each fit on a single line in the narrower copy column. */
.feature-heading {
font-size: clamp(28px, 2.7vw, 40px);
line-height: 1.12;
letter-spacing: -0.02em;
}
/* Pinned feature swap layers - GSAP owns visibility once mounted; this is just
the pre-JS / first-paint state so only the first feature shows (no stacking). */
.fp-panel,
.fp-mock {
opacity: 0;
}
.fp-panel:first-child,
.fp-mock:first-child {
opacity: 1;
}
.landing-hero-heading {
max-width: 980px;
font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
font-size: clamp(48px, 5.55vw, 76px);
font-weight: 700;
line-height: 0.96;
letter-spacing: 0;
color: var(--fg);
}
.landing-hero-heading-setup {
font-size: 1em;
font-weight: 700;
line-height: 0.96;
color: color-mix(in oklab, var(--fg) 72%, var(--fg-muted));
}
.landing-hero-heading-action {
margin-top: 0.04em;
font-size: 1em;
font-weight: 700;
line-height: 0.96;
color: var(--fg);
}
.landing-hero-heading-accent {
color: #82aaff;
font-style: italic;
font-weight: 700;
}
.landing-body {
max-width: 65ch;
font-size: clamp(16px, 1.4vw, 18px);
font-weight: 400;
line-height: 1.7;
letter-spacing: 0.005em;
color: var(--fg-muted);
}
.landing-body-compact {
max-width: 65ch;
font-size: 16px;
font-weight: 400;
line-height: 1.6;
letter-spacing: 0;
color: var(--fg-muted);
}
.font-display {
font-family: var(--font-sans), ui-sans-serif, system-ui, sans-serif;
letter-spacing: -0.025em;
}
.font-editorial {
font-family: ui-serif, Georgia, serif;
letter-spacing: 0;
}
/* Fluid, non-jittery hover. No scale/translate on the button itself - scaling
text rasterises it and looks blurry - so hover is expressed purely through
brightness + shadow. Only a brief press uses a tiny transform. */
.hero-pressable {
transition:
filter 240ms cubic-bezier(0.16, 1, 0.3, 1),
box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1),
background-color 240ms ease,
border-color 240ms ease,
color 200ms ease,
transform 120ms ease;
}
.hero-pressable:active {
transform: scale(0.985);
}
.hero-laptop {
filter: drop-shadow(0 30px 64px rgba(0, 0, 0, 0.34));
}
.hero-laptop-screen {
position: relative;
padding: 1px;
border: 1px solid rgba(255, 255, 255, 0.075);
border-radius: 12px;
background: rgba(255, 255, 255, 0.06);
box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.22) inset,
0 18px 54px rgba(0, 0, 0, 0.22);
}
.hero-laptop-screen::before {
content: none;
}
.hero-laptop-display {
overflow: hidden;
border: 0;
border-radius: 10px;
background: #14120d;
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.035) inset;
}
@media (prefers-reduced-motion: reduce) {
.hero-pressable:active {
transform: none;
}
}
/* Shared smooth interaction primitive for nav / footer controls. */
.fluid-press {
transition:
transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
filter 260ms cubic-bezier(0.16, 1, 0.3, 1),
box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1),
color 200ms ease,
background-color 200ms ease,
border-color 200ms ease;
}
.fluid-press:active {
transform: scale(0.96);
transition-duration: 90ms;
}
/* GitHub "star" celebration - the count badge lights up and the star pops
with a couple of sparkles when the button is hovered. */
.gh-star-btn .gh-star {
transition:
transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
color 320ms ease;
}
.gh-star-btn:hover .gh-star {
animation: gh-star-pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
color: #ffd35c;
}
.gh-star-btn .gh-star-count {
transition:
color 260ms ease,
background-color 260ms ease,
border-color 260ms ease;
}
.gh-star-btn:hover .gh-star-count {
color: var(--accent);
background: var(--accent-soft);
border-color: var(--accent-glow);
}
.gh-star-btn .gh-sparkle {
opacity: 0;
}
.gh-star-btn:hover .gh-sparkle {
animation: gh-sparkle 0.62s ease-out;
}
.gh-star-btn:hover .gh-sparkle-2 {
animation-delay: 0.08s;
}
@keyframes gh-star-pop {
0% {
transform: scale(1) rotate(0deg);
}
35% {
transform: scale(1.45) rotate(-14deg);
}
65% {
transform: scale(0.92) rotate(10deg);
}
100% {
transform: scale(1) rotate(0deg);
}
}
@keyframes gh-sparkle {
0% {
opacity: 0;
transform: scale(0.2) translate(0, 0);
}
40% {
opacity: 1;
}
100% {
opacity: 0;
transform: scale(1) translate(var(--sx, 6px), var(--sy, -6px));
}
}
@media (prefers-reduced-motion: reduce) {
.gh-star-btn:hover .gh-star,
.gh-star-btn:hover .gh-sparkle {
animation: none;
}
}
.agents-marquee-track {
animation: agents-marquee 50s linear infinite;
}
.agents-marquee-track:hover {
animation-play-state: paused;
}
.agent-logo-tile {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: 1px solid var(--border);
border-radius: 4px;
background: rgba(255, 255, 255, 0.025);
}
.agent-logo-pill {
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 999px;
background: rgba(255, 255, 255, 0.025);
transition:
border-color 0.16s ease,
background 0.16s ease;
}
.agent-logo-pill:hover {
border-color: rgba(255, 255, 255, 0.16);
background: rgba(255, 255, 255, 0.045);
}
.agent-logo-pill-icon {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
}
.agent-logo-pill-icon .agent-logo-image {
width: 100%;
height: 100%;
}
.agent-logo-image-kilocode {
filter: brightness(2.2) contrast(1.15);
opacity: 0.95;
}
.agent-logo-frame {
display: flex;
align-items: center;
justify-content: center;
border: 1px solid var(--border);
border-radius: 4px;
background: rgba(255, 255, 255, 0.025);
}
.agent-logo-image {
width: 62%;
height: 62%;
object-fit: contain;
opacity: 0.9;
transition: opacity 0.16s ease;
}
.agent-logo-tile .agent-logo-image {
opacity: 0.9;
transition: opacity 0.16s ease;
}
.group:hover .agent-logo-image {
opacity: 1;
}
.group:hover .agent-logo-tile .agent-logo-image {
opacity: 1;
}
@keyframes agents-marquee {
from {
transform: translate3d(0, 0, 0);
}
to {
transform: translate3d(-50%, 0, 0);
}
}
@media (prefers-reduced-motion: reduce) {
.agents-marquee-track {
animation: none;
flex-wrap: wrap;
width: auto;
justify-content: center;
padding-left: 1.25rem;
padding-right: 1.25rem;
}
}
.surface {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 4px;
box-shadow: none;
transition:
border-color 0.16s ease,
background-color 0.16s ease;
}
.surface:hover {
background: var(--bg-card-hover);
border-color: var(--border);
}
.landing-card-header {
background: var(--bg-elevated);
border-bottom: 1px solid var(--border);
}
.tweet-masonry {
column-count: 1;
column-gap: 2rem;
}
@media (min-width: 768px) {
.tweet-masonry {
column-count: 2;
}
}
@media (min-width: 1024px) {
.tweet-masonry {
column-count: 3;
}
}
.surface-elev {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 4px;
}
.lift {
transition:
transform 0.18s ease,
border-color 0.18s ease,
background 0.18s ease;
}
.lift:hover {
transform: translateY(-2px);
border-color: var(--border-strong);
}
.serial-num {
color: var(--fg-dim);
font-feature-settings: "tnum" on;
font-weight: 650;
letter-spacing: 0.05em;
}
.glow-accent {
box-shadow:
0 0 0 1px var(--border-strong),
0 16px 48px -34px var(--accent-glow);
}
.dotgrid {
background-image: radial-gradient(var(--border) 1px, transparent 1px);
background-size: 20px 20px;
}
.terminal-window {
overflow: hidden;
border: 1px solid var(--border);
border-radius: 4px;
background: var(--code-bg);
box-shadow: none;
}
.terminal-header {
border-bottom: 1px solid var(--border);
background: var(--code-chrome);
}
.landing-code-panel {
animation: landing-code-panel-in 140ms ease-out both;
}
@keyframes landing-code-panel-in {
from {
opacity: 0;
transform: translateY(4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (prefers-reduced-motion: reduce) {
.landing-code-panel {
animation: none;
}
}
@keyframes pulse-dot {
0%,
100% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.45;
transform: scale(0.85);
}
}
.pulse-dot {
animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes caret-blink {
0%,
49% {
opacity: 1;
}
50%,
100% {
opacity: 0;
}
}
.caret {
display: inline-block;
width: 0.5em;
height: 1em;
margin-left: 2px;
animation: caret-blink 1.05s steps(1) infinite;
background: var(--accent);
vertical-align: -2px;
}
@keyframes wire-pulse {
0% {
opacity: 0;
stroke-dashoffset: 200;
}
15%,
85% {
opacity: 1;
}
100% {
opacity: 0;
stroke-dashoffset: 0;
}
}
.landing-card:hover {
border-color: var(--landing-border-subtle);
}
.landing-hero-grid {
background-image: radial-gradient(rgba(255, 240, 220, 0.03) 1px, transparent 1px);
background-size: 32px 32px;
mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
@keyframes landing-fade-rise {
from {
opacity: 0;
transform: translateY(32px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes landing-pulse-dot {
0%,
100% {
opacity: 0.4;
}
50% {
opacity: 1;
}
}
.landing-fade-rise {
animation: landing-fade-rise 0.9s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.landing-fade-rise-d1 {
animation: landing-fade-rise 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.15s both;
}
.landing-fade-rise-d2 {
animation: landing-fade-rise 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}
.landing-reveal {
opacity: 0;
transform: translateY(32px);
transition:
opacity 600ms cubic-bezier(0.23, 1, 0.32, 1),
transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
}
.landing-reveal.visible {
opacity: 1;
transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
.landing-reveal {
opacity: 1;
transform: none;
transition: none;
}
}
.landing-agent-dot {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background: rgba(134, 239, 172, 0.7);
animation: landing-pulse-dot 2s ease-in-out infinite;
}
/* Terminal typing animations */
.landing-line-appear {
animation: landing-fade-rise 0.3s ease-out both;
}
@keyframes landing-cursor-blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
.landing-cursor-blink {
animation: landing-cursor-blink 0.8s step-end infinite;
}
/* Hero kanban ticker */
@keyframes landing-kanban-ticker-in {
from {
opacity: 0;
transform: translateY(2px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.landing-kanban-ticker {
display: inline-block;
animation: landing-kanban-ticker-in 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Feature demos */
@keyframes landing-feature-bar {
0% {
width: 0%;
}
78% {
width: 100%;
}
90% {
width: 100%;
}
91% {
width: 0%;
}
100% {
width: 0%;
}
}
.landing-feature-bar {
width: 0%;
animation-name: landing-feature-bar;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(0.4, 0.8, 0.6, 1);
}
@keyframes landing-spin {
to {
transform: rotate(360deg);
}
}
.landing-spin {
animation: landing-spin 0.9s linear infinite;
}
@keyframes landing-chip-swap {
from {
opacity: 0;
transform: translateY(-2px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.landing-chip-swap {
animation: landing-chip-swap 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes landing-stream-in {
from {
opacity: 0;
transform: translateY(3px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.landing-stream-line {
animation: landing-stream-in 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes landing-sse-pulse {
0%,
100% {
opacity: 0.5;
}
50% {
opacity: 1;
}
}
.landing-sse-pulse {
animation: landing-sse-pulse 1.6s ease-in-out infinite;
}
@keyframes landing-adapter-pulse {
0% {
transform: translateX(-24px);
opacity: 0;
}
18%,
72% {
opacity: 1;
}
100% {
transform: translateX(24px);
opacity: 0;
}
}
.landing-adapter-pulse {
animation: landing-adapter-pulse 1.7s cubic-bezier(0.4, 0.8, 0.6, 1) infinite;
}
.landing-feature-stack-card {
will-change: transform;
gap: clamp(48px, 6vw, 80px);
align-items: center;
}
.landing-feature-stack-cover {
isolation: isolate;
}
.landing-feature-stack-cover::before {
content: "";
position: absolute;
inset: -28px -2px -28px -2px;
z-index: -1;
border-radius: 24px;
background: var(--bg);
box-shadow: 0 -80px 0 80px var(--bg);
}
@media (max-width: 1023px) {
.landing-feature-stack-card {
position: relative;
top: auto;
}
.landing-feature-stack-cover::before {
display: none;
}
}
/* Switcher progress bar */
@keyframes landing-switcher-progress {
from {
transform: scaleX(0);
}
to {
transform: scaleX(1);
}
}
.landing-switcher-progress {
transform: scaleX(0);
animation-name: landing-switcher-progress;
animation-timing-function: linear;
animation-fill-mode: forwards;
animation-iteration-count: 1;
}
/* Stacked feature panel - front slides up into view, peek fades in behind */
@keyframes landing-stack-front {
from {
transform: translateY(28px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes landing-stack-peek {
from {
transform: translateY(40px) scale(0.97);
opacity: 0;
}
to {
transform: translateY(0) scale(1);
opacity: 0.45;
}
}
.landing-stack-front {
animation: landing-stack-front 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.landing-stack-peek {
opacity: 0.45;
animation: landing-stack-peek 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Switcher feature cards swap-in */
@keyframes landing-feat-card-in {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.landing-feat-card {
animation: landing-feat-card-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.landing-feat-card-front {
animation: landing-feat-card-in 0.4s 0.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Workflow pipeline pulse */
@keyframes landing-node-pulse {
0% {
box-shadow: 0 0 0 0 currentColor;
opacity: 0.6;
}
70% {
box-shadow: 0 0 0 10px transparent;
opacity: 0;
}
100% {
box-shadow: 0 0 0 0 transparent;
opacity: 0;
}
}
.landing-node-pulse {
border: 1.5px solid;
animation: landing-node-pulse 1.5s ease-out infinite;
}
/* Git-graph node pulse (SVG circle - box-shadow doesn't apply, so animate r/opacity) */
@keyframes landing-graph-pulse {
0% {
r: 5px;
opacity: 0.6;
}
70% {
r: 13px;
opacity: 0;
}
100% {
r: 13px;
opacity: 0;
}
}
.landing-graph-pulse {
transform-box: fill-box;
animation: landing-graph-pulse 1.5s ease-out infinite;
}