/**
 * Call Flows AI - Enterprise layer
 * Intentionally loaded after assets/css/main.css.
 */

:root {
  --cf-enterprise-accent: #2563eb;
  --cf-enterprise-ink: #0b1220;
  --cf-enterprise-muted: rgba(255, 255, 255, 0.72);
  --cf-enterprise-card: rgba(255, 255, 255, 0.08);
  --cf-enterprise-border: rgba(255, 255, 255, 0.14);
}

/* Slightly more "enterprise" palette and type rhythm */
body.enterprise-page {
  --accent-color: var(--cf-enterprise-accent);
  --heading-color: #eaf1ff;
  --default-color: #ffffff;
}

.enterprise-page .navmenu a,
.enterprise-page .navmenu a:focus {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
}

.enterprise-page .header {
  padding: 14px 0;
  --background-color: rgba(0, 9, 16, 0.92);
  background-color: var(--background-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.enterprise-page.scrolled .header {
  --background-color: rgba(0, 9, 16, 0.96);
  background-color: var(--background-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.enterprise-page .header .logo h1,
.enterprise-page .header .logo .sitename {
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}

.enterprise-page .header .logo img {
  height: 36px;
  width: auto;
}

.enterprise-page .header .logo {
  white-space: nowrap;
}

.enterprise-page .header .logo h1 {
  font-size: 22px;
}

.enterprise-page .cta-btn {
  background: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), #000 30%);
  border-radius: 12px;
  text-transform: none;
  font-size: 15px;
  padding: 12px 16px;
  line-height: 1.2;
}

.enterprise-page .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color), #000 12%);
}

/* Enterprise hero */
.cf-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

.cf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(37, 99, 235, 0.35), rgba(0, 0, 0, 0) 60%),
    radial-gradient(900px 500px at 80% 35%, rgba(14, 165, 233, 0.20), rgba(0, 0, 0, 0) 65%),
    linear-gradient(180deg, #000910 0%, #00060b 100%);
  pointer-events: none;
}

.cf-hero .container {
  position: relative;
  z-index: 1;
}

.cf-hero h2 {
  font-size: clamp(2.35rem, 3.6vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.cf-hero p.lead {
  max-width: 50rem;
  color: var(--cf-enterprise-muted);
  font-size: 1.15rem;
  margin-bottom: 22px;
}

.cf-hero .hero-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
}

.cf-hero .hero-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
}

.cf-kicker {
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

.enterprise-page .light-background .cf-kicker {
  color: rgba(2, 6, 23, 0.58);
}

.cf-hero .hero-bullets i {
  color: color-mix(in srgb, var(--accent-color), #fff 10%);
  margin-top: 2px;
}

.cf-hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.2s;
  white-space: nowrap;
}

.cf-btn-primary {
  background: var(--accent-color);
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--accent-color), #000 28%);
}

.cf-btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), #000 12%);
  color: #fff;
}

.cf-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid var(--cf-enterprise-border);
}

.cf-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.cf-hero .hero-footnote {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.cf-hero .bfs-badge {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.cf-hero .hero-ctas .cf-btn {
  min-height: 48px;
}

/* Contact + newsletter readability */
#contact .info-item,
#newsletter .info-item {
  padding: 34px 28px 38px !important;
}

#contact .info-item > i,
#newsletter .info-item > i {
  width: 72px;
  height: 72px;
  font-size: 28px;
  margin-bottom: 18px;
}

#contact .info-item h3,
#newsletter .info-item h4.title {
  font-size: clamp(1.9rem, 2vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 6px 0 14px;
  color: #0b1220;
}

#contact .info-item p,
#newsletter .info-item .description {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.76);
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.cf-contact-email-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cf-contact-email-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-size: 1.18rem;
  font-weight: 600;
  color: #0b1220;
}

.cf-contact-email-link:hover {
  color: #1d4ed8;
}

.cf-copy-email-btn {
  min-height: 44px;
  width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex: 0 0 auto;
}

.cf-copy-email-btn i {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 1rem;
  line-height: 1;
}

