/* =====================================================================
   Techmatic Systems — Acumatica Cloud ERP Landing Page
   Custom styles layered on Bootstrap 4.6
   ===================================================================== */

:root {
  --primary:        #c42032;  /* Techmatic brand red */
  --primary-dark:   #a31a27;
  --primary-darker: #7d141e;
  --accent:         #e0a93e;  /* warm gold — pairs with brand red + slate */
  --accent-dark:    #b07d1a;
  --ink:            #212121;
  --body:           #4a5160;
  --muted:          #6b7280;
  --line:           #e8e8ee;
  --tint:           #f7f6f6;
  --dark:           #2f353e;  /* Techmatic slate */
  --dark-2:         #1c2026;
  --white:          #ffffff;
  --radius:         18px;
  --radius-sm:      12px;
  --shadow-sm:      0 6px 20px rgba(33, 33, 33, .07);
  --shadow:         0 18px 50px rgba(33, 33, 33, .12);
  --shadow-lg:      0 30px 70px rgba(28, 22, 24, .18);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
}

img { max-width: 100%; height: auto; }

.text-accent { color: var(--accent); }

/* ----------------------------- Layout helpers ----------------------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark {
  background: radial-gradient(120% 120% at 80% 0%, #3a414e 0%, var(--dark) 55%, var(--dark-2) 100%);
}
.section__head { max-width: 760px; margin: 0 auto 56px; }
.section__title { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.18; margin-bottom: 16px; }
.section__subtitle { font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.section__text { font-size: 1.04rem; margin-bottom: 18px; }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(196, 32, 50, .08);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow--light { color: #e2e5ea; background: rgba(255, 255, 255, .1); }

/* ----------------------------- Buttons ------------------------------ */
.btn { font-weight: 600; letter-spacing: .01em; transition: all .25s ease; }
.btn-pill { border-radius: 100px; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }

.btn-primary {
  background: var(--primary); border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(196, 32, 50, .28);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(196, 32, 50, .36);
}
.btn-accent {
  background: var(--accent); border-color: var(--accent); color: #3a2900;
  box-shadow: 0 10px 24px rgba(224, 169, 62, .3);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-light:hover { color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline-primary { color: var(--primary); border-color: #eccacf; }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }

.btn-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--primary); text-decoration: none;
}
.btn-arrow svg { transition: transform .25s ease; }
.btn-arrow:hover { color: var(--primary-dark); text-decoration: none; }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ============================= HERO ================================= */
.hero {
  position: relative;
  padding: 150px 0 140px;
  color: #fff;
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
/* Dark shade over the background image (left → right fade for readability) */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 23, 28, .92) 0%, rgba(28, 32, 38, .82) 42%, rgba(40, 45, 53, .55) 100%),
    radial-gradient(700px 480px at 12% 80%, rgba(224, 169, 62, .18), transparent 70%);
  pointer-events: none;
}
.hero__content { position: relative; padding-right: 24px; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.12; margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero__lead { font-size: 1.13rem; color: #d8dce3; max-width: 560px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; }
.hero__badges li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: #d4d8df; }
.hero__badges svg { color: var(--accent); }

/* ============================= STATS =============================== */
.stats { margin-top: -56px; position: relative; z-index: 5; }
.stats__card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px 20px;
}
.stat { padding: 14px 10px; }
.stat__num {
  font-family: 'Plus Jakarta Sans'; font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.7rem); color: var(--primary); line-height: 1;
}
.stat__label { font-size: .92rem; color: var(--muted); margin: 10px 0 0; }
.stat + .stat { position: relative; }
@media (min-width: 992px) {
  .stats__card .stat:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 18%; height: 64%;
    width: 1px; background: var(--line);
  }
}

/* ===================== Media frames / pill lists =================== */
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame--accent::before {
  content: ''; position: absolute; left: -18px; bottom: -18px;
  width: 120px; height: 120px; border-radius: 20px;
  background: var(--accent); opacity: .15; z-index: -1;
}

.pill-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  font-size: .86rem; font-weight: 600; color: var(--primary-dark);
  background: rgba(196, 32, 50, .07); border: 1px solid rgba(196, 32, 50, .12);
  padding: 7px 15px; border-radius: 100px;
}

/* ---------------------------- Check list --------------------------- */
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding: 7px 0 7px 34px; font-size: 1rem; color: var(--ink); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(224, 169, 62, .15)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b07d1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list--sm li { font-size: .95rem; padding-top: 5px; padding-bottom: 5px; }

