/* =========================================================
   Transfotech Global Bangladesh | Free Course Landing (v2)
   AI vs AI: Hack & Defend in 2027
   সব selector #tgfc-root দিয়ে scoped, তাই WordPress থিমের
   CSS এর সাথে conflict হবে না।

   WordPress note: loaded only on single Free Course pages by
   inc/free-course-fields.php. --tgfc-sticky-top is set inline
   on #tgfc-root by single-tgb_free_course.php, to the theme
   header's height.
   ========================================================= */

#tgfc-root {
  --tgfc-ink: #0B2440;
  --tgfc-ink-2: #46596C;
  --tgfc-navy: #0A3A66;
  --tgfc-night: #071F38;
  --tgfc-teal: #0E7A86;
  --tgfc-aqua: #22CCDD;
  --tgfc-mint: #2FD9A0;
  --tgfc-attack: #E2553A;
  --tgfc-attack-ink: #B83A22;
  --tgfc-attack-soft: #FDEEE9;
  --tgfc-defend-soft: #E4F6F3;
  --tgfc-bg: #F4F8F9;
  --tgfc-surface: #FFFFFF;
  --tgfc-line: #D8E3E8;
  --tgfc-grad: linear-gradient(100deg, var(--tgfc-aqua) 0%, var(--tgfc-mint) 100%);

  /* থিমের header sticky হলে এর height দিন (যেমন 80px) */
  --tgfc-sticky-top: 0px;

  --tgfc-font: "Plus Jakarta Sans", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tgfc-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  font-family: var(--tgfc-font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--tgfc-ink);
  background: var(--tgfc-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* ---------- standalone page ----------
   These pages render without the theme's header and footer, so the landing
   page owns the whole document. --tgfc-sticky-top stays 0 because there is no
   site header above it — except for the logged-in admin bar, which is fixed
   and would otherwise cover the course's own sticky bar. */
body.tgfc-standalone { margin: 0; background: #F3F7F8; }
body.tgfc-standalone.admin-bar #tgfc-root { --tgfc-sticky-top: 32px; }
@media screen and (max-width: 782px) {
  body.tgfc-standalone.admin-bar #tgfc-root { --tgfc-sticky-top: 46px; }
}

/* ---------- scoped reset ---------- */
#tgfc-root :where(*, *::before, *::after) { box-sizing: border-box; }
#tgfc-root :where(h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, figure, nav, header, main, section, article) {
  margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: normal; text-transform: none; border: 0; background: none;
}
#tgfc-root :where(ul, ol) { list-style: none; }
#tgfc-root :where(li)::before { content: none; }
#tgfc-root :where(a) { color: inherit; text-decoration: none; box-shadow: none; }
#tgfc-root :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; text-align: inherit; }
#tgfc-root :where(svg) { display: inline-block; flex: none; }
#tgfc-root :where(b, strong) { font-weight: 700; }
#tgfc-root :where([hidden]) { display: none !important; }
#tgfc-root .tgfc-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
#tgfc-root :where(a, button, summary):focus-visible { outline: 3px solid var(--tgfc-aqua); outline-offset: 3px; border-radius: 10px; }

#tgfc-root .tgfc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
#tgfc-root .tgfc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 14px;
  font-weight: 700; font-size: 1.02rem; line-height: 1.2; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
#tgfc-root .tgfc-btn svg { width: 20px; height: 20px; }
#tgfc-root .tgfc-btn--primary { background: var(--tgfc-grad); color: var(--tgfc-night); box-shadow: 0 10px 24px -12px rgba(14, 122, 134, .85); }
#tgfc-root .tgfc-btn--primary:hover { transform: translateY(-1px); color: var(--tgfc-night); box-shadow: 0 14px 28px -12px rgba(14, 122, 134, .95); }
#tgfc-root .tgfc-btn--quiet { color: var(--tgfc-navy); border: 1.5px solid #BCD3DD; background: rgba(255,255,255,.7); }
#tgfc-root .tgfc-btn--quiet:hover { background: #fff; border-color: var(--tgfc-teal); color: var(--tgfc-navy); }
#tgfc-root .tgfc-btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; border-radius: 11px; }
#tgfc-root .tgfc-btn--lg { min-height: 60px; padding: 0 36px; font-size: 1.1rem; }

/* ---------- sticky bar ---------- */
#tgfc-root .tgfc-bar {
  position: fixed; left: 0; right: 0; top: var(--tgfc-sticky-top); z-index: 60;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--tgfc-line);
  /* WordPress integration fix: the original hid the bar with translateY(-110%),
     which clears its own height but not --tgfc-sticky-top. Under the theme's
     73px sticky header that left the hidden bar sitting at y=2, on top of the
     site nav. Subtracting the offset too puts it properly off-screen. */
  transform: translateY(calc(-110% - var(--tgfc-sticky-top)));
  transition: transform .25s ease;
}
#tgfc-root.tgfc-bar-on .tgfc-bar { transform: none; }
#tgfc-root .tgfc-bar-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
#tgfc-root .tgfc-bar-title { display: flex; align-items: baseline; gap: 10px; line-height: 1.3; }
#tgfc-root .tgfc-bar-title b { font-size: 1.05rem; font-weight: 800; color: var(--tgfc-night); letter-spacing: -.02em; }
#tgfc-root .tgfc-bar-title span { font-size: .88rem; color: var(--tgfc-ink-2); }
#tgfc-root .tgfc-bar-links { display: flex; gap: 4px; margin-left: auto; }
#tgfc-root .tgfc-bar-links a { padding: 6px 12px; border-radius: 8px; font-size: .92rem; font-weight: 600; color: var(--tgfc-ink-2); }
#tgfc-root .tgfc-bar-links a:hover, #tgfc-root .tgfc-bar-links a.is-active { color: var(--tgfc-navy); background: var(--tgfc-defend-soft); }

