:root {
  --brand: #0033cc;
  --brand-dark: #001a66;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --card: #ffffff;
  --code-bg: #1e293b;
  --code-fg: #e2e8f0;
}
* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text); margin: 0; background: var(--bg); line-height: 1.55;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.nav {
  background: white; border-bottom: 1px solid var(--border);
  padding: 14px 24px; display: flex; align-items: center; justify-content: space-between;
}
.nav .brand-name { font-weight: 700; color: #0033cc; font-size: 1.05rem; letter-spacing: -0.3px; }
.nav .brand-name span { color: #00bcd4; }
.nav .menu a { margin-left: 18px; color: var(--text); font-size: 0.92rem; }
.crumb {
  max-width: 1100px; margin: 0 auto; padding: 16px 24px 0;
  font-size: 0.85rem; color: var(--muted);
}
.crumb a { color: var(--muted); }
.crumb .sep { margin: 0 6px; opacity: 0.5; }
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white; padding: 56px 24px; text-align: center;
  margin: 16px 24px 0; max-width: 1100px; margin-left: auto; margin-right: auto;
  border-radius: 12px;
}
.hero h1 { margin: 0 0 12px; font-size: 2.6rem; letter-spacing: -0.8px; font-weight: 800; }
.hero .tagline { margin: 0 auto 22px; font-size: 1.08rem; opacity: 0.95; max-width: 680px; }
.hero .cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .btn {
  background: white; color: var(--brand);
  padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.hero .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,0.15); text-decoration: none; }
