/* ============================================
   PULSR — Shared Stylesheet
   getpulsr.eu · Built by Klarify
   ============================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'DM Sans', Arial, sans-serif; background: #0F1117; color: #F1EFE8; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400&display=swap');

/* ── CSS Variables ── */
:root {
  --ink:      #0F1117;
  --slate:    #2C2C2A;
  --mist:     #B4B2A9;
  --cloud:    #F1EFE8;
  --white:    #FFFFFF;
  --blue-600: #185FA5;
  --blue-400: #378ADD;
  --blue-100: #B5D4F4;
  --blue-50:  #E6F1FB;
  --teal:     #1D9E75;
  --teal-bg:  #E1F5EE;
  --amber:    #EF9F27;
  --amber-bg: #FAEEDA;
  --coral:    #D85A30;
  --coral-bg: #FAECE7;
  --border:   rgba(255,255,255,0.08);
  --border-light: #D3D1C7;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ── Typography ── */
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 600; letter-spacing: -1.5px; line-height: 1.08; }
h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 600; letter-spacing: -1px; line-height: 1.1; }
h3 { font-size: 20px; font-weight: 500; }
p  { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.45); }
.mono { font-family: 'DM Mono', 'Courier New', monospace; }

/* ── Layout ── */
.container { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 960px; margin: 0 auto; padding: 0 32px; }
section { padding: 72px 0; }