/* ---------- hero ---------- */
#tgfc-root .tgfc-hero {
  padding: 64px 0 56px;
  background:
    linear-gradient(180deg, rgba(244, 248, 249, 0) 55%, var(--tgfc-bg) 100%),
    linear-gradient(rgba(10, 58, 102, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(10, 58, 102, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(160deg, #E8F6F6 0%, #F4F8F9 60%);
}
#tgfc-root .tgfc-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px; align-items: end;
}
#tgfc-root .tgfc-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #BFE3E1;
  color: var(--tgfc-teal); font-size: .9rem; font-weight: 600;
}
#tgfc-root .tgfc-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #18B57E; box-shadow: 0 0 0 4px rgba(24, 181, 126, .18); }
#tgfc-root .tgfc-title {
  margin-top: 20px;
  font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.4rem);
  line-height: 1; font-weight: 800; letter-spacing: -.04em;
  color: var(--tgfc-night); text-wrap: balance;
}
#tgfc-root .tgfc-subtitle { margin-top: 16px; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 600; color: var(--tgfc-teal); }
#tgfc-root .tgfc-cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

#tgfc-root .tgfc-hero-side { padding-bottom: 6px; color: var(--tgfc-ink-2); max-width: 52ch; }
#tgfc-root .tgfc-when { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--tgfc-line); display: grid; gap: 6px; font-size: .95rem; }
#tgfc-root .tgfc-when li { display: flex; gap: 10px; align-items: flex-start; }
#tgfc-root .tgfc-when svg { width: 18px; height: 18px; margin-top: 4px; color: var(--tgfc-teal); }
#tgfc-root .tgfc-when b { color: var(--tgfc-ink); font-weight: 600; }

