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

/* ============================================================
   BRAND TOKENS · V2 (Care-led, purple-only)
   Pulse for Care is the headline product. Pulse OS is the engine that powers it.
   One palette: Pulse purple/magenta. No motion-specific accents.
   ============================================================ */
: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-purple-mist:   #F5F0FF;

  /* Neutrals + semantic */
  --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;
  --pulse-warning:       #F59E0B;
  --pulse-error:         #EF4444;
  --pulse-info:          #3B82F6;

  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:   'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

/* ============================================================
   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: 80px;
}
.nav-logo { height: 56px; width: auto; display: block; }
.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 1fr;
  gap: 40px;
  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; }
}

/* ===== BILLING TOGGLE ===== */
.billing-toggle {
  display: inline-flex;
  margin: 24px auto 0;
  padding: 4px;
  background: var(--pulse-off-white, #f5f2fc);
  border: 1px solid rgba(123,47,242,0.12);
  border-radius: 100px;
  gap: 2px;
}
.billing-toggle-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--pulse-text-muted, #666);
  background: transparent;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.billing-toggle-option:hover {
  color: var(--pulse-text, #1a1a2e);
}
.billing-toggle-option.active {
  background: var(--pulse-gradient, linear-gradient(135deg, #7b2ff2 0%, #d946ef 100%));
  color: #fff;
  box-shadow: 0 4px 12px rgba(123,47,242,0.3);
}
.billing-save {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  letter-spacing: 0.3px;
}
.billing-toggle-option:not(.active) .billing-save {
  background: rgba(217,70,239,0.12);
  color: #d946ef;
}

/* ===== PRICING COMPARISON TABLE ===== */
.pricing-compare {
  max-width: 1100px;
  margin: 80px auto 0;
}
.pricing-compare-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--pulse-text, #1a1a2e);
}
.pricing-compare-wrap {
  overflow-x: auto;
  border: 1px solid rgba(123,47,242,0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(123,47,242,0.05);
}
.pricing-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.pricing-compare-table th,
.pricing-compare-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid rgba(123,47,242,0.08);
}
.pricing-compare-table thead th {
  font-weight: 700;
  font-size: 15px;
  color: var(--pulse-text, #1a1a2e);
  background: var(--pulse-off-white, #faf8ff);
  position: sticky;
  top: 0;
}
.pricing-compare-table thead th.popular-col {
  color: #7b2ff2;
  background: linear-gradient(135deg, rgba(123,47,242,0.08), rgba(217,70,239,0.08));
}
.pricing-compare-table tbody td {
  color: var(--pulse-text-muted, #555);
}
.pricing-compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--pulse-text, #1a1a2e);
}
.pricing-compare-table td.popular-col {
  background: rgba(123,47,242,0.03);
  color: var(--pulse-text, #1a1a2e);
  font-weight: 500;
}
.pricing-compare-table tr:last-child td {
  border-bottom: 0;
}
.pc-muted { color: #999; font-weight: 400; font-size: 13px; }
.pc-dash { color: #ccc; }

@media (max-width: 768px) {
  .pricing-compare-title { font-size: 22px; }
  .pricing-compare-table th,
  .pricing-compare-table td {
    padding: 14px 16px;
    font-size: 13px;
  }
  .billing-toggle-option {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* ============================================================
   COMPARISON / ALTERNATIVES PAGES (shared)
   ============================================================ */
.compare-wrap {
  padding: 140px 0 80px;
  background: var(--pulse-white);
}
.compare-hero {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
}
.compare-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pulse-magenta);
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(217,70,239,0.08);
  border-radius: 100px;
}
.compare-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.compare-hero h1 .gradient {
  background: var(--pulse-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.compare-hero .tldr {
  font-size: 19px;
  line-height: 1.65;
  color: var(--pulse-slate-dark);
  max-width: 780px;
  margin: 0 auto 28px;
}
.compare-hero .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* At-a-glance table */
.compare-section {
  max-width: 1040px;
  margin: 0 auto 64px;
}
.compare-section h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.compare-section h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 12px;
}
.compare-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pulse-slate-dark);
  margin-bottom: 16px;
}
.compare-section .lead {
  font-size: 18px;
  color: var(--pulse-slate);
  margin-bottom: 28px;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--pulse-border);
  border-radius: 14px;
  overflow: hidden;
  margin: 24px 0 40px;
  background: var(--pulse-white);
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  font-size: 15px;
  text-align: left;
  border-bottom: 1px solid var(--pulse-border);
  vertical-align: top;
  line-height: 1.55;
}
.compare-table th {
  background: var(--pulse-off-white);
  color: var(--pulse-slate-dark);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child {
  font-weight: 600;
  color: var(--pulse-dark);
  width: 34%;
}
.compare-table .pulse-cell {
  background: rgba(217,70,239,0.04);
  color: var(--pulse-purple);
  font-weight: 600;
}
.compare-table .pulse-head {
  background: var(--pulse-gradient);
  color: white;
}

/* Split comparison cards (who it's for) */
.compare-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}
.compare-split-card {
  padding: 28px;
  border: 1px solid var(--pulse-border);
  border-radius: 16px;
  background: var(--pulse-white);
}
.compare-split-card.us {
  border-top: 4px solid var(--pulse-purple);
  background: linear-gradient(180deg, rgba(217,70,239,0.03) 0%, rgba(255,255,255,0) 100%);
}
.compare-split-card.them {
  border-top: 4px solid var(--pulse-slate-light);
}
.compare-split-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}
.compare-split-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.compare-split-card ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 15px;
  color: var(--pulse-slate-dark);
  line-height: 1.55;
}
.compare-split-card.us ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pulse-purple);
  font-weight: 700;
}
.compare-split-card.them ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pulse-slate);
  font-weight: 700;
}

