:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --primary-soft: #fff6e6;
  --ink: #172033;
  --muted: #526074;
  --surface: #ffffff;
  --surface-soft: #fffdf8;
  --line: rgba(23, 32, 51, 0.1);
  --shadow-soft: 0 16px 36px rgba(23, 32, 51, 0.08);
  --shadow-strong: 0 26px 60px rgba(23, 32, 51, 0.12);
  --radius-card: 28px;
  --radius-panel: 22px;
  --radius-pill: 999px;
  --max-width: 1200px;
  --demo-banner-height: 38px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 146px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 24%),
    linear-gradient(180deg, #fffefb 0%, #f8fafc 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

iframe {
  display: block;
}

code,
pre {
  font-family: Consolas, "SFMono-Regular", monospace;
}

.demo-banner {
  position: sticky;
  top: 0;
  min-height: var(--demo-banner-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: #3b82f6;
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
  z-index: 80;
}

.demo-banner strong {
  font-weight: 700;
}

.demo-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.demo-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 0.72rem;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.demo-switch a.is-active {
  background: #ffffff;
  color: #1d4ed8;
}

.page-wrapper {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: calc(var(--demo-banner-height) + 0.75rem);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.14);
  color: var(--primary-dark);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: "Nunito", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.logo-text span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary-dark);
}

.btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.24);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 32, 51, 0.12);
  box-shadow: 0 10px 20px rgba(23, 32, 51, 0.06);
}

.header-cta {
  flex-shrink: 0;
}

.mt-4 {
  margin-top: 1rem;
}

main {
  display: flex;
  flex-direction: column;
  gap: 4.75rem;
  padding: 2.5rem 0 4.75rem;
}

.hero,
.chat-preview-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.chat-preview-copy h2,
.integration-example h3 {
  font-family: "Nunito", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero-copy h1 {
  margin: 1.15rem 0 1.35rem;
  font-size: clamp(2.6rem, 4.4vw, 4.05rem);
  max-width: 11ch;
}

.hero-copy p,
.section-heading p,
.chat-preview-copy p,
.step-card p,
.integration-example p,
.site-footer p {
  color: var(--muted);
}

.hero-actions,
.chat-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-points span {
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: 0 8px 16px rgba(23, 32, 51, 0.05);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow-strong);
}

.hero-image-wrap img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.floating-benefit {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 340px;
  padding: 1rem 1.15rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 32, 51, 0.1);
  box-shadow: 0 16px 34px rgba(23, 32, 51, 0.12);
}

.floating-benefit-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-dark);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.floating-benefit strong {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.floating-benefit span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 2.1rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0.95rem 0 0.95rem;
  font-size: clamp(2rem, 3.5vw, 3.05rem);
}

.section-heading-split {
  max-width: none;
  margin-bottom: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.2rem;
  text-align: left;
}

.services,
.calendar-section,
.steps-section {
  padding: 0;
}