/* arena: দুই অর্ধেক জোড়া লাগানো, মাঝে vs */
#tgfc-root .tgfc-arena {
  position: relative; margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(7, 31, 56, .55);
}
#tgfc-root .tgfc-side { padding: 30px 34px 34px; min-height: 330px; }
#tgfc-root .tgfc-side--attack { padding-right: 48px; }
#tgfc-root .tgfc-side--defend { padding-left: 48px; }
#tgfc-root .tgfc-side--attack {
  color: #fff;
  background: radial-gradient(110% 90% at 0% 100%, rgba(226, 85, 58, .38) 0%, transparent 60%), var(--tgfc-night);
}
#tgfc-root .tgfc-side--defend {
  background: radial-gradient(110% 90% at 100% 0%, rgba(47, 217, 160, .28) 0%, transparent 60%), #fff;
}
#tgfc-root .tgfc-side-day { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; }
#tgfc-root .tgfc-side-day span { padding: 1px 10px; border-radius: 6px; font-size: .78rem; font-weight: 600; }
#tgfc-root .tgfc-side--attack .tgfc-side-day { color: #FFB3A2; }
#tgfc-root .tgfc-side--attack .tgfc-side-day span { background: rgba(226, 85, 58, .22); color: #FFB3A2; }
#tgfc-root .tgfc-side--defend .tgfc-side-day { color: var(--tgfc-teal); }
#tgfc-root .tgfc-side--defend .tgfc-side-day span { background: var(--tgfc-defend-soft); color: var(--tgfc-teal); }
#tgfc-root .tgfc-side-title { margin-top: 6px; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.3; font-weight: 700; }
#tgfc-root .tgfc-side--defend .tgfc-side-title { color: var(--tgfc-night); text-align: right; }
#tgfc-root .tgfc-side--defend .tgfc-side-day { justify-content: flex-end; }

#tgfc-root .tgfc-console {
  margin-top: 22px; display: grid; gap: 8px;
  font-family: var(--tgfc-mono), var(--tgfc-font); font-size: .82rem; line-height: 1.6;
}
#tgfc-root .tgfc-side--defend .tgfc-console {
  padding: 16px; border-radius: 14px; background: var(--tgfc-night); color: #CFE0EC;
}
#tgfc-root .tgfc-line { overflow-wrap: anywhere; }
#tgfc-root .tgfc-who { display: block; font-size: .72rem; color: #8BA3B8; }
#tgfc-root .tgfc-line--user { max-width: 88%; padding: 9px 13px; border-radius: 12px 12px 12px 3px; background: #15406A; font-family: var(--tgfc-font); }
#tgfc-root .tgfc-line--bot { max-width: 92%; margin-left: auto; padding: 9px 13px; border-radius: 12px 12px 3px 12px; background: rgba(226, 85, 58, .16); border: 1px solid rgba(226, 85, 58, .42); color: #FFD5CB; }
#tgfc-root .tgfc-line--note::before { content: "> "; }
#tgfc-root .tgfc-side--attack .tgfc-line--note { color: #FF9C86; }
#tgfc-root .tgfc-side--defend .tgfc-line--note { color: var(--tgfc-mint); }
#tgfc-root .tgfc-line--alert { padding: 4px 10px; border-radius: 6px; background: #F6C744; color: #2A1D00; font-weight: 600; }

#tgfc-root .tgfc-vs {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
  background: var(--tgfc-grad); color: var(--tgfc-night);
  font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em;
  border: 5px solid #fff; box-shadow: 0 8px 24px rgba(7, 31, 56, .35);
}

/* console animation: load এ একবার, আগে attack তারপর defense */
#tgfc-root.tgfc-anim .tgfc-console .tgfc-line { opacity: 0; transform: translateY(6px); }
#tgfc-root.tgfc-anim.tgfc-play .tgfc-console .tgfc-line { animation: tgfc-in .45s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 420ms + 300ms); }
@keyframes tgfc-in { to { opacity: 1; transform: none; } }