.cf-copy-email-btn.is-copied {
  border-color: #15803d;
  background: linear-gradient(180deg, #4ade80 0%, #22c55e 45%, #16a34a 100%);
  color: #ffffff;
  box-shadow:
    0 10px 18px rgba(22, 163, 74, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(20, 83, 45, 0.22);
}

.cf-copy-email-btn.is-copied i {
  color: #ffffff;
}

.cf-toast {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(11, 18, 32, 0.96);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}

.cf-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cf-toast i {
  color: #86efac;
  font-size: 1.05rem;
}

#contact .form-box h4,
#newsletter .form-box h4 {
  font-size: clamp(1.45rem, 1.5vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#contact .form-box .text-secondary,
#newsletter .form-box .text-secondary,
#contact .form-label,
#newsletter .form-label,
#contact .form-control,
#newsletter .form-control,
#contact .form-select,
#newsletter .form-select {
  font-size: 1.02rem;
}

/* Enterprise sections */
.cf-section {
  padding: 72px 0;
}

.enterprise-page .section-title {
  text-align: left;
  margin-bottom: 22px;
  padding-bottom: 24px;
}

.enterprise-page .section-title h2 {
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.58);
}

.enterprise-page .section-title h2::after {
  display: none;
}

.enterprise-page .section-title p {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: none;
  color: #0b1220;
  text-wrap: balance;
}

.enterprise-page .dark-background .section-title h2 {
  color: rgba(234, 241, 255, 0.62);
}

.enterprise-page .dark-background .section-title p {
  color: #f8fbff;
}

.enterprise-page .light-background {
  --default-color: #1f2937;
  --heading-color: #0b1220;
  --background-color: #f1f4fa;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

.enterprise-page .light-background a:not(.btn) {
  color: color-mix(in srgb, var(--accent-color), #000 10%);
}

.enterprise-page .light-background a:not(.btn):hover {
  color: color-mix(in srgb, var(--accent-color), #000 0%);
}

.enterprise-page .light-background .btn-primary {
  color: #ffffff;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.enterprise-page .light-background .btn-outline-primary {
  color: color-mix(in srgb, var(--accent-color), #000 8%);
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  border-width: 1.5px;
  background: rgba(255, 255, 255, 0.78);
}

.enterprise-page .light-background .btn-outline-primary:hover {
  color: #ffffff;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.enterprise-page .pricing-item {
  color: #1f2937;
}

.enterprise-page .pricing-item h3,
.enterprise-page .pricing-item ul li {
  color: inherit;
  font-size: 17px !important;
}

.enterprise-page .pricing-item h4,
.enterprise-page .pricing-item .plan-icon {
  color: color-mix(in srgb, var(--accent-color), #000 10%);
}

.enterprise-page .contact.section {
  --default-color: #1f2937;
  --heading-color: #0b1220;
}

.enterprise-page .light-background .card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.enterprise-page .light-background .card .card-body {
  padding: clamp(1.35rem, 1.1rem + 0.8vw, 2rem);
}

.enterprise-page .light-background .text-secondary {
  color: rgba(15, 23, 42, 0.72) !important;
}

.enterprise-page .small,
.enterprise-page .form-text {
  font-size: 1.02rem;
  line-height: 1.65;
}

.cf-rating-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(2, 6, 23, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 100%);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.cf-rating-copy {
  flex: 0 0 70%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cf-rating-stars {
  display: inline-flex;
  gap: 3px;
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.cf-rating-cta {
  flex: 0 0 20%;
  width: 30%;
  justify-content: center;
}

.cf-proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cf-proof-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: #0b1220;
  font-size: 0.97rem;
  font-weight: 800;
}

.cf-proof-card {
  overflow: hidden;
}

.cf-badge-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b1220;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.18);
}

.cf-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.cf-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 98px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cf-logo-card img {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: contrast(1.02);
  opacity: 0.96;
}

.cf-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cf-proof-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.cf-proof-stat strong {
  color: #0b1220;
  font-size: 1.12rem;
  line-height: 1.2;
}

.cf-proof-stat span {
  color: rgba(15, 23, 42, 0.68);
  font-size: 0.98rem;
  line-height: 1.45;
}

.cf-proof-stat-badge {
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cf-proof-stat-badge img {
  display: block;
  max-width: 100%;
  height: auto;
}

#trusted-by .cf-kicker {
  font-size: 0.82rem;
}

#trusted-by h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

#trusted-by p.fs-6,
#trusted-by .small,
#shopify .small,
#demo .small,
#shopify .text-secondary,
#demo .text-secondary {
  font-size: 1.1rem !important;
  line-height: 1.65;
}

#trusted-by .btn,
#shopify .btn,
#demo .btn {
  min-height: 48px;
}

.cf-proof-card h3,
#shopify h3.h4,
#demo h3.h4 {
  font-size: clamp(1.45rem, 1.6vw, 1.8rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.cf-proof-card p,
#shopify .card p,
#demo .card p {
  font-size: 1.04rem;
}

#shopify .cf-agent-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1d4ed8 !important;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#shopify .cf-agent-kicker::after {
  content: "";
  width: 56px;
  height: 2px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.35);
}

#shopify h3.h5 {
  font-size: clamp(1.28rem, 1.45vw, 1.55rem);
  line-height: 1.42;
  letter-spacing: -0.02em;
  max-width: 42rem;
}

