/* ============================================================
   Dekita brand overrides + custom sections
   Layered on top of the Aleric template (main.css)
   ============================================================ */
:root {
  --tp-theme-primary: #86c5b8;      /* Dekita teal accent (from brand mark) */
  --dekita-ink: #181c24;            /* near-black brand ink */
  --dekita-teal: #4f9a8b;           /* deeper teal for text/buttons */
  --dekita-teal-soft: #86c5b8;
  --dekita-cream: #f4f1ea;
  --dekita-act: #e8604c;            /* Act = red */
  --dekita-monitor: #3b82f6;        /* Monitor = blue */
  --dekita-noise: #94a3b8;          /* Noise = grey */
}

/* Brand logo sizing */
.tp-header-logo img,
.tp-offcanvas-logo img,
.cm-search-logo img { max-height: 42px; width: auto; }
.tp-footer-logo img { max-height: 40px; width: auto; }
/* dark logo -> white on the black footer */
.tp-footer-logo img { filter: brightness(0) invert(1); }

/* Loading letters spacing safety */
.load-text span { text-transform: none; }

/* ---- Integration ("works with") strip ---- */
.dekita-integrations { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px 55px; }
.dekita-integration { display: inline-flex; align-items: center; gap: 12px; color: #fff; opacity: .85; transition: opacity .3s ease; }
.dekita-integration:hover { opacity: 1; }
.dekita-integration svg { width: 34px; height: 34px; flex: none; }
.dekita-integration span { font-family: var(--tp-ff-heading); font-weight: 600; font-size: 22px; letter-spacing: .2px; }

/* ---- Pain cards (solutions section) ---- */
.dekita-pain { position: relative; height: 100%; padding: 34px 32px 30px; border-radius: 22px; background: #fff; border: 1px solid #ececec; box-shadow: 0 18px 50px rgba(24,28,36,.06); transition: transform .4s ease, box-shadow .4s ease; }
.dekita-pain:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(24,28,36,.12); }
.dekita-pain-tag { display: inline-block; font-family: var(--tp-ff-heading); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; margin-bottom: 20px; background: #fdecea; color: var(--dekita-act); }
.dekita-pain-tag.warn { background: #fef4e2; color: #d98a1a; }
.dekita-pain-quote { font-family: var(--tp-ff-heading); font-weight: 500; font-size: 21px; line-height: 1.4; color: var(--dekita-ink); margin-bottom: 16px; }
.dekita-pain-text { font-size: 16px; line-height: 1.7; color: #64748b; margin: 0; }
.dekita-pain-icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--dekita-cream); margin-bottom: 22px; color: var(--dekita-ink); }

/* ---- Triage mini-demo ---- */
.dekita-demo { border-radius: 26px; background: var(--dekita-ink); padding: 46px 40px; color: #fff; overflow: hidden; }
.dekita-demo-head { font-family: var(--tp-ff-heading); font-weight: 500; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: var(--dekita-teal-soft); margin-bottom: 8px; }
.dekita-demo-msg { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px 22px; margin-bottom: 26px; }
.dekita-demo-msg .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--dekita-teal); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; font-family: var(--tp-ff-heading); }
.dekita-demo-msg .from { font-weight: 600; font-family: var(--tp-ff-heading); }
.dekita-demo-msg .sub { color: #b7c0cc; font-size: 15px; }
.dekita-demo-buckets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dekita-bucket { border-radius: 16px; padding: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); transition: all .35s ease; text-align: left; }
.dekita-bucket .label { display: flex; align-items: center; gap: 8px; font-family: var(--tp-ff-heading); font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.dekita-bucket .dot { width: 10px; height: 10px; border-radius: 50%; }
.dekita-bucket.act .dot { background: var(--dekita-act); }
.dekita-bucket.monitor .dot { background: var(--dekita-monitor); }
.dekita-bucket.noise .dot { background: var(--dekita-noise); }
.dekita-bucket .desc { font-size: 13.5px; color: #9aa6b3; line-height: 1.5; }
.dekita-bucket.is-active { border-color: var(--dekita-teal-soft); background: rgba(134,197,184,.14); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.dekita-demo-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.dekita-chip { cursor: pointer; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #dfe5ec; border-radius: 999px; padding: 9px 18px; font-size: 14px; font-family: var(--tp-ff-heading); font-weight: 500; transition: all .25s ease; }
.dekita-chip:hover { border-color: var(--dekita-teal-soft); color: #fff; }
.dekita-chip.is-active { background: var(--dekita-teal-soft); color: var(--dekita-ink); border-color: var(--dekita-teal-soft); }

/* ---- Feature grid (repurposed) ---- */
.dekita-feature { height: 100%; background: #fff; border: 1px solid #ececec; border-radius: 20px; padding: 30px 28px; transition: transform .4s ease, box-shadow .4s ease; }
.dekita-feature:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(24,28,36,.1); }
.dekita-feature .badge-plan { display: inline-block; font-family: var(--tp-ff-heading); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; background: var(--dekita-cream); color: var(--dekita-teal); margin-bottom: 18px; }
.dekita-feature .badge-plan.premium { background: #efe9fb; color: #6d4fd0; }
.dekita-feature .badge-plan.pro { background: #e4f3ef; color: var(--dekita-teal); }
.dekita-feature h4 { font-size: 23px; margin-bottom: 12px; color: var(--dekita-ink); }
.dekita-feature p { font-size: 15.5px; line-height: 1.65; color: #64748b; margin: 0; }
.dekita-feature .save { margin-top: 16px; font-size: 14.5px; color: var(--dekita-ink); border-top: 1px solid #f0f0f0; padding-top: 14px; }
.dekita-feature .save b { color: var(--dekita-teal); }

/* ---- Pricing ---- */
.dekita-pricing-toggle { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e6e6e6; border-radius: 999px; padding: 7px 10px; }
.dekita-pricing-toggle button { border: none; background: transparent; font-family: var(--tp-ff-heading); font-weight: 600; font-size: 15px; padding: 9px 20px; border-radius: 999px; cursor: pointer; color: #64748b; transition: all .25s ease; }
.dekita-pricing-toggle button.is-active { background: var(--dekita-ink); color: #fff; }
.dekita-pricing-toggle .save-badge { font-size: 12px; color: var(--dekita-teal); font-weight: 700; }
.dekita-plan { position: relative; height: 100%; background: #fff; border: 1px solid #ececec; border-radius: 24px; padding: 38px 34px; display: flex; flex-direction: column; transition: transform .4s ease, box-shadow .4s ease; }
.dekita-plan:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(24,28,36,.1); }
.dekita-plan.featured { background: var(--dekita-ink); border-color: var(--dekita-ink); color: #fff; }
.dekita-plan.featured .dekita-plan-name,
.dekita-plan.featured .dekita-plan-price,
.dekita-plan.featured .dekita-plan-feat li { color: #fff; }
.dekita-plan.featured .dekita-plan-feat li svg { color: var(--dekita-teal-soft); }
.dekita-plan-badge { position: absolute; top: 22px; right: 26px; font-family: var(--tp-ff-heading); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: var(--dekita-teal-soft); color: var(--dekita-ink); padding: 5px 12px; border-radius: 999px; }
.dekita-plan-name { font-family: var(--tp-ff-heading); font-weight: 600; font-size: 22px; color: var(--dekita-ink); margin-bottom: 6px; }
.dekita-plan-tag { font-size: 14.5px; color: #94a3b8; margin-bottom: 22px; }
.dekita-plan-price { font-family: var(--tp-ff-heading); font-weight: 700; font-size: 52px; line-height: 1; color: var(--dekita-ink); margin-bottom: 4px; }
.dekita-plan-price span { font-size: 17px; font-weight: 500; color: #94a3b8; }
.dekita-plan-per { font-size: 13.5px; color: #94a3b8; margin-bottom: 26px; min-height: 20px; }
.dekita-plan-feat { list-style: none; padding: 0; margin: 0 0 30px; }
.dekita-plan-feat li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: #475569; padding: 8px 0; line-height: 1.5; }
.dekita-plan-feat li svg { flex: none; margin-top: 4px; color: var(--dekita-teal); }
.dekita-plan .dekita-cta { margin-top: auto; }
.dekita-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; text-align: center; font-family: var(--tp-ff-heading); font-weight: 600; font-size: 15px; padding: 15px 22px; border-radius: 999px; background: var(--dekita-ink); color: #fff; transition: all .3s ease; }
.dekita-cta:hover { color: #fff; opacity: .9; transform: translateY(-2px); }
.dekita-plan.featured .dekita-cta { background: var(--dekita-teal-soft); color: var(--dekita-ink); }
.dekita-cta.ghost { background: transparent; color: var(--dekita-ink); border: 1px solid #d9d9d9; }

.price-annual { display: none; }
.show-annual .price-annual { display: inline; }
.show-annual .price-monthly { display: none; }

@media (max-width: 767px) {
  .dekita-demo-buckets { grid-template-columns: 1fr; }
  .dekita-demo { padding: 32px 22px; }
}
