/* ==========================================================================
   Relin Landing Page - Native App-Aligned, Crisp, Personal Candidate CSS
   Features 4 Core Pillars (Agent, Cold Emailing, Referrals, Bots),
   3-Step User Workflow, Micro-Animations, and 100% App Token Consistency.
   ========================================================================== */

/* Base & Crisp Desktop Scale */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 13.5px; /* High-density crisp typography - avoids the zoomed-in look */
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg, #191724);
  color: var(--text, #e0def4);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

a, a:visited, a:hover, a:active {
  color: inherit;
  text-decoration: none !important;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

/* Background Grids & Ambient Lights */
.bg-ambient-lights {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: -10%;
  left: 25%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, var(--primary-glow, rgba(235, 188, 186, 0.12)) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.35;
  animation: ambientDrift 14s ease-in-out infinite alternate;
}

@keyframes ambientDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}

.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--border-soft, #221f32) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-soft, #221f32) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.22;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 20%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 20%, #000 40%, transparent 100%);
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

/* Floating Capsule Topbar (Identical to Relin App Topbar) */
.topbar {
  position: sticky;
  top: 14px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 16px auto;
  max-width: fit-content;
  padding: 5px 10px;
  gap: 16px;
  background: var(--surface, rgba(31, 29, 46, 0.9));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border, #2a2740);
  border-radius: 100px;
  box-shadow: var(--shadow-soft, 0 10px 26px rgba(0, 0, 0, 0.28));
  transition: all 0.2s ease;
}

.tn-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.brand__title {
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  color: var(--text);
  user-select: none;
  text-decoration: none !important;
}

.tabbar {
  display: flex;
  gap: 3px;
  align-items: center;
}

.tab {
  appearance: none;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted, #908caa);
  cursor: pointer;
  transition: all 140ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.tab .app-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.tab:hover {
  color: var(--text);
  background: var(--bg-elev, #26233a);
  text-decoration: none !important;
}

.tab.tab--active {
  color: var(--text);
  background: color-mix(in srgb, var(--primary, var(--accent)) 14%, transparent);
  font-weight: 600;
  text-decoration: none !important;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-action-btn {
  padding: 5px 12px;
  border-radius: var(--radius-sm, 9px);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-elev, #26233a);
  border: 1px solid var(--border, #2a2740);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  text-decoration: none !important;
}

.topbar-action-btn:hover {
  border-color: var(--accent);
  background: var(--bg-card);
}

.topbar-action-btn .app-icon {
  width: 13px;
  height: 13px;
}

/* App Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm, 9px);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--primary, #ebbcba);
  color: #110f19 !important;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--primary-glow, rgba(235, 188, 186, 0.2));
}

.btn-primary *,
.btn-primary span,
.btn-primary svg {
  color: #110f19 !important;
  stroke: #110f19 !important;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--primary-glow, rgba(235, 188, 186, 0.35));
}

.btn-secondary {
  background: var(--bg-card, #1f1d2e);
  border: 1px solid var(--border, #2a2740);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--bg-elev, #26233a);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  padding: 34px 0 26px 0;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success, #95b1ac);
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 18px auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 11.5px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-guarantee-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-guarantee-item svg {
  color: var(--success);
  width: 13px;
  height: 13px;
}

/* Real Application UI & Terminal Showcase */
.hero-mockup-wrapper {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius, 14px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.hero-mockup-wrapper:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
  gap: 12px;
}

.mockup-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mockup-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-base, #191724);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.mockup-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
}

.mockup-tab-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.mockup-tab-btn.active {
  background: var(--surface, #26233a);
  color: var(--accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.showcase-view {
  width: 100%;
  position: relative;
}

.showcase-img-container {
  position: relative;
  width: 100%;
  background: #14121e;
  overflow: hidden;
}

.hero-dashboard-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.showcase-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 16px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

.showcase-footer-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-footer-item span:last-child {
  color: var(--text-dim, #e0def4);
  font-weight: 500;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background: var(--danger, #eb6f92); }
.dot-yellow { background: var(--accent, #ebbcba); }
.dot-green { background: var(--success, #95b1ac); }
.dot-purple { background: #c084fc; }
.dot-blue { background: #60a5fa; }

.mockup-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--muted);
}

.status-live-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--success);
}

.pulse-green-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(149, 177, 172, 0.7);
  animation: pulseGlow 2.2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(149, 177, 172, 0.7); }
  70% { box-shadow: 0 0 0 5px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 230px;
}

.mockup-terminal {
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text);
  background: var(--code-bg, #14121e);
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.terminal-logs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
  max-height: 210px;
}

.terminal-line {
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  animation: logFadeIn 0.25s ease;
}

@keyframes logFadeIn {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}

.log-time {
  color: var(--muted);
  font-size: 10px;
}

.log-tag {
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 9.5px;
  flex-shrink: 0;
}

.tag-search { background: var(--bg-card); color: var(--accent); }
.tag-ats { background: var(--bg-card); color: var(--primary); }
.tag-apply { background: var(--bg-card); color: var(--success); }
.tag-ppp { background: var(--bg-card); color: var(--accent); }
.tag-email { background: var(--bg-card); color: var(--danger); }

.mockup-card-view {
  padding: 14px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.live-job-card {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm, 9px);
  padding: 10px 12px;
}

.job-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.company-badge {
  display: flex;
  align-items: center;
  gap: 7px;
}

.company-logo-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: var(--primary);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
}

.job-portal-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-soft);
  color: var(--accent);
  border: 1px solid var(--border-soft);
}

.job-title-h {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}

.job-company-loc {
  font-size: 11px;
  color: var(--muted);
}

.live-agent-stepper {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  color: var(--muted);
}

.step-item.active {
  border-color: var(--border);
  color: var(--text);
  background: var(--bg-elev);
}

/* Shared Section Styles */
.section-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.section-desc {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 22px auto;
}

/* How It Works Pipeline (3 Clean Steps) */
.how-it-works-section {
  padding: 38px 0;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.pipeline-card {
  background: var(--surface, #1f1d2e);
  border: 1px solid var(--border);
  border-radius: var(--radius, 14px);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pipeline-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.pipeline-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pipeline-step-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

.pipeline-card-icon {
  font-size: 1.25rem;
}

.pipeline-card-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pipeline-card-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.step-card-footer {
  margin-top: auto;
}

.step-status-chip {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, transparent);
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
}

.workflow-summary-banner {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 9px);
  padding: 10px 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.banner-sparkle {
  font-size: 13px;
}

/* Supported Portals */
.platforms-section {
  padding: 34px 0;
  text-align: center;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 8px;
}

.platform-chip {
  padding: 10px 8px;
  border-radius: var(--radius-sm, 9px);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.platform-chip:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.platform-name {
  font-weight: 600;
  font-size: 11.5px;
}

.platform-type {
  font-size: 10px;
  color: var(--muted);
}

/* Four Core Pillars (Agent, Cold Emailing, Referrals, Bots) */
.features-section {
  padding: 38px 0;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius, 14px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card-interactive-glow:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px var(--primary-glow, rgba(0, 0, 0, 0.3));
}

.pillar-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pillar-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pillar-category-tag {
  font-size: 9.5px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.tag-agent { background: rgba(235, 188, 186, 0.15); color: var(--primary); border: 1px solid var(--primary-glow); }
.tag-resume { background: rgba(192, 132, 252, 0.15); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.3); }
.tag-outreach { background: rgba(235, 111, 146, 0.15); color: var(--danger); border: 1px solid rgba(235, 111, 146, 0.3); }
.tag-referral { background: rgba(149, 177, 172, 0.15); color: var(--success); border: 1px solid rgba(149, 177, 172, 0.3); }
.tag-bots { background: rgba(246, 193, 119, 0.15); color: var(--accent); border: 1px solid rgba(246, 193, 119, 0.3); }

.pillar-badge-sub {
  font-size: 10px;
  color: var(--muted);
}

.pillar-icon-glow {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm, 9px);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.pillar-icon-glow svg {
  display: block;
  stroke: currentColor;
}

.status-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(149, 177, 172, 0.7);
  animation: pulseGlow 2.2s infinite;
  vertical-align: middle;
  margin-right: 4px;
}

.inline-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 3px;
  color: var(--success);
}

.inline-preview-arrow {
  display: inline-block;
  vertical-align: middle;
  margin: 0 3px;
  color: var(--muted);
}

.pillar-title {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Interactive Preview Container inside Pillars */
.pillar-visual-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm, 9px);
  padding: 9px 12px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: var(--muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preview-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.preview-content {
  color: var(--text);
  font-size: 10.5px;
  line-height: 1.45;
}

.preview-q {
  color: var(--accent);
  margin-bottom: 3px;
}

.preview-a {
  color: var(--muted);
}

.preview-a i {
  color: var(--text);
}

.preview-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.preview-row .lbl {
  color: var(--muted);
  font-size: 10px;
  width: 44px;
  flex-shrink: 0;
}

.preview-row .val {
  color: var(--text);
}

.status-sent {
  color: var(--success);
  font-weight: 600;
}

.referral-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
}

.flow-node {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
}

.flow-node.highlight {
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--success);
  border-color: var(--success);
}

.flow-node.target {
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary);
  border-color: var(--primary);
}

.flow-arrow {
  color: var(--muted);
  font-size: 9px;
}

.bento-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.bento-tag {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--border-soft);
}

/* Accurate 2-Plan Pricing (Free vs 9-Month Premium) */
.pricing-section {
  padding: 38px 0;
  text-align: center;
}

.pricing-controls {
  margin-bottom: 18px;
}

.currency-select-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted);
}

.currency-dropdown {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 4px 8px;
  border-radius: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  outline: none;
  cursor: pointer;
}

/* Modular Feature Picker & Subscription Pricing */
.cadence-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px;
  border-radius: var(--radius-sm, 9px);
  gap: 2px;
}

.cadence-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cadence-btn:hover {
  color: var(--text);
}

.cadence-btn.active {
  background: var(--bg-elev);
  color: var(--accent);
  border-color: var(--border-soft);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cadence-btn .save-pill {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(235, 188, 186, 0.18);
  color: var(--accent);
  border: 1px solid rgba(235, 188, 186, 0.35);
  letter-spacing: 0.3px;
}

.pricing-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-sm, 9px);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.preset-btn svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
}

.preset-btn:hover {
  background: var(--bg-elev);
  color: var(--text);
  border-color: var(--border-soft);
}

.preset-btn.active {
  background: var(--bg-elev);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .feature-picker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .feature-picker-grid {
    grid-template-columns: 1fr;
  }
}

.feature-select-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius, 14px);
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  user-select: none;
}