#shopify .cf-agent-skills .skill-card {
  text-align: left;
  padding: 24px 22px;
  border-radius: 18px;
  border-color: rgba(15, 23, 42, 0.10);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

#shopify .cf-agent-skills .skill-card::before {
  transform: scaleX(1);
  opacity: 0.85;
}

#shopify .cf-agent-skills .skill-icon {
  width: 58px;
  height: 58px;
  margin: 0 0 16px;
  font-size: 26px;
}

#shopify .cf-agent-skills .skill-card h4 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

#shopify .cf-agent-skills .skill-card p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.74);
}

.cf-surface-card {
  background: var(--cf-enterprise-card);
  border: 1px solid var(--cf-enterprise-border);
  border-radius: 16px;
  padding: 18px;
  height: 100%;
}

.cf-surface-card h3,
.cf-surface-card h4 {
  margin-bottom: 10px;
}

.cf-surface-card p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.cf-feature-card,
.cf-mini-stat {
  position: relative;
  overflow: hidden;
  border-width: 1px !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.cf-feature-card::before,
.cf-mini-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--cf-tone, rgba(37, 99, 235, 0.7));
}

.cf-feature-card .fw-semibold,
.cf-mini-stat .fw-semibold,
.cf-mini-stat .fs-3 {
  color: #0b1220;
}

.cf-feature-card .fw-semibold {
  font-size: 1.04rem;
  font-weight: 800 !important;
  line-height: 1.35;
}

.cf-feature-card .text-secondary,
.cf-mini-stat .text-secondary {
  color: rgba(15, 23, 42, 0.72) !important;
}

