@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700&family=Nunito:wght@600;700;800&display=swap');

:root {
  color-scheme: dark;
  font-family: 'Noto Sans TC', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #dce4f0;
  background: #0d111a;
  font-size: 15px;
  --glass: 0.65;
  --glass-blur: 18px;
  --glass-bar-blur: 15px;
  --glass-sat: 147%;
  --win-radius: 16px;
  --conv-radius: 13px;
  --cap-radius: 999px;
  --rim-top: 0.26;
  --rim-bot: 0.13;
  --bg: #0d111a;
  --panel: #131a26;
  --panel-elevated: #192335;
  --ink: #dce4f0;
  --heading: #eef4fc;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --blue: #58a6ff;
  --red: #c8402f;
  --gold: #c9a45c;
  --emerald: #4fb38d;
  --muted: #7e8ca3;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(142, 164, 196, 0.26) transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 480px at 16% -8%, rgba(88, 166, 255, 0.13), transparent 65%),
    radial-gradient(760px 420px at 86% 6%, rgba(200, 64, 47, 0.10), transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.14s, background 0.14s, border-color 0.14s;
}

a:hover {
  color: #8ec5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, h3, .brand > span {
  font-family: 'Nunito', 'Noto Sans TC', 'Segoe UI', sans-serif;
  color: var(--heading);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
}

/* Top Liquid Glass Navbar (matches Orlu sidebar/header bar) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 18, 28, 0.78);
  backdrop-filter: blur(var(--glass-bar-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-bar-blur)) saturate(var(--glass-sat));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.nav-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none !important;
  color: var(--heading);
}

.brand .logo-mark {
  flex: none;
}

.logo-a { stroke: #dce4f0; }
.logo-b { stroke: #c8402f; }
.logo-af { fill: #dce4f0; }
.logo-bf { fill: #c8402f; }
.logo-c { fill: #c9a45c; }

.brand > span {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.3px;
  line-height: 1.1;
  color: #eef4fc;
}

.brand small {
  display: block;
  color: var(--muted);
  font-family: 'Noto Sans TC', 'Segoe UI', sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.3px;
  margin-top: 4px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  color: #c8d4e6;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--cap-radius);
  border: 1px solid transparent;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  background: rgba(88, 166, 255, 0.16);
  border-color: rgba(88, 166, 255, 0.38);
  color: #f2f7ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

main {
  flex: 1;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

/* Hero & Liquid Glass Window Card */
.hero {
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--blue);
  border-radius: var(--win-radius);
  background: rgba(29, 40, 59, 0.72);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, var(--rim-top)),
    inset 0 -1px 0 rgba(255, 255, 255, var(--rim-bot));
  padding: 38px 36px;
  margin-bottom: 36px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin: 8px 0 16px;
  line-height: 1.2;
}

.hero p.lead {
  font-size: 16px;
  line-height: 1.85;
  color: #9eb0c9;
  max-width: 760px;
  margin: 0 0 26px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--cap-radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid #58a6ff;
  background: #243856;
  color: #f2f7ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: background 0.14s, border-color 0.14s, transform 0.12s;
}

.btn:hover {
  background: #2d466b;
  color: #fff;
}

.btn.accent-red {
  background: #c8402f;
  border-color: #d85140;
  color: #fff;
}

.btn.accent-red:hover {
  background: #d94836;
}

.btn.secondary {
  background: rgba(35, 48, 71, 0.72);
  border-color: var(--line-strong);
  color: #dce4f0;
}

.btn.secondary:hover {
  background: rgba(48, 65, 94, 0.85);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* Provider Badges (matches Orlu home screen provider-grid) */
.provider-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.provider-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 8px;
  border-radius: 12px;
  background: rgba(19, 26, 38, 0.78);
  border: 1px solid var(--line-strong);
  font-size: 12px;
  color: #dce4f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.provider-logo {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 8px;
  background: #1e2b40;
  color: #9ec5ff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.provider-logo.claude { background: #2d211c; color: #e5996f; }
.provider-logo.gemini { background: #1b2842; color: #7fb0ff; }
.provider-logo.antigravity { background: #192c36; color: #62d0e8; }
.provider-logo.muse { background: #281e3b; color: #c296e8; }
.provider-logo.grok { background: #1c222e; color: #e5ecf6; }
.provider-logo.manus { background: #26211b; color: #dfc082; font-size: 11px; }

/* Feature Grid Cards (matches .provider-card & .conversation-window) */
.section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 12px 0 18px;
}

.download-section {
  margin-bottom: 42px;
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.download-card.primary-download {
  border-left: 3px solid var(--red);
  background: rgba(34, 46, 68, 0.78);
}

.download-card code,
.doc-card code {
  font-family: Consolas, monospace;
  font-size: 12.5px;
  background: rgba(88, 166, 255, 0.14);
  color: #a8d1ff;
  padding: 2px 6px;
  border-radius: 5px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.download-meta {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
  gap: 16px;
  margin: 18px 0 36px;
}

.card {
  border: 1px solid var(--line-strong);
  border-radius: var(--win-radius);
  background: rgba(29, 40, 59, 0.68);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, var(--rim-top)),
    0 12px 32px rgba(0, 0, 0, 0.36);
  padding: 24px 22px;
}

.card h2, .card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #eef4fc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h3::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

.card p {
  margin: 0;
  font-size: 13.5px;
  color: #9eb0c9;
  line-height: 1.8;
}

/* Document / Policy Window Card (matches .project-window) */
.doc-card {
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--blue);
  border-radius: var(--win-radius);
  background: rgba(25, 35, 53, 0.78);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, var(--rim-top)),
    inset 0 -1px 0 rgba(255, 255, 255, var(--rim-bot));
  padding: 36px 38px;
}

.doc-card h1 {
  margin: 4px 0 8px;
  font-size: 30px;
  letter-spacing: -0.5px;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.doc-card p, .doc-card li {
  font-size: 14px;
  color: #dce4f0;
  line-height: 1.85;
}

.doc-card ol, .doc-card ul {
  padding-left: 22px;
}

.doc-card li {
  margin-bottom: 10px;
}

.doc-card strong {
  color: #eef4fc;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 26px;
  background: rgba(16, 23, 36, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13.5px;
}

th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: rgba(34, 47, 70, 0.65);
  color: #eef4fc;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}

.notice-box {
  padding: 18px 22px;
  border-radius: 12px;
  background: #141d2b;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold);
  color: #b8c7dc;
  font-size: 13.5px;
  line-height: 1.85;
  margin: 22px 0 0;
}

.notice-box strong {
  color: #dfc082;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  background: rgba(79, 179, 141, 0.16);
  color: #75d5b0;
  border: 1px solid rgba(79, 179, 141, 0.34);
  padding: 2px 9px;
  border-radius: var(--cap-radius);
  margin-left: 6px;
}

/* Footer (matches Orlu usage bar / bottom bar aesthetic) */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 15, 24, 0.88);
  backdrop-filter: blur(var(--glass-bar-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-bar-blur)) saturate(var(--glass-sat));
  padding: 26px 24px;
  color: var(--muted);
  font-size: 12.5px;
}

.footer-wrap {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #9eb0c9;
  text-decoration: none;
}

.footer-links a:hover {
  color: #eef4fc;
}

@media (max-width: 720px) {
  .hero, .doc-card {
    padding: 24px 20px;
  }
  .nav-wrap {
    padding: 12px 16px;
  }
  main {
    padding: 28px 16px 52px;
  }
}