/* ---------------------------- Focus cards -------------------------- */
.focus { position: relative; overflow: hidden; }
.focus__orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 0;
  pointer-events: none;
}
.focus__orb--1 {
  width: 380px; height: 380px; top: -80px; left: -90px;
  background: radial-gradient(circle, rgba(99, 102, 241, .30), transparent 70%);
  animation: orbDrift 14s ease-in-out infinite;
}
.focus__orb--2 {
  width: 420px; height: 420px; bottom: -120px; right: -100px;
  background: radial-gradient(circle, rgba(20, 184, 166, .28), transparent 70%);
  animation: orbDrift 18s ease-in-out infinite reverse;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.12); }
}

.focus-cards { perspective: 1400px; }

.fcard {
  --fc: #6366f1; --fc-dark: #4f46e5; --fc-rgb: 99, 102, 241;   /* card 1: indigo */
  position: relative;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.fcard--accent { --fc: #14b8a6; --fc-dark: #0d9488; --fc-rgb: 20, 184, 166; }  /* card 2: teal */
/* clean, attractive hover — soft colored glow + accent border (no gradient wash) */
.fcard:hover {
  border-color: rgba(var(--fc-rgb), .5);
  box-shadow: 0 28px 60px rgba(var(--fc-rgb), .2);
}

.fcard__media {
  position: relative; height: 190px; overflow: hidden;
  border-radius: 24px 24px 0 0;
}
.fcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.fcard:hover .fcard__media img { transform: scale(1.08); }
.fcard__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,35,42,.12) 0%, rgba(255,255,255,0) 45%, rgba(255,255,255,.96) 100%);
}
.fcard__badge {
  position: absolute; top: 16px; right: 20px; z-index: 2;
  font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 2.4rem;
  color: rgba(255, 255, 255, .9); line-height: 1; letter-spacing: -.03em;
  text-shadow: 0 4px 18px rgba(31, 35, 42, .4);
}

