/* ===========================================================
   TAM to Target — Website UI Kit
   All component styles live here. JSX uses className strings.
   =========================================================== */

@import url("../../colors_and_type.css");

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #000; font-family: var(--font-brand); }
img { display: block; max-width: 100%; }

.ttt-page { min-height: 100vh; }

/* ---------- Container ---------- */
.ttt-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.ttt-section { padding: 96px 0; }
.ttt-section--tight { padding: 48px 0; }

/* ---------- Nav ---------- */
.ttt-nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}
.ttt-nav__inner {
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.ttt-nav__brand { display: flex; align-items: center; }
.ttt-nav__brand img { height: 48px; }
.ttt-nav__links { display: flex; gap: 28px; }
.ttt-nav__links a {
  color: #000; font-size: 15px; font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  cursor: pointer;
}
.ttt-nav__links a:hover { opacity: 0.7; }
.ttt-nav__links a.is-active::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--c-indigo-500);
}
.ttt-nav__cta { display: flex; gap: 10px; }

/* ---------- Buttons ---------- */
.ttt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0; border-radius: 8px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-standard);
  text-decoration: none;
  white-space: nowrap;
}
.ttt-btn--primary { background: #000; color: #fff; }
.ttt-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.ttt-btn--indigo { background: var(--c-indigo-500); color: #fff; }
.ttt-btn--indigo:hover { background: var(--c-indigo-600); transform: translateY(-2px); }
.ttt-btn--ghost { background: #fff; color: #000; border: 1px solid var(--c-border); }
.ttt-btn--ghost:hover { background: var(--c-grey-100); }
.ttt-btn--lg { padding: 18px 36px; font-size: 16px; }
.ttt-btn--sm { padding: 10px 18px; font-size: 14px; }
.ttt-btn--link {
  background: transparent; color: var(--c-indigo-500); padding: 8px 4px;
  border-radius: 0; font-weight: 600;
}
.ttt-btn--link:hover { text-decoration: underline; transform: none; box-shadow: none; }

/* ---------- Pills ---------- */
.ttt-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  background: var(--c-grey-150); color: var(--c-grey-700);
  border: 0;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-standard);
  font-family: inherit;
}
.ttt-pill:hover { background: #E3E5E9; }
.ttt-pill .ttt-pill__count { color: var(--c-grey-350); font-weight: 500; margin-left: 4px; }
.ttt-pill--cat {
  background: var(--c-blue-50); color: var(--c-grey-950);
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px;
}
.ttt-pill--date {
  background: var(--c-grey-125); color: var(--c-grey-450); font-weight: 700;
}
.ttt-pill--nav {
  background: #fff; color: #000; border: 1px solid var(--c-border);
  font-weight: 500;
}
.ttt-pill--nav.is-active { background: #000; color: #fff; border-color: #000; }

/* ---------- Hero ---------- */
.ttt-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.ttt-hero__glow {
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 15% 30%, rgba(167,101,220,0.22), transparent 40%),
              radial-gradient(circle at 85% 20%, rgba(78,206,250,0.22), transparent 45%);
  filter: blur(60px);
  z-index: 0;
}
.ttt-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center;
}
.ttt-hero h1 {
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -0.02em;
  color: #000; margin: 0 0 20px 0;
}
.ttt-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #6366F1 0%, #A765DC 60%, #4ECEFA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ttt-hero__sub {
  font-size: 18px; line-height: 1.6; color: var(--c-grey-600);
  max-width: 520px; margin: 0 0 32px 0;
}
.ttt-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.ttt-hero__visual {
  position: relative;
  height: 420px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(99,102,241,0.15), 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  border: 1px solid var(--c-border);
}