#tgfc-root .tgfc-quick {
  margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--tgfc-surface); border: 1px solid var(--tgfc-line); border-radius: 18px;
}
#tgfc-root .tgfc-quick li { padding: 16px 20px; font-size: .88rem; line-height: 1.45; color: var(--tgfc-ink-2); }
#tgfc-root .tgfc-quick li + li { border-left: 1px solid var(--tgfc-line); }
#tgfc-root .tgfc-quick b { display: block; font-size: 1.02rem; color: var(--tgfc-night); margin-bottom: 2px; }
#tgfc-root .tgfc-quick li:first-child b { color: var(--tgfc-teal); font-size: 1.25rem; }

/* ---------- sections ---------- */
#tgfc-root .tgfc-section { padding: 88px 0; scroll-margin-top: calc(var(--tgfc-sticky-top) + 64px); }
#tgfc-root .tgfc-section--tint { background: #E9F3F4; }
#tgfc-root .tgfc-section--tight { padding: 0; }
#tgfc-root .tgfc-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
#tgfc-root .tgfc-head--left { margin: 0 0 28px; text-align: left; }
#tgfc-root .tgfc-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; color: var(--tgfc-night); }
#tgfc-root .tgfc-head p { margin-top: 10px; color: var(--tgfc-ink-2); }

/* ---------- plan + bracket ---------- */
#tgfc-root .tgfc-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
#tgfc-root .tgfc-day {
  position: relative; padding: 30px 30px 26px; border-radius: 22px;
  background: var(--tgfc-surface); border: 1px solid var(--tgfc-line);
  display: flex; flex-direction: column; align-items: stretch;
}
#tgfc-root .tgfc-day .tgfc-more { align-self: flex-start; }
#tgfc-root .tgfc-day .tgfc-lab { margin-top: auto; }
#tgfc-root .tgfc-day .tgfc-more { margin-bottom: 20px; }
#tgfc-root .tgfc-day::before { content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; }
#tgfc-root .tgfc-day--attack::before { background: var(--tgfc-attack); }
#tgfc-root .tgfc-day--defend::before { background: var(--tgfc-mint); }
#tgfc-root .tgfc-day-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; }
#tgfc-root .tgfc-day-tag svg { width: 20px; height: 20px; }
#tgfc-root .tgfc-day--attack .tgfc-day-tag { color: var(--tgfc-attack-ink); }
#tgfc-root .tgfc-day--defend .tgfc-day-tag { color: var(--tgfc-teal); }
#tgfc-root .tgfc-day h3 { margin-top: 8px; font-size: 1.9rem; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--tgfc-night); }
#tgfc-root .tgfc-day-sub { margin-top: 6px; font-size: .95rem; font-weight: 600; color: var(--tgfc-ink-2); }
#tgfc-root .tgfc-goal { margin-top: 14px; padding: 10px 14px; border-radius: 12px; font-size: .97rem; font-weight: 600; }
#tgfc-root .tgfc-day--attack .tgfc-goal { background: var(--tgfc-attack-soft); color: #7A2A19; }
#tgfc-root .tgfc-day--defend .tgfc-goal { background: var(--tgfc-defend-soft); color: #0B5A55; }

#tgfc-root .tgfc-topics { margin-top: 18px; display: grid; gap: 0; counter-reset: tgfc-t; }
#tgfc-root .tgfc-topics li {
  position: relative; padding: 9px 0 9px 34px; font-size: .97rem; line-height: 1.5;
  border-bottom: 1px dashed var(--tgfc-line); counter-increment: tgfc-t;
}
#tgfc-root .tgfc-topics li::before {
  content: counter(tgfc-t); position: absolute; left: 0; top: 9px;
  width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px;
  font-size: .72rem; font-weight: 700; line-height: 1;
}
#tgfc-root .tgfc-day--attack .tgfc-topics li::before { background: var(--tgfc-attack-soft); color: var(--tgfc-attack-ink); }
#tgfc-root .tgfc-day--defend .tgfc-topics li::before { background: var(--tgfc-defend-soft); color: var(--tgfc-teal); }
#tgfc-root .tgfc-topics:not(.is-open) .tgfc-more-item { display: none; }
#tgfc-root .tgfc-more { margin-top: 12px; font-size: .93rem; font-weight: 700; color: var(--tgfc-navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #9DBBCB; }
#tgfc-root .tgfc-more:hover { text-decoration-color: var(--tgfc-navy); }
#tgfc-root .tgfc-lab { margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: #F5F9FA; border: 1px dashed #A7C5CE; }
#tgfc-root .tgfc-lab-h { font-size: .9rem; font-weight: 700; color: var(--tgfc-navy); }
#tgfc-root .tgfc-lab p + p { margin-top: 2px; font-size: .95rem; color: var(--tgfc-ink-2); }