/* floating icon overlapping the media, with rotating gradient ring */
.fcard__icon {
  position: relative; z-index: 3;
  width: 76px; height: 76px; margin: -38px 0 0 34px;
  display: grid; place-items: center; border-radius: 20px;
  color: #fff; background: linear-gradient(135deg, var(--fc), var(--fc-dark));
  box-shadow: 0 14px 30px rgba(var(--fc-rgb), .42);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.fcard__icon::after {
  content: ''; position: absolute; inset: -5px; border-radius: 24px; z-index: -1;
  background: conic-gradient(from 0deg, var(--fc-dark), var(--fc), var(--fc-dark));
  opacity: 0; transition: opacity .35s ease;
  animation: spin 4s linear infinite;
}
.fcard:hover .fcard__icon { transform: translateY(-4px) scale(1.06) rotate(-6deg); }
.fcard:hover .fcard__icon::after { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.fcard__body { padding: 22px 34px 34px; }
.fcard__title { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 6px 0 12px; }
.fcard__text { font-size: 1rem; color: var(--body); margin-bottom: 20px; }

/* animated, staggered check list */
.fcard__list { list-style: none; padding: 0; margin: 0 0 26px; }
.fcard__list li {
  position: relative; padding: 8px 0 8px 36px; font-size: .98rem; color: var(--ink);
  opacity: 0; transform: translateX(-14px);
  transition: opacity .5s ease, transform .5s ease;
}
.fcard__list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 24px; height: 24px; border-radius: 8px;
  background: rgba(99, 102, 241, .12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s ease;
}
.fcard--accent .fcard__list li::before {
  background: rgba(20, 184, 166, .15)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.fcard:hover .fcard__list li::before { transform: scale(1.1); }
.fcard.is-visible .fcard__list li { opacity: 1; transform: translateX(0); }
.fcard.is-visible .fcard__list li:nth-child(1) { transition-delay: .15s; }
.fcard.is-visible .fcard__list li:nth-child(2) { transition-delay: .25s; }
.fcard.is-visible .fcard__list li:nth-child(3) { transition-delay: .35s; }
.fcard.is-visible .fcard__list li:nth-child(4) { transition-delay: .45s; }
.fcard.is-visible .fcard__list li:nth-child(5) { transition-delay: .55s; }

/* CTA */
.fcard__cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 1rem;
  color: var(--fc-dark); text-decoration: none;
  padding: 11px 22px; border-radius: 100px;
  background: rgba(var(--fc-rgb), .1); transition: all .3s ease;
}
.fcard__cta svg { transition: transform .3s ease; }
.fcard:hover .fcard__cta {
  background: var(--fc); color: #fff;
  box-shadow: 0 10px 22px rgba(var(--fc-rgb), .35);
}
.fcard:hover .fcard__cta svg { transform: translateX(5px); }

/* ---------------------------- Product cards ------------------------ */
.product-card {
  height: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.product-card__icon {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 15px; background: rgba(196, 32, 50, .1); color: var(--primary);
}
.product-card__icon--accent { background: rgba(224, 169, 62, .14); color: var(--accent-dark); }
.product-card__title { font-size: 1.5rem; margin-bottom: 12px; }
.product-card__text { margin-bottom: 18px; }

.badge-soft {
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--primary); background: rgba(196, 32, 50, .08);
  padding: 6px 12px; border-radius: 100px;
}
.badge-soft--accent { color: var(--accent-dark); background: rgba(224, 169, 62, .12); }

/* -------------------- Single product feature (AcumaGuard) ---------- */
.product-feature {
  display: grid; grid-template-columns: 1.2fr 1fr;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; transition: box-shadow .35s ease, transform .35s ease;
}
.product-feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-feature__main { padding: 44px; }
.product-feature__title { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin: 16px 0 14px; }
.product-feature__main .product-card__text { margin-bottom: 26px; }
.product-feature__aside {
  padding: 44px; background: var(--tint);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.product-feature__aside-title {
  font-size: 1.05rem; color: var(--ink); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.product-feature__aside .check-list { margin: 0; }
@media (max-width: 767.98px) {
  .product-feature { grid-template-columns: 1fr; }
  .product-feature__main, .product-feature__aside { padding: 30px; }
  .product-feature__aside { border-left: none; border-top: 1px solid var(--line); }
}

/* ---------------------------- Why / Bento (dark) ------------------- */
.section--dark .eyebrow--light { color: #d2d7df; }
.why { position: relative; overflow: hidden; }
.why__glow {
  position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; pointer-events: none;
}
.why__glow--1 {
  width: 460px; height: 460px; top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(196, 32, 50, .45), transparent 70%);
  animation: orbDrift 16s ease-in-out infinite;
}
.why__glow--2 {
  width: 520px; height: 520px; bottom: -160px; right: -140px;
  background: radial-gradient(circle, rgba(224, 169, 62, .32), transparent 70%);
  animation: orbDrift 20s ease-in-out infinite reverse;
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 215px) auto;
  gap: 22px;
}
.bento__item {
  position: relative; overflow: hidden; border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-start;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease,
              border-color .4s ease, background .4s ease, opacity .7s ease;
}
.bento__item:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 169, 62, .5);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .4);
  background: rgba(255, 255, 255, .08);
}
.bento__item--feature { grid-column: 1 / 3; grid-row: 1 / 3; justify-content: flex-end; }
.bento__item--wide    { grid-column: 1 / 5; grid-row: 3; justify-content: flex-end; min-height: 200px; }

/* image background cards */
.bento__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0; transition: transform .7s ease;
}
.bento__item--feature:hover .bento__bg,
.bento__item--wide:hover .bento__bg { transform: scale(1.07); }
.bento__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(28, 32, 38, .35) 0%, rgba(28, 32, 38, .78) 55%, rgba(20, 23, 28, .96) 100%);
}
.bento__item--wide .bento__overlay {
  background: linear-gradient(110deg, rgba(20, 23, 28, .94) 0%, rgba(28, 32, 38, .8) 45%, rgba(28, 32, 38, .35) 100%);
}
.bento__content { position: relative; z-index: 2; }
.bento__content--row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; width: 100%;
}

/* icons */
.bento__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
  margin-bottom: 16px; box-shadow: 0 10px 24px rgba(224, 169, 62, .35);
}
.bento__icon--sm {
  width: 50px; height: 50px;
  background: rgba(224, 169, 62, .16); color: var(--accent); box-shadow: none;
}
.bento__item:hover .bento__icon--sm {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
}

