/* ============================================================
   TICKET MANAGEMENT PAGE — /features/free-internal-ticketing-system
   Scope  : body.tm-page, all selectors prefixed .tm-
   Follows the shared design system (Instrument Sans + Mulish,
   brand blue #0302B0 / teal #01A9E0, gradient pills, blue checks)
   used by home / product / pricing. Self-contained; does not
   affect other pages.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700;800&family=Mulish:wght@400;500;600;700;800&display=swap');

:root {
  --tm-blue:        #0302B0;
  --tm-teal:        #01A9E0;
  --tm-navy:        #0D1B3E;
  --tm-strong:      #212738;
  --tm-text:        #232321;
  --tm-text-mid:    #454455;
  --tm-text-light:  #6B7280;
  --tm-white:       #FFFFFF;
  --tm-ff-head:     'Mulish', 'Segoe UI', system-ui, sans-serif;
  --tm-ff-body:     'Instrument Sans', 'Mulish', 'Segoe UI', sans-serif;
  --tm-max-w:       1200px;
  --tm-gutter:      24px;
  --tm-sec-py:      88px;
  --tm-ease:        cubic-bezier(.16,1,.3,1);
  --tm-grad-primary: linear-gradient(95deg, #0302B0 1.34%, #01A9E0 97.22%);
  --tm-grad-icon:    linear-gradient(135deg, #9EE5DB 0%, #7CC7F0 100%);
}

.tm-page .tm-hero *, .tm-page .tm-why *, .tm-page .tm-benefits *,
.tm-page .tm-share *, .tm-page .tm-cta * { box-sizing: border-box; }

.tm-container {
  max-width: var(--tm-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--tm-gutter);
  padding-right: var(--tm-gutter);
}

/* ── shared header type ───────────────────────────────── */
.tm-eyebrow {
  display: block;
  font-family: var(--tm-ff-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--tm-blue);
  margin: 0 0 14px;
}
.tm-section-title {
  font-family: var(--tm-ff-head);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--tm-strong);
  margin: 0 0 20px;
}
.tm-section-body {
  font-family: var(--tm-ff-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--tm-text);
  margin: 0;
}
.tm-section-body b, .tm-section-body strong { font-weight: 700; color: var(--tm-strong); }