#tgfc-root .tgfc-final {
  grid-column: 1 / -1; position: relative; margin-top: 64px;
  padding: 30px; border-radius: 22px; color: #fff;
  background: radial-gradient(70% 120% at 0% 0%, rgba(226, 85, 58, .28) 0%, transparent 55%),
              radial-gradient(70% 120% at 100% 0%, rgba(47, 217, 160, .25) 0%, transparent 55%), var(--tgfc-night);
}
/* bracket লাইন: দুই দিনের কার্ড থেকে নেমে ফাইনালে মিলছে */
#tgfc-root .tgfc-final::before {
  content: ""; position: absolute; left: 25%; right: 25%; top: -88px; height: 56px;
  border: 3px solid transparent; border-top: 0;
  border-left-color: var(--tgfc-attack); border-right-color: var(--tgfc-mint);
  border-bottom-color: #8FB3C6; border-radius: 0 0 18px 18px;
}
#tgfc-root .tgfc-final::after {
  content: ""; position: absolute; left: 50%; top: -33px; width: 3px; height: 33px; margin-left: -1.5px; background: #8FB3C6;
}
#tgfc-root .tgfc-final-head { display: flex; align-items: center; gap: 16px; }
#tgfc-root .tgfc-final-head svg { width: 48px; height: 48px; padding: 10px; border-radius: 14px; background: var(--tgfc-grad); color: var(--tgfc-night); }
#tgfc-root .tgfc-final-kicker { font-size: .9rem; font-weight: 600; color: var(--tgfc-mint); }
#tgfc-root .tgfc-final h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
#tgfc-root .tgfc-final-steps { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: tgfc-s; }
#tgfc-root .tgfc-final-steps li {
  position: relative; padding: 16px 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .92rem; line-height: 1.55; color: #C5D7E4;
}
#tgfc-root .tgfc-final-steps b { display: block; margin-bottom: 4px; color: #fff; font-weight: 700; }
#tgfc-root .tgfc-final-steps .is-attack { box-shadow: inset 0 3px 0 var(--tgfc-attack); }
#tgfc-root .tgfc-final-steps .is-defend { box-shadow: inset 0 3px 0 var(--tgfc-mint); }
#tgfc-root .tgfc-final-steps .is-prize { background: var(--tgfc-grad); border-color: transparent; color: #0B3B3A; }
#tgfc-root .tgfc-final-steps .is-prize b { color: var(--tgfc-night); }

/* ---------- যা পাবেন ---------- */
#tgfc-root .tgfc-get { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#tgfc-root .tgfc-get-group { padding: 26px; border-radius: 20px; background: var(--tgfc-surface); }
#tgfc-root .tgfc-get-group h3 { font-size: 1.15rem; font-weight: 700; color: var(--tgfc-night); padding-bottom: 12px; border-bottom: 2px solid var(--tgfc-defend-soft); }
#tgfc-root .tgfc-get-group ul { margin-top: 14px; display: grid; gap: 12px; }
#tgfc-root .tgfc-get-group li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.5; }
#tgfc-root .tgfc-get-group li svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--tgfc-defend-soft); color: var(--tgfc-teal); margin-top: 1px; }
#tgfc-root .tgfc-get-group li.is-new { font-weight: 600; }
#tgfc-root .tgfc-get-group li.is-new svg { background: var(--tgfc-teal); color: #fff; }