.bento__title { color: #fff; font-size: 1.45rem; margin-bottom: 10px; }
.bento__subtitle { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.bento__text { color: #c7ccd4; font-size: .95rem; margin: 0; }

/* chips */
.bento__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bento__chips span {
  font-size: .76rem; font-weight: 600; color: #dde0e6;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .14);
  padding: 5px 12px; border-radius: 100px;
}

/* stat card */
.bento__item--stat { justify-content: center; }
.bento__stat {
  font-family: 'Plus Jakarta Sans'; font-weight: 800; line-height: 1;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  background: linear-gradient(120deg, #ffffff, var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: 12px;
}

@media (max-width: 991.98px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: minmax(190px, auto);
  }
  .bento__item--feature { grid-column: 1 / 3; grid-row: auto; }
  .bento__item--wide    { grid-column: 1 / 3; grid-row: auto; }
}
@media (max-width: 575.98px) {
  .bento { grid-template-columns: 1fr; }
  .bento__item--feature, .bento__item--wide { grid-column: auto; }
}

/* ---------------------------- Process timeline (dark) -------------- */
.process {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 50px; padding-bottom: 50px;
}
/* full-bleed: let the stepper use the whole width, only small side gaps */
.process > .container {
  width: 100%; max-width: 100%;
  padding-left: clamp(40px, 5vw, 80px);
  padding-right: clamp(40px, 5vw, 80px);
}
.process .section__head { margin-bottom: 30px; }
.process__orb {
  position: absolute; border-radius: 50%; filter: blur(95px); z-index: 0; pointer-events: none;
}
.process__orb--1 {
  width: 480px; height: 480px; top: -120px; right: -130px;
  background: radial-gradient(circle, rgba(196, 32, 50, .38), transparent 70%);
  animation: orbDrift 17s ease-in-out infinite;
}
.process__orb--2 {
  width: 520px; height: 520px; bottom: -160px; left: -150px;
  background: radial-gradient(circle, rgba(224, 169, 62, .30), transparent 70%);
  animation: orbDrift 21s ease-in-out infinite reverse;
}
.section__subtitle--light { color: #aeb6c2; }

/* ---- horizontal stepper (single-screen) ---- */
.timeline { position: relative; display: flex; align-items: stretch; }
/* glowing horizontal line */
.timeline::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 20px rgba(224, 169, 62, .45);
}
/* shimmer travelling along the line */
.timeline::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%); left: 0;
  width: 130px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: .55; filter: blur(1px); animation: flowRight 4s linear infinite;
}
@keyframes flowRight { 0% { left: -130px; } 100% { left: 100%; } }

.tstep {
  position: relative; flex: 1 1 0; height: 540px;
  display: flex; align-items: center; justify-content: center;
}
/* number node centred on the line */
.tstep__node {
  position: relative; z-index: 3;
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 1.05rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 7px var(--dark-2), 0 8px 24px rgba(224, 169, 62, .5);
  animation: nodePulse 2.6s ease-in-out infinite;
}
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 7px var(--dark-2), 0 6px 20px rgba(224, 169, 62, .4); }
  50%      { box-shadow: 0 0 0 7px var(--dark-2), 0 8px 30px rgba(224, 169, 62, .85); }
}

/* card sits above (odd) or below (even) the line */
.tstep__card {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 268px; max-width: calc(100% + 90px);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px; padding: 20px 20px; backdrop-filter: blur(6px); text-align: center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
.tstep:nth-child(odd)  .tstep__card { bottom: calc(50% + 42px); }
.tstep:nth-child(even) .tstep__card { top: calc(50% + 42px); }
/* vertical connector between card and node */
.tstep__card::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 2px; height: 26px;
}
.tstep:nth-child(odd)  .tstep__card::after { bottom: -26px; background: linear-gradient(180deg, rgba(224, 169, 62, .75), transparent); }
.tstep:nth-child(even) .tstep__card::after { top: -26px;    background: linear-gradient(180deg, transparent, rgba(224, 169, 62, .75)); }

