/* CafeBot marketing site — clean B2B SaaS theme (separate from the /demo cafe theme) */

:root {
  --mkt-bg: #ffffff;
  --mkt-bg-alt: #f5f6fb;
  --mkt-surface: #ffffff;
  --mkt-text: #15162b;
  --mkt-muted: #5c5f77;
  --mkt-primary: #4f46e5;
  --mkt-primary-dark: #4338ca;
  --mkt-accent: #0ea5b7;
  --mkt-border: #e6e7f0;
  --mkt-radius: 14px;
  --mkt-container: 1140px;
  --mkt-font: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}

.mkt {
  font-family: var(--mkt-font);
  color: var(--mkt-text);
  background: var(--mkt-bg);
  line-height: 1.6;
  font-size: 1.05rem;
}

.mkt * {
  box-sizing: border-box;
}

.mkt h1, .mkt h2, .mkt h3, .mkt h4 {
  font-family: var(--mkt-font);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

.mkt p {
  margin: 0 0 1em;
}

.mkt a {
  color: var(--mkt-primary);
  text-decoration: none;
}

.mkt a:hover {
  text-decoration: underline;
}

.mkt .container {
  max-width: var(--mkt-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mkt .btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mkt .btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.mkt .btn-primary {
  background: var(--mkt-primary);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, 0.6);
}

.mkt .btn-primary:hover {
  background: var(--mkt-primary-dark);
}

.mkt .btn-secondary {
  background: transparent;
  color: var(--mkt-text);
  border: 1.5px solid var(--mkt-border);
}

.mkt .btn-secondary:hover {
  border-color: var(--mkt-primary);
  color: var(--mkt-primary);
}

/* Header */

.mkt-header {
  border-bottom: 1px solid var(--mkt-border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  z-index: 20;
}

.mkt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem;
}

.mkt-logo {
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--mkt-text) !important;
  letter-spacing: -0.02em;
}

.mkt-logo:hover {
  text-decoration: none;
}

.mkt-nav-list {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.mkt-nav-list a {
  color: var(--mkt-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.mkt-nav-list a:hover,
.mkt-nav-list a[aria-current="page"] {
  color: var(--mkt-text);
  text-decoration: none;
}

.mkt-header-cta {
  white-space: nowrap;
  padding: 0.6rem 1.4rem;
}

.mkt-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--mkt-border);
  border-radius: 8px;
  background: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--mkt-text);
  cursor: pointer;
}

/* Hero */

.mkt-hero {
  padding: 5.5rem 0 4.5rem;
  background: linear-gradient(180deg, var(--mkt-bg-alt) 0%, var(--mkt-bg) 100%);
  text-align: center;
}

.mkt-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.mkt-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--mkt-primary);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.mkt-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}

.mkt-hero-subtitle {
  font-size: 1.2rem;
  color: var(--mkt-muted);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.mkt-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section basics */

.mkt-section {
  padding: 4.5rem 0;
}

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

.mkt-section-header {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.mkt-section-header h2 {
  font-size: 2.1rem;
}

.mkt-section-header p {
  color: var(--mkt-muted);
  font-size: 1.1rem;
}

/* Grids / cards */

.mkt-grid {
  display: grid;
  gap: 1.75rem;
}

.mkt-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mkt-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.mkt-card {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  padding: 2rem;
}

.mkt-card h3 {
  font-size: 1.2rem;
}

.mkt-card p {
  color: var(--mkt-muted);
  margin: 0;
}

.mkt-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--mkt-primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* CTA band */

.mkt-cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--mkt-primary) 0%, var(--mkt-primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.mkt-cta-band h2 {
  color: #fff;
  font-size: 1.9rem;
}

.mkt-cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

.mkt-cta-band .btn-primary {
  background: #fff;
  color: var(--mkt-primary-dark);
  box-shadow: none;
}

.mkt-cta-band .btn-primary:hover {
  background: #f2f2ff;
}

/* Pricing */

.mkt-price-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 20px;
  padding: 2.75rem;
  text-align: center;
  box-shadow: 0 24px 60px -30px rgba(20, 20, 50, 0.25);
}

.mkt-price-amount {
  font-size: 3rem;
  font-weight: 900;
  margin: 0.25rem 0 0.1rem;
}

.mkt-price-amount span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mkt-muted);
}