.service-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card,
.step-card,
.frame-shell,
.calendar-frame-wide,
.integration-example {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.service-card {
  padding: 2rem 1.4rem;
  border-radius: var(--radius-panel);
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover,
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.service-card-highlight {
  background: linear-gradient(180deg, var(--primary-soft) 0%, #ffffff 100%);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-dark);
  font-size: 1.95rem;
}

.service-card h3,
.step-card h3 {
  font-family: "Nunito", sans-serif;
  font-size: 1.35rem;
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

.chat-preview-copy h2 {
  margin: 0.9rem 0 1rem;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
}

.calendar-cta-card {
  padding: 3.5rem 2rem;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff9ef 0%, #ffffff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  margin: 0 auto;
}

.calendar-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.calendar-cta-card h3 {
  font-family: "Nunito", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.calendar-cta-card p {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.step-card {
  padding: 1.75rem;
  border-radius: var(--radius-panel);
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: rgba(245, 158, 11, 0.14);
  color: var(--primary-dark);
  font-weight: 800;
}

.integration-example {
  margin-top: 1.4rem;
  padding: 1.4rem;
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 1.4rem;
  align-items: start;
}

.integration-security {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.security-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.integration-example h3 {
  margin: 0.9rem 0 0.75rem;
  font-size: 1.65rem;
}

.integration-code {
  overflow-x: auto;
  padding: 1.2rem;
  border-radius: 20px;
  background: #1f2937;
  color: #f8fafc;
  font-size: 0.92rem;
  line-height: 1.75;
}

.site-footer {
  margin-top: auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer strong {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

@media (max-width: 1100px) {
  .hero,
  .chat-preview-section,
  .integration-example,
  .section-heading-split {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading-split {
    display: grid;
    text-align: left;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 126px;
  }

  .page-wrapper {
    width: min(var(--max-width), calc(100% - 20px));
  }

  .site-header {
    padding: 0.95rem 1rem;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  main {
    gap: 3.5rem;
    padding-top: 2rem;
  }

  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .request-demo-layout {
    grid-template-columns: 1fr;
  }

  .request-notes {
    padding: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --demo-banner-height: 54px;
  }

  html {
    scroll-padding-top: 140px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .chat-preview-actions {
    flex-direction: column;
  }

  .hero-image-wrap img {
    min-height: 420px;
  }

  .floating-benefit {
    position: static;
    max-width: none;
    margin: 1rem;
  }

  .calendar-cta-card {
    padding: 2.5rem 1.5rem;
  }

  .integration-example {
    padding: 1.1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }
}

/* --- Multichannel Cards --- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.channel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-panel);
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.channel-card.main-channel {
  background: linear-gradient(180deg, var(--primary-soft) 0%, #ffffff 100%);
  border-color: rgba(245, 158, 11, 0.4);
}

.channel-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary-dark);
  align-self: center;
}

.channel-card h3 {
  font-family: "Nunito", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.channel-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

@media (max-width: 1100px) {
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .channel-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Email Mockup --- */
.email-mockup-section,
.benefits-section,
.dashboard-section {
  padding: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.benefit-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06);
}

.benefit-card .step-number {
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: 1rem;
}

.benefit-card h3,
.request-notes h3 {
  font-family: "Nunito", sans-serif;
  line-height: 1.18;
  color: var(--ink);
}

.benefit-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.dashboard-link-card {
  grid-column: 1 / -1;
  min-height: 160px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  grid-template-areas:
    "top cta"
    "title cta"
    "copy cta";
  align-items: center;
  column-gap: 1.5rem;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-color: rgba(59, 130, 246, 0.22);
}

.dashboard-link-card__top {
  grid-area: top;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.dashboard-link-card__top .step-number {
  margin-bottom: 0;
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.dashboard-link-card__top span {
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-link-card h3 {
  grid-area: title;
}

.dashboard-link-card p {
  grid-area: copy;
  max-width: 620px;
}

.dashboard-link-card .btn {
  grid-area: cta;
  width: 100%;
  min-height: 46px;
  margin-top: 0;
  border-radius: 12px;
}

@media (max-width: 760px) {
  .dashboard-link-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "title"
      "copy"
      "cta";
  }
}

.compact-request-section .section-heading {
  margin-bottom: 1.6rem;
}

.request-demo-layout {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 1.5rem;
  align-items: start;
}

.request-notes {
  padding: 1rem 0;
}

.request-notes h3 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.request-notes p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.request-list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
}

.request-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-weight: 600;
}

.request-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.email-mockup-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fdfbf7;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-strong);
}

.email-mockup-container--compact {
  max-width: none;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.email-header {
  border-bottom: 1px solid rgba(23, 32, 51, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.email-eyebrow {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.email-header h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #3f3124;
}

.email-header p {
  font-size: 0.9rem;
  color: #8c7e70;
}

.email-section {
  border-bottom: 1px solid rgba(23, 32, 51, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.email-section h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8c7e70;
  margin-bottom: 1rem;
}

.priority-alert {
  background: #fef0f0;
  color: #c92a2a;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.indicator.red {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e03131;
}

.email-quote {
  background: #f4f2ed;
  padding: 1.25rem;
  border-radius: 8px;
  font-style: italic;
  font-family: 'Libre Baskerville', serif;
  color: #3f3124;
  line-height: 1.6;
}

.info-grid {
  display: grid;
  gap: 1rem;
}

.info-grid.half {
  grid-template-columns: repeat(2, 1fr);
}

.info-box {
  background: #f4f2ed;
  padding: 1rem;
  border-radius: 8px;
}

.info-label {
  display: block;
  font-size: 0.8rem;
  color: #8c7e70;
  margin-bottom: 0.25rem;
}

.info-value {
  display: block;
  font-weight: 600;
  color: #3f3124;
}

.contact-box {
  background: #f4f2ed;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-box .avatar {
  background: #e1effe;
  color: #1e40af;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-details strong {
  color: #3f3124;
  font-size: 1.05rem;
}

.contact-details span {
  color: #6b7280;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .email-mockup-container {
    padding: 1rem;
    border-radius: 12px;
  }
  .info-grid.half {
    grid-template-columns: 1fr;
  }
  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Dashboard Mockup --- */
.dashboard-mockup {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.dashboard-header {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--line);
}

.dash-eyebrow {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dashboard-header h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.dashboard-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 2.5rem;
  margin-top: -2rem;
}

.stat-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  padding: 1.25rem 1rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.stat-card.highlight {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.3);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-trend {
  font-size: 0.8rem;
  font-weight: 600;
}

.stat-trend.positive { color: #16a34a; }
.stat-trend.warning { color: #d97706; }
.stat-trend.neutral { color: var(--muted); }

.dashboard-body {
  padding: 2.5rem;
}

.chart-container {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  background: #ffffff;
}

.chart-container h4 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink);
}

@media (max-width: 860px) {
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.5rem;
    padding: 0 1.5rem;
  }
  .dashboard-header {
    padding: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
  }
  .dashboard-body {
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .stats-cards {
    grid-template-columns: 1fr;
  }
}

/* --- Dashboard Table --- */
.dash-tabs {
  margin-bottom: 1.5rem;
}
.dash-tab {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.dash-tab:hover {
  border-color: rgba(23, 32, 51, 0.2);
  color: var(--ink);
}
.dash-tab.active {
  background: rgba(23, 32, 51, 0.04);
  color: var(--ink);
  font-weight: 600;
  border-color: rgba(23, 32, 51, 0.2);
}

.table-container {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  background: #ffffff;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dash-table th {
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  background: #fdfbf7;
}

.dash-table td {
  padding: 1.25rem 0.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(23, 32, 51, 0.05);
  vertical-align: middle;
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.dash-table td strong {
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: 1.05rem;
}

.dash-table td span {
  color: var(--muted);
  font-size: 0.85rem;
  display: block;
  margin-top: 0.15rem;
}

.indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.25rem;
}

.indicator.orange { background: #f59e0b; }
.indicator.green { background: #16a34a; }

.channel-badge {
  display: inline-block !important;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem !important;
  font-weight: 600;
  margin-top: 0 !important;
}

.channel-badge.phone {
  background: #e0e7ff;
  color: #4f46e5 !important;
}

.channel-badge.chat {
  background: #dcfce7;
  color: #16a34a !important;
}

.status-badge {
  display: inline-block !important;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem !important;
  font-weight: 700;
  margin-top: 0 !important;
}

.status-badge.new {
  background: #dbeafe;
  color: #2563eb !important;
}

.status-badge.open {
  background: #fef3c7;
  color: #d97706 !important;
}

.status-badge.done {
  background: #dcfce7;
  color: #16a34a !important;
}

