/* Auto-generated shared styles for SocialGuard /limits/ pages & Safe Daily Outreach Calculator */

.limits-page {
  --plat-accent: var(--primary);
}

.limits-page .navbar .nav-active {
  color: var(--primary);
}

.limits-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 50;
}

.limits-subnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.subnav-pills {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.subnav-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.subnav-pill:hover {
  color: var(--text-main);
  border-color: rgba(99, 102, 241, 0.4);
  background: #ffffff;
}

.subnav-pill.active {
  background: var(--sg-navy);
  color: #ffffff;
  border-color: var(--sg-navy);
}

.subnav-version {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Hero */
.limits-hero {
  background:
    radial-gradient(880px 420px at 12% -10%, rgba(56, 189, 248, 0.24), transparent 60%),
    radial-gradient(720px 380px at 88% 0%, rgba(168, 85, 247, 0.2), transparent 60%),
    linear-gradient(155deg, var(--sg-navy) 0%, var(--sg-navy-2) 100%);
  color: #ffffff;
  padding: 3rem 1.5rem 3.5rem;
  text-align: center;
}

.limits-hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
  justify-content: center;
}

.breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.platform-hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.platform-icon-badge.lg {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.platform-icon-badge.lg svg {
  width: 24px;
  height: 24px;
}

.platform-icon-badge.linkedin, .plat-index-card.linkedin .platform-icon-badge, .other-guide-card.linkedin .platform-icon-badge { background: #0a66c2; }
.platform-icon-badge.facebook, .plat-index-card.facebook .platform-icon-badge, .other-guide-card.facebook .platform-icon-badge { background: #1877f2; }
.platform-icon-badge.instagram, .plat-index-card.instagram .platform-icon-badge, .other-guide-card.instagram .platform-icon-badge { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); }
.platform-icon-badge.x, .plat-index-card.x .platform-icon-badge, .other-guide-card.x .platform-icon-badge { background: #000000; border: 1px solid rgba(255, 255, 255, 0.25); }
.platform-icon-badge.tiktok, .plat-index-card.tiktok .platform-icon-badge, .other-guide-card.tiktok .platform-icon-badge { background: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%); }

.limits-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.85rem;
}

.platform-hero-title h1 {
  margin-bottom: 0;
}

.limits-hero-lead {
  color: #cbd5e1;
  font-size: 1.12rem;
  max-width: 760px;
  margin: 0 auto 1.65rem;
}

.limits-hero-lead strong {
  color: #ffffff;
}

.limits-hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.limits-hero .btn-primary {
  background: #ffffff;
  color: var(--sg-navy);
}

.limits-hero .btn-primary:hover {
  background: #e0f2fe;
}

/* Containers & Sections */
.limits-container {
  max-width: 1180px;
  margin: 0 auto;
}

.limits-container.narrow {
  max-width: 880px;
}

.limits-section {
  padding: 4.25rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.limits-section.alt {
  background: var(--bg-color);
}

.section-header.compact {
  margin-bottom: 2.25rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(79, 70, 229, 0.08);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* Interactive Calculator */
.calc-section {
  padding: 4rem 1.5rem;
  background: var(--bg-color);
}

.calc-shell {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.calc-controls {
  padding: 1.6rem 1.75rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: grid;
  gap: 1.35rem;
}

.calc-control-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.calc-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.calc-platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.calc-plat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-plat-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.calc-plat-btn:hover {
  border-color: rgba(79, 70, 229, 0.45);
  transform: translateY(-1px);
}

.calc-plat-btn.active {
  background: var(--sg-navy);
  color: #ffffff;
  border-color: var(--sg-navy);
  box-shadow: 0 6px 14px rgba(11, 16, 38, 0.18);
}

.calc-mobile-select {
  display: none;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.calc-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.calc-tier-btn {
  text-align: left;
  padding: 0.78rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.calc-tier-btn:hover {
  border-color: rgba(79, 70, 229, 0.45);
}

.calc-tier-btn.active {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.05);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.16);
}

.calc-tier-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.calc-tier-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
}

.calc-tier-badge.free_safe { background: rgba(16, 185, 129, 0.14); color: #047857; }
.calc-tier-badge.standard { background: rgba(14, 165, 233, 0.14); color: #0369a1; }
.calc-tier-badge.paid_verified { background: rgba(99, 102, 241, 0.14); color: #4338ca; }
.calc-tier-badge.high_risk_max { background: rgba(245, 158, 11, 0.18); color: #b45309; }

.btn-copy-schedule {
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-copy-schedule:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.calc-results {
  padding: 1.6rem 1.75rem 1.85rem;
}

.calc-summary-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.05rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  margin-bottom: 1.2rem;
}

.calc-summary-banner.high_risk_max {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
}

.calc-summary-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.calc-summary-title-row h3 {
  font-size: 1.15rem;
}

.calc-summary-banner p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.calc-kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.calc-kpi-item {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.calc-kpi-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.calc-kpi-value {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Tables */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: #ffffff;
}

.limits-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.93rem;
}

.limits-table thead th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
}

.limits-table tbody th,
.limits-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.limits-table tbody tr:last-child th,
.limits-table tbody tr:last-child td {
  border-bottom: none;
}

.limits-table tbody tr:hover {
  background: #f8fafc;
}

.limits-table .num-col {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc-metric-title {
  font-weight: 700;
  color: var(--text-main);
}

.calc-metric-tip {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.12rem;
}

.cap-pill {
  display: inline-block;
  padding: 0.16rem 0.55rem;
  border-radius: 8px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  font-size: 0.96rem;
}

.unit-label, .unit-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.unit-sub {
  display: block;
}

.cooldown-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.8rem;
}

.risk-col {
  color: #b45309;
  font-weight: 600;
}

.conf-badge {
  display: inline-block;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: capitalize;
}

.conf-high { background: rgba(16, 185, 129, 0.14); color: #047857; }
.conf-medium { background: rgba(14, 165, 233, 0.14); color: #0369a1; }
.conf-low { background: rgba(245, 158, 11, 0.18); color: #b45309; }

.plat-chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.plat-chip.linkedin { background: #0a66c2; }
.plat-chip.facebook { background: #1877f2; }
.plat-chip.instagram { background: #e1306c; }
.plat-chip.x { background: #0f172a; }
.plat-chip.tiktok { background: #fe2c55; }

.metric-row-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
}

.metric-row-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Platform Index Grid */
.plat-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.plat-index-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.plat-index-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.plat-index-head h3 {
  font-size: 1.18rem;
}

.plat-index-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plat-index-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.plat-highlight-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.plat-highlight-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.45rem 0.65rem;
  background: #f8fafc;
  border-radius: 8px;
}

.plat-highlight-list span {
  color: var(--text-muted);
}

.plat-highlight-list strong {
  color: var(--text-main);
  text-align: right;
}

/* Burst & Lifetime Caps Grid */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.cap-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cap-card.highlight {
  background: rgba(79, 70, 229, 0.04);
  border-color: rgba(79, 70, 229, 0.25);
}

.cap-card-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cap-card-value {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Metric Breakdown Cards */
.metric-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.25rem;
}

.metric-detail-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.metric-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.metric-detail-head h3 {
  font-size: 1.1rem;
}

.metric-detail-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.metric-what,
.metric-how {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.metric-what strong,
.metric-how strong {
  color: var(--text-main);
}

.metric-tier-mini {
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.metric-tier-mini strong {
  color: var(--text-main);
}

/* Changelog & JSON Feed */
.changelog-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.changelog-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.changelog-badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.changelog-date {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
}

.changelog-text {
  font-size: 0.92rem;
  color: var(--text-main);
}

.json-feed-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.json-feed-box a {
  color: var(--primary);
  font-weight: 700;
  word-break: break-all;
}

/* Other Guides Grid */
.other-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.other-guide-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.other-guide-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: var(--shadow-sm);
}

.other-guide-card strong {
  display: block;
  font-size: 0.96rem;
}

.other-guide-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Mid-Page Conversion CTA */
.limits-mid-cta-wrap {
  padding: 2.5rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.limits-mid-cta {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(56, 189, 248, 0.1));
  border: 1.5px solid rgba(16, 185, 129, 0.38);
  border-radius: 18px;
  padding: 1.65rem 1.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.limits-mid-cta-copy {
  max-width: 660px;
}

.limits-mid-cta-copy .trial-pill {
  margin-bottom: 0.55rem;
}

.limits-mid-cta-copy h3 {
  font-size: 1.32rem;
  margin-bottom: 0.35rem;
}

.limits-mid-cta-copy p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.limits-mid-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Sticky Bottom CTA Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(11, 16, 38, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 -10px 30px rgba(2, 6, 23, 0.32);
  color: #ffffff;
}

.sticky-cta-bar.hidden {
  display: none;
}

.sticky-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.78rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sticky-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sticky-cta-copy strong {
  font-size: 0.95rem;
  color: #ffffff;
}

.sticky-cta-copy span {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.sticky-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sticky-cta-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #cbd5e1;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.sticky-cta-close:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.limits-footer {
  padding-bottom: 6.5rem;
}

@media (max-width: 900px) {
  .calc-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .calc-platform-pills {
    display: none;
  }
  .calc-mobile-select {
    display: block;
  }
  .calc-tier-grid {
    grid-template-columns: 1fr;
  }
  .calc-controls,
  .calc-results {
    padding: 1.15rem;
  }
  .sticky-cta-copy strong {
    font-size: 0.86rem;
  }
  .limits-footer {
    padding-bottom: 8.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
