/* =========================================================
   EventraX — Shared Stylesheet
   Theme: "the pulse of your conference" — a vitals-monitor
   inspired palette and a recurring heartbeat motif used as
   the structural signature across the site.
   ========================================================= */

:root {
  /* Color */
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #EAEFEE;
  --ink: #16263B;
  --ink-soft: #56697E;
  --ink-faint: #93A3B0;
  --pulse: #ef6464;
  --pulse-dark: #d65353;
  --pulse-tint: rgba(239, 100, 100, 0.15);
  --teal: #45d0bd;
  --teal-dark: #37a696;
  --teal-tint: rgba(69, 208, 189, 0.15);
  --amber: #F2B544;
  --amber-tint: #FCEFD3;
  --line: #DCE4E3;

  /* Fixed-dark panels (stats strip, footer, CTA, featured card) —
     stay dark across both themes for consistent contrast */
  --panel: #16263B;
  --panel-2: #1E3550;
  --panel-line: #2B3D54;
  --panel-soft: #AEBBC8;

  /* Shape */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -32px rgba(22, 38, 59, 0.35);
  --shadow-soft: 0 12px 32px -20px rgba(22, 38, 59, 0.25);

  /* Type */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --container: 1200px;
}

/* =========================================================
   Dark theme
   ========================================================= */

[data-theme="dark"] {
  --paper: #0F1318;
  --surface: #181D24;
  --surface-2: #20262E;
  --ink: #F1F4F3;
  --ink-soft: #A6B3BE;
  --ink-faint: #66727E;
  --pulse-dark: #f57e7e;
  --pulse-tint: rgba(239, 100, 100, 0.15);
  --teal: #45d0bd;
  --teal-dark: #82e0d3;
  --teal-tint: rgba(69, 208, 189, 0.15);
  --amber-tint: rgba(242, 181, 68, 0.16);
  --line: #2A323C;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 14px 34px -20px rgba(0, 0, 0, 0.6);

  --panel: #0A1422;
  --panel-2: #122036;
  --panel-line: #233246;
  --panel-soft: #9FB0C2;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(circle, rgba(52, 214, 203, 0.07) 1px, transparent 1.4px);
}

