/* CLV3000 Plus — product site
 * Hand-crafted, editorial developer styling. No template, no cookie-cutter AI look. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f5;
  --surface: #ffffff;
  --ink: #13161a;
  --ink-soft: #2a2f37;
  --muted: #5d6673;
  --faint: #8b94a1;
  --line: #e7eaee;
  --line-strong: #d6dbe1;

  --accent: #0d9e6e;
  --accent-strong: #0a7f58;
  --accent-soft: #e6f5ef;

  --dark: #0d131c;
  --dark-2: #131b27;
  --dark-line: #223044;
  --dark-ink: #dbe4ee;

  --ok: #0d9e6e;
  --info: #2f6df6;
  --warn: #e0932f;
  --danger: #e0463a;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 22, 32, .05), 0 10px 28px -18px rgba(16, 22, 32, .18);
  --shadow-lg: 0 2px 4px rgba(16,22,32,.04), 0 24px 60px -30px rgba(16,22,32,.28);

  --font-sans: "Inter", "SF Pro Text", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Fira Code", "Cascadia Code", Consolas,
    "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -0.015em; margin: 0; line-height: 1.15; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* ---------- nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand .mark { width: 34px; height: 34px; display: grid; place-items: center; }
.brand .mark img { width: 34px; height: 34px; border-radius: 9px; display: block; box-shadow: 0 1px 3px rgba(16,22,32,.18); }
.brand strong { font-size: 17px; }
.brand small { color: var(--muted); font-weight: 550; font-size: 13px; }

.nav-links { display: flex; gap: 28px; margin-left: 8px; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--accent-strong); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang-switch { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: var(--bg-soft); }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 550; color: var(--muted); padding: 5px 10px; border-radius: 999px; transition: all .15s;
}
.lang-switch button[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(16,22,32,.12); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  border-radius: 10px; padding: 10px 18px; border: 1px solid transparent; transition: all .16s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -10px rgba(13,158,110,.8); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #1a2433; transform: translateY(-1px); }
.btn-sm { padding: 7px 13px; font-size: 14px; border-radius: 9px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }

/* ---- hero ambient background: aurora blobs + mesh grid ---- */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .55; will-change: transform; }
.hero-bg .b1 { width: 560px; height: 560px; left: -160px; top: -220px; background: radial-gradient(circle at 35% 35%, rgba(13, 158, 110, .32), transparent 65%); animation: drift-a 26s ease-in-out infinite alternate; }
.hero-bg .b2 { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle at 60% 40%, rgba(47, 109, 246, .26), transparent 65%); animation: drift-b 30s ease-in-out infinite alternate; }
.hero-bg .b3 { width: 460px; height: 460px; right: 22%; bottom: -260px; background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, .20), transparent 65%); animation: drift-c 34s ease-in-out infinite alternate; }
.hero-bg .mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 78% at 50% 8%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 78% at 50% 8%, #000 30%, transparent 78%);
}
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(70px, 50px) scale(1.12); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1.05); } to { transform: translate(-60px, 64px) scale(.94); } }
@keyframes drift-c { from { transform: translate(0, 0) scale(.92); } to { transform: translate(-80px, -40px) scale(1.1); } }

.hero .container { position: relative; z-index: 1; }

/* one full row: description + green claim side by side */
.hero-row { display: flex; gap: 28px; align-items: stretch; margin-top: 26px; }
.hero-row .sub { flex: 1 1 56%; margin-top: 0; max-width: none; }
.hero-row .claim { flex: 1 1 44%; margin-top: 0; max-width: none; display: flex; align-items: center; }

