/* KoKo — charcoal terminal, neon green K #34f08a with a cyan cursor */
:root {
  color-scheme: dark;
  --bg: #07090c;
  --bg-2: #0c1015;
  --surface: #10151b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef3f0;
  --muted: #8e9b96;
  --accent: #34f08a;
  --accent-2: #34f08a;
  --cyan: #22d3ee;
  --on-accent: #03110a;
  --nav-bg: rgba(7, 9, 12, 0.72);
  --radius: 18px;
}

.eyebrow { color: var(--accent); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.16); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--primary:hover { box-shadow: 0 0 0 1px var(--accent), 0 12px 40px -8px rgba(52, 240, 138, 0.6); }
.cursor { display: inline-block; width: 0.55em; height: 2px; margin-left: 0.12em; vertical-align: -0.08em; background: var(--cyan); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 130px 0 0; display: flex; flex-direction: column; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; object-position: 70% 50%; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 25%, rgba(7, 9, 12, 0.6) 60%, rgba(7, 9, 12, 0.3)), linear-gradient(0deg, var(--bg), transparent 40%); }
.hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(52, 240, 138, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(52, 240, 138, 0.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 30% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 30% 40%, #000, transparent); }
.hero__grid { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-bottom: 60px; }
.prompt { font: 500 14px var(--mono); color: var(--muted); margin-bottom: 24px; }
.prompt span { color: var(--accent); }
.hero__title { font-size: clamp(40px, 6vw, 76px); font-weight: 700; letter-spacing: -0.03em; }
.hero__title span { display: block; }
.hero__title .neon { color: var(--accent); text-shadow: 0 0 40px rgba(52, 240, 138, 0.35); }
.lang-zh .hero__title { letter-spacing: 0; }
.hero__copy .lead { margin-top: 26px; }
.hero__device { display: flex; justify-content: center; padding-top: 24px; }
.phone--glow { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 80px -10px rgba(52, 240, 138, 0.35), 0 50px 100px -40px #000; }
.hero__device .phone { width: 310px; }

.ticker { position: relative; border-block: 1px solid var(--line); overflow: hidden; background: rgba(7, 9, 12, 0.6); }
.ticker__track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { padding: 18px 28px; font: 500 15px var(--mono); color: var(--muted); white-space: nowrap; }
.ticker span::before { content: '●'; margin-right: 12px; font-size: 9px; vertical-align: 2px; color: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.split .section-head { margin-bottom: 28px; }
.split--flip > :first-child { order: 0; }
.split__phone { display: flex; justify-content: center; }
.shot { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 100px -50px rgba(52, 240, 138, 0.35); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.points { display: grid; gap: 14px; }
.points li { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.points strong { font-size: 16px; }
.points strong::before { content: '› '; color: var(--accent); font-family: var(--mono); }
.points span { color: var(--muted); font-size: 15px; }

.term--koko { background: #05070a; border-color: rgba(52, 240, 138, 0.2); box-shadow: 0 0 0 1px rgba(52, 240, 138, 0.06), 0 40px 100px -50px rgba(52, 240, 138, 0.4); }
.term--koko pre { font-size: 14px; line-height: 1.9; color: #cfe9dc; }
.term .g { color: var(--accent); }
.term .c { color: var(--cyan); }
.term .k { color: var(--accent); font-weight: 700; }
.agents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.agents li { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.agents strong { display: block; font-family: var(--mono); font-size: 15px; color: var(--accent); }
.agents span { font-size: 13.5px; color: var(--muted); }

.forms .card { text-align: center; padding-top: 36px; }
.forms__shape { display: block; margin: 0 auto 24px; border: 2px solid var(--accent); border-radius: 12px; box-shadow: 0 0 30px -6px rgba(52, 240, 138, 0.5); }
.forms__shape--0 { width: 38px; height: 72px; border-radius: 10px; }
.forms__shape--1 { width: 96px; height: 72px; }
.forms__shape--2 { width: 120px; height: 72px; background: linear-gradient(90deg, transparent calc(50% - 1px), var(--accent) calc(50% - 1px), var(--accent) calc(50% + 1px), transparent calc(50% + 1px)); }

.card__ic { background: rgba(52, 240, 138, 0.1); }
.card { transition: border-color 0.3s; }
.card:hover { border-color: rgba(52, 240, 138, 0.35); }
.stats dt { color: var(--accent); font-family: var(--mono); font-weight: 600; }

.cta { overflow: hidden; }
.cta__glow { position: absolute; inset: auto 0 -40%; height: 80%; background: radial-gradient(50% 50% at 50% 50%, rgba(52, 240, 138, 0.18), transparent 70%); pointer-events: none; }
.cta__mark { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 22px; box-shadow: 0 0 60px -10px rgba(52, 240, 138, 0.6); }
.footer { background: #050608; }

@media (max-width: 960px) {
  .hero__grid, .split { grid-template-columns: minmax(0, 1fr); }
  .hero__device .phone { width: 260px; }
  .split--flip > :first-child { order: 2; }
}
@media (max-width: 640px) {
  .hero { padding-top: 110px; }
  .agents { grid-template-columns: minmax(0, 1fr); }
  .term--koko pre { font-size: 12px; }
  .hero__device .phone { width: 230px; }
}