.cf-feature-card i,
.cf-mini-stat i {
  color: var(--cf-tone, #2563eb) !important;
}

.cf-mini-stat {
  padding: 16px !important;
}

.cf-mini-stat .fs-3 {
  font-size: clamp(1.9rem, 2vw, 2.35rem) !important;
  letter-spacing: -0.03em;
}

.cf-tone-blue {
  --cf-tone: #2563eb;
}

.cf-tone-violet {
  --cf-tone: #7c3aed;
}

.cf-tone-emerald {
  --cf-tone: #059669;
}

.cf-tone-amber {
  --cf-tone: #d97706;
}

.cf-tone-rose {
  --cf-tone: #e11d48;
}

.cf-tone-cyan {
  --cf-tone: #0891b2;
}

.cf-tone-indigo {
  --cf-tone: #4f46e5;
}

.cf-tone-slate {
  --cf-tone: #475569;
}

.cf-tone-green {
  --cf-tone: #16a34a;
}

.cf-logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.cf-logo-pill {
  border: 1px solid var(--cf-enterprise-border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

@media (max-width: 992px) {
  .enterprise-page .section-title p {
    max-width: 100%;
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .cf-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cf-proof-stats {
    grid-template-columns: 1fr;
  }

  .cf-logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Blog cards */
.cf-post-card a {
  color: inherit;
}

.cf-post-meta {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.70);
}

/* Blog hero + CTAs */
.cf-blog-hero .cf-btn {
  padding: 0 16px;
  min-height: 46px;
  line-height: 1;
}

.cf-blog-hero .cf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-page {
  font-size: 17px;
}

.blog-page .page-title p {
  font-size: 1.12rem;
}

.blog-page .cf-section p,
.blog-page .cf-section li,
.blog-page .cf-section .text-secondary,
.blog-page .cf-section .blockquote {
  font-size: 1.06rem;
  line-height: 1.65;
}

.blog-page .cf-section .small,
.blog-page .cf-section .form-text {
  font-size: 0.98rem;
}

.blog-page .cf-section h2 {
  font-size: clamp(1.6rem, 2vw, 2.05rem);
  letter-spacing: -0.02em;
}

.blog-page .cf-section h3 {
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  letter-spacing: -0.01em;
}

.cf-blog-hero h1 {
  font-size: clamp(2.1rem, 3vw, 3.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.cf-blog-meta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}

.cf-blog-meta .cf-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.cf-blog-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.cf-blog-hero .cf-btn i {
  font-size: 1.05em;
}

.cf-blog-hero .breadcrumbs {
  margin-top: 16px;
}

.cf-blog-hero .breadcrumbs ol {
  font-size: 0.95rem;
  opacity: 0.9;
}

.cf-blog-cta {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 16px;
  padding: 16px;
}

.cf-metric-card {
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
  height: 100%;
}

.cf-metric-label {
  color: rgba(15, 23, 42, 0.62);
  font-size: 0.95rem;
  font-weight: 600;
}

.cf-metric-value {
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 8px;
  line-height: 1.05;
}

.cf-metric-note {
  color: rgba(15, 23, 42, 0.68);
  font-size: 0.98rem;
  margin-top: 8px;
}

.cf-metric-card--strict {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.16) 0%, rgba(34, 197, 94, 0.07) 55%, #ffffff 100%);
  box-shadow: 0 18px 55px rgba(34, 197, 94, 0.10);
}

.cf-metric-card--strict .cf-metric-value {
  color: #166534;
}

.cf-metric-card--normalized {
  border-color: rgba(148, 163, 184, 0.45);
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.20) 0%, rgba(148, 163, 184, 0.08) 55%, #ffffff 100%);
}

.cf-metric-card--normalized .cf-metric-value {
  color: #334155;
}

.cf-metric-card--why {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.05) 55%, #ffffff 100%);
}

.cf-metric-card--why .cf-metric-value {
  color: #1d4ed8;
}

/* Blog cards on light background */
.cf-post-card-light {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  color: #0b1220;
  padding: 18px;
}

.cf-post-card-light p {
  color: rgba(15, 23, 42, 0.78);
}

.cf-post-card-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.10);
}

.cf-post-card-light {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Keep footer readable on enterprise pages */
.enterprise-page .footer a {
  color: color-mix(in srgb, var(--accent-color), #fff 8%);
}

/* Demo: audio + transcript */
.cf-audio {
  display: block;
  width: 100%;
}

.cf-transcript {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 14px;
  padding: 14px;
}

.cf-transcript p {
  color: #0b1220;
}

@media (min-width: 992px) {
  .cf-transcript {
    max-height: 340px;
    overflow: auto;
  }
}

/* Platform: example integration targets */
.cf-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cf-stack-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 58px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.75);
  color: #0b1220;
  border-radius: 18px;
  padding: 12px 14px;
  text-align: left;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.2;
}

.cf-proof-card .cf-stack-pill {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.cf-proof-card .cf-stack-pill i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1rem;
  background: rgba(37, 99, 235, 0.10);
  color: #2563eb;
}

.cf-proof-card .cf-stack-pill span {
  display: block;
}