/* Smooth crossfade when switching themes */
body,
.nav,
.feature-card,
.price-card,
.spotlight-card,
.spotlight-widget,
.dash-window,
.dash-titlebar,
.stat-card,
.dash-chart,
.phone-mock,
.phone-screen,
.faq-item,
.table-wrap,
.compare-table td,
.compare-table th,
.theme-toggle,
.billing-toggle,
.billing-toggle button,
.btn,
.lifecycle-dot,
.feature-icon,
.poll-bar-track {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Soft white background with subtle purple and teal blobs to match Tawny Tech */
  background-image:
    radial-gradient(at 0% 0%, rgba(130, 88, 200, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(119, 63, 188, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(69, 208, 189, 0.05) 0px, transparent 50%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================================
   Typography
   ========================================================= */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--pulse);
}

.title-gradient span {
  background: linear-gradient(113deg, var(--teal) 2.7%, #44b6e9 98.55%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
}

h3 {
  font-size: 1.3rem;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

mark {
  background: none;
  color: var(--pulse);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(113deg, var(--teal) 2.7%, #44b6e9 98.55%);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(69, 208, 189, 0.65);
}

.btn-primary:hover {
  background: linear-gradient(113deg, var(--teal-dark) 2.7%, #3aa1cf 98.55%);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(69, 208, 189, 0.75);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--panel);
  color: #fff;
}

.btn-dark:hover {
  filter: brightness(1.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 246, 245, 0.78);
  border-bottom: 1px solid var(--line);
}

[data-theme="dark"] .nav {
  background: rgba(15, 19, 24, 0.72);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 100%;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  padding-left: 64px;
  
}
.logo1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}


/* .logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo-mark path {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo .x {
  color: var(--pulse);
} */

.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  position: relative;
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0 22px;
  height: 40px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a span {
  display: block;
  transition: all 300ms ease;
  white-space: nowrap;
}

.nav-links a:hover {
  background: var(--surface-2);
}

.nav-links a:hover .menu-item {
  transform: translateY(-40px);
}

.nav-links a:hover .menu-item2 {
  transform: translateY(-40px);
}

.nav-links a.active {
  background-color: var(--ink);
  color: var(--paper);
}

.nav-links a.active:hover {
  background-color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 80px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border:none;
  background: var(--surface);
  color: var(--ink-soft);
}

.theme-toggle:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.nav-mobile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.nav-mobile-foot .theme-toggle {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 0 32px 24px;
  font-weight: 500;
}

.nav-mobile a {
  color: var(--ink-soft);
}

.nav-mobile.open {
  display: flex;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  padding: 84px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero-copy h1 {
  margin-bottom: 22px;
}

.hero-copy .lead {
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

.hero-foot .avatars {
  display: flex;
}

.hero-foot .avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #fff;
}

.hero-foot .avatars span:first-child {
  margin-left: 0;
}

.hero-foot .avatars span:nth-child(1) {
  background: var(--teal);
}

.hero-foot .avatars span:nth-child(2) {
  background: var(--pulse);
}

.hero-foot .avatars span:nth-child(3) {
  background: var(--amber);
}

/* =========================================================
   Dashboard mockup (hero visual)
   ========================================================= */

.dash-mock {
  position: relative;
  padding: 10px 40px 40px 0;
}

.dash-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.dash-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.dash-dot.red {
  background: var(--pulse);
}

.dash-dot.amber {
  background: var(--amber);
}

.dash-dot.teal {
  background: var(--teal);
}

.dash-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-left: 8px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--pulse-dark);
  background: var(--pulse-tint);
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pulse);
  animation: livepulse 1.6s ease-in-out infinite;
}

@keyframes livepulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 92, 77, 0.55);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(255, 92, 77, 0);
  }
}

.dash-body {
  padding: 26px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 16px 14px;
}

.stat-label {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
}

.stat-delta {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
}

.stat-delta.up {
  color: var(--teal-dark);
}

.dash-chart {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 18px 12px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, rgba(18, 138, 138, 0.04), transparent 70%);
}

.pulse-chart {
  width: 100%;
  height: auto;
}

.pulse-area {
  fill: rgba(255, 92, 77, 0.10);
  stroke: none;
}

.pulse-line {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-top: 10px;
}

.dash-agenda {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.agenda-time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal-dark);
  flex-shrink: 0;
  width: 52px;
}

.agenda-hall {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
  background: var(--surface-2);
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.agenda-title {
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

/* Phone mockup — attendee ARS screen */

.phone-mock {
  position: absolute;
  right: -6px;
  bottom: -34px;
  width: 188px;
  background: var(--panel);
  border-radius: 24px;
  padding: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--panel-2);
}

.phone-notch {
  width: 46px;
  height: 5px;
  background: #33455C;
  border-radius: 999px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
}

.phone-header {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pulse-dark);
  margin-bottom: 8px;
}

.phone-question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

.poll-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  align-items: center;
  font-size: 0.66rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.poll-option span:first-child {
  grid-column: 1;
}

.poll-pct {
  font-family: var(--font-mono);
}

.poll-bar-track {
  grid-column: 1 / -1;
  height: 6px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}

.poll-bar {
  height: 100%;
  background: var(--teal);
  border-radius: 999px;
}

.phone-submit {
  width: 100%;
  margin-top: 6px;
  padding: 9px;
  border: none;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

/* =========================================================
   Pulse divider — signature heartbeat motif
   ========================================================= */

.pulse-divider {
  width: 100%;
  height: 48px;
  overflow: hidden;
}

.pulse-divider svg {
  width: 100%;
  height: 100%;
}

.pulse-divider path.track {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}

.pulse-divider path.beat {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 1.5;
  stroke-dasharray: 6 1400;
  stroke-dashoffset: 0;
  animation: travel 7s linear infinite;
}

@keyframes travel {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -1400;
  }
}