.tstep__card:hover {
  transform: translateX(-50%) translateY(-5px);
  border-color: rgba(224, 169, 62, .55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4);
  background: rgba(255, 255, 255, .08);
}
.tstep__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(224, 169, 62, .16); color: var(--accent); margin: 0 auto 10px;
  transition: all .35s ease;
}
.tstep__card:hover .tstep__icon {
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
  transform: scale(1.08) rotate(-4deg);
}
.tstep__title { color: #fff; font-size: 1.05rem; margin-bottom: 7px; }
.tstep__text { color: #c7ccd4; font-size: .85rem; line-height: 1.5; margin: 0; }

/* staggered fade-up reveal */
.tstep[data-animate] { opacity: 0; transform: translateY(30px); }
.tstep.is-visible { opacity: 1; transform: translateY(0); }
.tstep.is-visible:nth-child(1) { transition-delay: .05s; }
.tstep.is-visible:nth-child(2) { transition-delay: .15s; }
.tstep.is-visible:nth-child(3) { transition-delay: .25s; }
.tstep.is-visible:nth-child(4) { transition-delay: .35s; }
.tstep.is-visible:nth-child(5) { transition-delay: .45s; }
.tstep.is-visible:nth-child(6) { transition-delay: .55s; }

/* tablet & below: stack vertically (line on the left) */
@media (max-width: 991.98px) {
  .process { min-height: auto; display: block; padding: 72px 0; }
  .timeline { flex-direction: column; max-width: 520px; margin: 0 auto; }
  .timeline::before {
    left: 24px; right: auto; top: 8px; bottom: 8px; transform: none;
    width: 3px; height: auto;
    background: linear-gradient(180deg, var(--primary), var(--accent));
  }
  .timeline::after { display: none; }
  .tstep {
    height: auto; display: flex; align-items: flex-start; justify-content: flex-start;
    gap: 18px; padding: 10px 0;
  }
  .tstep__node {
    flex: none; width: 50px; height: 50px;
    box-shadow: 0 0 0 6px var(--dark-2), 0 8px 20px rgba(224, 169, 62, .4);
  }
  .tstep__card,
  .tstep:nth-child(odd) .tstep__card,
  .tstep:nth-child(even) .tstep__card {
    position: static; transform: none; top: auto; bottom: auto; left: auto;
    width: auto; max-width: none; flex: 1; text-align: left;
  }
  .tstep__card:hover { transform: translateY(-4px); }
  .tstep__card::after { display: none; }
  .tstep__icon { margin: 0 0 10px 0; }
  .tstep__title { font-size: 1.1rem; }
  .tstep__text { font-size: .92rem; }
  .tstep[data-animate] { transform: translateX(30px); }
  .tstep.is-visible { transform: translateX(0); }
}

/* ---------------------------- Case cards --------------------------- */
.case-card {
  height: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-card__media img { transform: scale(1.06); }
.case-card__tag {
  position: absolute; top: 14px; left: 14px;
  font-size: .74rem; font-weight: 700; color: #fff;
  background: rgba(31, 35, 42, .82); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: 100px;
}
.case-card__body { padding: 24px; }
.case-card__title { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.case-card__text { font-size: .95rem; margin-bottom: 16px; }

/* ============================= FAQ ================================= */
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq__btn {
  width: 100%; text-align: left; border: 0; background: transparent;
  padding: 22px 26px; font-family: 'Plus Jakarta Sans'; font-weight: 700;
  font-size: 1.06rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
}
.faq__btn:focus { outline: none; }
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; background: var(--primary); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.faq__icon::before { top: 10px; left: 0; width: 22px; height: 2.5px; }
.faq__icon::after { left: 10px; top: 0; width: 2.5px; height: 22px; }
.faq__btn:not(.collapsed) .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__btn:not(.collapsed) { color: var(--primary); }
.faq__body { padding: 0 26px 24px; color: var(--body); font-size: 1rem; }

/* ===================== Final CTA + Contact ========================= */
.cta-final { background: var(--tint); }
.cta-final__card {
  border-radius: 26px; padding: clamp(32px, 5vw, 64px);
  background: radial-gradient(120% 120% at 90% 10%, #d93142 0%, var(--primary) 45%, var(--primary-darker) 100%);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-final__card::before {
  content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle, rgba(224, 169, 62, .25), transparent 70%);
}
.cta-final__text { color: #f6e2e3; font-size: 1.06rem; max-width: 480px; margin-bottom: 26px; }
.cta-final__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.contact-form {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); position: relative; z-index: 2;
}
.contact-form label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.contact-form .form-control {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-size: .95rem; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form .form-control:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(196, 32, 50, .12);
}
.contact-form__success {
  display: none; margin: 16px 0 0; text-align: center; font-weight: 600; color: var(--accent-dark);
}
.contact-form__success.show { display: block; }

/* ===================== Scroll reveal animation ===================== */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

/* ============================= Responsive ========================= */
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .hero { padding: 110px 0 90px; background-position: center; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(20, 23, 28, .9) 0%, rgba(28, 32, 38, .82) 100%),
      radial-gradient(700px 480px at 50% 90%, rgba(224, 169, 62, .16), transparent 70%);
  }
  .hero__content { padding-right: 0; }
  .pill-list { justify-content: center; }
  .pr-lg-5, .pl-lg-5 { padding: 0 !important; }
  .section__head .btn { margin-top: 12px; }
}
@media (max-width: 575.98px) {
  .stats__card { padding: 20px 6px; }
  .contact-form, .product-card { padding: 24px; }
}
