/* ==========================================================================
   TurtleCore — AI Lead Automation homepage
   Scoped to .ai-home so the rest of the theme is untouched.
   ========================================================================== */

.ai-home {
  --ink: #0a0d12;
  --ink-2: #10151d;
  --ink-3: #18202b;
  --line-dark: #253040;
  --on-dark: #eef2f6;
  --on-dark-muted: #9eabb8;

  --text: #111821;
  --muted: #566170;
  --surface: #f5f7f9;
  --border: #e3e8ee;

  --accent: #34d399;          /* on dark backgrounds */
  --accent-hover: #6ee7b7;
  --accent-strong: #047857;   /* text/icons on light backgrounds (AA) */
  --accent-soft: rgba(52, 211, 153, .12);

  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .14);

  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* --- theme overrides (scoped) ------------------------------------------- */
.ai-home h1, .ai-home h2, .ai-home h3, .ai-home h4, .ai-home h5 {
  font-family: 'Raleway', sans-serif;
  text-transform: none;
  letter-spacing: -.015em;
  line-height: 1.25;
  color: inherit;
}
.ai-home p {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.65;
}
.ai-home a:hover { text-decoration: none; }
.ai-home ul { margin: 0; padding: 0; list-style: none; }

/* --- shared building blocks ----------------------------------------------- */
.ai-section { padding: 104px 0; position: relative; }
.ai-section--surface { background: var(--surface); }
.ai-section--dark { background: var(--ink); color: var(--on-dark); }

.ai-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.ai-head--left { margin-left: 0; text-align: left; }

.ai-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.ai-section--dark .ai-eyebrow { color: var(--accent); }

.ai-h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: .75rem 0 1rem;
}
.ai-home p.ai-lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0;
}
.ai-head p.ai-lead { margin: 0 auto; }
.ai-section--dark p.ai-lead { color: var(--on-dark-muted); }