/* =========================================================
   Feature grid
   ========================================================= */

.features {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal-dark);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card.accent .feature-icon {
  background: var(--pulse-tint);
}

.feature-card.accent .feature-icon svg {
  stroke: var(--pulse-dark);
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* =========================================================
   Spotlight widgets — mini live previews
   ========================================================= */

.spotlight {
  padding: 80px 0;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.spotlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.spotlight-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.spotlight-widget {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 20px;
}

.spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pulse-dark);
  margin-bottom: 10px;
}

.spotlight-card h3 {
  margin-bottom: 8px;
}

.spotlight-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* --- Mini poll widget --- */

.mini-poll-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.35;
  margin-bottom: 14px;
}

.mini-poll .poll-option {
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.mini-poll .poll-bar-track {
  height: 7px;
}

.mini-poll-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
}

/* --- Mini analytics widget --- */

.mini-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.mini-chart-head span:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
}

.mini-chart-total {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal-dark);
}

.mini-bars {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.mini-bars rect {
  fill: var(--teal-tint);
}

.mini-bars rect.fill {
  fill: var(--teal);
}

.mini-bars rect.fill.peak {
  fill: var(--pulse);
}

.mini-chart-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-faint);
}

/* --- Mini certificate widget --- */

.cert-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cert-ribbon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--amber-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-ribbon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cert-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cert-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.cert-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
}

.cert-event {
  font-size: 0.78rem;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cert-cme {
  display: inline-block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--teal-dark);
  background: var(--teal-tint);
  padding: 3px 9px;
  border-radius: 999px;
  align-self: flex-start;
}

.cert-qr {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.cert-qr rect.cell {
  fill: var(--ink);
}

.cert-qr rect.bg {
  fill: var(--surface);
}

/* =========================================================
   Lifecycle timeline (Before / During / After)
   ========================================================= */

.lifecycle {
  padding: 80px 0;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.lifecycle-grid::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.lifecycle-stage {
  position: relative;
  z-index: 1;
  padding: 0 28px;
}

.lifecycle-stage:first-child {
  padding-left: 0;
}

.lifecycle-stage:last-child {
  padding-right: 0;
}

.lifecycle-dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--pulse-dark);
}

.lifecycle-stage h3 {
  margin-bottom: 10px;
}

.lifecycle-stage p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.lifecycle-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lifecycle-list li {
  font-size: 0.86rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}

.lifecycle-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1.5px;
  background: var(--pulse);
}

/* =========================================================
   Stats strip
   ========================================================= */

.stats-strip {
  background: var(--panel);
  color: #fff;
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stats-grid .stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 8px;
}

.stats-grid .stat-number .unit {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--pulse);
  margin-left: 2px;
}

.stats-grid .stat-cap {
  font-size: 0.86rem;
  color: var(--panel-soft);
  max-width: 22ch;
}

/* =========================================================
   CTA band
   ========================================================= */

.cta-band {
  padding: 80px 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--panel) 0%, var(--panel-2) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 77, 0.35), transparent 70%);
}

.cta-card h2 {
  color: #fff;
  max-width: 14ch;
  margin-bottom: 10px;
}

.cta-card p {
  color: var(--panel-soft);
  max-width: 36ch;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-card .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cta-card .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--panel);
  color: var(--panel-soft);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.5fr;
  gap: 70px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .logo-mark path {
  stroke: var(--pulse);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--panel-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Pricing page specifics
   ========================================================= */

.pricing-hero {
  padding: 84px 0 50px;
  text-align: center;
}

.pricing-hero .eyebrow {
  justify-content: center;
}

.pricing-hero .eyebrow::before {
  display: inline-block;
}

.pricing-hero h1 {
  margin: 18px auto 16px;
  max-width: 18ch;
}

.pricing-hero .lead {
  margin: 0 auto;
  max-width: 54ch;
  text-align: center;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.billing-toggle button {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease;
}

.billing-toggle button.active {
  background: var(--panel);
  color: #fff;
}

.billing-toggle .save-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal-dark);
  background: var(--teal-tint);
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 6px;
}