/* ---------- Stats ---------- */
.ttt-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-top: 64px;
}
.ttt-stat { padding: 28px 24px; }
.ttt-stat + .ttt-stat { border-left: 1px solid var(--c-border); }
.ttt-stat__n { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.ttt-stat__l { margin-top: 8px; font-size: 14px; color: var(--c-grey-600); }

/* ---------- Logo marquee ---------- */
.ttt-marquee {
  padding: 56px 0;
  border-bottom: 1px solid var(--c-border);
}
.ttt-marquee__label {
  text-align: center; font-size: 20px; font-weight: 600;
  color: var(--c-grey-700); margin-bottom: 28px;
}
.ttt-marquee__track {
  display: flex; gap: 56px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.ttt-marquee__row {
  display: flex; gap: 56px; flex-shrink: 0;
  animation: ttt-marquee 36s linear infinite;
}
.ttt-marquee__logo {
  flex: 0 0 auto;
  height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
  color: #000; opacity: 0.85;
  white-space: nowrap; letter-spacing: -0.01em;
}
.ttt-marquee__logo--italic { font-style: italic; }
@keyframes ttt-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section heading ---------- */
.ttt-section__head {
  text-align: center; max-width: 720px; margin: 0 auto 56px;
}
.ttt-section__eye {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--c-indigo-500);
  margin-bottom: 12px;
}
.ttt-section__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 14px 0;
}
.ttt-section__sub {
  font-size: 17px; line-height: 1.6; color: var(--c-grey-600);
  margin: 0;
}

