/* ============================================================
   PULSE PLATFORM — SHARED STYLES
   Extracted from index.html, features.html, contact.html
   ============================================================ */

/* ============================================================
   BRAND TOKENS
   ============================================================ */
:root {
  --pulse-purple:        #7B2FF2;
  --pulse-purple-dark:   #5A1DB8;
  --pulse-magenta:       #D946EF;
  --pulse-gradient:      linear-gradient(135deg, #D946EF 0%, #7B2FF2 100%);
  --pulse-gradient-hover: linear-gradient(135deg, #E068F5 0%, #8F47F5 100%);
  --pulse-gradient-soft: linear-gradient(135deg, rgba(217,70,239,0.08) 0%, rgba(123,47,242,0.08) 100%);
  --pulse-slate:         #6B7280;
  --pulse-slate-dark:    #374151;
  --pulse-slate-light:   #9CA3AF;
  --pulse-white:         #FFFFFF;
  --pulse-off-white:     #F9FAFB;
  --pulse-light-gray:    #F3F4F6;
  --pulse-border:        #E5E7EB;
  --pulse-dark:          #111827;
  --pulse-success:       #10B981;
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  color: var(--pulse-dark);
  background: var(--pulse-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pulse-border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--pulse-slate-dark);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--pulse-purple); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--pulse-gradient);
  color: white !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(123,47,242,0.25);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(123,47,242,0.35);
}
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 200; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--pulse-dark); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: white;
  z-index: 99;
  padding: 24px 32px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--pulse-slate-dark);
  border-bottom: 1px solid var(--pulse-border);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--pulse-purple); }
.mobile-menu .mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 14px 28px;
  background: var(--pulse-gradient);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  border: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 14px 28px;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--pulse-gradient);
  color: white;
  box-shadow: 0 2px 8px rgba(123,47,242,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(123,47,242,0.35);
}
.btn-secondary {
  background: var(--pulse-white);
  color: var(--pulse-slate-dark);
  border: 1.5px solid var(--pulse-border);
  padding: 13px 28px;
}
.btn-secondary:hover {
  border-color: var(--pulse-purple);
  color: var(--pulse-purple);
}
.btn-ghost {
  background: transparent;
  color: var(--pulse-purple);
  font-weight: 600;
  padding: 14px 4px;
}
.btn-ghost:hover { opacity: 0.8; }
.btn-dark {
  background: var(--pulse-dark);
  color: white;
}
.btn-dark:hover { background: #1F2937; }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 12px; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section { padding: 100px 0; }
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pulse-magenta);
  margin-bottom: 12px;
}
.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-desc {
  font-size: 17px;
  color: var(--pulse-slate);
  line-height: 1.7;
  max-width: 580px;
}
.section-header {
  margin-bottom: 56px;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-desc {
  margin: 0 auto;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 100px 0;
  background: var(--pulse-dark);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(217,70,239,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 40%; height: 200%;
  background: radial-gradient(circle, rgba(123,47,242,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: 44px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-content h2 .gradient {
  background: var(--pulse-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-content p {
  font-size: 17px;
  color: #9CA3AF;
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; }
.cta-note { margin-top: 24px; font-size: 13px; color: #6B7280; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0A0F1A;
  padding: 64px 0 32px;
  color: #9CA3AF;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  color: #6B7280;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #E5E7EB;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: #6B7280;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--pulse-magenta); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #1F2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #4B5563;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: #4B5563; transition: color 0.2s; }
.footer-bottom-links a:hover { color: #9CA3AF; }

/* ============================================================
   SHARED RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-content h2 { font-size: 28px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