.pricing-grid {
  padding: 24px 0 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: var(--panel);
  color: #fff;
  border-color: var(--panel);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card.featured:hover {
  transform: translateY(-20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.price-card.featured:active {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.price-card.featured .price-tagline,
.price-card.featured .price-period,
.price-card.featured .price-features li {
  color: var(--panel-soft);
}

.price-card.featured .price-features li::before {
  color: var(--pulse);
}

.price-pulse {
  height: 30px;
  margin-bottom: 18px;
}

.price-pulse svg {
  width: 100%;
  height: 100%;
}

.price-pulse path {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

.price-card.featured .price-pulse path {
  stroke: var(--pulse);
  opacity: 1;
}

.price-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.price-card.featured .price-eyebrow {
  color: var(--pulse);
}

.price-card h3 {
  margin-bottom: 6px;
}

.price-tagline {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  min-height: 42px;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}

.price-amount .currency {
  font-size: 1.1rem;
  font-weight: 600;
}

.price-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  flex: 1;
}

.price-features li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-dark);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.most-popular {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--pulse);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-card {
  position: relative;
}

/* Comparison table */

.compare {
  padding: 30px 0 80px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  background: var(--surface-2);
}

.compare-table thead th:first-child {
  background: var(--surface);
}

.compare-table td:first-child,
.compare-table th:first-child {
  position: sticky;
  left: 0;
  background: var(--surface);
  font-weight: 500;
  color: var(--ink-soft);
  min-width: 220px;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td.center,
.compare-table th.center {
  text-align: center;
}

.tick {
  color: var(--teal-dark);
  font-family: var(--font-mono);
}

.dash-cell {
  color: var(--ink-faint);
}

/* FAQ */

.faq {
  padding: 20px 0 90px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 6px 22px;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--pulse);
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding-bottom: 18px;
  max-width: 60ch;
}

.pricing-note {
  font-size: 0.84rem;
  color: var(--ink-faint);
  text-align: center;
  margin-top: -30px;
  padding-bottom: 50px;
}

/* =========================================================
   Responsive
   ========================================================= */
   @media (max-width:1023px) {
     .phone-mock{
      display: none;
     }

      }

@media (max-width:960px) {
  .nav-inner {
    padding: 14px 20px;
  }

  .logo {
    padding-left: 0;
  }

  .nav-right {
    padding-right: 0;
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-right .btn {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .dash-mock {
    padding: 10px 0 56px;
    max-width: 560px;
    margin: 0 auto;
  }

  .phone-mock {
    display: none;
    /* Hide phone mockup on tablet to prevent horizontal overflow */
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifecycle-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lifecycle-grid::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.featured {
    transform: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width:640px) {
  .container {
    padding: 0 22px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-actions {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: none;
  }

  .dash-mock {
   display:none;
  }

  .dash-window {
    width: 100%;
    max-width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: none;
  }

  .dash-body {
    padding: 16px;
  }

  .dash-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  .stat-card {
    padding: 12px;
  }

  .dash-chart {
    padding: 12px 12px 8px;
    margin-bottom: 16px;
  }

  .phone-mock {
    display: none;
  }
  .features{
    padding:20px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
   .spotlight{
    padding: 0;
   }
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .spotlight-card {
    width:70%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .cta-card {
    padding: 44px 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    order: -1;
  }
  
}

/* Page wrapper to bulletproof mobile horizontal overflow clipping */
.page-wrapper {
  width: 100%;
  overflow-x: clip;
  position: relative;
}

/* Pulse divider responsiveness */
.pulse-divider {
  width: 100%;
  overflow: hidden;
}

.pulse-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}