/* Migration / switching callout */
.compare-callout {
  padding: 32px;
  background: var(--pulse-off-white);
  border-radius: 16px;
  border-left: 4px solid var(--pulse-purple);
  margin: 32px 0;
}
.compare-callout h3 {
  margin-top: 0;
  color: var(--pulse-dark);
}

/* FAQ accordion */
.compare-faq { margin: 32px 0; }
.compare-faq details {
  border-bottom: 1px solid var(--pulse-border);
  padding: 20px 0;
}
.compare-faq details[open] summary { color: var(--pulse-purple); }
.compare-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  padding-right: 32px;
  position: relative;
  list-style: none;
}
.compare-faq summary::-webkit-details-marker { display: none; }
.compare-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.2s;
}
.compare-faq details[open] summary::after {
  content: "−";
}
.compare-faq details p {
  margin-top: 12px;
  color: var(--pulse-slate-dark);
  font-size: 15px;
  line-height: 1.7;
}

/* Final CTA */
.compare-cta {
  text-align: center;
  padding: 56px 40px;
  background: var(--pulse-dark);
  color: white;
  border-radius: 20px;
  margin: 48px 0 0;
  position: relative;
  overflow: hidden;
}
.compare-cta::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--pulse-gradient);
  opacity: 0.25;
  filter: blur(60px);
}
.compare-cta h2 {
  font-size: 30px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  position: relative;
}
.compare-cta p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  position: relative;
  font-size: 17px;
}
.compare-cta .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* Alternatives hub cards */
.alt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.alt-card {
  padding: 26px;
  border: 1px solid var(--pulse-border);
  border-radius: 14px;
  background: var(--pulse-white);
  transition: transform 0.2s, box-shadow 0.2s;
}
.alt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  border-color: var(--pulse-purple);
}
.alt-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.alt-card p {
  color: var(--pulse-slate);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.alt-card a {
  color: var(--pulse-purple);
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 900px) {
  .compare-hero h1 { font-size: 34px; }
  .compare-section h2 { font-size: 24px; }
  .compare-split { grid-template-columns: 1fr; }
  .alt-grid { grid-template-columns: 1fr; }
  .compare-wrap { padding: 110px 0 60px; }
}

/* ============================================================
   V2 MODULES · Care-led, purple-only
   - Pulse for Care is the headline product
   - Pulse OS is the engine that powers it (secondary surface)
   - One palette: master purple/magenta
   ============================================================ */

/* ---- V2 hero ---- */
.v2-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--pulse-purple-mist) 0%, var(--pulse-white) 100%);
  position: relative;
  overflow: hidden;
}
.v2-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.v2-hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(123, 47, 242, 0.08);
  color: var(--pulse-purple);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.v2-hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.v2-hero h1 .accent {
  background: var(--pulse-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.v2-hero p.v2-hero-sub {
  font-size: 19px;
  color: var(--pulse-slate-dark);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 620px;
}
.v2-hero .v2-hero-meta {
  font-size: 13px;
  color: var(--pulse-slate-light);
  margin-top: 16px;
}
.v2-hero-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---- V2 stat card (sidebar in hero) ---- */
.v2-stat-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--pulse-white);
  border: 1px solid var(--pulse-border);
  box-shadow: 0 24px 60px rgba(123,47,242,0.10);
}
.v2-stat-card h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--pulse-purple);
  margin-bottom: 14px;
}
.v2-stat-card .v2-stat-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pulse-border);
}
.v2-stat-card .v2-stat-row:last-child { border-bottom: none; }
.v2-stat-card .v2-stat-row .label { font-size: 14px; color: var(--pulse-slate-dark); line-height: 1.5; }
.v2-stat-card .v2-stat-row .value { font-size: 14px; font-weight: 600; color: var(--pulse-dark); white-space: nowrap; }