.hero .btn.ghost { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.6); }
.hero .tier {
  display: inline-block; font-size: 0.72rem; padding: 3px 10px; border-radius: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  vertical-align: middle; margin-left: 10px;
  background: rgba(255,255,255,0.22); color: white;
}
main { max-width: 1100px; margin: 32px auto; padding: 0 24px; }
.section { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 24px 28px; margin-bottom: 20px; }
.section h2 { margin: 0 0 16px; font-size: 1.25rem; color: var(--text); }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 24px; }
.spec { display: flex; flex-direction: column; gap: 4px; }
.spec .lbl { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.spec .val { font-size: 0.96rem; color: var(--text); word-break: break-word; }
.spec code { background: #f3f4f6; padding: 1px 6px; border-radius: 4px; font-size: 0.86rem; }
pre.code {
  background: var(--code-bg); color: var(--code-fg);
  padding: 16px 18px; border-radius: 8px; overflow-x: auto;
  font-family: "SF Mono", "Menlo", "Consolas", monospace; font-size: 0.85rem;
  line-height: 1.5; margin: 0;
}
.screenshot-frame {
  max-width: 500px; margin: 0 auto;
  border-radius: 10px; padding: 6px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 18px 38px -12px rgba(15,23,42,0.25);
}
.screenshot {
  width: 100%; border-radius: 6px;
  display: block; background: var(--bg);
  aspect-ratio: 16/10; object-fit: cover; object-position: top center;
}
.screenshot-caption { color: var(--muted); font-size: 0.8rem; margin: 12px auto 0; text-align: center; max-width: 500px; }
.long-desc { font-size: 0.96rem; color: var(--text); line-height: 1.65; }
.long-desc h3 { font-size: 1.02rem; margin: 22px 0 8px; color: var(--brand); font-weight: 700; }
.long-desc h3:first-child { margin-top: 0; }
.long-desc p { margin: 0 0 12px; }
.long-desc ul { margin: 0 0 12px; padding-left: 22px; }
.long-desc li { margin-bottom: 6px; }
.long-desc strong { color: var(--text); font-weight: 700; }
.long-desc code { background: #f3f4f6; padding: 1px 6px; border-radius: 4px; font-size: 0.86em; font-family: "SF Mono","Menlo","Consolas",monospace; }
.links { display: flex; flex-direction: column; gap: 8px; }
.link-row { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.link-row:last-child { border-bottom: none; }
.link-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; min-width: 130px; }
.link-row a { font-size: 0.95rem; color: var(--brand); word-break: break-all; }
footer {
  text-align: center; padding: 32px 16px; color: var(--muted); font-size: 0.85rem;
  border-top: 1px solid var(--border); margin-top: 32px; background: white;
}
footer a { color: var(--brand); }
.tag {
  display: inline-block; background: #f3f4f6; padding: 2px 9px; border-radius: 10px;
  font-size: 0.78rem; color: var(--text); margin: 0 4px 4px 0;
}
/* ── Overview index ── */
.overview-hero {
  background: linear-gradient(135deg, #0033cc 0%, #00bcd4 100%);
  box-shadow: 0 18px 38px -10px rgba(0, 51, 204, 0.32);
}
.overview .stats { display: flex; gap: 18px; justify-content: center; margin: 18px 0 28px; flex-wrap: wrap; }
.overview .stats .stat { background: rgba(255,255,255,0.18); padding: 10px 16px; border-radius: 8px; min-width: 110px; text-align: center; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.18); }
.overview .stats .stat .num { display: block; font-size: 1.55rem; font-weight: 700; }
.overview .stats .stat .lbl { font-size: 0.76rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.05em; }
.cat-block {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  padding: 26px 28px 30px; margin-bottom: 26px;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.06);
  transition: box-shadow .25s;
}
.cat-block:hover { box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.12); }
.cat-block h3 {
  margin: 0 0 18px; font-size: 1.3rem; padding: 0 0 14px;
  border-bottom: 2px solid #FF5C0033;
  display: flex; align-items: center; gap: 10px; font-weight: 700;
  color: #FF5C00;
}
.cat-block h3 .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #FF5C00 0%, #FF9248 100%);
  font-size: 1.1rem;
  box-shadow: 0 3px 8px -2px rgba(255,92,0,0.35);
}
.cat-block h3 .count {
  color: var(--muted); font-weight: 500; font-size: 0.78rem;
  margin-left: auto; padding: 4px 10px; background: var(--bg);
  border-radius: 12px; letter-spacing: 0.02em;
}
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.app-card-wrap {
  background: white; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px -6px rgba(15, 23, 42, 0.08);
  transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column;
}
.app-card-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,51,204,0.08), 0 14px 28px -6px rgba(0,51,204,0.22);
  border-color: #0033cc;
}
.app-card {
  padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 9px;
  text-decoration: none; color: inherit; flex: 1;
}
.app-card:hover { text-decoration: none; }
.app-card .head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.app-card .name {
  color: #00B8D9; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.2px;
  position: relative;
}
.app-card-wrap:hover .app-card .name::after {
  content: ' →'; position: absolute; margin-left: 6px;
  animation: nudge .6s ease-in-out infinite alternate;
}
@keyframes nudge { from { transform: translateX(0); } to { transform: translateX(3px); } }
.app-card .tier-pill {
  font-size: 0.66rem; padding: 3px 9px; border-radius: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0;
}
.app-card .tier-pill.free { background: #dcfce7; color: #166534; }
.app-card .tier-pill.pro  { background: #fef3c7; color: #854d0e; }
.app-card .desc { color: #374151; font-size: 0.86rem; flex: 1; line-height: 1.5; }
.app-card-wrap .alts {
  padding: 10px 18px 12px; background: #f9fafb;
  border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--muted);
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px;
}
.app-card-wrap .alts .lbl { font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.7rem; }
.app-card-wrap .alts a { color: #0033cc; text-decoration: none; font-weight: 500; }
.app-card-wrap .alts a:hover { text-decoration: underline; }
.app-card-wrap .alts .sep { color: var(--border); }
/* Card stagger entrance — subtle fade-in delayed by index */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.app-card-wrap { animation: fadeInUp .35s ease-out backwards; }
.app-grid .app-card-wrap:nth-child(1)  { animation-delay: 0.00s; }
.app-grid .app-card-wrap:nth-child(2)  { animation-delay: 0.03s; }
.app-grid .app-card-wrap:nth-child(3)  { animation-delay: 0.06s; }
.app-grid .app-card-wrap:nth-child(4)  { animation-delay: 0.09s; }
.app-grid .app-card-wrap:nth-child(5)  { animation-delay: 0.12s; }
.app-grid .app-card-wrap:nth-child(6)  { animation-delay: 0.15s; }
.app-grid .app-card-wrap:nth-child(n+7) { animation-delay: 0.18s; }
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e5e7eb; --muted: #9ca3af; --border: #374151;
    --bg: #0f172a; --card: #1e293b;
  }
  .nav, footer, .cat-block h3, .app-card { background: #1e293b; }
  .spec code { background: #374151; color: var(--code-fg); }
  .tag { background: #374151; color: #e5e7eb; }
  .app-card .desc { color: #d1d5db; }
  .app-card .tier-pill.free { background: #064e3b; color: #6ee7b7; }
  .app-card .tier-pill.pro  { background: #78350f; color: #fcd34d; }
  .screenshot { background: #0f172a; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 18px; margin: 12px 12px 0; }
  .hero h1 { font-size: 1.9rem; }
  main { padding: 0 14px; }
  .section { padding: 18px 18px; }
}

/* ==== merged from style.home.css ==== */
/* ============ home (bluix.app/) — hybrid premium-tech ============ */
.home-hero {
  background: radial-gradient(ellipse at top left, rgba(0,188,212,0.10), transparent 60%),
              linear-gradient(135deg, #0a1538 0%, #001a66 55%, #04194a 100%);
  color: white; padding: 80px 24px 64px; margin: 16px auto 0;
  max-width: 1100px; border-radius: 14px; position: relative; overflow: hidden;
}
.home-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(0,188,212,0.15), transparent 50%);
  pointer-events: none;
}
.home-hero .inner { position: relative; max-width: 880px; margin: 0 auto; }
.home-hero .eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #5eead4; padding: 5px 12px; border-radius: 20px;
  background: rgba(94,234,212,0.10); border: 1px solid rgba(94,234,212,0.30);
  margin-bottom: 18px;
}
.home-hero h1 {
  font-size: 3.0rem; font-weight: 800; letter-spacing: -1.0px; line-height: 1.08;
  margin: 0 0 18px;
  background: linear-gradient(135deg, #ffffff 0%, #b8d4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-hero .lede {
  font-size: 1.15rem; opacity: 0.88; max-width: 640px; margin: 0 0 32px;
  line-height: 1.55; color: #cbd5e1;
}
.home-terminal {
  background: #060818; border: 1px solid rgba(94,234,212,0.20); border-radius: 10px;
  font-family: "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;
  font-size: 0.9rem; padding: 0; margin: 0 0 30px; overflow: hidden;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.5);
}
.home-terminal .term-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.home-terminal .term-head .dot { width: 11px; height: 11px; border-radius: 50%; background: #374151; }
.home-terminal .term-head .dot.r { background: #ef4444; }
.home-terminal .term-head .dot.y { background: #f59e0b; }
.home-terminal .term-head .dot.g { background: #22c55e; }
.home-terminal .term-head .title { margin-left: 10px; font-size: 0.75rem; color: #94a3b8; }
.home-terminal pre { margin: 0; padding: 18px 20px; color: #e2e8f0; line-height: 1.7; overflow-x: auto; background: transparent; }
.home-terminal .prompt { color: #5eead4; user-select: none; }
.home-terminal .cmd { color: #f8fafc; }
.home-terminal .arg { color: #fbbf24; }
.home-terminal .ok { color: #22c55e; }
.home-terminal .muted { color: #64748b; }
.home-hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.home-hero .btn-primary {
  background: linear-gradient(135deg, #00bcd4 0%, #0066ff 100%);
  color: white; padding: 13px 26px; border-radius: 8px; font-weight: 600;
  font-size: 0.98rem; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, box-shadow .15s; text-decoration: none;
}
.home-hero .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,188,212,0.30); text-decoration: none; }
.home-hero .btn-ghost {
  background: rgba(255,255,255,0.06); color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 13px 24px; border-radius: 8px; font-weight: 500;
  font-size: 0.98rem; display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s, border-color .15s; text-decoration: none;
}
.home-hero .btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.30); text-decoration: none; }
.home-stats {
  max-width: 1100px; margin: 28px auto 0; padding: 0 24px;
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  font-size: 0.88rem; color: var(--muted);
}
.home-stats span { display: inline-flex; align-items: center; gap: 7px; }
.home-stats span::before { content: '●'; color: #00bcd4; font-size: 0.7rem; }
.home-features {
  max-width: 1100px; margin: 56px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px;
}
.home-feature {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.home-feature:hover { transform: translateY(-2px); border-color: #00bcd4; box-shadow: 0 12px 30px -16px rgba(0,51,204,0.20); }
.home-feature .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,188,212,0.12), rgba(0,51,204,0.12));
  color: #0066ff; font-size: 1.3rem; margin-bottom: 14px;
}
.home-feature h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.home-feature p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.home-section { max-width: 1100px; margin: 64px auto 0; padding: 0 24px; }
.home-section h2 { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 8px; color: var(--text); }
.home-section .sub { color: var(--muted); margin: 0 0 24px; font-size: 1rem; }
.home-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.home-cat {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 18px; color: var(--text); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.home-cat:hover { border-color: #00bcd4; transform: translateY(-1px); text-decoration: none; }
.home-cat .ico { font-size: 1.4rem; }
.home-cat .cnt { margin-left: auto; color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.home-cta {
  max-width: 1100px; margin: 72px auto; padding: 44px 28px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 14px; color: white; text-align: center;
  position: relative; overflow: hidden;
}
.home-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0,188,212,0.18), transparent 50%);
  pointer-events: none;
}
.home-cta > * { position: relative; }
.home-cta h2 { margin: 0 0 10px; font-size: 1.8rem; letter-spacing: -0.4px; }
.home-cta p { margin: 0 auto 22px; max-width: 540px; opacity: 0.92; }
.home-cta .btn-primary {
  background: white; color: var(--brand);
  padding: 13px 28px; border-radius: 8px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.home-cta .btn-primary:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.20); }
.home-foot {
  max-width: 1100px; margin: 24px auto 48px; padding: 0 24px;
  color: var(--muted); font-size: 0.86rem; text-align: center;
}
.home-foot a { color: var(--muted); }
.home-foot a:hover { color: var(--brand); }
@media (max-width: 640px) {
  .home-hero { padding: 56px 18px 44px; margin: 12px 12px 0; }
  .home-hero h1 { font-size: 2.1rem; }
  .home-hero .lede { font-size: 1rem; }
  .home-section h2 { font-size: 1.4rem; }
}
@media (prefers-color-scheme: dark) {
  .home-feature { background: #1f2937; }
  .home-feature p { color: #9ca3af; }
  .home-cat { background: #1f2937; color: #e5e7eb; }
  .home-cat .cnt { color: #9ca3af; }
}