.ai-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.55rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.ai-btn:hover { transform: translateY(-1px); }
.ai-btn--primary { background: var(--accent); color: #032b1d; box-shadow: 0 8px 24px -8px rgba(52, 211, 153, .55); }
.ai-btn--primary:hover { background: var(--accent-hover); color: #032b1d; }
.ai-btn--ghost { border-color: rgba(255, 255, 255, .24); color: #fff; }
.ai-btn--ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); color: #fff; }
.ai-btn--dark { background: var(--ink); color: #fff; }
.ai-btn--dark:hover { background: #1d2633; color: #fff; }

/* --- HERO ---------------------------------------------------------------- */
.ai-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 96px;
  color: var(--on-dark);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(52, 211, 153, .16), transparent 62%),
    radial-gradient(800px 480px at -5% 105%, rgba(10, 102, 194, .22), transparent 60%),
    var(--ink);
}
.ai-hero::before { /* faint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.ai-hero .container { position: relative; }
.ai-hero .header-overlay { pointer-events: none; }

.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, .35);
  background: rgba(52, 211, 153, .08);
  color: #c8f5e3;
  font-size: .82rem;
  font-weight: 500;
}
.ai-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: ai-pulse 2s infinite;
  flex: none;
}
.ai-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 1.4rem 0 1.4rem;
  color: #fff;
}
.ai-hero h1 .ai-grad {
  background: linear-gradient(92deg, #34d399 10%, #5eead4 60%, #93c5fd 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.ai-home .ai-hero p.ai-sub {
  font-size: 1.18rem;
  color: var(--on-dark-muted);
  max-width: 560px;
  margin: 0;
}
.ai-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.1rem; }
.ai-checks { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem !important; font-size: .93rem; color: var(--on-dark-muted); }
.ai-checks li { display: inline-flex; align-items: center; gap: .5rem; }
.ai-checks svg, .ai-checks .fas { color: var(--accent); }

/* hero visual: sources -> AI -> CRM */
.ai-visual { position: relative; margin-top: 56px; }
@media (min-width: 992px) { .ai-visual { margin-top: 0; } }

.ai-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(16, 21, 29, .7);
  backdrop-filter: blur(6px);
}
.ai-flow__sources { display: flex; gap: 6px; }
.ai-src {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 9px;
  font-size: 15px;
  color: #fff;
}
.ai-src--li { background: #0a66c2; }
.ai-src--ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ai-src--fb { background: #1877f2; }
.ai-src--more { background: var(--ink-3); color: var(--on-dark-muted); font-size: 12px; font-weight: 700; border: 1px solid var(--line-dark); }
.ai-wire {
  flex: 1;
  height: 2px;
  min-width: 18px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
  background-size: 24px 2px;
  opacity: .8;
  animation: ai-dash 1.1s linear infinite;
}
.ai-node {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: 7px 11px;
  border-radius: 10px;
  font-size: .82rem; font-weight: 600;
  white-space: nowrap;
}
.ai-node--ai { background: rgba(52, 211, 153, .14); color: #a7f3d0; border: 1px solid rgba(52, 211, 153, .35); }
.ai-node--crm { background: #fff; color: var(--ink); }

.ai-crm {
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06);
  overflow: hidden;
}
.ai-crm__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
  font-size: .85rem;
}
.ai-crm__dots { display: inline-flex; gap: 6px; }
.ai-crm__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e6eb; display: block; }
.ai-crm__title { font-weight: 700; }
.ai-crm__live { margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; color: var(--accent-strong); font-weight: 600; font-size: .78rem; }

.ai-crm__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.ai-crm__stats div { padding: 14px 16px; }
.ai-crm__stats div + div { border-left: 1px solid var(--border); }
.ai-crm__stats b { display: block; font-family: 'Raleway', sans-serif; font-size: 1.45rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ai-crm__stats span { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.ai-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 26px 44px auto;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid #eef1f4;
  font-size: .86rem;
}
.ai-row.is-new { animation: ai-row-in .6s ease both; }
.ai-av {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .8rem;
  background: hsl(var(--h, 200) 55% 42%);
}
.ai-who { min-width: 0; line-height: 1.25; }
.ai-who b { display: block; font-weight: 600; }
.ai-who small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .76rem; }
.ai-row .ai-src { width: 26px; height: 26px; font-size: 12px; border-radius: 7px; }
.ai-score {
  text-align: center;
  font-weight: 700; font-size: .8rem;
  padding: 4px 0;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}
.ai-st { font-size: .74rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.ai-st--new { background: #e8f1fd; color: #1d4ed8; }
.ai-st--contacted { background: #f1f3f5; color: #4b5563; }
.ai-st--replied { background: #fef3c7; color: #92400e; }
.ai-st--meeting { background: #d1fae5; color: #065f46; }
.ai-crm__foot { padding: 9px 16px; font-size: .72rem; color: #8a94a1; background: #fafbfc; text-align: right; }

@media (max-width: 575.98px) {
  .ai-row { grid-template-columns: 34px minmax(0, 1fr) 24px auto; gap: 10px; padding: 10px 12px; }
  .ai-row .ai-score { display: none; }
  .ai-node--ai span.ai-node__txt { display: none; }
  .ai-flow { gap: 7px; padding: 10px; }
  .ai-flow__sources { gap: 5px; }
  .ai-flow .ai-src { width: 28px; height: 28px; font-size: 13px; }
  .ai-flow .ai-src--more { display: none; }
  .ai-wire { min-width: 12px; }
  .ai-node { padding: 6px 9px; font-size: .78rem; }
}

/* --- SOURCES STRIP --------------------------------------------------------- */
.ai-sources { padding: 40px 0; border-bottom: 1px solid var(--border); background: #fff; }
.ai-sources__label { text-align: center; font-size: .8rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px !important; }
.ai-sources__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.ai-sources__list li {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  color: #2b3440;
  background: #fff;
}

/* --- COMPARE --------------------------------------------------------------- */
.ai-compare { display: grid; gap: 20px; }
@media (min-width: 768px) { .ai-compare { grid-template-columns: 1fr 1fr; } }
.ai-card {
  border-radius: var(--radius);
  padding: 34px 32px;
  background: #fff;
  border: 1px solid var(--border);
}
.ai-card h3 { font-size: 1.35rem; font-weight: 700; margin: 0 0 1.25rem; display: flex; align-items: center; gap: .6rem; }
.ai-card--old { background: var(--surface); }
.ai-card--old h3 { color: #4b5563; }
.ai-card--new { background: var(--ink); color: var(--on-dark); border-color: var(--ink); box-shadow: 0 24px 60px -24px rgba(4, 120, 87, .55); }
.ai-card--new h3 { color: #fff; }
.ai-list li { display: flex; gap: .8rem; padding: .55rem 0; line-height: 1.5; }
.ai-list li + li { border-top: 1px dashed var(--border); }
.ai-card--new .ai-list li + li { border-top-color: var(--line-dark); }
.ai-list .ai-ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; margin-top: 1px; }
.ai-card--old .ai-ic { background: #fde2e1; color: #b42318; }
.ai-card--new .ai-ic { background: rgba(52, 211, 153, .18); color: var(--accent); }
.ai-card--new .ai-list li { color: #d6dde5; }

/* --- STEPS ----------------------------------------------------------------- */
.ai-steps { display: grid; gap: 22px; counter-reset: step; position: relative; }
@media (min-width: 768px) { .ai-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) {
  .ai-steps { grid-template-columns: repeat(4, 1fr); }
  .ai-steps::before { /* connector */
    content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, #c9d2dc 0 6px, transparent 6px 12px);
  }
}
.ai-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 26px 28px; }
.ai-step__num {
  width: 62px; height: 62px;
  margin: -1px 0 20px;
  display: grid; place-items: center;
  border-radius: 0 0 16px 16px;
  background: var(--ink); color: var(--accent);
  font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.15rem;
  position: relative; z-index: 1;
}
.ai-step h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .6rem; }
.ai-home .ai-step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* --- FEATURES -------------------------------------------------------------- */
.ai-features { display: grid; gap: 18px; }
@media (min-width: 576px) { .ai-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ai-features { grid-template-columns: repeat(4, 1fr); } }
.ai-feature {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ai-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4dbe3; }
.ai-feature__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong);
  font-size: 19px; margin-bottom: 18px;
}
.ai-feature h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 .5rem; }
.ai-home .ai-feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* --- CRM ------------------------------------------------------------------- */
.ai-crm-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 22px !important; }
.ai-crm-chips li {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1rem;
  border-radius: 10px;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  color: #e5ebf1; font-weight: 600; font-size: .92rem;
}
.ai-crm-chips li .fab, .ai-crm-chips li .fas, .ai-crm-chips li svg { color: var(--accent); }
.ai-home .ai-note { font-size: .95rem; color: var(--on-dark-muted); margin: 0; }

.ai-record {
  background: #fff; color: var(--text);
  border-radius: 18px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.ai-record__head { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.ai-record__head .ai-av { width: 48px; height: 48px; font-size: 1rem; }
.ai-record__head b { display: block; font-size: 1.05rem; }
.ai-record__head small { color: var(--muted); }
.ai-record__badge { margin-left: auto; text-align: center; }
.ai-record__badge b { display: block; font-family: 'Raleway', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--accent-strong); line-height: 1; }
.ai-record__badge small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.ai-record dl { display: grid; grid-template-columns: 130px 1fr; margin: 0; padding: 8px 24px; }
.ai-record dt, .ai-record dd { padding: 10px 0; margin: 0; border-bottom: 1px solid #eef1f4; font-size: .9rem; }
.ai-record dt { color: var(--muted); font-weight: 500; }
.ai-record dd { font-weight: 500; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ai-record dl > *:nth-last-child(-n+2) { border-bottom: 0; }
.ai-tl { padding: 18px 24px 22px; background: #fafbfc; border-top: 1px solid var(--border); }
.ai-tl__title { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.ai-tl li { display: flex; gap: 10px; font-size: .86rem; padding: 5px 0; color: #374151; }
.ai-tl li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; margin-top: 6px; flex: none; }
.ai-tl li:last-child::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ai-tl time { color: #8a94a1; margin-left: auto; white-space: nowrap; padding-left: 10px; }

/* --- INDUSTRIES ------------------------------------------------------------ */
.ai-inds { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .ai-inds { grid-template-columns: repeat(4, 1fr); } }
.ai-ind { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-weight: 600; }
.ai-ind span.ai-ind__ic, .ai-ind svg { color: var(--accent-strong); }
.ai-ind__ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); }

/* --- FAQ ------------------------------------------------------------------- */
.ai-faq details { border-bottom: 1px solid var(--border); }
.ai-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.1rem;
}
.ai-faq summary::-webkit-details-marker { display: none; }
.ai-faq summary::after {
  content: "+";
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--text);
  font-family: 'Roboto', sans-serif; font-weight: 400; font-size: 1.3rem; line-height: 1;
  transition: transform .25s ease, background-color .25s ease;
}
.ai-faq details[open] summary::after { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent-strong); }
.ai-faq summary:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 4px; border-radius: 6px; }
.ai-home .ai-faq details p { color: var(--muted); margin: 0 0 22px; padding-right: 50px; }
.ai-faq a { color: var(--accent-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --- FINAL CTA ------------------------------------------------------------- */
.ai-cta {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 110px 0;
  color: var(--on-dark);
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(52, 211, 153, .22), transparent 70%),
    var(--ink);
}
.ai-cta h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; color: #fff; margin: 0 0 1rem; }
.ai-home .ai-cta p.ai-lead { margin: 0 auto; max-width: 600px; }
.ai-cta .ai-ctas { justify-content: center; }
.ai-cta__contact { margin-top: 1.75rem !important; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; font-size: .95rem; color: var(--on-dark-muted); }
.ai-cta__contact a { color: #fff; }
.ai-cta__contact a:hover { color: var(--accent); }

/* --- reveal-on-scroll + motion -------------------------------------------- */
.ai-js .ai-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.ai-js .ai-reveal.is-in { opacity: 1; transform: none; }

@keyframes ai-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
@keyframes ai-dash { to { background-position: 24px 0; } }
@keyframes ai-row-in {
  from { opacity: 0; transform: translateY(-12px); background: #ecfdf5; }
  60% { background: #ecfdf5; }
  to { opacity: 1; transform: none; background: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-home *, .ai-home *::before, .ai-home *::after { animation: none !important; transition: none !important; }
  .ai-js .ai-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   HERO v2 — social DM automation (Instagram · WhatsApp · Facebook)
   ========================================================================== */
.tc-hero {
  padding: 140px 0 104px;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(214, 36, 159, .18), transparent 60%),
    radial-gradient(800px 520px at 100% 90%, rgba(37, 211, 102, .14), transparent 60%),
    radial-gradient(900px 560px at -10% 100%, rgba(0, 132, 255, .18), transparent 60%),
    #07090d;
}
.tc-hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.85rem); }
.tc-hero h1 .ai-grad {
  background: linear-gradient(95deg, #feda75 0%, #fa7e1e 22%, #d62976 48%, #a78bfa 72%, #34d399 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tc-hero .ai-pill { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #e6e9ef; backdrop-filter: blur(8px); }

/* soft moving light */
.tc-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tc-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: tc-drift 18s ease-in-out infinite alternate; }
.tc-orb--ig { width: 420px; height: 420px; right: 8%; top: 4%; background: radial-gradient(circle, #d62976, transparent 70%); }
.tc-orb--wa { width: 360px; height: 360px; right: -4%; bottom: -6%; background: radial-gradient(circle, #25d366, transparent 70%); animation-delay: -6s; opacity: .3; }
.tc-orb--fb { width: 380px; height: 380px; left: 30%; bottom: -20%; background: radial-gradient(circle, #0084ff, transparent 70%); animation-delay: -12s; opacity: .3; }
@keyframes tc-drift { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }

/* channel cards */
.tc-channels { display: grid; gap: 10px; margin: 1.9rem 0 0 !important; max-width: 560px; }
.tc-ch {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.tc-ch:hover { transform: translateX(4px); border-color: rgba(255, 255, 255, .2); }
.tc-ch__ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; color: #fff; font-size: 19px; }
.tc-ch--ig .tc-ch__ic { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.tc-ch--wa .tc-ch__ic { background: #25d366; }
.tc-ch--fb .tc-ch__ic { background: linear-gradient(135deg, #00b2ff, #006aff 60%, #a033ff); }
.tc-ch__txt { line-height: 1.3; min-width: 0; }
.tc-ch__txt b { display: block; color: #fff; font-size: .95rem; font-weight: 600; }
.tc-ch__txt small { display: block; color: var(--on-dark-muted); font-size: .86rem; }
.tc-hero .ai-ctas { margin-top: 1.8rem; }
.tc-hero .ai-checks { margin-top: 1.6rem !important; }
.tc-hero .ai-btn--primary { background: #fff; color: #07090d; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .45); }
.tc-hero .ai-btn--primary:hover { background: #e9fff5; color: #07090d; }

/* stage: phone + floating cards */
.tc-stage { position: relative; max-width: 540px; margin: 0 auto; padding: 68px 0 104px; }
.tc-phone {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  border-radius: 40px;
  padding: 14px 12px 12px;
  background: linear-gradient(160deg, #1b2130, #0d1118);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 8px rgba(255, 255, 255, .025), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.tc-phone__notch { width: 96px; height: 22px; border-radius: 0 0 14px 14px; background: #05070a; margin: -14px auto 10px; }
.tc-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .05); margin-bottom: 10px; }
.tc-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 4px; border-radius: 9px;
  font-size: .74rem; font-weight: 600; color: #8f9aab;
  transition: background-color .35s ease, color .35s ease;
}
.tc-tab.is-on { background: #fff; color: #0b0f15; }
.tc-tab.is-on[data-ch="ig"] svg, .tc-tab.is-on[data-ch="ig"] .fab { color: #d6249f; }
.tc-tab.is-on[data-ch="wa"] svg, .tc-tab.is-on[data-ch="wa"] .fab { color: #128c4b; }
.tc-tab.is-on[data-ch="fb"] svg, .tc-tab.is-on[data-ch="fb"] .fab { color: #006aff; }

.tc-chat__head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 16px 16px 0 0;
  background: #fff; border-bottom: 1px solid #eef1f4;
}
.tc-chat__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .74rem; background: hsl(var(--h, 200) 60% 45%); flex: none; }
.tc-chat__who { line-height: 1.2; min-width: 0; }
.tc-chat__who b { display: block; font-size: .86rem; color: #0b0f15; }
.tc-chat__who small { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; color: #047857; }
.tc-online { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.tc-chat__badge { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 13px; }
.tc-chat__badge--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.tc-chat__badge--wa { background: #25d366; }
.tc-chat__badge--fb { background: linear-gradient(135deg, #00b2ff, #006aff 60%, #a033ff); }

.tc-chat {
  height: 352px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
  padding: 12px;
  background: #f6f7f9;
}
.tc-chat.is-wa { background: #efe7de; }
.tc-msg {
  max-width: 84%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: .8rem; line-height: 1.4;
  color: #0b0f15;
  animation: tc-msg-in .4s cubic-bezier(.2, .8, .2, 1) both;
}
.tc-msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.tc-msg--me { align-self: flex-end; border-bottom-right-radius: 4px; color: #fff; background: linear-gradient(135deg, #8a3ab9, #d6249f); }
.tc-chat.is-wa .tc-msg--me { background: #d9fdd3; color: #0b0f15; }
.tc-chat.is-fb .tc-msg--me { background: #0084ff; }
.tc-msg--sys, .tc-msg--lead {
  align-self: center; max-width: 96%;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 600; border-radius: 999px; padding: 5px 11px;
}
.tc-msg--sys { background: #e9ebef; color: #4b5563; }
.tc-msg--lead { background: #052e1f; color: #6ee7b7; box-shadow: 0 6px 18px -6px rgba(16, 185, 129, .6); }
.tc-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 10px 12px; background: #fff; border-radius: 14px; border-bottom-left-radius: 4px; }
.tc-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa3af; animation: tc-blink 1s infinite; }
.tc-typing i:nth-child(2) { animation-delay: .15s; }
.tc-typing i:nth-child(3) { animation-delay: .3s; }

.tc-products { align-self: flex-start; display: flex; gap: 6px; max-width: 92%; animation: tc-msg-in .4s ease both; }
.tc-prod { flex: 1; background: #fff; border-radius: 12px; overflow: hidden; font-size: .7rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.tc-prod__img { height: 58px; background: linear-gradient(135deg, var(--a), var(--b)); position: relative; }
.tc-prod__img::after { content: "NEW"; position: absolute; top: 5px; left: 5px; font-size: .58rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; }
.tc-prod b { display: block; padding: 5px 7px 0; color: #0b0f15; }
.tc-prod span { display: block; padding: 0 7px 5px; color: #047857; font-weight: 700; }
.tc-prod em { display: block; text-align: center; font-style: normal; font-weight: 700; color: #128c4b; border-top: 1px solid #eef1f4; padding: 5px; }

.tc-chat__input {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px 9px 14px; border-radius: 0 0 18px 18px;
  background: #fff; border-top: 1px solid #eef1f4;
  font-size: .74rem; color: #8a94a1;
}
.tc-send { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #0b0f15; color: #fff; font-size: 11px; }

.tc-float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: rgba(18, 22, 31, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7);
  color: #fff; line-height: 1.2;
  animation: tc-bob 6s ease-in-out infinite;
}
.tc-float b { display: block; font-family: 'Roboto', system-ui, sans-serif; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tc-float small { font-size: .7rem; color: var(--on-dark-muted); }
.tc-float__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: #fff; flex: none; }
.tc-float__ic--ig { background: linear-gradient(135deg, #fa7e1e, #d62976); }
.tc-float__ic--crm { background: #10b981; }
.tc-float__ic--wa { background: #25d366; }
.tc-float--a { top: 0; left: 0; }
.tc-float--b { top: 0; right: 0; animation-delay: -2s; }
.tc-float--c { bottom: 34px; left: 50%; margin-left: -96px; animation-delay: -4s; }
.tc-stage__note { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: .72rem !important; color: #6b7686; margin: 0 !important; }

@keyframes tc-msg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes tc-blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes tc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 575.98px) {
  .tc-hero { padding: 120px 0 72px; }
  .tc-stage { padding: 64px 0 36px; }
  .tc-float { padding: 7px 10px 7px 7px; gap: 8px; }
  .tc-float__ic { width: 30px; height: 30px; font-size: 12px; }
  .tc-float b { font-size: .9rem; }
  .tc-float small { font-size: .64rem; }
  .tc-float--c { display: none; }
  .tc-chat { height: 330px; }
  .tc-tab { font-size: .68rem; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-orb, .tc-float, .tc-msg, .tc-products { animation: none !important; }
}

/* ==========================================================================
   SERVICES — "What we build"
   ========================================================================== */
.tc-svc { background: var(--surface); overflow: hidden; }
.tc-svc__grad { background: linear-gradient(92deg, #2563eb, #7c3aed 50%, #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* flagship cards */
.tc-flag { display: grid; gap: 24px; }
@media (min-width: 768px) { .tc-flag { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .tc-flag { grid-template-columns: repeat(3, 1fr); } }
.tc-fcard {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tc-fcard:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 30px 60px -24px rgba(16, 24, 40, .28); }
.tc-fcard__art { position: relative; height: 236px; overflow: hidden; display: grid; place-items: center; }
.tc-fcard__art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.tc-art--web  { background: radial-gradient(circle at 20% 0%, #60a5fa, transparent 55%), linear-gradient(135deg, #1e3a8a, #4c1d95); }
.tc-art--app  { background: radial-gradient(circle at 80% 0%, #5eead4, transparent 55%), linear-gradient(135deg, #064e3b, #0e7490); }
.tc-art--shop { background: radial-gradient(circle at 20% 100%, #bef264, transparent 55%), linear-gradient(135deg, #365314, #166534); }

.tc-fcard__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tc-fcard__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 21px; margin: -52px 0 16px; position: relative; z-index: 1; box-shadow: 0 0 0 5px #fff, 0 10px 20px -8px rgba(0,0,0,.4); }
.tc-ic--web  { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.tc-ic--app  { background: linear-gradient(135deg, #059669, #0891b2); }
.tc-ic--shop { background: linear-gradient(135deg, #65a30d, #15803d); }
.tc-fcard h3 { font-size: 1.32rem; font-weight: 800; margin: 0 0 .55rem; }
.ai-home .tc-fcard p { color: var(--muted); font-size: .97rem; margin: 0 0 18px; }
.tc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px !important; }
.tc-tags li { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #f1f4f8; color: #334155; border: 1px solid #e5eaf0; }
.tc-fcard__link { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--text); }
.tc-fcard__link svg, .tc-fcard__link .fas { transition: transform .2s ease; }
.tc-fcard:hover .tc-fcard__link { color: #2563eb; }
.tc-fcard:hover .tc-fcard__link svg { transform: translateX(4px); }

/* floating chips on artwork */
.tc-chip-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #0b0f15; background: rgba(255,255,255,.92); box-shadow: 0 10px 24px -10px rgba(0,0,0,.55); animation: tc-bob 6s ease-in-out infinite; }
.tc-chip-float--tl { top: 16px; left: 16px; }
.tc-chip-float--br { bottom: 16px; right: 16px; animation-delay: -3s; }
.tc-chip-float--ok svg, .tc-chip-float--ok .fas { color: #16a34a; }

/* browser mockup (web + shop) */
.tc-browser { position: relative; z-index: 1; width: 78%; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 24px 50px -16px rgba(0,0,0,.6); transform: perspective(900px) rotateX(6deg) translateY(10px); transition: transform .4s ease; }
.tc-fcard:hover .tc-browser { transform: perspective(900px) rotateX(0deg) translateY(4px); }
.tc-browser__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #f1f4f8; border-bottom: 1px solid #e5eaf0; }
.tc-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.tc-browser__bar i:nth-child(1) { background: #f87171; } .tc-browser__bar i:nth-child(2) { background: #fbbf24; } .tc-browser__bar i:nth-child(3) { background: #34d399; }
.tc-browser__bar span { margin-left: 8px; flex: 1; font-size: .62rem; color: #64748b; background: #fff; border-radius: 6px; padding: 2px 8px; border: 1px solid #e5eaf0; }
.tc-browser__bar em { font-style: normal; color: #16a34a; font-size: 11px; margin-left: 6px; }
.tc-browser__body { padding: 12px; }
.tc-w-nav { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.tc-w-nav b { width: 34px; height: 8px; border-radius: 4px; background: #1e293b; margin-right: auto; }
.tc-w-nav span { width: 18px; height: 5px; border-radius: 3px; background: #cbd5e1; }
.tc-w-hero { padding: 12px; border-radius: 8px; background: linear-gradient(135deg, #eef2ff, #f5f3ff); margin-bottom: 10px; }
.tc-w-hero span { display: block; height: 8px; border-radius: 4px; background: #1e293b; margin-bottom: 6px; }
.tc-w-hero .l1 { width: 70%; } .tc-w-hero .l2 { width: 45%; background: #94a3b8; height: 6px; }
.tc-w-btn { width: 40px !important; height: 12px !important; border-radius: 6px !important; background: linear-gradient(90deg, #2563eb, #7c3aed) !important; margin: 8px 0 0 !important; }
.tc-w-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tc-w-cards span { height: 30px; border-radius: 6px; background: #f1f5f9; border: 1px solid #e2e8f0; }

.tc-s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tc-s-item { border: 1px solid #e5eaf0; border-radius: 8px; padding: 6px; }
.tc-s-item span { display: block; height: 52px; border-radius: 6px; background: linear-gradient(135deg, var(--a), var(--b)); margin-bottom: 6px; }
.tc-s-item b { display: block; height: 5px; width: 80%; border-radius: 3px; background: #cbd5e1; margin-bottom: 5px; }
.tc-s-item i { font-style: normal; font-size: .62rem; font-weight: 700; color: #15803d; }

/* phone mockups (app) */
.tc-ph { position: absolute; z-index: 1; width: 112px; height: 210px; border-radius: 22px; padding: 7px; background: #0b0f15; box-shadow: 0 24px 50px -16px rgba(0,0,0,.65); transition: transform .4s ease; }
.tc-ph--back { transform: translate(-46px, 18px) rotate(-8deg); opacity: .9; }
.tc-ph--front { transform: translate(40px, 8px) rotate(6deg); }
.tc-fcard:hover .tc-ph--back { transform: translate(-58px, 14px) rotate(-10deg); }
.tc-fcard:hover .tc-ph--front { transform: translate(50px, 2px) rotate(8deg); }
.tc-ph__screen { height: 100%; border-radius: 16px; background: #fff; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; position: relative; }
.tc-a-hd { height: 8px; width: 60%; border-radius: 4px; background: #0f172a; }
.tc-a-card { height: 50px; border-radius: 10px; background: linear-gradient(135deg, #059669, #0891b2); }
.tc-a-row { height: 16px; border-radius: 6px; background: #f1f5f9; }
.tc-a-chart { height: 58px; border-radius: 10px; background: #ecfeff; display: flex; align-items: flex-end; gap: 4px; padding: 6px; }
.tc-a-chart i { flex: 1; border-radius: 3px; background: #06b6d4; }
.tc-a-chart i:nth-child(1) { height: 40%; } .tc-a-chart i:nth-child(2) { height: 70%; } .tc-a-chart i:nth-child(3) { height: 55%; } .tc-a-chart i:nth-child(4) { height: 90%; } .tc-a-chart i:nth-child(5) { height: 65%; }
.tc-a-nav { margin-top: auto; display: flex; justify-content: space-around; padding-top: 6px; border-top: 1px solid #e2e8f0; }
.tc-a-nav i { width: 10px; height: 10px; border-radius: 3px; background: #cbd5e1; }
.tc-a-nav i:first-child { background: #059669; }

/* more services */
.tc-more { display: grid; gap: 12px; margin-top: 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 576px) { .tc-more { gap: 16px; } }
@media (min-width: 992px) { .tc-more { grid-template-columns: repeat(4, 1fr); } }
.tc-mcard { padding: 22px 20px; background: #fff; border: 1px solid var(--border); border-radius: 16px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tc-mcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4dbe3; }
.tc-mcard__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: var(--c); background: #f1f5f9; background: color-mix(in srgb, var(--c) 12%, #fff); margin-bottom: 14px; }
.tc-mcard h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .4rem; }
.ai-home .tc-mcard p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.55; }

/* tech stack marquee */
.tc-stack { margin-top: 40px; padding: 26px 0 24px; border-radius: 20px; background: var(--ink); overflow: hidden; }
.ai-home p.tc-stack__label { text-align: center; color: var(--on-dark-muted); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
.tc-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tc-marquee__track { display: flex; gap: 12px; width: max-content; animation: tc-marquee 40s linear infinite; }
.tc-marquee:hover .tc-marquee__track { animation-play-state: paused; }
.tc-marquee__track li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--line-dark); color: #e5ebf1; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.tc-marquee__track li svg, .tc-marquee__track li > .fab, .tc-marquee__track li > .fas { font-size: 20px; }
.tc-txt-logo { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-size: .72rem; font-weight: 800; }
.tc-txt-logo--fl { background: #02569b; color: #fff; border-radius: 6px; }
@keyframes tc-marquee { to { transform: translateX(-50%); } }

.tc-svc__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 36px; }
.tc-svc__more { font-weight: 700; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.tc-svc__more:hover { color: #2563eb; }

@media (max-width: 575.98px) {
  .tc-mcard { padding: 16px 14px; }
  .tc-mcard__ic { width: 38px; height: 38px; font-size: 16px; margin-bottom: 10px; }
  .tc-mcard h3 { font-size: .92rem; }
  .ai-home .tc-mcard p { font-size: .8rem; }
  .tc-fcard__art { height: 210px; }
  .tc-browser { width: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; }
  .tc-marquee__track li[aria-hidden="true"] { display: none; }
  .tc-marquee { -webkit-mask-image: none; mask-image: none; }
}