/* ---- V2 code card (for Pulse OS section) ---- */
.v2-code-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--pulse-dark);
  color: white;
  box-shadow: 0 24px 60px rgba(17,24,39,0.18);
}
.v2-code-card h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(217, 70, 239, 0.85);
  margin-bottom: 14px;
}
.v2-code-card pre {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: white;
  white-space: pre-wrap;
  word-break: break-word;
}
.v2-code-card .comment { color: var(--pulse-slate-light); }
.v2-code-card .kw      { color: #c4b5fd; }
.v2-code-card .str     { color: #fbcfe8; }
.v2-code-card .val     { color: #a7f3d0; }

/* ---- V2 section ---- */
.v2-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--pulse-border);
}
.v2-section:last-child { border-bottom: none; }
.v2-section.alt-bg { background: var(--pulse-off-white); }
.v2-section-head { margin-bottom: 48px; max-width: 720px; }
.v2-section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pulse-magenta);
  margin-bottom: 10px;
}
.v2-section-head h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.v2-section-head p {
  font-size: 17px;
  color: var(--pulse-slate);
  line-height: 1.7;
}

/* ---- V2 pillar / block grid ---- */
.v2-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.v2-pillar {
  padding: 32px;
  border-radius: 20px;
  background: var(--pulse-white);
  border: 1px solid var(--pulse-border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.v2-pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(123,47,242,0.10); }
.v2-pillar .v2-pillar-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--pulse-purple);
  margin-bottom: 10px;
}
.v2-pillar h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--pulse-dark);
}
.v2-pillar p {
  font-size: 15px;
  color: var(--pulse-slate);
  line-height: 1.65;
}

/* ---- V2 trust strip ---- */
.v2-trust-strip {
  padding: 40px;
  border-radius: 24px;
  background: var(--pulse-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.v2-trust-strip::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--pulse-gradient);
  opacity: 0.25;
  filter: blur(60px);
}
.v2-trust-strip h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--pulse-magenta);
  margin-bottom: 16px;
  position: relative;
}
.v2-trust-strip p {
  font-size: 22px;
  line-height: 1.45;
  max-width: 840px;
  position: relative;
}
.v2-trust-strip p strong {
  background: var(--pulse-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- V2 LDW (Listen / Decide / Write) ---- */
.v2-ldw {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.v2-ldw-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--pulse-white);
  border: 1px solid var(--pulse-border);
  position: relative;
}
.v2-ldw-card .v2-ldw-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(123, 47, 242, 0.08);
  color: var(--pulse-purple);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
}
.v2-ldw-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--pulse-dark);
}
.v2-ldw-card p {
  font-size: 14.5px;
  color: var(--pulse-slate);
  line-height: 1.65;
}