#tgfc-root .tgfc-outcomes {
  margin-top: 20px; padding: 26px 30px; border-radius: 20px;
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start;
  background: var(--tgfc-navy); color: #fff;
}
#tgfc-root .tgfc-outcomes h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.35; }
#tgfc-root .tgfc-outcomes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
#tgfc-root .tgfc-outcomes li { position: relative; padding-left: 22px; font-size: .97rem; line-height: 1.55; color: #D6E6F1; }
#tgfc-root .tgfc-outcomes li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--tgfc-mint); }

/* ---------- কাদের জন্য + রেডি চেক ---------- */
#tgfc-root .tgfc-fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
#tgfc-root .tgfc-who-list { display: grid; gap: 0; border-top: 1px solid var(--tgfc-line); }
#tgfc-root .tgfc-who-list li { padding: 16px 0; border-bottom: 1px solid var(--tgfc-line); color: var(--tgfc-ink-2); font-size: .98rem; line-height: 1.55; }
#tgfc-root .tgfc-who-list b { display: block; color: var(--tgfc-night); font-size: 1.05rem; margin-bottom: 2px; }

#tgfc-root .tgfc-check { padding: 30px; border-radius: 24px; background: var(--tgfc-surface); border: 1px solid var(--tgfc-line); box-shadow: 0 24px 48px -32px rgba(7, 31, 56, .35); }
#tgfc-root .tgfc-check h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.3; color: var(--tgfc-night); }
#tgfc-root .tgfc-check-hint { margin-top: 4px; font-size: .93rem; color: var(--tgfc-ink-2); }
#tgfc-root .tgfc-check-items { margin-top: 18px; display: grid; gap: 10px; }
#tgfc-root .tgfc-check-item {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--tgfc-line); background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
#tgfc-root .tgfc-check-item:hover { border-color: #9FC6CC; }
#tgfc-root .tgfc-check-item > svg { width: 28px; height: 28px; color: var(--tgfc-navy); }
#tgfc-root .tgfc-check-item span { flex: 1; font-size: .88rem; line-height: 1.45; color: var(--tgfc-ink-2); }
#tgfc-root .tgfc-check-item span b { display: block; font-size: .98rem; color: var(--tgfc-ink); font-weight: 600; }
#tgfc-root .tgfc-tick { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; border: 1.5px solid #B7CBD4; color: transparent; transition: background-color .15s ease, color .15s ease; }
#tgfc-root .tgfc-tick svg { width: 16px; height: 16px; }
#tgfc-root .tgfc-check-item[aria-pressed="true"] { border-color: var(--tgfc-teal); background: #F1FBF9; }
#tgfc-root .tgfc-check-item[aria-pressed="true"] .tgfc-tick { background: var(--tgfc-teal); border-color: var(--tgfc-teal); color: #fff; }
#tgfc-root .tgfc-check-result { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--tgfc-line); font-size: .95rem; color: var(--tgfc-ink-2); min-height: 56px; }
#tgfc-root .tgfc-check-result b { color: var(--tgfc-teal); }
#tgfc-root .tgfc-check-result .tgfc-btn { margin-top: 14px; width: 100%; }

/* ---------- trust ---------- */
#tgfc-root .tgfc-trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; }
#tgfc-root .tgfc-instructor { display: flex; align-items: center; gap: 20px; padding: 26px; border-radius: 20px; background: var(--tgfc-surface); border: 1px solid var(--tgfc-line); }
#tgfc-root .tgfc-avatar { width: 88px; height: 88px; flex: none; display: grid; place-items: center; border-radius: 22px; overflow: hidden; background: linear-gradient(140deg, var(--tgfc-navy) 0%, var(--tgfc-teal) 100%); color: #fff; font-size: 1.6rem; font-weight: 700; }
/* WordPress integration fix: the avatar is a centring grid (so the initials
   fallback sits in the middle), and WordPress gives every image width/height
   attributes. Those produce an aspect-ratio that wins over `height:100%`,
   because the percentage is indefinite inside the grid area — so the photo
   rendered 88x110, overflowing the 88px box and merely being clipped, with
   object-fit never engaging. A landscape photo would have left the gradient
   showing instead. Positioning it absolutely gives a definite 88x88 box, so
   cover does its job; cropping from the top keeps the face in a portrait. */