/* ── NAV ── */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0 32px; height: 56px; border-bottom: 0.5px solid var(--border); position: sticky; top: 33px; background: rgba(15,17,23,0.92); backdrop-filter: blur(12px); z-index: 100; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { width: 26px; height: 26px; }
.nav-wordmark { font-size: 16px; letter-spacing: -0.5px; }
.nav-wordmark strong { font-weight: 600; }
.nav-wordmark span { font-weight: 300; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.45); padding: 5px 12px; border-radius: var(--radius-md); transition: color 0.15s; }
.nav-links a:hover { color: rgba(255,255,255,0.8); }
.nav-links a.active { color: white; background: rgba(55,138,221,0.15); border: 0.5px solid rgba(55,138,221,0.3); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { font-size: 13px; color: rgba(255,255,255,0.45); }
.btn-primary { font-size: 13px; font-weight: 500; color: var(--ink); background: var(--blue-400); padding: 7px 16px; border-radius: var(--radius-md); border: none; cursor: pointer; transition: background 0.15s; display: inline-block; }
.btn-primary:hover { background: var(--blue-600); color: white; }
.btn-secondary { font-size: 13px; color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); border: 0.5px solid rgba(255,255,255,0.12); padding: 7px 16px; border-radius: var(--radius-md); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background 0.15s; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ── LIVE PILL ── */
.live-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(29,158,117,0.12); border: 0.5px solid rgba(29,158,117,0.3); padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 500; color: var(--teal); letter-spacing: 0.06em; }
.live-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── BADGE ── */
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 5px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; }
.badge-blue   { background: var(--blue-50);  border: 0.5px solid var(--blue-400); color: var(--blue-600); }
.badge-teal   { background: var(--teal-bg);  border: 0.5px solid var(--teal);     color: #085041; }
.badge-amber  { background: var(--amber-bg); border: 0.5px solid var(--amber);    color: #633806; }
.badge-coral  { background: var(--coral-bg); border: 0.5px solid var(--coral);    color: #4A1B0C; }

/* ── CARDS ── */
.card-dark  { background: rgba(255,255,255,0.03); border: 0.5px solid var(--border); border-radius: var(--radius-lg); }
.card-light { background: white; border: 0.5px solid var(--border-light); border-radius: var(--radius-lg); }

/* ── DIVIDER ── */
.divider { height: 0.5px; background: var(--border); }
.divider-light { height: 0.5px; background: var(--border-light); }

/* ── SECTION LABEL ── */
.section-label { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.25); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.section-label-dark { color: #888780; }

/* ── LIGHT SECTION ── */
.section-light { background: var(--cloud); color: var(--ink); }
.section-light p { color: #5F5E5A; }
.section-light .section-label { color: #888780; }

/* ── FEATURE ICON ── */
.feature-icon { width: 36px; height: 36px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 18px; }

/* ── CODE BLOCK ── */
.code-block { background: #080C12; border: 0.5px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.code-block-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; border-bottom: 0.5px solid var(--border); }
.code-block-header span { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.2); }
.code-block-copy { font-size: 11px; color: rgba(255,255,255,0.25); cursor: pointer; background: none; border: none; font-family: inherit; }
.code-block pre { padding: 16px; font-family: 'DM Mono', 'Courier New', monospace; font-size: 12px; line-height: 1.8; overflow-x: auto; }

/* ── EVENT LOG ── */
.event-log { background: #080C12; border-radius: var(--radius-md); padding: 16px 20px; }
.log-row { display: grid; grid-template-columns: 72px 110px 1fr 120px; gap: 8px; padding: 7px 10px; border-radius: 5px; font-family: 'DM Mono', monospace; font-size: 12px; }
.log-row.ev-blue   { background: rgba(55,138,221,0.08); border-left: 2px solid var(--blue-400); }
.log-row.ev-teal   { background: rgba(29,158,117,0.06); border-left: 2px solid var(--teal); }
.log-row.ev-coral  { background: rgba(216,90,48,0.05);  border-left: 2px solid var(--coral); }
.log-row.ev-amber  { background: rgba(239,159,39,0.05); border-left: 2px solid var(--amber); }
.log-row.ev-none   { border-left: 2px solid transparent; }
.c-ts    { color: rgba(255,255,255,0.28); }
.c-blue  { color: #5BA3E8; }
.c-teal  { color: var(--teal); }
.c-coral { color: var(--coral); }
.c-amber { color: var(--amber); }
.c-dim   { color: rgba(255,255,255,0.55); }
.c-muted { color: rgba(255,255,255,0.25); }

/* ── STAT CARD ── */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-card { border-radius: var(--radius-md); padding: 16px; }
.stat-card.s-default { background: rgba(255,255,255,0.04); border: 0.5px solid var(--border); }
.stat-card.s-blue    { background: rgba(55,138,221,0.07);  border: 0.5px solid rgba(55,138,221,0.2); }
.stat-card.s-teal    { background: rgba(29,158,117,0.07);  border: 0.5px solid rgba(29,158,117,0.2); }
.stat-card.s-coral   { background: rgba(216,90,48,0.07);   border: 0.5px solid rgba(216,90,48,0.2); }
.stat-label { font-size: 10px; letter-spacing: 0.08em; font-weight: 500; margin-bottom: 4px; }
.stat-value { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; }
.stat-sub   { font-size: 11px; margin-top: 3px; }

/* ── TESTIMONIAL ── */
.testimonial { background: white; border: 0.5px solid var(--border-light); border-radius: var(--radius-lg); padding: 20px; }
.testimonial p { font-size: 13px; color: #444441; line-height: 1.7; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 8px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; }

/* ── FAQ ── */
.faq-item { background: white; padding: 18px 20px; border-bottom: 0.5px solid var(--border-light); }
.faq-item:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.faq-item:last-child  { border-bottom: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.faq-q { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.faq-a { font-size: 13px; color: #5F5E5A; line-height: 1.6; }

/* ── PRICING CARDS ── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.price-card { border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; }
.price-card.default { background: rgba(255,255,255,0.03); border: 0.5px solid var(--border); }
.price-card.featured { background: rgba(55,138,221,0.06); border: 2px solid var(--blue-400); position: relative; }
.price-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--blue-400); color: #042C53; font-size: 10px; font-weight: 500; padding: 3px 10px; border-radius: 10px; letter-spacing: 0.06em; white-space: nowrap; }
.price-plan  { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; margin-bottom: 10px; }
.price-amount { font-size: 32px; font-weight: 600; letter-spacing: -0.5px; color: white; }
.price-period { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.3); }
.price-domains { font-size: 12px; color: rgba(255,255,255,0.25); margin: 2px 0 16px; }
.price-divider { height: 0.5px; background: var(--border); margin-bottom: 16px; }
.price-features { display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 20px; }
.pf { display: flex; gap: 7px; align-items: flex-start; font-size: 12px; line-height: 1.5; }
.pf.on  { color: rgba(255,255,255,0.65); }
.pf.off { color: rgba(255,255,255,0.2); }
.pf-check { color: var(--teal); font-size: 13px; margin-top: 1px; flex-shrink: 0; }
.pf-x     { color: rgba(255,255,255,0.12); font-size: 13px; margin-top: 1px; flex-shrink: 0; }
.price-cta-default  { display: block; text-align: center; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); border: 0.5px solid var(--border); padding: 9px; border-radius: var(--radius-md); cursor: pointer; transition: background 0.15s; }
.price-cta-default:hover { background: rgba(255,255,255,0.09); }
.price-cta-featured { display: block; text-align: center; font-size: 12px; font-weight: 500; color: var(--ink); background: var(--blue-400); padding: 9px; border-radius: var(--radius-md); cursor: pointer; transition: background 0.15s; }
.price-cta-featured:hover { background: var(--blue-600); color: white; }
.price-target { font-size: 11px; text-align: center; margin-top: 7px; }

/* ── DOCS LAYOUT ── */
.docs-wrap { display: flex; min-height: calc(100vh - 56px); }
.docs-sidebar { width: 220px; flex-shrink: 0; border-right: 0.5px solid var(--border); padding: 24px 0; position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto; }
.docs-sidebar-logo { padding: 0 16px 16px; border-bottom: 0.5px solid var(--border); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: -0.3px; }
.sidebar-group { padding: 0 16px; margin-bottom: 4px; }
.sidebar-label { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.2); letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 8px 6px; }
.sidebar-link { display: block; font-size: 13px; color: rgba(255,255,255,0.45); padding: 5px 8px; border-radius: var(--radius-md); transition: color 0.15s; }
.sidebar-link:hover { color: rgba(255,255,255,0.8); }
.sidebar-link.active { color: var(--blue-400); background: rgba(55,138,221,0.1); border-left: 2px solid var(--blue-400); padding-left: 6px; }
.docs-content { flex: 1; padding: 36px 48px; max-width: 680px; }
.docs-breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 24px; font-size: 12px; color: rgba(255,255,255,0.25); }
.docs-breadcrumb .current { color: var(--blue-400); }
.docs-h1 { font-size: 30px; font-weight: 600; color: white; letter-spacing: -0.5px; margin-bottom: 6px; }
.docs-sub { font-size: 13px; color: rgba(255,255,255,0.3); margin-bottom: 28px; }
.docs-alert { display: flex; align-items: center; gap: 10px; background: rgba(29,158,117,0.08); border: 0.5px solid rgba(29,158,117,0.2); border-left: 2px solid var(--teal); border-radius: var(--radius-md); padding: 10px 14px; margin-bottom: 28px; font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.docs-h2 { font-size: 18px; font-weight: 500; color: white; margin: 0 0 10px; }
.docs-body { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 16px; }
.docs-code { font-family: 'DM Mono', monospace; font-size: 12px; background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 4px; color: var(--blue-400); }
.docs-nav-row { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 0.5px solid var(--border); margin-top: 24px; font-size: 13px; }
.docs-nav-prev { color: rgba(255,255,255,0.2); }
.docs-nav-next { color: var(--blue-400); }

/* ── FOOTER ── */
.footer { background: var(--ink); border-top: 0.5px solid var(--border); }
.footer-main { padding: 48px 40px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.7; margin: 12px 0 20px; max-width: 220px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 30px; height: 30px; border-radius: var(--radius-md); background: rgba(255,255,255,0.06); border: 0.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.4); transition: background 0.15s; }
.footer-social a:hover { background: rgba(255,255,255,0.12); }
.footer-col-title { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.25); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom-row { border-top: 0.5px solid var(--border); padding-top: 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-newsletter p:first-child { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.25); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.newsletter-row { display: flex; gap: 8px; align-items: center; }
.newsletter-input { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); border: 0.5px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 0 12px; height: 36px; width: 220px; font-size: 13px; color: rgba(255,255,255,0.2); }
.newsletter-btn { background: var(--blue-400); color: var(--ink); font-size: 13px; font-weight: 500; padding: 0 16px; height: 36px; border-radius: var(--radius-md); border: none; cursor: pointer; white-space: nowrap; transition: background 0.15s; }
.newsletter-btn:hover { background: var(--blue-600); color: white; }
.newsletter-note { font-size: 11px; color: rgba(255,255,255,0.18); margin-top: 8px; }
.footer-status { display: flex; align-items: center; gap: 6px; background: rgba(29,158,117,0.1); border: 0.5px solid rgba(29,158,117,0.2); padding: 5px 10px; border-radius: var(--radius-md); }
.status-dot { width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }
.status-text { font-size: 11px; font-weight: 500; color: var(--teal); letter-spacing: 0.05em; }
.footer-legal { background: rgba(0,0,0,0.25); padding: 14px 40px 48px; display: flex; align-items: center; justify-content: space-between; border-top: 0.5px solid rgba(255,255,255,0.05); flex-wrap: wrap; gap: 12px; }
.footer-legal p { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.2); margin-left: 20px; transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ── WIP BANNER ── */
.wip-banner {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100%;
  z-index: 9999;
  background: rgba(15, 17, 23, 0.95);
  border-bottom: 1px solid rgba(239, 159, 39, 0.35);
  padding: 8px 40px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.wip-banner p {
  font-size: 12px;
  color: rgba(239, 159, 39, 0.85);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ── CTA STRIP ── */
.cta-strip { background: var(--blue-600); padding: 64px 40px; text-align: center; }
.cta-strip h2 { color: white; margin-bottom: 14px; }
.cta-strip p  { color: rgba(255,255,255,0.65); max-width: 360px; margin: 0 auto 32px; }
.cta-strip-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white { font-size: 14px; font-weight: 500; color: var(--blue-600); background: white; padding: 11px 28px; border-radius: var(--radius-md); cursor: pointer; display: inline-block; transition: opacity 0.15s; }
.btn-cta-white:hover { opacity: 0.9; }
.btn-cta-ghost { font-size: 14px; color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); border: 0.5px solid rgba(255,255,255,0.25); padding: 11px 20px; border-radius: var(--radius-md); cursor: pointer; display: inline-block; transition: background 0.15s; }
.btn-cta-ghost:hover { background: rgba(255,255,255,0.18); }

/* ── TRUST ROW ── */
.trust-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.trust-item { font-size: 12px; color: rgba(255,255,255,0.25); display: flex; align-items: center; gap: 6px; }
.trust-check { color: var(--teal); font-size: 13px; }

/* ── ABOUT ── */
.about-hero { padding: 80px 0 64px; text-align: center; }
.about-hero h1 { color: white; margin-bottom: 16px; }
.about-hero p  { max-width: 480px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.team-card { background: rgba(255,255,255,0.03); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.team-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(55,138,221,0.15); border: 0.5px solid rgba(55,138,221,0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 18px; font-weight: 500; color: var(--blue-400); }
.team-name  { font-size: 15px; font-weight: 500; color: white; margin-bottom: 4px; }
.team-role  { font-size: 12px; color: rgba(255,255,255,0.35); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.value-card { background: rgba(255,255,255,0.03); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.value-icon { font-size: 22px; margin-bottom: 12px; }
.value-title { font-size: 15px; font-weight: 500; color: white; margin-bottom: 6px; }
.value-desc  { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .container, .container-wide { padding: 0 20px; }
  section { padding: 48px 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .docs-sidebar { display: none; }
  .docs-content { padding: 24px 20px; }
  .log-row { grid-template-columns: 64px 1fr; }
  .log-row span:nth-child(3),
  .log-row span:nth-child(4) { display: none; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  h1 { font-size: 28px; }
}