.feature-select-card:hover {
  border-color: var(--border-soft);
  transform: translateY(-2px);
}

.feature-select-card.active {
  border-color: var(--accent);
  background: var(--bg-elev);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.feature-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feature-select-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.feature-select-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-select-icon svg {
  display: block;
  stroke: currentColor;
}

.feature-check-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.feature-check-indicator svg {
  display: none;
  stroke: #191724;
}

.feature-select-card.active .feature-check-indicator {
  background: var(--success);
  border-color: var(--success);
}

.feature-select-card.active .feature-check-indicator svg {
  display: block;
}

.feature-select-title {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.feature-select-desc {
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 14px;
  flex-grow: 1;
}

.feature-select-price {
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
}

.feat-rate {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
}

.feat-unit {
  font-size: 10.5px;
  color: var(--muted);
  margin-left: 2px;
}

.feat-subtext {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}

.unified-pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius, 14px);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  margin-bottom: 24px;
}

.unified-checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.unified-card-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  margin: 2px 0;
}

.pricing-decay-chart-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.unified-card-topbar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}

.bundle-summary-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.bundle-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(149, 177, 172, 0.15);
  border: 1px solid rgba(149, 177, 172, 0.35);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s ease;
}

.bundle-discount-badge .sparkle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
}

.bundle-discount-badge .sparkle svg {
  display: block;
  stroke: currentColor;
}

