/* PulseMyHobby marketing site — shared styles */

:root {
  --bg: #00020c;
  --bg-elevated: #070d1c;
  --bg-elevated-2: #0c1428;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(120, 170, 255, 0.28);
  --blue: #1a86ff;
  --blue-bright: #4db2ff;
  --blue-dim: #0f5fc2;
  --steel: #aab4c2;
  --text: #eef2f8;
  --text-dim: #9aa3b2;
  --glow: rgba(30, 140, 255, 0.28);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--text-dim);
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: var(--text-dim);
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 2, 12, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

/* Pulse (steel) / MyHobby (blue) - same split as the body/hero logo and the
   web app's nav wordmark (see public/styles.css .nav-wordmark). */
.brand .word-pulse {
  color: var(--steel);
}

.brand .word-my,
.brand .word-hobby {
  color: var(--blue-bright);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 19px;
}

.main-nav a {
  color: var(--text-dim);
  font-size: 0.89rem;
  font-weight: 500;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

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

.nav-cta .btn {
  padding: 10px 18px;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: flex;
  }

  .nav-panel {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }

  .nav-panel.open {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 16px;
  }

  .nav-cta .btn {
    width: 100%;
    padding: 12px 22px;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-dim));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(77, 178, 255, 0.35), 0 8px 24px -8px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(77, 178, 255, 0.5), 0 12px 28px -8px var(--glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(120, 170, 255, 0.08);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 72px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: min(420px, 78vw);
  height: auto;
  margin: 0 auto 28px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 0.4em;
}

.hero .lede {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 2.5em;
}

.offer-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text);
}

.offer-chip strong {
  color: var(--blue-bright);
}

.offer-chip .divider {
  width: 1px;
  height: 14px;
  background: var(--border);
}

/* ---------- Sections ---------- */

.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.eyebrow {
  display: inline-block;
  color: var(--blue-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- Cards / glass panels ---------- */

.panel {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-elevated-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 860px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.step-card {
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(30, 140, 255, 0.14);
  color: var(--blue-bright);
  font-weight: 700;
  border: 1px solid var(--border-strong);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.15rem;
}

.example-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.example-tags code {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 0.82rem;
  color: var(--steel);
}

/* ---------- Pricing ---------- */

.price-card {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  border-color: var(--border-strong);
  position: relative;
}

.price-card .badge {
  display: inline-block;
  background: rgba(30, 140, 255, 0.14);
  color: var(--blue-bright);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.price-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 4px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
}

.price-period {
  color: var(--text-dim);
  font-size: 1rem;
}

.price-card .free-line {
  color: var(--blue-bright);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.price-card ul {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.price-card ul li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.92rem;
}

.price-card ul li:first-child {
  border-top: none;
}

.price-card ul li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--blue-bright);
  margin-top: 2px;
}

.price-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ---------- Download ---------- */

.platform-card {
  text-align: center;
}

.platform-card .platform-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--blue-bright);
}

.status-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  border: 1px solid var(--border);
  margin-top: 10px;
}

.status-pill-live {
  background: rgba(77, 178, 255, 0.12);
  color: var(--blue-bright);
  border-color: rgba(77, 178, 255, 0.35);
}

/* ---------- Contact / forms (info only, no submission) ---------- */

.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.info-row:first-child {
  border-top: none;
}

.info-row svg {
  width: 20px;
  height: 20px;
  color: var(--blue-bright);
  flex-shrink: 0;
  margin-top: 3px;
}

.info-row h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

/* ---------- Legal content ---------- */

.legal h2 {
  font-size: 1.25rem;
  margin-top: 2em;
}

.legal p,
.legal li {
  color: var(--text-dim);
}

.legal .updated {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2.5em;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30, 140, 255, 0.14), rgba(12, 20, 40, 0.4));
  border: 1px solid var(--border-strong);
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 10px 0 0;
  max-width: 260px;
}

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

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.92rem;
  padding: 5px 0;
}

.footer-col a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.82rem;
}

@media (max-width: 600px) {
  .footer-grid {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 404 ---------- */

.error-page {
  text-align: center;
  padding: 120px 0;
}

.error-page .code {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  color: var(--blue-bright);
  margin-bottom: 0;
}

/* ---------- Pillars (Search / Classifieds) ---------- */

.pillar-card {
  display: flex;
  flex-direction: column;
  border-color: var(--border-strong);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 140, 255, 0.14);
  border: 1px solid var(--border-strong);
  color: var(--blue-bright);
  margin-bottom: 18px;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4em;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  flex-grow: 1;
}

.pillar-list li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.pillar-list li svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: var(--blue-bright);
  margin-top: 3px;
}

.pillar-card .btn {
  align-self: flex-start;
}

/* ---------- Coming soon / live status badge ---------- */

.badge-soon,
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(30, 140, 255, 0.14);
  color: var(--blue-bright);
  border: 1px solid var(--border-strong);
}

.badge-soon .dot,
.badge-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(77, 178, 255, 0.25);
}

/* ---------- Feature preview (approved product mockups) ---------- */

.preview-frame {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, #050a18, #0a1226 60%, #0c1830);
  padding: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.preview-frame.is-wide {
  max-width: 980px;
}

.preview-label {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}

.preview-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ---------- Feature grid (Classifieds) ---------- */

.feature-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.feature-card .feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(30, 140, 255, 0.14);
  border: 1px solid var(--border-strong);
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .feature-icon svg {
  width: 16px;
  height: 16px;
}

/* ---------- Notice / disclaimer panel ---------- */

.notice-panel {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.notice-panel h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-bright);
  margin-bottom: 6px;
}

.notice-panel p {
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Contact / feedback form ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 11px 14px;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.sentiment-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sentiment-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  margin: 0;
}

.sentiment-options input {
  accent-color: var(--blue-bright);
}

.turnstile-wrap {
  margin: 4px 0 20px;
}

.form-banner {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  border: 1px solid var(--border-strong);
}

.form-banner-success {
  background: rgba(77, 178, 255, 0.1);
}

.form-banner-error {
  background: rgba(255, 90, 90, 0.08);
  border-color: rgba(255, 110, 110, 0.35);
}

/* ---------- Misc ---------- */

.disclaimer {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 12px;
}

.small-print {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ---------- FAQ accordion ---------- */

.faq-group {
  margin-bottom: 44px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group h2 {
  font-size: 1.3rem;
  color: var(--blue-bright);
  margin-bottom: 6px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 30px 18px 4px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  color: var(--blue-bright);
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item .faq-answer {
  margin: 0 4px 20px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
