:root {
  --tn-yellow: #ffa800;
  --tn-yellow-dark: #e69600;
  --tn-navy: #041c3c;
  --tn-blue: #2b405a;
  --tn-neon: #e1ff00;
  --tn-muted: #54627a;
  --tn-soft: #f3f6fa;
}

.tn-page p { font-size: 1rem; color: var(--tn-muted); }
.tn-page h2 { font-size: 1.65rem; font-weight: 700; line-height: 1.3; color: var(--tn-navy); }
.tn-page h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.35; color: var(--tn-navy); }
.tn-page .tn-title { text-align: center; }
.tn-page .tn-lead { max-width: 780px; margin: .75rem auto 2rem; text-align: center; }
.tn-soft { background: var(--tn-soft); }

/* Hero */
.tn-hero {
  position: relative; display: flex; align-items: center; min-height: 400px; overflow: hidden;
  background: radial-gradient(800px 380px at 90% 10%, rgba(225,255,0,.14), transparent 60%), linear-gradient(135deg, #031530, #0a2a55);
}
.tn-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--tn-yellow), transparent 80%); }
.tn-hero .container { position: relative; z-index: 1; }
.tn-logo { display: block; height: 44px; width: auto; margin-bottom: 1.5rem; }
.tn-page .tn-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 1rem; }
.tn-page .tn-hero p { color: #d3dcea; max-width: 640px; margin-bottom: 1.5rem; }
.tn-hero-img { max-width: 360px; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.4)); }
.tn-hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Buttons */
.tn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem 1.4rem;
  border: 2px solid var(--tn-yellow); border-radius: 999px; background: var(--tn-yellow); color: var(--tn-navy);
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.tn-btn:hover { background: var(--tn-yellow-dark); border-color: var(--tn-yellow-dark); color: var(--tn-navy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,168,0,.4); }
.tn-btn i { font-size: .8em; transition: transform .2s ease; }
.tn-btn:hover i { transform: translateX(3px); }
.tn-btn-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.tn-btn-light:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; box-shadow: none; }
.tn-btn-dark { background: var(--tn-navy); border-color: var(--tn-navy); color: #fff; }
.tn-btn-dark:hover { background: #000; border-color: #000; color: #fff; box-shadow: 0 8px 20px rgba(4,28,60,.3); }

/* Stats */
.tn-stats { background: var(--tn-navy); border-top: 1px solid rgba(255,255,255,.08); }
.tn-stat { text-align: center; padding: .75rem 1rem; }
.tn-stat strong { display: block; color: var(--tn-yellow); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.1; }
.tn-page .tn-stat span { color: #c3cee0; font-size: .9rem; }

/* Pillars */
.tn-icon { height: 56px; width: auto; display: block; margin-bottom: 1rem; }
.tn-shot { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: 0 14px 40px rgba(4,28,60,.18); background: #fff; }

/* Capabilities */
.tn-cap {
  height: 100%; padding: 1.5rem; background: #fff; border-radius: 16px; box-shadow: 0 6px 24px rgba(4,28,60,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tn-cap:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(4,28,60,.14); }
.tn-cap i {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--tn-navy); color: var(--tn-neon); font-size: 1.15rem;
}
.tn-page .tn-cap h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.tn-page .tn-cap p { font-size: .92rem; margin: 0; }

/* Solutions tabs */
.tn-tabbar { background: #fff; border-bottom: 1px solid #e3e8ef; }
.tn-tabbar .nav {
  flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -ms-overflow-style: none;
  gap: .25rem; padding: 0 28px; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.tn-tabbar .nav:active { cursor: grabbing; }
.tn-tabbar .nav::-webkit-scrollbar { display: none; }
/* Centre while the tabs fit; stay scrollable from the left edge when they do not. */
.tn-tabbar .nav-item:first-child { margin-left: auto; }
.tn-tabbar .nav-item:last-child { margin-right: auto; }
.tn-tabbar .nav-link { user-select: none; }
.tn-tabbar .nav-link {
  position: relative; white-space: nowrap; display: flex; align-items: center; gap: .55rem; padding: 1.1rem 1.1rem;
  border-radius: 0; background: none; color: #5b6b82; font-weight: 600; font-size: .93rem; transition: color .2s ease;
}
.tn-tabbar .nav-link::after {
  content: ''; position: absolute; left: 1.1rem; right: 1.1rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--tn-yellow); transform: scaleX(0); transition: transform .25s ease;
}
.tn-tabbar .nav-link i { color: #9aa6b8; transition: color .2s ease; }
.tn-tabbar .nav-link:hover { color: var(--tn-navy); background: none; }
.tn-tabbar .nav-link:hover::after { transform: scaleX(.4); }
.tn-tabbar .nav-link.active { color: var(--tn-navy); background: none; }
.tn-tabbar .nav-link.active::after { transform: scaleX(1); }
.tn-tabbar .nav-link.active i { color: var(--tn-yellow-dark); }
.tn-page .tn-actions { margin-top: 1.5rem; }

/* CTA */
.tn-cta { background: radial-gradient(700px 300px at 50% 0, rgba(225,255,0,.1), transparent 70%), var(--tn-navy); }
.tn-page .tn-cta h2 { color: #fff; }
.tn-page .tn-cta p { color: #c3cee0; }

@media (prefers-reduced-motion: reduce) {
  .tn-btn, .tn-cap, .tn-btn i, .tn-tabbar .nav-link::after { transition: none; }
}
