/* Bitwise Software — 2026 */
:root {
  --bg: #0a0d1a;
  --bg-2: #10142a;
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f8;
  --muted: #9aa1b9;
  --faint: #6b7290;
  --cyan: #2ee6d6;
  --pink: #ff3d8b;
  --orange: #ff8a3d;
  --violet: #8b5cf6;
  --radius: 22px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Ambient glow from the logo colors */
.glow {
  position: absolute; inset: 0 0 auto 0; height: 900px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(46, 230, 214, 0.14), transparent 70%),
    radial-gradient(500px 380px at 80% 0%, rgba(255, 61, 139, 0.14), transparent 70%),
    radial-gradient(500px 360px at 60% 45%, rgba(255, 138, 61, 0.08), transparent 70%);
}
main, .footer, .nav { position: relative; z-index: 1; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(10, 13, 26, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 17px; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { color: var(--text) !important; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; }
.nav-cta:hover { background: var(--card-hover); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--card-hover); }
.btn-small { padding: 9px 16px; font-size: 14px; background: var(--text); color: var(--bg); }

/* Hero */
.hero { padding: 96px 24px 72px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 96px; height: 96px; border-radius: 24px; margin-bottom: 28px; box-shadow: 0 20px 60px -10px rgba(255, 61, 139, 0.35), 0 0 0 1px var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 700; max-width: 900px; }
.grad {
  background: linear-gradient(90deg, var(--cyan), var(--violet) 45%, var(--pink) 75%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 24px; max-width: 620px; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }


/* Sections */
.section { padding: 80px 24px; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 44px); margin-top: 10px; }
.section-sub { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 560px; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-live { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); animation: pulse 2.4s ease-in-out infinite; }
.dot-acq { background: var(--cyan); box-shadow: 0 0 0 4px rgba(46, 230, 214, 0.15); }
.dot-sun { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.15); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.05); } }

.grid { display: grid; gap: 20px; }
.grid-live { grid-template-columns: repeat(3, 1fr); }
.grid-acq { grid-template-columns: repeat(2, 1fr); }
.grid-sun { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.card:hover { background: var(--card-hover); border-color: var(--line-strong); }
.card h3 { font-size: 22px; font-weight: 600; }
.card p { color: var(--muted); font-size: 15px; }

.icon { border-radius: 22.5%; flex-shrink: 0; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line); }

/* Live cards */
.card-live { display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.card-live::before {
  content: ""; position: absolute; inset: -40% -40% auto auto; width: 260px; height: 260px;
  background: radial-gradient(circle, var(--accent), transparent 65%); opacity: .14; pointer-events: none;
  transition: opacity .3s ease;
}
.card-live:hover { transform: translateY(-4px); }
.card-live:hover::before { opacity: .24; }
.card-live .icon { width: 88px; height: 88px; }
.card-live .tagline { color: var(--text); font-weight: 500; margin: 6px 0 12px; font-size: 15px; }
.card-body { flex: 1; }
.card-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.link-store { font-size: 14px; color: var(--muted); font-weight: 500; }
.link-store:hover { color: var(--text); }

/* Acquired cards */
.card-acq { display: flex; flex-direction: column; gap: 18px; }
.acq-top { display: flex; align-items: center; gap: 18px; }
.card-acq .icon { width: 72px; height: 72px; }
.years { margin-top: 6px !important; font-size: 14px !important; color: var(--faint) !important; font-variant-numeric: tabular-nums; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); }
.tag-yc { background: rgba(255, 102, 0, 0.12); border-color: rgba(255, 102, 0, 0.45); color: #ffb27a; }
.link-more { margin-top: auto; font-size: 14px; font-weight: 500; color: var(--cyan); }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sunset cards */
.card-sun { display: flex; gap: 18px; align-items: flex-start; padding: 22px; }
.card-sun .icon { width: 56px; height: 56px; filter: grayscale(0.55); opacity: .9; transition: filter .3s ease; }
.card-sun:hover .icon { filter: none; }
.card-sun h3 { font-size: 18px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-sun p { font-size: 14px; }
.icon-gen { display: grid; place-items: center; color: #fff; }
.icon-gen svg { width: 28px; height: 28px; }
.icon-files { background: linear-gradient(145deg, #3a8dde, #2a4fb8); }
.year-chip { font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--muted); border: 1px solid var(--line-strong); padding: 1px 8px; border-radius: 999px; letter-spacing: 0; }

/* Story */
.story {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px;
  padding: 48px; border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(46, 230, 214, 0.06), rgba(139, 92, 246, 0.05) 50%, rgba(255, 61, 139, 0.06));
}
.story h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 10px; }
.story-points { display: grid; gap: 28px; }
.story-points h3 { font-size: 18px; margin-bottom: 6px; }
.story-points p { color: var(--muted); }

/* Contact */
.contact { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.contact h2 { font-size: clamp(34px, 5vw, 52px); }
.contact p { color: var(--muted); font-size: 17px; margin-bottom: 12px; max-width: 480px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--faint); font-size: 14px; }
.brand-small { font-size: 15px; }
.brand-small img { border-radius: 6px; }

/* Responsive */
@media (max-width: 960px) {
  .grid-live, .grid-sun { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; padding: 36px; gap: 28px; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 64px 16px 48px; }
  .lede { font-size: 17px; }
  .section { padding: 56px 16px; }
  .grid-live, .grid-acq, .grid-sun { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .story { padding: 28px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before { animation: none !important; transition: none !important; }
}
