*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #080b14; color: #e0e4ff;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}

/* ── Language visibility ──────────────────────────────── */
[data-lang="en"]    .l-zhk, [data-lang="en"]    .l-zhc, [data-lang="en"]    .l-de, [data-lang="en"]    .l-fr  { display: none; }
[data-lang="zh-hk"] .l-en,  [data-lang="zh-hk"] .l-zhc, [data-lang="zh-hk"] .l-de, [data-lang="zh-hk"] .l-fr  { display: none; }
[data-lang="zh-cn"] .l-en,  [data-lang="zh-cn"] .l-zhk, [data-lang="zh-cn"] .l-de, [data-lang="zh-cn"] .l-fr  { display: none; }
[data-lang="de"]    .l-en,  [data-lang="de"]    .l-zhk, [data-lang="de"]    .l-zhc, [data-lang="de"]    .l-fr  { display: none; }
[data-lang="fr"]    .l-en,  [data-lang="fr"]    .l-zhk, [data-lang="fr"]    .l-zhc, [data-lang="fr"]    .l-de  { display: none; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,11,20,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(99,102,241,0.12);
  padding: 0 40px; height: 60px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo { color: #e0e4ff; font-size: 15px; letter-spacing: 4px; font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switcher {
  display: flex; gap: 1px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: 8px; padding: 3px;
}
.lang-btn {
  padding: 4px 10px; border-radius: 5px;
  font-size: 11px; font-weight: 500; cursor: pointer;
  color: rgba(165,180,252,0.45); border: none; background: transparent;
  font-family: inherit; letter-spacing: 0.2px; transition: color 0.12s;
  white-space: nowrap;
}
.lang-btn:hover { color: #a5b4fc; }
.lang-btn.active { background: rgba(79,70,229,0.25); color: #a5b4fc; }
.nav-cta {
  background: #4f46e5; color: white; border: none;
  border-radius: 8px; padding: 8px 16px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  font-family: inherit; transition: background 0.15s; white-space: nowrap;
}
.nav-cta:hover { background: #4338ca; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 88vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 80px 40px 60px;
  background: radial-gradient(ellipse at 50% 30%, rgba(79,70,229,0.12) 0%, transparent 60%), #080b14;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(99,102,241,0.25); border-radius: 20px;
  padding: 5px 14px; font-size: 11px; font-weight: 500;
  letter-spacing: 1px; color: #818cf8; text-transform: uppercase; margin-bottom: 40px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #4f46e5; flex-shrink: 0; }

/* Coby face */
.face-wrap { position: relative; margin-bottom: 52px; }
.face-glow {
  position: absolute; inset: -24px;
  background: radial-gradient(ellipse, rgba(79,70,229,0.18) 0%, transparent 70%);
  border-radius: 50%; z-index: -1; animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100%{opacity:.7} 50%{opacity:1} }
.face {
  width: 180px; height: 120px; background: #090d1a;
  border: 3px solid rgba(210,220,255,0.7); border-radius: 36px;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  box-shadow: 0 0 40px rgba(99,102,241,0.2), inset 0 0 20px rgba(99,102,241,0.04);
}
.eye {
  width: 36px; height: 52px;
  background: linear-gradient(160deg, #6ea8f7 0%, #3b82f6 50%, #1d4ed8 100%);
  border-radius: 12px;
  box-shadow: 0 0 14px rgba(59,130,246,0.6), 0 0 28px rgba(59,130,246,0.25);
  transition: all 0.5s cubic-bezier(0.34,1.4,0.64,1);
}
.face[data-emotion="neutral"]   .eye        { width:36px; height:52px; border-radius:12px; transform:rotate(0deg); opacity:1; }
.face[data-emotion="happy"]     .eye-l      { width:30px; height:50px; border-radius:10px; transform:rotate(-10deg); }
.face[data-emotion="happy"]     .eye-r      { width:30px; height:50px; border-radius:10px; transform:rotate(10deg); }
.face[data-emotion="sad"]       .eye        { width:28px; height:28px; border-radius:8px; transform:translateY(6px); }
.face[data-emotion="surprised"] .eye        { width:28px; height:64px; border-radius:14px; }
.face[data-emotion="worried"]   .eye-l      { width:26px; height:32px; border-radius:8px; transform:rotate(8deg) translateY(-2px); }
.face[data-emotion="worried"]   .eye-r      { width:26px; height:32px; border-radius:8px; transform:rotate(-8deg) translateY(-2px); }
.face[data-emotion="angry"]     .eye-l      { width:32px; height:44px; border-radius:8px; transform:rotate(-15deg); }
.face[data-emotion="angry"]     .eye-r      { width:32px; height:44px; border-radius:8px; transform:rotate(15deg); }
.face[data-emotion="scared"]    .eye        { width:48px; height:60px; border-radius:16px; }
.emotion-label {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 2px; color: rgba(129,140,248,0.45);
  text-transform: uppercase; white-space: nowrap; transition: opacity 0.3s;
}

.hero-title { font-size: 58px; font-weight: 700; letter-spacing: -2px; line-height: 1.05; margin-bottom: 20px; color: #f0f2ff; }
.hero-title span { color: #818cf8; }
.hero-sub { font-size: 20px; color: rgba(165,180,252,0.88); max-width: 500px; line-height: 1.7; margin-bottom: 40px; font-weight: 400; }
.hero-actions { display: flex; gap: 10px; justify-content: center; }
.btn-primary {
  background: #4f46e5; color: white; border: none; border-radius: 8px;
  padding: 12px 28px; font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: inherit; box-shadow: 0 0 24px rgba(79,70,229,0.35); transition: background 0.15s;
}
.btn-primary:hover { background: #4338ca; }
.btn-ghost {
  background: transparent; color: rgba(165,180,252,0.7);
  border: 1px solid rgba(99,102,241,0.2); border-radius: 8px;
  padding: 12px 28px; font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: inherit; transition: all 0.15s;
}
.btn-ghost:hover { border-color: rgba(99,102,241,0.5); color: #a5b4fc; }
.hero-lang-note { margin-top: 18px; font-size: 11px; color: rgba(165,180,252,0.28); letter-spacing: 0.5px; }

/* ── Divider ─────────────────────────────────────────── */
.divider { height: 1px; margin: 0 40px; background: linear-gradient(90deg, transparent, rgba(99,102,241,0.12), transparent); }

/* ── Section commons ─────────────────────────────────── */
.section { max-width: 1080px; margin: 0 auto; padding: 96px 40px; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: #6366f1; text-transform: uppercase; margin-bottom: 12px; }
.section-heading { font-size: 36px; font-weight: 700; letter-spacing: -0.8px; color: #f0f2ff; margin-bottom: 16px; line-height: 1.15; }
.section-body { font-size: 18px; color: rgba(165,180,252,0.82); max-width: 520px; line-height: 1.75; margin-bottom: 52px; font-weight: 400; }

/* ── Features grid ───────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.1); border-radius: 16px; overflow: hidden;
}
.feat { background: #080b14; padding: 28px 22px; transition: background 0.2s; }
.feat:hover { background: rgba(79,70,229,0.055); }
.feat-wide { grid-column: span 2; }
.feat-icon-wrap {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(79,70,229,0.12); border: 1px solid rgba(99,102,241,0.18);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feat-icon-wrap svg { width: 16px; height: 16px; stroke: #818cf8; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feat-face-mini {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(79,70,229,0.12); border: 1px solid rgba(99,102,241,0.18);
  display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 18px;
}
.eye-mini { width: 7px; height: 11px; background: #5b9cf6; border-radius: 3px; box-shadow: 0 0 4px rgba(91,156,246,0.6); }
.feat-name { font-size: 14px; font-weight: 600; color: #e0e4ff; margin-bottom: 2px; }
.feat-name-zh { font-size: 11px; color: rgba(129,140,248,0.38); margin-bottom: 10px; }
.feat-desc { font-size: 15px; color: rgba(165,180,252,0.82); line-height: 1.65; }
.emotion-strip { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.emotion-face-sm { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.face-sm { width: 48px; height: 32px; background: #090d1a; border: 1.5px solid rgba(200,210,255,0.45); border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.e-sm { background: #3b82f6; border-radius: 3px; box-shadow: 0 0 4px rgba(59,130,246,0.5); }
.emotion-name-sm { font-size: 9px; color: rgba(129,140,248,0.38); letter-spacing: 0.5px; }

/* ── About ───────────────────────────────────────────── */
.about-wrap { display: flex; gap: 72px; align-items: center; }
.about-text { flex: 1; }
.about-visual { flex: 0 0 272px; }
.about-p { font-size: 17px; color: rgba(165,180,252,0.85); line-height: 1.85; margin-bottom: 20px; }
.about-tag { display: inline-flex; align-items: center; font-size: 11px; color: rgba(99,102,241,0.7); background: rgba(79,70,229,0.08); border: 1px solid rgba(99,102,241,0.15); border-radius: 4px; padding: 4px 10px; margin-right: 6px; margin-bottom: 6px; }

/* Device mockup */
.device { background: #0e1220; border: 1px solid rgba(99,102,241,0.2); border-radius: 20px; padding: 28px 24px; box-shadow: 0 24px 64px rgba(0,0,0,0.4); }
.device-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.device-label { font-size: 9px; letter-spacing: 2px; color: rgba(129,140,248,0.45); font-weight: 600; }
.device-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(79,70,229,0.4); }
.device-face { width: 100px; height: 68px; background: #090d1a; border: 2px solid rgba(200,210,255,0.6); border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 16px; box-shadow: 0 0 20px rgba(99,102,241,0.18); }
.device-eye { width: 20px; height: 30px; background: linear-gradient(160deg, #6ea8f7 0%, #3b82f6 60%, #1d4ed8 100%); border-radius: 7px; box-shadow: 0 0 8px rgba(59,130,246,0.5); }
.device-state { font-size: 11px; color: rgba(165,180,252,0.38); text-align: center; margin-bottom: 16px; letter-spacing: 0.3px; }
.waveform { display: flex; align-items: center; justify-content: center; gap: 3px; margin-bottom: 20px; }
.wave-bar { width: 3px; border-radius: 2px; background: linear-gradient(180deg, #4f46e5, #818cf8); opacity: 0.55; }
.device-footer { font-size: 9px; color: rgba(165,180,252,0.18); text-align: center; letter-spacing: 1px; }

/* ── Collaborate ─────────────────────────────────────── */
.collab-bg { border-top: 1px solid rgba(99,102,241,0.08); background: radial-gradient(ellipse at 50% 0%, rgba(67,56,202,0.07) 0%, transparent 60%); }
.collab-header { text-align: center; max-width: 540px; margin: 0 auto 52px; }
.collab-header .section-body { margin: 0 auto; }
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 52px; }
.audience-card { background: rgba(255,255,255,0.015); border: 1px solid rgba(99,102,241,0.1); border-radius: 12px; padding: 28px 22px; }
.audience-num { font-size: 11px; font-weight: 700; color: rgba(99,102,241,0.45); letter-spacing: 1px; margin-bottom: 12px; }
.audience-title { font-size: 17px; font-weight: 600; color: #c7d2fe; margin-bottom: 10px; }
.audience-desc { font-size: 15px; color: rgba(165,180,252,0.82); line-height: 1.65; }

/* ── Contact form ────────────────────────────────────── */
.form-card { background: rgba(79,70,229,0.04); border: 1px solid rgba(99,102,241,0.12); border-radius: 16px; padding: 44px; max-width: 540px; margin: 0 auto; }
.form-heading { font-size: 20px; font-weight: 700; color: #e0e4ff; margin-bottom: 6px; text-align: center; }
.form-sub { font-size: 13px; color: rgba(165,180,252,0.68); text-align: center; margin-bottom: 30px; }
.form-row { display: flex; gap: 10px; margin-bottom: 10px; }

.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }

.field {
  flex: 1;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(99,102,241,0.14);
  border-radius: 8px; padding: 11px 13px; color: #e0e4ff;
  font-size: 13px; font-family: inherit; outline: none; transition: border-color 0.15s;
}
.field:focus { border-color: rgba(99,102,241,0.45); }
.field::placeholder { color: rgba(165,180,252,0.22); }
.field-select {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(99,102,241,0.14);
  border-radius: 8px; padding: 11px 13px; color: rgba(165,180,252,0.4);
  font-size: 13px; margin-bottom: 10px; font-family: inherit;
  appearance: none; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23818cf8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field-textarea {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(99,102,241,0.14);
  border-radius: 8px; padding: 11px 13px; color: #e0e4ff;
  font-size: 13px; height: 84px; resize: vertical;
  margin-bottom: 18px; font-family: inherit; outline: none; transition: border-color 0.15s;
}
.field-textarea:focus { border-color: rgba(99,102,241,0.45); }
.field-textarea::placeholder { color: rgba(165,180,252,0.22); }

#turnstile-container { margin-bottom: 16px; min-height: 0; }

.form-error { color: #f87171; font-size: 13px; margin-bottom: 12px; text-align: center; }
.form-success { text-align: center; color: #86efac; font-size: 15px; padding: 20px 0; }

.submit-btn {
  width: 100%; background: #4f46e5; color: white; border: none; border-radius: 8px;
  padding: 13px; font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: inherit; transition: background 0.15s; box-shadow: 0 4px 16px rgba(79,70,229,0.28);
}
.submit-btn:hover { background: #4338ca; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Footer ──────────────────────────────────────────── */
.footer { border-top: 1px solid rgba(99,102,241,0.08); padding: 28px 40px; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-size: 13px; letter-spacing: 4px; color: rgba(129,140,248,0.45); font-weight: 600; }
.footer-right { font-size: 11px; color: rgba(165,180,252,0.22); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-wide { grid-column: span 2; }
  .about-wrap { flex-direction: column-reverse; gap: 48px; }
  .about-visual { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav { padding: 10px 16px; height: auto; flex-direction: column; align-items: stretch; gap: 8px; }
  .nav-right { display: flex; align-items: center; gap: 6px; }
  .lang-switcher { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; }
  .lang-switcher::-webkit-scrollbar { display: none; }
  .lang-btn { padding: 4px 7px; font-size: 10px; }
  .hero { padding: 60px 24px 48px; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 64px 24px; }
  .section-heading { font-size: 28px; }
  .audience-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .form-row { flex-direction: column; }
  .footer { flex-direction: column; gap: 8px; text-align: center; }
  .divider { margin: 0 24px; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .feat-wide { grid-column: span 1; }
  .hero-title { font-size: 30px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 280px; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
}