.cf-proof-card .cf-stack-pill:nth-child(2) i {
  background: rgba(124, 58, 237, 0.10);
  color: #7c3aed;
}

.cf-proof-card .cf-stack-pill:nth-child(3) i {
  background: rgba(5, 150, 105, 0.10);
  color: #059669;
}

.cf-proof-card .cf-stack-pill:nth-child(4) i {
  background: rgba(217, 119, 6, 0.10);
  color: #d97706;
}

.cf-proof-card .cf-stack-pill:nth-child(5) i {
  background: rgba(225, 29, 72, 0.10);
  color: #e11d48;
}

.cf-proof-card .cf-stack-pill:nth-child(6) i {
  background: rgba(79, 70, 229, 0.10);
  color: #4f46e5;
}

.cf-proof-card .cf-stack-pill:nth-child(7) i {
  background: rgba(8, 145, 178, 0.10);
  color: #0891b2;
}

.cf-proof-card .cf-stack-pill:nth-child(8) i {
  background: rgba(22, 163, 74, 0.10);
  color: #16a34a;
}

.cf-stack-note {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: rgba(15, 23, 42, 0.78) !important;
}

@media (max-width: 992px) {
  .cf-stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Shopify section: two-path card grid */
.cf-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cf-path-card {
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  padding: 12px 12px;
  color: #0b1220;
}

@media (max-width: 576px) {
  .cf-hero {
    padding: 128px 0 72px;
  }

  .enterprise-page .section-title {
    padding-bottom: 18px;
  }

  .enterprise-page .section-title h2 {
    margin-bottom: 10px;
    font-size: 0.78rem;
  }

  .enterprise-page .section-title p {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    line-height: 1.05;
  }

  .cf-rating-panel {
    align-items: flex-start;
    width: 100%;
    flex-direction: column;
  }

  .cf-rating-copy,
  .cf-rating-cta {
    width: 100%;
    flex-basis: auto;
  }

  .cf-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cf-proof-tags {
    gap: 8px;
  }

  .cf-proof-tag,
  .cf-stack-pill {
    font-size: 0.93rem;
  }

  .cf-stack-pill {
    min-height: 54px;
    border-radius: 16px;
    padding: 10px 12px;
    gap: 8px;
  }

  .cf-proof-card .cf-stack-pill i {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 0.92rem;
  }

  .cf-msg {
    grid-template-columns: 40px 1fr;
  }

  .cf-msg-ai {
    grid-template-columns: 40px 1fr;
  }

  .cf-msg-ico {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .cf-msg-bubble {
    padding: 14px 14px;
  }

  .cf-msg-bubble > div:not(.cf-msg-meta):not(.cf-msg-outcome) {
    font-size: 1.1rem;
    line-height: 1.65;
  }

  .cf-path-grid {
    grid-template-columns: 1fr;
  }
}

/* Enterprise portal mock */
.cf-portal-mock {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
  padding: 16px;
  color: #0b1220;
}

.cf-portal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(2, 6, 23, 0.08);
}

.cf-portal-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cf-portal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cf-portal-body {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: 12px;
  padding-top: 12px;
  align-items: start;
}

.cf-portal-col {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(2, 6, 23, 0.08);
  border-radius: 14px;
  padding: 12px;
}

.cf-portal-col-inbox {
  background: transparent;
  border: 0;
  padding: 0;
}

.cf-portal-col-conversation {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.cf-portal-h {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.cf-portal-item {
  background: #ffffff;
  border: 1px solid rgba(2, 6, 23, 0.08);
  border-radius: 12px;
  padding: 10px 10px;
  margin-bottom: 10px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.cf-portal-item:last-child {
  margin-bottom: 0;
}

.cf-portal-item--active {
  border-color: rgba(37, 99, 235, 0.77);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.22) 0%, #ffffff 100%);
}

.cf-portal-item-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cf-portal-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
}

.cf-portal-chip-live {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.cf-portal-detail {
  background: #ffffff;
  border: 1px solid rgba(2, 6, 23, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.cf-portal-detail-rich {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.cf-portal-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cf-portal-summary-item {
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(2, 6, 23, 0.06);
  min-width: 0;
}

.cf-portal-summary-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(71, 85, 105, 0.82);
  margin-bottom: 6px;
}

.cf-portal-summary-item .fw-semibold {
  line-height: 1.45;
  word-break: break-word;
}

.cf-portal-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}

.cf-portal-bubble {
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  line-height: 1.55;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.cf-portal-bubble-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.cf-portal-bubble-caller {
  align-self: flex-start;
  background: #fff8d6;
  border-color: rgba(217, 119, 6, 0.18);
}

.cf-portal-bubble-agent {
  align-self: flex-start;
  background: #e8f0ff;
  border-color: rgba(37, 99, 235, 0.18);
}

.cf-portal-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cf-portal-outcome-item {
  border-radius: 12px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(2, 6, 23, 0.06);
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 992px) {
  .cf-portal-body {
    grid-template-columns: 1fr;
  }

  .cf-portal-summary,
  .cf-portal-outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .cf-portal-summary,
  .cf-portal-outcome-grid {
    grid-template-columns: 1fr;
  }
}

/* Enterprise portal left panel: icon KPI rows */
.cf-kpi-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  height: 100%;
}

.cf-kpi-ico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #eaf1ff;
  font-size: 18px;
  flex: 0 0 auto;
}

.cf-portal-left .small {
  color: rgba(255, 255, 255, 0.74);
}

.cf-portal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cf-portal-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #eaf1ff;
  font-size: 0.95rem;
  font-weight: 700;
}

.cf-portal-callout {
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, 0.24);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.16) 0%, rgba(15, 23, 42, 0.18) 100%);
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.20);
}