#tgfc-root .tgfc-avatar { position: relative; }
#tgfc-root .tgfc-avatar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
#tgfc-root .tgfc-ins-role { font-size: .85rem; font-weight: 600; color: var(--tgfc-teal); }
#tgfc-root .tgfc-instructor h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.35; color: var(--tgfc-night); }
#tgfc-root .tgfc-ins-title { color: var(--tgfc-ink-2); font-size: .95rem; }
#tgfc-root .tgfc-ethics { display: flex; gap: 16px; padding: 26px; border-radius: 20px; background: #FFF8E6; border: 1px solid #F1DFA6; }
#tgfc-root .tgfc-ethics svg { width: 34px; height: 34px; color: #A97A00; }
#tgfc-root .tgfc-ethics h3 { font-size: 1.08rem; font-weight: 700; color: #5A4300; }
#tgfc-root .tgfc-ethics p { margin-top: 4px; font-size: .95rem; line-height: 1.65; color: #5A4A1E; }

/* ---------- FAQ ---------- */
#tgfc-root .tgfc-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
#tgfc-root .tgfc-faq details { border-radius: 16px; background: var(--tgfc-surface); border: 1px solid var(--tgfc-line); transition: border-color .15s ease; }
#tgfc-root .tgfc-faq details[open] { border-color: #9FC6CC; }
#tgfc-root .tgfc-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; line-height: 1.5; }
#tgfc-root .tgfc-faq summary::-webkit-details-marker { display: none; }
#tgfc-root .tgfc-faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--tgfc-defend-soft); color: var(--tgfc-teal); font-weight: 700; line-height: 1; }
#tgfc-root .tgfc-faq details[open] summary::after { content: "−"; background: var(--tgfc-teal); color: #fff; }
#tgfc-root .tgfc-faq details p { padding: 0 20px 18px; color: var(--tgfc-ink-2); font-size: .97rem; }