/* ---- V2 pricing cards ---- */
.v2-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
.v2-pricing-card {
  padding: 40px;
  border-radius: 24px;
  background: var(--pulse-white);
  border: 1px solid var(--pulse-border);
  display: flex;
  flex-direction: column;
}
.v2-pricing-card.enterprise {
  background: var(--pulse-dark);
  color: white;
  border-color: var(--pulse-dark);
  position: relative;
  overflow: hidden;
}
.v2-pricing-card.enterprise::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--pulse-gradient);
  opacity: 0.20;
  filter: blur(60px);
}
.v2-pricing-card .v2-pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--pulse-light-gray);
  color: var(--pulse-slate-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.v2-pricing-card.enterprise .v2-pricing-badge {
  background: rgba(255,255,255,0.12);
  color: white;
}
.v2-pricing-card h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  position: relative;
}
.v2-pricing-card .v2-price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 18px 0 4px;
  line-height: 1.05;
  position: relative;
}
.v2-pricing-card .v2-price .unit {
  font-size: 18px;
  font-weight: 500;
  color: var(--pulse-slate);
  letter-spacing: 0;
}
.v2-pricing-card.enterprise .v2-price .unit { color: rgba(255,255,255,0.7); }
.v2-pricing-card .v2-price-sub {
  font-size: 13px;
  color: var(--pulse-slate);
  margin-bottom: 24px;
  position: relative;
}
.v2-pricing-card.enterprise .v2-price-sub { color: rgba(255,255,255,0.7); }
.v2-pricing-card .v2-pricing-summary {
  font-size: 15px;
  color: var(--pulse-slate-dark);
  line-height: 1.65;
  margin-bottom: 24px;
  position: relative;
}
.v2-pricing-card.enterprise .v2-pricing-summary { color: rgba(255,255,255,0.85); }
.v2-pricing-card ul.v2-pricing-list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
  position: relative;
}
.v2-pricing-card ul.v2-pricing-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--pulse-slate-dark);
}
.v2-pricing-card.enterprise ul.v2-pricing-list li { color: rgba(255,255,255,0.92); }
.v2-pricing-card ul.v2-pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--pulse-success);
  font-weight: 700;
  font-size: 15px;
}
.v2-pricing-card.enterprise ul.v2-pricing-list li::before { color: #6EE7B7; }
.v2-pricing-card .v2-pricing-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}
.v2-pricing-card.starter .v2-pricing-cta {
  background: var(--pulse-white);
  border: 1px solid var(--pulse-dark);
  color: var(--pulse-dark);
}
.v2-pricing-card.starter .v2-pricing-cta:hover { background: var(--pulse-off-white); }
.v2-pricing-card.enterprise .v2-pricing-cta {
  background: var(--pulse-gradient);
  color: white;
}
.v2-pricing-card.enterprise .v2-pricing-cta:hover {
  background: var(--pulse-gradient-hover);
  box-shadow: 0 8px 24px rgba(123,47,242,0.35);
}

/* ---- V2 compare table ---- */
.v2-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--pulse-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--pulse-white);
}
.v2-compare th, .v2-compare td {
  padding: 16px 22px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--pulse-border);
  vertical-align: top;
}
.v2-compare th {
  background: var(--pulse-off-white);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pulse-slate-dark);
}
.v2-compare th.tier-enterprise { color: var(--pulse-purple); }
.v2-compare tr:last-child td { border-bottom: none; }
.v2-compare td:first-child { font-weight: 600; color: var(--pulse-dark); }
.v2-compare .yes { color: var(--pulse-success); font-weight: 700; }
.v2-compare .no  { color: var(--pulse-slate-light); }

/* ---- V2 mobile ---- */
@media (max-width: 900px) {
  .v2-hero { padding: 130px 0 60px; }
  .v2-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .v2-hero h1 { font-size: 40px; }
  .v2-hero p.v2-hero-sub { font-size: 17px; }
  .v2-section { padding: 60px 0; }
  .v2-section-head h2 { font-size: 28px; }
  .v2-pillars, .v2-ldw, .v2-pricing-grid { grid-template-columns: 1fr; }
  .v2-trust-strip { padding: 28px; }
  .v2-trust-strip p { font-size: 18px; }
}