.cf-portal-callout-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cf-portal-callout-head i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #93c5fd;
  font-size: 1.15rem;
}

.cf-portal-callout p {
  margin: 14px 0 0;
  color: rgba(234, 241, 255, 0.9) !important;
  font-size: 1.02rem;
  line-height: 1.65;
}

.cf-portal-callout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.cf-portal-callout-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eaf1ff;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Connectors list (more visual than pills) */
.cf-conn-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cf-conn-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  padding: 10px 12px;
  color: #0b1220;
  font-weight: 800;
}

.cf-conn-item i {
  color: color-mix(in srgb, var(--accent-color), #000 0%);
  font-size: 18px;
}

@media (max-width: 576px) {
  .cf-conn-list {
    grid-template-columns: 1fr;
  }
}

/* Modern transcript chat */
.cf-chat {
  background: linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cf-msg {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: flex-start;
}

.cf-msg-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(2, 6, 23, 0.10);
  background: #ffffff;
  color: #0b1220;
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.cf-msg-bubble {
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  background: #ffffff;
  color: #0b1220;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.cf-msg-meta {
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(2, 6, 23, 0.62);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.cf-msg-bubble > div:not(.cf-msg-meta):not(.cf-msg-outcome) {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #0f172a;
}

.cf-msg-ai .cf-msg-ico {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.24);
  color: #2563eb;
}

.cf-msg-ai .cf-msg-bubble {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.05) 100%);
  border-color: rgba(37, 99, 235, 0.18);
}

.cf-msg-caller .cf-msg-ico {
  background: rgba(255, 255, 255, 0.96);
}

.cf-msg-caller .cf-msg-bubble {
  background: rgba(255, 255, 255, 0.98);
}

.cf-msg-ai {
  grid-template-columns: 38px 1fr;
}

.cf-msg-ai .cf-msg-bubble {
  justify-self: start;
  max-width: min(560px, 100%);
}

.cf-msg-ai .cf-msg-ico {
  grid-column: 1;
}

.cf-msg-ai .cf-msg-bubble {
  grid-column: 2;
}

.cf-msg-outcome {
  font-weight: 800;
  color: #1d4ed8;
  font-size: 0.98rem;
  line-height: 1.5;
}

@media (min-width: 992px) {
  .cf-chat {
    min-height: 420px;
    max-height: 420px;
    overflow: auto;
  }
}

