/* Pulsar Software - pulsarsoftware.xyz */
:root {
  --bg: #08090D;
  --bg-2: #0D0F15;
  --panel: #12151D;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #F4F5F8;
  --muted: #9AA2B3;
  --dim: #6B7385;
  --red: #E5383B;
  --red-2: #C92F32;
  --blue: #3A86FF;
  --green: #2FBF71;
  --amber: #F5A524;
  --white: #FFFFFF;
  --night: #050608;
  --radius: 10px;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --display: "Geist", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); color: #000; padding: 8px 14px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 8px; font-weight: 600; font-size: 0.92rem; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 1rem; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-2); }
.btn-line { border-color: var(--line-2); color: var(--text); }
.btn-line:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.04); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(8, 9, 13, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.25s, background 0.25s; }
.nav.scrolled { border-color: var(--line); background: rgba(8, 9, 13, 0.85); }
.nav-row { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; }
.brand em { font-style: normal; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 26px; margin-right: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; margin-left: auto; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 5px auto; transition: transform 0.25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 104px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 80%); opacity: 0.6; }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero-bg .glow.r { width: 720px; height: 720px; right: -220px; top: -320px; background: radial-gradient(circle, rgba(229, 56, 59, 0.22), transparent 65%); }
.hero-bg .glow.b { width: 640px; height: 640px; left: -260px; bottom: -360px; background: radial-gradient(circle, rgba(58, 134, 255, 0.16), transparent 65%); }
.hero-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px 6px 12px; margin-bottom: 26px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.45); } 70% { box-shadow: 0 0 0 8px rgba(47, 191, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0); } }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 800; letter-spacing: -0.04em; max-width: 14ch; }
.lede { margin-top: 22px; font-size: 1.12rem; color: var(--muted); max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 0.9rem; color: var(--dim); }
.hero-facts li { position: relative; padding-left: 16px; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 2px; background: var(--red); }
.hero-facts b { color: var(--text); font-weight: 600; }
.hero-shot { position: relative; }
.hero-radio { position: absolute; width: 24%; right: -4%; bottom: -14%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }

/* ---------- frames ---------- */
.frame { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #0F1218; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2A2F3A; }
.frame-bar span { margin-left: 10px; font-family: var(--mono); font-size: 0.72rem; color: var(--dim); }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.kicker { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 750; }
.sec-lede { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 58ch; }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.product { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 32px; transition: border-color 0.25s, transform 0.25s; }
.product:hover { border-color: var(--line-2); }
.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.product-url { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); }
.product h3 { font-size: 1.7rem; font-weight: 750; }
.product > p { margin-top: 12px; color: var(--muted); }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; border: 1px solid; }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.live { color: var(--green); border-color: rgba(47, 191, 113, 0.35); background: rgba(47, 191, 113, 0.08); }
.tag.dev { color: var(--amber); border-color: rgba(245, 165, 36, 0.35); background: rgba(245, 165, 36, 0.08); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: #CDD2DC; font-size: 0.95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 15px; height: 15px; border-radius: 4px; background: rgba(229, 56, 59, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.4L12 5.4' fill='none' stroke='%23E5383B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ticks.small li { font-size: 0.92rem; }
.product.soon { background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent), var(--panel); }
.soon-box { margin-top: 26px; padding: 18px; border: 1px dashed var(--line-2); border-radius: 10px; }
.soon-box .mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); margin: 10px 0 12px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--amber); border-radius: inherit; }
.soon-box p { font-size: 0.9rem; color: var(--muted); }

/* ---------- features ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 104px; }
.feature.flip .feature-copy { order: 2; }
.num { display: inline-block; font-family: var(--mono); font-size: 0.8rem; color: var(--dim); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; margin-bottom: 18px; }
.feature h3 { font-size: 1.75rem; font-weight: 750; }
.feature-copy > p { margin-top: 14px; color: var(--muted); }
.radio-stage { display: grid; place-items: center; min-height: 420px; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(circle at 50% 45%, rgba(58, 134, 255, 0.12), transparent 60%), var(--panel); }
.radio-stage img { width: 170px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }

/* ---------- status ---------- */
.status { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.status-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); background: #0F1218; font-weight: 600; font-size: 0.92rem; }
.status-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; }
.status-row + .status-row { border-top: 1px solid var(--line); }
.status-row b { display: block; font-weight: 600; }
.status-row span { display: block; color: var(--dim); font-size: 0.88rem; margin-top: 2px; }
.status em, .status-head .ok { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status .ok { color: var(--green); }
.status .dev { color: var(--amber); }

/* ---------- company ---------- */
.company { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.company .sec-lede + .sec-lede { margin-top: 14px; }
.facts { margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { color: var(--dim); font-size: 0.9rem; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.facts a:hover { border-color: var(--red); }

/* ---------- community ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at 100% 0%, rgba(229, 56, 59, 0.14), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(58, 134, 255, 0.1), transparent 55%), var(--panel); }
.cta-discord { margin-top: 26px; }
.cta-discord svg { width: 20px; height: 20px; }
.socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.socials a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.92rem; background: rgba(255, 255, 255, 0.02); transition: border-color 0.2s, background 0.2s; }
.socials a:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.05); }
.socials svg { width: 18px; height: 18px; color: var(--muted); flex: none; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.footer::before { content: ""; display: block; height: 10px; background: linear-gradient(var(--red) 0 4px, var(--white) 4px 6px, var(--blue) 6px); }
.footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 28px; padding: 56px 0 44px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; }
.footer-logo img { width: 48px; height: 48px; }
.footer-logo span { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--white); line-height: 1.1; letter-spacing: -0.02em; }
.footer .footer-logo:hover { text-decoration: none; }
.footer-brand p { margin: 16px 0 0; max-width: 38ch; line-height: 1.55; font-size: 0.92rem; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-family: var(--body); font-size: 1rem; font-weight: 700; color: var(--red); margin: 4px 0 6px; letter-spacing: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-copy { line-height: 1.5; font-size: 0.9rem; }
.footer-note { display: block; font-size: 0.82rem; opacity: 0.75; margin-top: 2px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); color: rgba(255, 255, 255, 0.8); }
.footer-social a:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.footer-social svg { width: 22px; height: 22px; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-row, .feature, .company, .cta { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .hero-radio { width: 20%; right: 2%; }
  .products { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 8px 20px 20px; background: rgba(8, 9, 13, 0.97); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap { width: min(1180px, 100% - 32px); }
  .hero { padding: 56px 0 80px; }
  .section { padding: 80px 0; }
  .product, .cta { padding: 24px; }
  .socials { grid-template-columns: 1fr 1fr; }
  .feature + .feature { margin-top: 72px; }
  .radio-stage { min-height: 340px; }
  .hero-radio { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