/* ---------- শেষ CTA ---------- */
#tgfc-root .tgfc-final-cta {
  padding: 72px 0; color: #fff;
  background: radial-gradient(60% 140% at 0% 100%, rgba(226, 85, 58, .3) 0%, transparent 60%),
              radial-gradient(60% 140% at 100% 0%, rgba(47, 217, 160, .3) 0%, transparent 60%), var(--tgfc-night);
}
#tgfc-root .tgfc-join { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
#tgfc-root .tgfc-join h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
#tgfc-root .tgfc-join > div > p { margin-top: 10px; color: #B9CEDD; }
#tgfc-root .tgfc-join-actions { justify-self: end; text-align: center; }
#tgfc-root .tgfc-join-help { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; font-size: .93rem; color: #B9CEDD; }
#tgfc-root .tgfc-join-help a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
#tgfc-root .tgfc-join-help a:hover { color: var(--tgfc-mint); }
#tgfc-root .tgfc-join-help svg { width: 18px; height: 18px; color: var(--tgfc-mint); }
#tgfc-root .tgfc-join-hours { margin-top: 4px; font-size: .82rem; color: #8FA9BD; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  #tgfc-root .tgfc-bar-links { display: none; }
  #tgfc-root .tgfc-bar-inner { justify-content: space-between; }
  #tgfc-root .tgfc-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  #tgfc-root .tgfc-final-steps { grid-template-columns: 1fr 1fr; }
  #tgfc-root .tgfc-outcomes { grid-template-columns: 1fr; gap: 16px; }
  #tgfc-root .tgfc-get { grid-template-columns: 1fr 1fr; }
  #tgfc-root .tgfc-get-group:last-child { grid-column: 1 / -1; }
  #tgfc-root .tgfc-fit { grid-template-columns: 1fr; gap: 40px; }
  #tgfc-root .tgfc-trust { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  #tgfc-root .tgfc-arena { grid-template-columns: 1fr; }
  #tgfc-root .tgfc-side, #tgfc-root .tgfc-side--attack, #tgfc-root .tgfc-side--defend { min-height: 0; padding: 26px 22px 30px; }
  #tgfc-root .tgfc-side--defend { padding-top: 40px; }
  #tgfc-root .tgfc-side--defend .tgfc-side-title { text-align: left; }
  #tgfc-root .tgfc-side--defend .tgfc-side-day { justify-content: flex-start; }
  #tgfc-root .tgfc-vs { top: auto; bottom: auto; position: relative; left: auto; transform: none; justify-self: center; margin: -32px 0; width: 58px; height: 58px; }
  #tgfc-root .tgfc-quick { grid-template-columns: 1fr 1fr; }
  #tgfc-root .tgfc-quick li:nth-child(3) { border-left: 0; }
  #tgfc-root .tgfc-quick li:nth-child(n+3) { border-top: 1px solid var(--tgfc-line); }

  #tgfc-root .tgfc-plan { grid-template-columns: 1fr; }
  #tgfc-root .tgfc-final { margin-top: 44px; }
  #tgfc-root .tgfc-final::before { left: 50%; right: auto; width: 3px; height: 44px; top: -44px; margin-left: -1.5px; border: 0; border-radius: 0; background: linear-gradient(var(--tgfc-mint), #8FB3C6); }
  #tgfc-root .tgfc-final::after { display: none; }
  #tgfc-root .tgfc-faq { grid-template-columns: 1fr; }
  #tgfc-root .tgfc-join { grid-template-columns: 1fr; text-align: left; }
  #tgfc-root .tgfc-join-actions { justify-self: stretch; }
  #tgfc-root .tgfc-join-actions .tgfc-btn { width: 100%; }

  /* মোবাইলে বার নিচে */
  #tgfc-root .tgfc-bar { top: auto; bottom: 0; border-bottom: 0; border-top: 1px solid var(--tgfc-line); transform: translateY(110%); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -10px 24px -14px rgba(7, 31, 56, .35); }
  #tgfc-root .tgfc-bar-inner { gap: 12px; min-height: 68px; }
  #tgfc-root .tgfc-bar-title { flex-direction: column; gap: 0; }
}

@media (max-width: 600px) {
  #tgfc-root { font-size: 16px; }
  #tgfc-root .tgfc-wrap { padding: 0 16px; }
  #tgfc-root .tgfc-hero { padding: 40px 0 40px; }
  #tgfc-root .tgfc-cta-row .tgfc-btn { flex: 1 1 100%; }
  #tgfc-root .tgfc-section { padding: 64px 0; }
  #tgfc-root .tgfc-section--tight { padding: 0; }
  #tgfc-root .tgfc-day { padding: 26px 20px 22px; }
  #tgfc-root .tgfc-day h3 { font-size: 1.6rem; }
  #tgfc-root .tgfc-final { padding: 24px 18px; }
  #tgfc-root .tgfc-final-steps { grid-template-columns: 1fr; }
  #tgfc-root .tgfc-get { grid-template-columns: 1fr; }
  #tgfc-root .tgfc-outcomes { padding: 24px 20px; }
  #tgfc-root .tgfc-outcomes ul { grid-template-columns: 1fr; }
  #tgfc-root .tgfc-check { padding: 22px 18px; }
  #tgfc-root .tgfc-instructor, #tgfc-root .tgfc-ethics { padding: 20px; }
  #tgfc-root .tgfc-final-cta { padding: 56px 0 120px; }
}

@media (prefers-reduced-motion: reduce) {
  #tgfc-root.tgfc-anim .tgfc-console .tgfc-line { opacity: 1; transform: none; animation: none !important; }
  #tgfc-root *, #tgfc-root *::before, #tgfc-root *::after { transition: none !important; }
}