.bundle-selected-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.unified-checkout-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.bundle-term-note {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.bundle-summary-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bundle-price-wrap {
  text-align: right;
  width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bundle-original-price {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
  height: 16px;
  line-height: 16px;
  margin-bottom: 1px;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.bundle-final-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  transition: color 0.2s ease;
}

.bundle-monthly-equiv {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  height: 16px;
  line-height: 16px;
}

.btn-checkout-bundle {
  padding: 12px 24px;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.1px;
}

.btn-checkout-bundle:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.65), 0 0 12px rgba(52, 211, 153, 0.5) !important;
  transform: translateY(-1.5px) scale(1.02);
  color: #ffffff !important;
}

.btn-checkout-bundle:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
}

.btn-checkout-bundle svg {
  stroke: #ffffff !important;
  stroke-width: 2.8px;
  transition: transform 0.2s ease;
}

.btn-checkout-bundle:hover svg {
  transform: translateX(3px);
}

.decay-chart-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-start;
  gap: 20px;
  min-height: 64px;
}

.decay-chart-title-wrap {
  min-width: 0;
}

.decay-chart-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(235, 188, 186, 0.12);
  border: 1px solid rgba(235, 188, 186, 0.28);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
  transition: all 0.2s ease;
}

.decay-chart-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px 0;
}

.decay-chart-desc {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
  min-height: 32px;
}

.decay-chart-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
}

.decay-stat-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  text-align: center;
  width: 145px;
  height: 52px;
  box-sizing: border-box;
  justify-content: center;
}

.decay-stat-box.highlight {
  border-color: rgba(235, 188, 186, 0.4);
  background: rgba(235, 188, 186, 0.08);
}

.decay-stat-label {
  font-size: 9.5px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.decay-stat-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.decay-chart-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 28px;
  font-size: 11px;
}

.decay-floor-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.decay-total-savings {
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* SVG Chart Stage */
.decay-chart-stage {
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 10%, rgba(235, 188, 186, 0.09) 0%, rgba(17, 15, 25, 0.5) 100%);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.decay-svg {
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
}

.decay-grid-line {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}

.decay-floor-path {
  stroke: rgba(149, 177, 172, 0.6);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}

.decay-area-polygon {
  pointer-events: none;
}

.decay-curve-line {
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(235, 188, 186, 0.3));
}

