:root {
  --bg: #0b0d12;
  --bg-soft: #11141b;
  --fg: #eef0f5;
  --fg-dim: #c5cdda;
  --accent: #ff6b35;
  --accent-2: #ffd166;
  --line: #1f242e;
  --us-bg: rgba(255,107,53,0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
    "Noto Sans CJK TC", "Microsoft JhengHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.nav-links a, .logo, .cta, .footer-links a, .footer a { text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,13,18,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--fg); }
.logo-mark { color: var(--accent); font-size: 22px; }
.logo-text { font-weight: 700; font-size: 18px; }
.logo-by { color: var(--fg-dim); font-size: 13px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--fg-dim); font-size: 15px; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.nav-links .cta-mini {
  background: var(--accent); color: #0b0d12; padding: 8px 16px;
  border-radius: 6px; font-weight: 700;
}
.nav-links .cta-mini:hover { background: #ff7d4d; color: #0b0d12; }

/* Hero */
.hero { padding: 80px 0 96px; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--us-bg); padding: 6px 12px; border-radius: 4px;
  margin-bottom: 20px;
}
.hero-copy h1 { font-size: 52px; line-height: 1.15; margin: 0 0 24px; font-weight: 800; letter-spacing: -0.02em; }
.hero-copy .accent { color: var(--accent); }
.hero-copy .lede { font-size: 20px; color: var(--fg-dim); margin: 0 0 32px; }
.hero-copy strong { color: var(--fg); }

.cta-row { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.cta {
  display: inline-block; padding: 14px 28px; border-radius: 8px;
  font-weight: 600; font-size: 16px; cursor: pointer; border: none;
  transition: transform 0.1s, background 0.2s;
}
.cta:hover { transform: translateY(-1px); text-decoration: none; }
.cta-primary { background: var(--accent); color: #0b0d12; font-weight: 700; }
.cta-primary:hover { background: #ff7d4d; }
.cta-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.cta-ghost:hover { background: var(--bg-soft); }

.meta { display: flex; gap: 12px; flex-wrap: wrap; }
.meta-pill {
  background: var(--bg-soft); padding: 6px 12px; border-radius: 999px;
  font-size: 13px; color: var(--fg-dim); border: 1px solid var(--line);
}

.hero-video {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
}
.video-frame { text-align: center; }
.play-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: #0b0d12; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.video-label { color: var(--fg-dim); font-size: 14px; }

/* Sections */
section { padding: 80px 0; }
section h2 { font-size: 36px; font-weight: 800; margin: 0 0 48px; letter-spacing: -0.01em; }

/* Scenes */
.scenes { background: var(--bg-soft); }
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.scene-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s, transform 0.1s;
}
.scene-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.scene-time {
  display: inline-block; background: var(--us-bg); color: var(--accent);
  padding: 4px 10px; border-radius: 4px; font-size: 13px; font-weight: 600;
  margin-bottom: 12px;
}
.scene-card h3 { margin: 0 0 12px; font-size: 20px; }
.scene-card p { color: var(--fg-dim); font-size: 15px; margin: 0; }

/* Architecture */
.arch-lede { color: var(--fg-dim); font-size: 17px; margin: -32px 0 32px; max-width: 720px; }
.arch-diagram {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px 28px; font-family: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace;
  font-size: 14px; line-height: 1.65; color: var(--fg); overflow-x: auto;
  white-space: pre; margin: 0 0 32px;
}
.arch-bullets {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.arch-bullet {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; color: var(--fg-dim); font-size: 15px; line-height: 1.6;
}
.arch-bullet strong { color: var(--accent); font-weight: 600; }

@media (max-width: 768px) {
  .arch-bullets { grid-template-columns: 1fr; }
  .arch-diagram { font-size: 11px; padding: 16px; }
}

/* Vs */
.vs-table-wrap { overflow-x: auto; }
.vs-table { width: 100%; border-collapse: collapse; }
.vs-table th, .vs-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line);
}
.vs-table th { font-weight: 600; color: var(--fg-dim); font-size: 14px; }
.vs-table th.us, .vs-table td.us { background: var(--us-bg); color: var(--fg); }
.vs-table th.us { color: var(--accent); }
.vs-note { color: var(--fg-dim); margin-top: 16px; font-size: 14px; }

/* Pilot */
.pilot { background: var(--bg-soft); }
.pilot-header { text-align: center; margin-bottom: 48px; }
.pilot-header p { color: var(--fg-dim); }
.pilot-form {
  max-width: 600px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 32px;
}
.field { margin-bottom: 20px; }
.field label, .field legend {
  display: block; margin-bottom: 8px; font-weight: 500; font-size: 15px;
}
.field .req { color: var(--accent); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 6px;
  background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--fg); font-size: 15px; font-family: inherit;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field-radio { border: none; padding: 0; margin: 0 0 20px; }
.field-radio label {
  display: inline-flex; align-items: center; gap: 6px;
  margin-right: 16px; font-weight: normal; cursor: pointer;
}
.field textarea { resize: vertical; min-height: 100px; }
.cta-submit { width: 100%; margin-top: 8px; }
.form-tos { font-size: 12px; color: var(--fg-dim); margin: 12px 0 0; text-align: center; }
.form-tos a { color: var(--fg-dim); }
.form-status { margin-top: 16px; min-height: 24px; font-size: 14px; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #ff6b6b; }

.pilot-success {
  max-width: 600px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--accent); border-radius: 12px;
  padding: 48px 32px; text-align: center;
}
.pilot-success h3 { color: var(--accent); margin: 0 0 16px; font-size: 28px; }
.pilot-success p { color: var(--fg-dim); margin: 0; line-height: 1.7; }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--line); color: var(--fg-dim); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--fg-dim); }
.footer-links a:hover { color: var(--fg); }

/* Responsive */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy h1 { font-size: 36px; }
  .scene-grid { grid-template-columns: 1fr 1fr; }
  section h2 { font-size: 28px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 14px; }
}
@media (max-width: 480px) {
  .scene-grid { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; gap: 12px; }
}
