/* ============================================
   Pulse Ecosystem - Product Pages
   Navy/blue brand theme layered on umay.css
   ============================================ */

/* --- Hero --- */
.pulse-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.pulse-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(64,133,255,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 100%, rgba(0,199,235,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.pulse-hero-content {
  position: relative;
  text-align: center;
}

.pulse-hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(64,133,255,0.2);
}

.pulse-hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--tag-bg);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.pulse-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.pulse-accent {
  background: linear-gradient(135deg, #4085FF 0%, #00C7EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pulse-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.pulse-hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pulse-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.pulse-btn-primary {
  background: linear-gradient(135deg, #4085FF, #3366cc);
  color: #fff;
  box-shadow: 0 4px 16px rgba(64,133,255,0.3);
}

.pulse-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(64,133,255,0.4);
}

.pulse-btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.pulse-btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pulse-hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* --- Sections --- */
.pulse-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.pulse-section-alt {
  background: var(--bg-secondary);
}

.pulse-section-title {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.pulse-section-title::before {
  content: '# ';
  color: var(--accent);
}

.pulse-section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* --- Screenshots --- */
.pulse-screenshots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.pulse-screenshots::-webkit-scrollbar {
  height: 6px;
}

.pulse-screenshots::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 3px;
}

.pulse-screenshots::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.pulse-screenshot {
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: transform 0.2s ease;
}

.pulse-screenshot:hover {
  transform: scale(1.02);
}

.pulse-screenshot img {
  border-radius: 10px;
  border: 1px solid var(--border);
}

.pulse-screenshot-mac img {
  width: 380px;
  height: auto;
}

.pulse-screenshot-ios img {
  width: 200px;
  height: auto;
}

/* --- Features Grid --- */
.pulse-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.pulse-feature {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.2s ease;
}

.pulse-feature:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pulse-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.pulse-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.pulse-feature p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Companion Section --- */
.pulse-companion-section {
  text-align: center;
}

.pulse-companion-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 12px;
}

/* --- Ecosystem Badge --- */
.pulse-ecosystem-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.pulse-ecosystem-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #21C78C;
}

/* --- Legal Links --- */
.pulse-legal {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 24px 0;
}

.pulse-legal a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.pulse-legal a:hover {
  color: var(--accent);
}

/* --- Legal Page --- */
.pulse-legal-page {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
}

.pulse-legal-page h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pulse-legal-page .pulse-legal-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.pulse-legal-page h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pulse-legal-page p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
  max-width: 680px;
}

.pulse-legal-page a {
  color: var(--accent);
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .pulse-hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 40px;
  }

  .pulse-hero-icon {
    width: 80px;
    height: 80px;
  }

  .pulse-screenshot-mac img {
    width: 300px;
  }

  .pulse-screenshot-ios img {
    width: 160px;
  }

  .pulse-features {
    grid-template-columns: 1fr;
  }
}