.mkt-price-note {
  color: var(--mkt-muted);
  margin-bottom: 1.75rem;
}

.mkt-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.mkt-price-features li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--mkt-border);
  display: flex;
  gap: 0.6rem;
}

.mkt-price-features li:last-child {
  border-bottom: none;
}

.mkt-price-features li::before {
  content: "\2713";
  color: var(--mkt-accent);
  font-weight: 800;
}

/* Comparison table */

.mkt-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  overflow: hidden;
}

.mkt-compare-table th,
.mkt-compare-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--mkt-border);
  text-align: left;
  vertical-align: top;
}

.mkt-compare-table th {
  background: var(--mkt-bg-alt);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--mkt-muted);
}

.mkt-compare-table td:first-child {
  font-weight: 700;
}

.mkt-compare-table tr:last-child td {
  border-bottom: none;
}

.mkt-compare-good {
  color: #0a8f5b;
  font-weight: 700;
}

.mkt-table-scroll {
  overflow-x: auto;
}

/* Placeholder / empty states */

.mkt-placeholder-card {
  border: 2px dashed var(--mkt-border);
  border-radius: var(--mkt-radius);
  padding: 2.5rem;
  text-align: center;
  color: var(--mkt-muted);
}

/* Footer */

.mkt-footer {
  border-top: 1px solid var(--mkt-border);
  background: var(--mkt-bg-alt);
  padding: 3.5rem 0 2.5rem;
}

.mkt-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.mkt-footer-brand p {
  color: var(--mkt-muted);
  max-width: 22rem;
}

.mkt-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-content: start;
}

.mkt-footer-nav a {
  color: var(--mkt-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.mkt-footer-copy {
  color: var(--mkt-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--mkt-border);
  padding-top: 1.5rem;
  margin: 0;
}

@media (max-width: 860px) {
  .mkt-grid-3, .mkt-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .mkt-footer-inner {
    grid-template-columns: 1fr;
  }
  .mkt-nav-toggle {
    display: inline-flex;
  }
  .mkt-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--mkt-bg);
    border-bottom: 1px solid var(--mkt-border);
    padding: 0.5rem 1.5rem 1rem;
    box-shadow: 0 16px 28px -16px rgba(20, 20, 50, 0.25);
  }
  .mkt-nav-list.open {
    display: flex;
  }
  .mkt-nav-list a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--mkt-border);
  }
  .mkt-nav-list li:last-child a {
    border-bottom: none;
  }
  .mkt-footer-nav {
    padding-right: 70px;
  }
  .mkt-footer-copy {
    padding-right: 80px;
  }
}

@media (max-width: 560px) {
  .mkt-grid-3, .mkt-grid-4 {
    grid-template-columns: 1fr;
  }
  .mkt-header-inner {
    gap: 0.5rem;
    padding: 0.9rem 1rem;
  }
  .mkt-logo {
    font-size: 1.2rem;
  }
  .mkt-nav-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .mkt-header-cta {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }
  .mkt-hero {
    padding: 3.5rem 0 2.5rem;
  }
  .mkt-hero h1 {
    font-size: 2.1rem;
  }
  .btn {
    max-width: 215px;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    font-size: 0.9rem;
  }
}

/* WhatsApp floating button */

.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgb(37, 211, 102);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(37, 211, 102, 0.6) 0px 10px 28px -8px;
  transition: transform 0.2s;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
}

.whatsapp-fab .wa-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--mkt-surface);
  color: var(--mkt-text);
  border: 1px solid var(--mkt-border);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--mkt-font);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 8px 20px -8px rgba(20, 20, 50, 0.25);
}

.whatsapp-fab:hover .wa-tooltip {
  opacity: 1;
}

@media (max-width: 600px) {
  .whatsapp-fab {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-fab svg {
    width: 26px;
    height: 26px;
  }
  .whatsapp-fab .wa-tooltip {
    display: none;
  }
}
