/* DCS page – components unique to this system */

/* Hero on DCS page is already styled by global hero + hero-kicker + hero-sub */
.hero-inner-dcs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start; /* consistent with homepage */
  justify-content: space-between;
  gap: 40px;
}

/* make all hero buttons appear on ONE line (wrap on small screens) */
.hero-actions-dcs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 12px;
}

/* hero note spacing */
.hero-note {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--tfm-muted);
}

/* badges alignment fix */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .hero-inner-dcs {
    flex-direction: column;
    text-align: left;
  }

  .dashboard-card {
    margin-top: 24px;
  }
}

.hero-badge {
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--tfm-border);
  padding: 4px 10px;
  font-size: 0.78rem;
}

.hero-badge strong {
  color: var(--tfm-primary);
}

/* Primary CTA row */
.hero-actions a {
  font-size: 0.9rem;
}

/* DCS dashboard sample */
.dashboard-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--tfm-border);
  box-shadow: 0 16px 45px var(--tfm-shadow);
  margin-top: 22px;
}

.dashboard-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tfm-primary-dark);
  margin-bottom: var(--space-sm);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tfm-border);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.dashboard-col {
  background: var(--tfm-bg);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--tfm-border);
  font-size: 0.85rem;
}

.status-pill {
  background: #ecfdf3;
  color: #027a48;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-pill-danger {
  background: #fef3f2;
  color: #b42318;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.chip {
  background: var(--tfm-primary-light);
  color: var(--tfm-primary-dark);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.client-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 4px 0;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
}

.step-list li {
  padding: 3px 0;
}

.dashboard-note {
  margin-top: var(--space-xs);
  font-size: 0.82rem;
  color: var(--tfm-muted);
}

/* Sections like grid-3, grid-2 etc. are already global */

/* improvements */
/* Improve spacing and visual rhythm */
.hero-content h1 {
  margin-bottom: 14px;
}

.hero-content .hero-sub {
  margin-bottom: 18px;
}

.hero-actions-dcs a {
  height: 44px;
  padding: 0 22px;
  display: flex;
  align-items: center;
}

.hero-note {
  margin-top: 18px;
  max-width: 480px;
  line-height: 1.55;
}

/* Keep left column tighter */
.hero-content {
  max-width: 520px; /* previously 620px, too wide */
}

/* Make the CTAs feel more unified */
.hero-actions-dcs .btn-secondary {
  font-weight: 600;
  border-width: 2px;
}

.hero-actions-dcs {
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 14px;
}

/* Add breathing space at top of DCS hero */
.hero {
  padding-top: 110px; /* matches homepage spacing */
}

.hero-sub {
  line-height: 1.55;
}

/* buttons enhancments for this page */

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-section {
  padding: 48px 32px;
  border-radius: 24px;
}

.monthend-flow {
  text-align: center;
  padding: 20px 0;
}

.monthend-flow .section-subtitle {
  margin-top: -10px;
  color: var(--tfm-muted);
}

.flow-steps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.flow-step {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef1f7;
}

.flow-day {
  font-weight: 600;
  color: var(--tfm-secondary);
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  min-height: 460px;
  padding: 32px 36px;
  line-height: 1.45;
}

.pricing-card {
  padding: 32px 36px;
  line-height: 1.5;
}

/* Expand pricing section width */
section.pricing-section {
  max-width: 1400px !important;
  margin: 0 auto;
}