/* ---------- Coverage / 5-tier tabs ---------- */
.ttt-coverage__tabs {
  display: flex; gap: 10px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 48px;
}
.ttt-coverage__panel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.ttt-coverage__image {
  border-radius: 20px;
  background: #FAFAFA;
  border: 1px solid var(--c-border);
  height: 380px;
  position: relative;
  overflow: hidden;
}
.ttt-coverage__body h3 {
  font-size: 32px; font-weight: 700; line-height: 1.1; margin: 0 0 14px 0;
}
.ttt-coverage__body p {
  font-size: 17px; color: var(--c-grey-600); line-height: 1.6; margin: 0 0 28px 0;
}
.ttt-coverage__benefits {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.ttt-coverage__benefits li {
  display: flex; gap: 12px;
  font-size: 15px; color: var(--c-grey-700); line-height: 1.5;
}
.ttt-coverage__benefits .check {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-blue-50); color: var(--c-indigo-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
}

/* Decorative tile inside coverage image */
.ttt-tile-stack {
  position: absolute; inset: 32px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.ttt-tile {
  border-radius: 16px;
  padding: 18px;
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  font-weight: 600;
}
.ttt-tile.purple { background: var(--grad-card-purple); color: #000; }
.ttt-tile.indigo { background: var(--grad-card-indigo); margin-top: 24px; }
.ttt-tile.sky    { background: var(--grad-card-sky); }
.ttt-tile.teal   { background: var(--grad-card-teal); margin-top: 24px; }
.ttt-tile__n { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; opacity: 0.95; }
.ttt-tile__t { font-size: 13px; opacity: 0.95; }
.ttt-tile.purple .ttt-tile__n { color: #000; }
.ttt-tile.purple .ttt-tile__t { color: #000; opacity: 0.7; }

/* ---------- Comparison ---------- */
.ttt-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ttt-cmp__col {
  background: var(--c-grey-100);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.ttt-cmp__col--lead {
  background: #fff; border: 1px solid var(--c-border);
}
.ttt-cmp__col--lead::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 4px; height: 100%; background: var(--c-indigo-700);
}
.ttt-cmp__head {
  padding: 22px 28px;
  font-size: 18px; font-weight: 700;
  border-bottom: 1px solid var(--c-border);
}
.ttt-cmp__head small {
  display: block; font-weight: 500; font-size: 13px;
  color: var(--c-grey-500); margin-top: 2px;
}
.ttt-cmp__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px;
  font-size: 14px;
  border-bottom: 1px solid #ECEEF1;
}
.ttt-cmp__row:last-child { border: 0; }
.ttt-cmp__row .l { color: var(--c-grey-400); font-weight: 500; }
.ttt-cmp__row .v { color: #000; font-weight: 600; text-align: right; max-width: 220px; }
.ttt-cmp__row .v.bad  { color: #B42318; }
.ttt-cmp__row .v.good { color: #027A48; }

/* ---------- Value grid ---------- */
.ttt-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ttt-value {
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 28px;
  background: #fff;
  transition: all var(--dur-slow) var(--ease-standard);
}
.ttt-value:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.06); }
.ttt-value__eye {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-indigo-500); margin-bottom: 14px;
}
.ttt-value h3 { font-size: 22px; font-weight: 700; line-height: 1.2; margin: 0 0 12px 0; }
.ttt-value p { font-size: 14px; line-height: 1.6; color: var(--c-grey-600); margin: 0 0 16px 0; }
.ttt-value p.means { color: #000; font-size: 14px; }
.ttt-value p.means strong { color: #000; }

/* ---------- Testimonial ---------- */
.ttt-testimonial {
  position: relative; overflow: hidden;
  background: var(--c-grey-100);
  border-radius: 28px;
  padding: 72px;
}
.ttt-testimonial__glow {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px); opacity: 0.18;
  background: var(--grad-glow);
  top: -200px; right: -100px;
}
.ttt-testimonial__cards {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.ttt-tcard {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 20px;
  padding: 28px;
  transition: transform var(--dur-slow) var(--ease-standard);
}
.ttt-tcard:hover { transform: scale(1.03); }
.ttt-tcard__q {
  font-size: 17px; line-height: 1.55; color: #000;
  font-weight: 500; margin: 0 0 22px 0;
}
.ttt-tcard__who { display: flex; align-items: center; gap: 12px; }
.ttt-tcard__av {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 16px;
  background: linear-gradient(135deg, #A765DC, #4ECEFA);
}
.ttt-tcard__n { font-weight: 600; font-size: 15px; color: #000; }
.ttt-tcard__t { font-size: 13px; color: var(--c-grey-450); margin-top: 2px; }

/* ---------- Footer ---------- */
.ttt-footer {
  background: var(--c-grey-100);
  padding: 64px 0 32px;
  border-top: 1px solid var(--c-border);
}
.ttt-footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px;
}
.ttt-footer__brand img { height: 72px; margin-bottom: 16px; }
.ttt-footer__brand p { font-size: 14px; color: var(--c-grey-600); margin: 0 0 6px 0; }
.ttt-footer__brand a { color: var(--c-grey-600); }
.ttt-footer__col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--c-grey-450); margin: 0 0 16px 0;
}
.ttt-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ttt-footer__col a { color: #000; font-size: 14px; text-decoration: none; }
.ttt-footer__col a:hover { opacity: 0.7; }
.ttt-footer__bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--c-border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--c-grey-450);
}

/* ---------- CTA block ---------- */
.ttt-cta {
  background: #000; color: #fff;
  border-radius: 32px;
  padding: 80px 56px;
  text-align: center;
  position: relative; overflow: hidden;
}
.ttt-cta__glow {
  position: absolute; inset: 0; opacity: 0.35; filter: blur(80px);
  background: radial-gradient(circle at 30% 50%, rgba(167,101,220,0.6), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(78,206,250,0.6), transparent 50%);
}
.ttt-cta__inner { position: relative; z-index: 1; }
.ttt-cta h2 {
  color: #fff; font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 14px 0;
}
.ttt-cta p {
  color: rgba(255,255,255,0.75); font-size: 18px;
  max-width: 560px; margin: 0 auto 32px;
}
.ttt-cta .ttt-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.ttt-cta .ttt-btn--ghost:hover { background: rgba(255,255,255,0.1); }
.ttt-cta .ttt-btn--primary { background: #fff; color: #000; }
.ttt-cta .ttt-btn--primary:hover { background: var(--c-grey-100); }