.decay-node-group {
  cursor: pointer;
}

.decay-node-group .decay-pill-wrap {
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.decay-node-group.badge-hidden .decay-pill-wrap {
  opacity: 0;
  pointer-events: none;
}

.decay-node-group.badge-hidden:hover .decay-pill-wrap {
  opacity: 1;
  pointer-events: auto;
}

.decay-node-ring {
  fill: #191724;
  stroke: var(--accent);
  stroke-width: 2px;
  transition: r 0.2s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease, stroke-width 0.2s ease;
}

.decay-node-ring.is-floor {
  stroke: #95b1ac;
}

.decay-node-dot {
  fill: var(--accent);
  transition: fill 0.2s ease, r 0.2s ease;
}

.decay-node-dot.is-floor {
  fill: #95b1ac;
}

.decay-pill-bg {
  fill: rgba(25, 23, 36, 0.92);
  stroke: rgba(235, 188, 186, 0.35);
  stroke-width: 1px;
  transition: stroke 0.2s ease, fill 0.2s ease;
}

.decay-pill-bg.is-floor {
  stroke: rgba(149, 177, 172, 0.55);
}

.decay-pill-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  fill: #e0def4;
  letter-spacing: -0.2px;
  pointer-events: none;
}

.decay-pill-text.is-floor {
  fill: #95b1ac;
}

.decay-x-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  fill: #908caa;
  transition: fill 0.2s ease, font-weight 0.2s ease;
  pointer-events: none;
}

.decay-x-label.is-floor {
  fill: #95b1ac;
  font-weight: 700;
}

.decay-node-group:hover .decay-node-ring {
  r: 8.5;
  stroke-width: 3px;
  stroke: #ffffff;
}

.decay-node-group:hover .decay-node-ring.is-floor {
  stroke: #a6e3a1;
}

.decay-node-group:hover .decay-node-dot {
  fill: #ffffff;
  r: 3.8;
}

.decay-node-group:hover .decay-pill-bg {
  fill: rgba(38, 35, 58, 0.98);
  stroke: var(--accent);
  stroke-width: 1.5px;
}

.decay-node-group:hover .decay-pill-bg.is-floor {
  stroke: #a6e3a1;
}

.decay-node-group:hover .decay-pill-text {
  fill: #ffffff;
  font-weight: 800;
}

.decay-node-group:hover .decay-x-label {
  fill: #ffffff;
  font-weight: 700;
}

.decay-floating-tooltip {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(33, 30, 48, 0.95);
  border: 1px solid rgba(235, 188, 186, 0.4);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeInTooltip 0.15s ease-out;
}

@keyframes fadeInTooltip {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.decay-chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}

.decay-floor-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.floor-line-sample {
  display: inline-block;
  width: 16px;
  height: 0;
  border-bottom: 2px dashed var(--accent);
}

.decay-total-savings {
  font-size: 12px;
  color: var(--success);
}

.free-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: var(--radius, 14px);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* FAQ Accordion */
.faq-section {
  padding: 38px 0;
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 9px);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-question-btn {
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.faq-chevron {
  width: 13px;
  height: 13px;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
  padding: 0 14px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding-bottom: 12px;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 28px 0 18px 0;
  font-size: 11.5px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-bottom a:hover {
  color: var(--text);
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface-solid, var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius, 14px);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: modalPop 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.modal-title {
  font-size: 13px;
  font-weight: 700;
}

.modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  background: transparent;
  border: none;
  transition: all 0.15s ease;
}

.modal-close-btn svg {
  display: block;
  stroke: currentColor;
}

.modal-close-btn:hover {
  color: var(--text);
  background: var(--bg-elev);
}

.modal-body {
  padding: 16px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

/* Responsive Breakpoints */
@media (max-width: 820px) {
  .pipeline-grid {
    grid-template-columns: 1fr;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .mockup-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid-clean {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .topbar {
    width: 95%;
    gap: 8px;
  }
  .tabbar {
    display: none;
  }
}

/* Featured Pillar Lead Card */
.pillar-card.pillar-lead {
  grid-column: span 2;
  padding: 22px 24px;
}

.pillar-lead-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 8px;
}

.pillar-lead-text .pillar-title {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text);
}

.pillar-lead-text .pillar-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.pillar-lead-preview {
  margin-top: 0;
}

.pillar-lead-preview code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--accent);
}

@media (max-width: 820px) {
  .pillar-card.pillar-lead {
    grid-column: span 1;
    padding: 18px;
  }
  .pillar-lead-content {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* Pro Outreach Pillar Styles */
.tag-outreach-pro {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.35);
}

.pro-pill-badge {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dot-indigo {
  background: #6366f1;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}