/* one full row: CTA buttons (kept on one line) + hints */
.hero-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; }
.hero-strip .cta { display: flex; flex-wrap: nowrap; gap: 14px; }
.hero-strip .hints { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-strong); background: var(--accent-soft);
  border: 1px solid rgba(13,158,110,.25); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.hero h1 .accent {
  background: linear-gradient(92deg, var(--accent) 0%, #2f6df6 42%, #8b5cf6 72%, var(--accent) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: ink-flow 9s linear infinite;
}
@keyframes ink-flow { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }
.hero .sub { font-size: 17.5px; color: var(--muted); line-height: 1.65; }
.hint { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); font-weight: 500; }
.hint svg { width: 15px; height: 15px; color: var(--accent); }

.terminal {
  background: var(--dark); color: var(--dark-ink); border-radius: 14px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--dark-line); overflow: hidden;
}
.terminal .titlebar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--dark-line); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.terminal .titlebar span { font-size: 12px; color: #7c8aa0; margin-left: 8px; font-family: var(--font-mono); }
.terminal pre { margin: 0; padding: 20px 22px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; overflow-x: auto; color: #c8d3e0; }
.terminal pre .c { color: #5f6f84; }
.terminal pre .g { color: #5fd6a8; }
.terminal pre .b { color: #7fb0ff; }
.terminal pre .y { color: #f2c25c; }

/* ---------- concept strip ---------- */
.concept { border-top: 1px solid var(--line); background: var(--bg-soft); }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.concept-item { display: flex; gap: 16px; align-items: flex-start; }
.concept-item .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--accent); box-shadow: var(--shadow); }
.concept-item .ic svg { width: 21px; height: 21px; }
.concept-item h4 { font-size: 16px; margin-bottom: 4px; }
.concept-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- section headings ---------- */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 14px; display: inline-block; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 650; letter-spacing: -0.03em; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- features ---------- */
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid var(--line); }
.feat { position: relative; padding: 13px 4px 13px 26px; border-bottom: 1px solid var(--line); }
.feat::before { content: ""; position: absolute; left: 2px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.feat h3 { font-size: 16px; margin-bottom: 2px; }
.feat p { color: var(--muted); font-size: 14px; max-width: 60ch; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); cursor: zoom-in; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.shot:hover { transform: translateY(-4px) scale(1.015); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.shot img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .4s ease; }
.shot:hover img { transform: scale(1.06); }
.shot figcaption { padding: 14px 18px; font-size: 14.5px; font-weight: 550; color: var(--ink-soft); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shot figcaption span { color: var(--faint); font-weight: 500; font-size: 13px; }
#iface { grid-template-columns: repeat(4, 1fr); }
#iface, #themes-grid { gap: 14px; }

/* ---------- modes ---------- */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mode {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; background: var(--surface);
}
.mode.featured { border-color: rgba(13,158,110,.45); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow); }
.mode .flag { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--accent-strong); text-transform: uppercase; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 6px; }
.mode h3 { font-size: 20px; margin-bottom: 6px; }
.mode .who { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.mode ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.mode li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.mode li svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; }
.mode li .ok { color: var(--accent); }
.mode li .warn { color: var(--warn); }

/* ---------- get started ---------- */
.gs-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 48px 52px; }
.gs-grid h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; margin-bottom: 14px; }
.gs-grid p { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.gs-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.gs-note { margin-top: 18px; font-size: 13.5px; color: var(--faint); display: flex; align-items: center; gap: 7px; }
.gs-note svg { width: 15px; height: 15px; }

.stars { display: flex; gap: 6px; color: var(--warn); margin-top: 20px; }
.stars svg { width: 16px; height: 16px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 48px 0 40px; }
.foot-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { max-width: 300px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 14px; font-weight: 650; }
.foot-cols a { display: block; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 10px; transition: color .15s; }
.foot-cols a:hover { color: var(--accent-strong); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13.5px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .gs-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero-row { flex-direction: column; gap: 16px; margin-top: 20px; }
  .hero-strip { margin-top: 28px; }
  .hero-strip .hints { margin-left: 0; }
  .hero-show { margin-top: 44px; }
  .feats, .gallery, .concept-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .feats, .gallery, .concept-grid, .modes { grid-template-columns: 1fr; }
  #iface { grid-template-columns: 1fr 1fr; }
  .banner { padding: 40px 28px; }
  .gs-grid { padding: 32px 24px; }
  .foot-inner { flex-direction: column; }
  .hero-strip .cta { flex-wrap: wrap; }   /* narrow phones: allow wrap when unavoidable */
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg .blob, .hero h1 .accent, .hero-show { animation: none !important; }
  .hero-show .show-card { transition: opacity .2s ease !important; }
}

/* ---------- hero claim ---------- */
.claim {
  margin-top: 24px; padding: 12px 16px; border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 10px 10px 0;
  font-size: 15.5px; font-weight: 600; color: var(--ink-soft); max-width: 60ch;
}
.claim svg { width: 18px; height: 18px; color: var(--accent-strong); vertical-align: -3px; margin-right: 7px; }

/* ---------- hero theme carousel ---------- */
.hero-show { position: relative; aspect-ratio: 16 / 9; max-width: 1020px; margin: 56px auto 0; cursor: zoom-in; animation: float-y 7s ease-in-out infinite; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-show .show-card {
  position: absolute; inset: 0; margin: 0; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); background: var(--surface);
  transition: transform .8s ease, opacity .8s ease;
}
.hero-show .show-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-show .show-card.front { transform: translate(0, 0) rotate(0) scale(1); z-index: 3; opacity: 1; }
.hero-show .show-card.mid { transform: translate(34px, 22px) rotate(3deg) scale(.95); z-index: 2; opacity: .75; }
.hero-show .show-card.back { transform: translate(-30px, -20px) rotate(-2.6deg) scale(.9); z-index: 1; opacity: .4; }
.hero-show .show-card figcaption {
  position: absolute; left: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 1px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(6px); padding: 7px 12px;
  border-radius: 10px; box-shadow: var(--shadow);
}
.hero-show .show-card figcaption strong { font-size: 14px; color: var(--ink); }
.hero-show .show-card figcaption span { font-size: 12px; color: var(--muted); }
.hero-show .show-card.mid figcaption, .hero-show .show-card.back figcaption { opacity: 0; }

/* ---------- CLV3000 cross-promo band ---------- */
.section#download { padding-bottom: 48px; }
#clv { padding-top: 0; }
.clv-band { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line-strong); background: var(--bg-soft); border-radius: 16px; padding: 22px 26px; }
.clv-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); display: grid; place-items: center; }
.clv-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clv-band h3 { margin: 0 0 2px; font-size: 17px; }
.clv-band p { margin: 0; color: var(--muted); font-size: 14.5px; }
.clv-band .btn { margin-left: auto; flex: 0 0 auto; }
@media (max-width: 640px) { .clv-band { flex-direction: column; align-items: flex-start; } .clv-band .btn { margin-left: 0; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 28px; background: rgba(12, 14, 20, .78); backdrop-filter: blur(8px); cursor: zoom-out; animation: lb-fade .18s ease; }
.lightbox[hidden] { display: none; }
.lightbox .lb-media { max-width: min(1240px, 94vw); max-height: 92vh; margin: 0; cursor: default; text-align: center; animation: lb-pop .22s ease; }
.lightbox .lb-media img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; border-radius: 14px; box-shadow: var(--shadow-lg); background: #fff; display: block; }
.lightbox .lb-media figcaption { margin-top: 12px; color: rgba(255, 255, 255, .92); font-size: 15px; font-weight: 550; }
.lightbox .lb-close { position: fixed; top: 18px; right: 22px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.lightbox .lb-close:hover { background: rgba(255, 255, 255, .28); transform: rotate(90deg); }
@keyframes lb-fade { from { opacity: 0; } }
@keyframes lb-pop { from { transform: scale(.95); opacity: 0; } }
@media (max-width: 640px) { .lightbox { padding: 14px; } }