/* ── shared buttons (identical to home CTA buttons) ───── */
.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--tm-ff-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 55px;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow .22s var(--tm-ease), opacity .22s var(--tm-ease), transform .18s var(--tm-ease);
}
.tm-btn:hover { transform: translateY(-2px); text-decoration: none; }
.tm-btn--primary {
  color: #fff;
  border: 1.5px solid #01A9E0;
  background: var(--tm-grad-primary);
  background-clip: padding-box;
}
.tm-btn--primary:hover { color: #fff; box-shadow: 0 6px 24px rgba(3,2,176,.35); opacity: .92; }
.tm-btn--white {
  background: #fff;
  border: 1px solid #19182D;
  color: #19182D;
}
.tm-btn--white:hover { box-shadow: 0 6px 20px rgba(13,27,62,.12); }
.tm-btn__gtext {
  background: linear-gradient(180deg, #19182D 0%, #0302B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.tm-btn__arrow { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; }
.tm-btn--primary .tm-btn__arrow { color: #fff; }
.tm-btn--white .tm-btn__arrow  { color: #19182D; }

/* ============================================================
   SECTION 1 — HERO (split: text + mockup card)
   ============================================================ */
.tm-hero {
  background: linear-gradient(105deg, #CBEFDA 0%, #A6E4E6 45%, #6DC8EF 100%);
  padding-top: var(--tm-sec-py);
  padding-bottom: var(--tm-sec-py);
}
.tm-hero__inner {
  display: flex;
  align-items: center;
  gap: 56px;
}
.tm-hero__content { flex: 1 1 50%; min-width: 0; }
.tm-hero__title {
  font-family: var(--tm-ff-head);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--tm-strong);
  margin: 0 0 22px;
}
.tm-hero__title .tm-text-blue { color: var(--tm-blue); display: block; }
.tm-hero__body {
  font-family: var(--tm-ff-body);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.55;
  color: #23303A;
  margin: 0;
  max-width: 560px;
}
.tm-hero__body b { font-weight: 700; color: #101820; }
.tm-hero__visual { flex: 1 1 50%; min-width: 0; display: flex; justify-content: flex-end; }
/* Banner (positions matched to the Figma):
   white frame + glossy header = CSS, white fields card = swappable image */
.tm-banner {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1085 / 726;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(16,40,70,.16);
  overflow: hidden;
}
/* soft lavender glow, bottom-left (decorative, CSS) — very subtle */
.tm-banner::before {
  content: '';
  position: absolute;
  left: 2%;
  bottom: 10%;
  width: 26%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,206,255,.34) 0%, rgba(210,218,255,.14) 50%, transparent 72%);
  filter: blur(12px);
  z-index: 0;
}
/* glossy header — multi-stop gradient (sampled from Figma), inset, large rounded top-right (CSS) */
.tm-banner__head {
  position: absolute;
  left: 4.8%;
  top: 7.2%;
  width: 90.4%;
  height: 35%;
  border-radius: 10px 46px 10px 10px;
  background: linear-gradient(96deg,
    #FEFEFF 2%,
    #F5F7FF 13%,
    #E9EDFF 31%,
    #F5F8FF 50%,
    #F6FDFD 68%,
    #C6F1F3 81%,
    #8CE3E8 91%,
    #6EDCE4 98%);
  z-index: 0;
}
/* white fields card — swappable image, offset right with white margin on right & bottom (matches Figma) */
.tm-banner__card {
  position: absolute;
  left: 10.5%;
  top: 37%;
  width: 84.7%;
  height: auto;
  z-index: 1;
  display: block;
  border-radius: 14px 0 0 0;
}

/* mockup card */
.tm-mock {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,.55);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 30px 60px rgba(16,40,70,.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tm-mock__head {
  height: 96px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #EAF0FF 0%, #F3FBFF 55%, #8FE0C9 100%);
}
.tm-mock__body {
  background: #fff;
  border-radius: 0 0 20px 20px;
  margin-top: -46px;
  padding: 22px 26px 30px;
  box-shadow: 0 10px 30px rgba(16,40,70,.10);
  position: relative;
}
.tm-mock__pills { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.tm-mock__seg { display: inline-flex; background: #EEF0F4; border-radius: 999px; padding: 4px; }
.tm-mock__seg span { font: 600 13px/1 var(--tm-ff-body); color: #6B7280; padding: 7px 14px; border-radius: 999px; }
.tm-mock__seg span.is-on { background: #fff; color: #101820; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.tm-mock__tag { font: 600 13px/1 var(--tm-ff-body); color: #101820; background: #EEF0F4; border-radius: 999px; padding: 8px 14px; }
.tm-mock__copy { width: 34px; height: 34px; border-radius: 8px; background: #EEF0F4; display: inline-flex; align-items: center; justify-content: center; color: #6B7280; }
.tm-mock__row { margin-bottom: 18px; }
.tm-mock__cols { display: flex; gap: 60px; }
.tm-mock__label { font: 400 13px/1.2 var(--tm-ff-body); color: #8A94A6; margin: 0 0 6px; }
.tm-mock__val { font: 600 16px/1.3 var(--tm-ff-body); color: #101820; margin: 0; }
.tm-mock__mark { position: absolute; right: 20px; bottom: 18px; opacity: .5; }

/* ============================================================
   SECTION 2 — WHY CHOOSE (3 gradient-icon cards)
   ============================================================ */
.tm-why {
  background: linear-gradient(180deg, #FFFFFF 0%, #EAF4FD 60%, #CFE7FA 100%);
  padding-top: var(--tm-sec-py);
  padding-bottom: var(--tm-sec-py);
}
.tm-why__header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.tm-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tm-card {
  background: #fff;
  border: 1px solid #DDE6F5;
  border-radius: 22px;
  padding: 34px 32px 38px;
  box-shadow: 0 10px 30px rgba(16,40,70,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tm-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,40,70,.10); }
.tm-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--tm-grad-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.tm-card__icon svg { width: 40px; height: 40px; }
.tm-card__title {
  font-family: var(--tm-ff-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--tm-blue);
  margin: 0 0 12px;
}
.tm-card__body {
  font-family: var(--tm-ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tm-text-mid);
  margin: 0;
}

/* ============================================================
   SECTION 3 — KEY BENEFITS (4-column blue-outline icon list)
   ============================================================ */
.tm-benefits {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F5FF 100%);
  padding-top: var(--tm-sec-py);
  padding-bottom: var(--tm-sec-py);
}
.tm-benefits__header { text-align: center; margin: 0 auto 60px; }
.tm-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.tm-benefit__icon {
  width: 30px;
  height: 30px;
  color: var(--tm-blue);
  margin-bottom: 18px;
}
.tm-benefit__icon svg { width: 30px; height: 30px; display: block; }
.tm-benefit__title {
  font-family: var(--tm-ff-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--tm-strong);
  margin: 0 0 12px;
}
.tm-benefit__body {
  font-family: var(--tm-ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tm-text-mid);
  margin: 0;
}

/* ============================================================
   SECTION 4 — KNOWLEDGE SHARING (2 illustration cards)
   ============================================================ */
.tm-share {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F8FC 100%);
  padding-top: var(--tm-sec-py);
  padding-bottom: var(--tm-sec-py);
}
.tm-share__header { text-align: center; max-width: 900px; margin: 0 auto 56px; }
.tm-share__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.tm-share-card {
  background: #fff;
  border: 1px solid #E7EAF2;
  border-radius: 22px;
  padding: 44px 44px 48px;
  box-shadow: 0 12px 34px rgba(16,40,70,.06);
  text-align: center;
}
.tm-share-card__illus {
  width: 220px;
  height: 220px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tm-share-card__illus svg { width: 100%; height: 100%; }
.tm-share-card__title {
  font-family: var(--tm-ff-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--tm-strong);
  margin: 0 0 16px;
}
.tm-share-card__body {
  font-family: var(--tm-ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--tm-text-mid);
  margin: 0;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   SECTION 5 — CTA BANNER (matches home / product CTA)
   ============================================================ */
.tm-cta {
  background: linear-gradient(120deg, #BFEAF5 0%, #D2EFF9 45%, #E6F5FC 100%);
  padding-top: 96px;
  padding-bottom: 96px;
}
.tm-cta__inner {
  max-width: var(--tm-max-w);
  margin: 0 auto;
  padding-left: var(--tm-gutter);
  padding-right: var(--tm-gutter);
  text-align: left;
}
.tm-cta__eyebrow { display: block; font-family: var(--tm-ff-head); font-size: 22px; font-weight: 700; color: var(--tm-blue); margin-bottom: 14px; }
.tm-cta__title  { font-family: var(--tm-ff-head); font-size: 48px; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: var(--tm-strong); max-width: 560px; margin: 0 0 20px; }
.tm-cta__body   { font-family: var(--tm-ff-body); font-size: 24px; font-weight: 400; line-height: 1.6; color: var(--tm-text); max-width: 640px; margin: 0 0 36px; }
.tm-cta__buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .tm-hero__inner { flex-direction: column; align-items: flex-start; gap: 40px; }
  .tm-hero__visual { justify-content: flex-start; width: 100%; }
  .tm-why__grid { grid-template-columns: 1fr; gap: 22px; }
  .tm-benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .tm-share__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .tm-section-title, .tm-hero__title, .tm-cta__title { font-size: 34px; }
  .tm-section-body, .tm-hero__body, .tm-cta__body { font-size: 19px; }
  .tm-eyebrow, .tm-cta__eyebrow { font-size: 18px; }
  .tm-benefits__grid { grid-template-columns: 1fr; }
  .tm-cta__buttons { flex-direction: column; align-items: stretch; }
  .tm-cta__buttons .tm-btn { width: 100%; }
  .tm-share-card { padding: 30px 24px 34px; }
}
