:root {
  --tpw-primary: #0040a8;
  --tpw-primary-dark: #002a70;
  --tpw-accent: #25c2ff;
  --tpw-bg: #f5f7fb;
  --tpw-text: #111827;
  --tpw-muted: #6b7280;
  --tpw-border: #e5e7eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tpw-text);
  background: #ffffff;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

.tpw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========= HEADER ========= */

.tpw-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--tpw-border);
  backdrop-filter: blur(12px);
}

.tpw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  min-height: 88px;
}

/* Brand / Logo */

.tpw-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tpw-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tpw-logo-mark img {
  display: block;
  max-height: 50px;
  width: auto;
}

.tpw-brand-text {
  display: flex;
  flex-direction: column;
}

.tpw-brand-name {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.tpw-brand-slogan {
  font-size: 0.75rem;
  color: var(--tpw-muted);
}

/* Nav */

.tpw-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.tpw-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.tpw-nav-link a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tpw-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.tpw-nav-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--tpw-primary);
  border-radius: 999px;
  transition: width 0.15s ease;
}

.tpw-nav-link a:hover {
  color: var(--tpw-primary);
  transform: translateY(-1px);
}

.tpw-nav-link a:hover::after {
  width: 100%;
}

.tpw-nav-link.active a {
  color: var(--tpw-primary);
  font-weight: 600;
}

.tpw-nav-link.active a::after {
  width: 100%;
}

/* Header right (lang switch + mobile toggle) */

.tpw-header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Language switch (desktop) */

.tpw-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--tpw-bg);
  border: 1px solid var(--tpw-border);
  font-size: 0.8rem;
  cursor: pointer;
}

.tpw-lang-switch a {
  color: var(--tpw-muted);
}

.tpw-lang-switch a.active {
  color: var(--tpw-primary);
  font-weight: 600;
}

.tpw-lang-divider {
  width: 1px;
  height: 14px;
  background: var(--tpw-border);
}

/* Mobile burger */

.tpw-mobile-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.3rem;
}

.tpw-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--tpw-text);
  border-radius: 999px;
  margin: 3px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile nav dropdown */

.tpw-mobile-nav {
  display: none;
  border-top: 1px solid var(--tpw-border);
  background: #ffffff;
}

.tpw-mobile-nav.open {
  display: block;
}

.tpw-mobile-nav-inner {
  padding: 0.75rem 1.5rem 1rem;
}

.tpw-mobile-nav-inner a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--tpw-muted);
  border-bottom: 1px solid #f3f4f6;
}

.tpw-mobile-nav-inner a:last-child {
  border-bottom: none;
}

/* Mobile language switch */

.tpw-mobile-lang {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--tpw-bg);
  border: 1px solid var(--tpw-border);
  font-size: 0.8rem;
}

.tpw-mobile-lang a {
  color: var(--tpw-muted);
}

.tpw-mobile-lang a.active {
  color: var(--tpw-primary);
  font-weight: 600;
}

.tpw-mobile-lang-divider {
  width: 1px;
  height: 14px;
  background: var(--tpw-border);
}

/* ========= MAIN LAYOUT ========= */

.tpw-main {
  padding-bottom: 4rem;
}

/* ========= HERO ========= */

.tpw-hero {
  padding: 4rem 0 3rem;
  /* Fill (almost) the whole screen – adjust 88px if your header height changes */
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;

  /* Background image + overlay gradient */
  background-image:
    linear-gradient(120deg, rgba(0, 40, 120, 0.90), rgba(0, 64, 168, 0.75), rgba(0, 64, 168, 0.35)),
    url("../../resources/images/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.tpw-hero-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tpw-hero-text {
  max-width: 720px;
  text-align: center;
}

.tpw-hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

.tpw-hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.tpw-hero-subtitle {
  font-size: 1rem;
  color: #e5e7eb;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}


.tpw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
  text-decoration: none;
}

.tpw-btn-primary {
  background: var(--tpw-primary);
  color: #ffffff;
  box-shadow: 0 15px 30px rgba(0, 64, 168, 0.18);
}

.tpw-btn-primary:hover {
  background: var(--tpw-primary-dark);
  transform: translateY(-1px);
}

.tpw-btn-ghost {
  background: #ffffff;
  color: var(--tpw-primary-dark);
  border-color: var(--tpw-border);
}

.tpw-btn-ghost:hover {
  background: #f3f4ff;
}

/* ========= GENERIC SECTION LAYOUT ========= */

.tpw-section {
  padding: 3.5rem 0;
}

.tpw-section-figures {
  background: var(--tpw-bg);
}

.tpw-section-services {
  background: #ffffff;
}

.tpw-section-masspay {
  background: #f9fafb;
}

.tpw-section-features {
  background: #ffffff;
}

.tpw-section-certifications {
  background: var(--tpw-bg);
}

.tpw-section-coverage {
  background: #ffffff;
}

.tpw-section-header {
  margin-bottom: 2rem;
  max-width: 720px;
}

.tpw-section-eyebrow {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tpw-primary-dark);
  margin-bottom: 0.5rem;
}

.tpw-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #020617;
  margin-bottom: 0.5rem;
}

.tpw-section-intro {
  font-size: 0.95rem;
  color: var(--tpw-muted);
  max-width: 720px;
}

/* ========= FIGURES ========= */

.tpw-figures-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.tpw-figure-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--tpw-border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.tpw-figure-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--tpw-primary-dark);
  margin-bottom: 0.4rem;
}

.tpw-figure-label {
  font-size: 0.9rem;
  color: var(--tpw-muted);
}

.tpw-figures-footnote {
  font-size: 0.8rem;
  color: var(--tpw-muted);
  text-align: right;
}

/* ========= SERVICES ========= */

.tpw-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;
}

.tpw-service-card {
  border-radius: 1rem;
  border: 1px solid var(--tpw-border);
  padding: 1.5rem 1.5rem 1.35rem;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.03);
}

.tpw-service-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #020617;
}

.tpw-service-text {
  font-size: 0.94rem;
  color: var(--tpw-muted);
}

.tpw-services-summary {
  font-size: 0.9rem;
  color: var(--tpw-muted);
  margin-top: 0.5rem;
}

/* ========= MASS PAYMENT ========= */

.tpw-section-masspay .tpw-section-header {
  margin-bottom: 1rem;
}

.tpw-section-masspay .tpw-section-intro {
  max-width: 780px;
}
/* ========= ONBOARDING PROCESS ========= */

.tpw-section-onboarding {
  background: linear-gradient(135deg, #f0fdf4, #ecfeff);
  position: relative;
}

.tpw-onboard-grid {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
}

.tpw-onboard-step {
  position: relative;
  padding-bottom: 2.75rem;
}

/* White rounded box with green border (like the image) */
.tpw-onboard-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 2px solid #22c55e;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.10);
  min-height: 190px;
}

.tpw-onboard-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #0f172a;
}

.tpw-onboard-list li {
  margin-bottom: 0.35rem;
}

/* Green pill at the bottom of each card */
.tpw-onboard-pill {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  background: #22c55e;
  color: #f9fafb;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.22);
  max-width: 260px;
}

/* Curved connectors between steps (light green arcs) */
.tpw-onboard-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1.5rem;
  bottom: 16%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(22, 163, 74, 0.35);
  border-left-color: transparent;
  border-top-color: transparent;
  transform: rotate(-10deg);
}

/* Responsive layout */
@media (max-width: 1024px) {
  .tpw-onboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tpw-onboard-step:not(:last-child)::after {
    display: none; /* too tight on smaller screens */
  }
}

@media (max-width: 640px) {
  .tpw-onboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tpw-onboard-step {
    padding-bottom: 2.25rem;
  }
}

/* ========= FEATURES (PAYWAY 4G) ========= */

.tpw-features-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.tpw-feature-card {
  border-radius: 1rem;
  border: 1px solid var(--tpw-border);
  padding: 1.25rem 1.25rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #f9fafb;
}

.tpw-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tpw-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.tpw-feature-card p {
  font-size: 0.9rem;
  color: var(--tpw-muted);
}

/* ========= CERTIFICATIONS ========= */

.tpw-cert-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.tpw-cert-column h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #020617;
}

.tpw-cert-column p {
  font-size: 0.9rem;
  color: var(--tpw-muted);
}

/* ========= COVERAGE & REFERENCES ========= */

.tpw-coverage-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.tpw-coverage-column h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #020617;
}

.tpw-coverage-column p {
  font-size: 0.9rem;
  color: var(--tpw-muted);
}

.tpw-coverage-footnote {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--tpw-muted);
  max-width: 780px;
}

/* ========= FOOTER ========= */

.tpw-footer {
  margin-top: 4rem;
  background: #020617;
  color: #e5e7eb;
  padding: 3rem 0 1.75rem;
}

.tpw-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.tpw-footer-brand-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #f9fafb;
}

.tpw-footer-text {
  font-size: 0.9rem;
  color: #9ca3af;
  max-width: 420px;
}

.tpw-footer-section-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e5e7eb;
}

.tpw-footer-links {
  list-style: none;
  font-size: 0.9rem;
}

.tpw-footer-links li {
  margin-bottom: 0.35rem;
}

.tpw-footer-links a {
  color: #9ca3af;
  transition: color 0.15s ease, transform 0.15s ease;
}

.tpw-footer-links a:hover {
  color: var(--tpw-accent);
  transform: translateX(2px);
}

.tpw-footer-contact-line {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #d1d5db;
}

.tpw-footer-contact-label {
  font-weight: 600;
  margin-right: 0.25rem;
}

.tpw-footer-bottom {
  border-top: 1px solid #111827;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6b7280;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tpw-footer-bottom a {
  color: #9ca3af;
}

/* ========= RESPONSIVE ========= */

/* Tablets / small laptops */
@media (max-width: 960px) {
  .tpw-nav-links {
    display: none;
  }
  .tpw-mobile-toggle {
    display: block;
  }

  .tpw-header-inner {
    padding: 0.6rem 0;
    min-height: 80px;
  }

  .tpw-figures-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .tpw-services-grid,
  .tpw-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tpw-cert-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpw-coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Small screens */
@media (max-width: 640px) {
  .tpw-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .tpw-header-right {
    width: 100%;
    justify-content: space-between;
  }

  .tpw-logo-mark img {
    max-height: 90px;
  }

  .tpw-hero {
    padding: 3rem 0 2.5rem;
  }

  .tpw-hero-title {
    font-size: 1.7rem;
  }

  .tpw-section {
    padding: 3rem 0;
  }

  .tpw-figures-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpw-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpw-features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpw-coverage-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Footer stacking on small screens */
@media (max-width: 800px) {
  .tpw-footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .tpw-footer-text {
    max-width: none;
  }
}
/* ========= OUR SERVICES – BACKGROUND SLIDER ========= */

.tpw-section-services {
  position: relative;
  overflow: hidden;
  color: #0f172a;
}

.tpw-section-services .tpw-container {
  position: relative;
  z-index: 10; /* content above background */
}

.tpw-services-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  filter: brightness(0.45); /* darken a bit so text stays readable */
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.tpw-services-bg.tpw-services-bg-visible {
  opacity: 1;
}
/* ========= PRODUCTS PAGE SECTIONS ========= */

/* 1. Intro – soft blue / violet gradient */
.tpw-section-products-intro {
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
}

/* 2. Global integrated system – soft blue / green */
.tpw-section-products-system {
  background: linear-gradient(135deg, #f5f7fb, #e5f9f3);
}

/* 3. Payment channels – lilac / light blue */
.tpw-section-products-channels {
  background: linear-gradient(135deg, #fdf2ff, #eff6ff);
}

/* 4. Security & certifications – neutral / blue */
.tpw-section-products-security {
  background: linear-gradient(135deg, #f1f5f9, #e0f2fe);
}

/* 5. CTA – darker gradient, inverted text */
.tpw-section-products-cta {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #e5e7eb;
  text-align: center;
}

/* Ensure titles & text are readable on the dark CTA */
.tpw-section-products-cta .tpw-section-eyebrow,
.tpw-section-products-cta .tpw-section-title,
.tpw-section-products-cta .tpw-section-intro {
  color: #e5e7eb;
}

/* Center CTA content a bit more on large screens */
.tpw-section-products-cta .tpw-section-header {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Make CTA button stand out on dark background */
.tpw-section-products-cta .tpw-btn-primary {
  background: #ffffff;
  color: var(--tpw-primary-dark);
  border-color: transparent;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.35);
}

.tpw-section-products-cta .tpw-btn-primary:hover {
  background: #e5e7eb;
  color: var(--tpw-primary);
}
/* ========= INDUSTRIES PAGE ========= */

/* --- Hero / Intro --- */

.tpw-industries-hero {
  background:
    radial-gradient(circle at top left, rgba(37, 194, 255, 0.25), transparent 55%),
    linear-gradient(135deg, #020617, #002a70);
  color: #e5e7eb;
}

.tpw-industries-hero .tpw-section-header {
  max-width: 760px;
}

.tpw-industries-hero .tpw-section-eyebrow {
  color: #a5b4fc;
}

.tpw-industries-hero .tpw-section-title {
  color: #f9fafb;
}

.tpw-industries-hero .tpw-section-intro {
  color: #e5e7eb;
}

/* --- Industries grid section (cards) --- */

.tpw-industries-grid-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3f4ff 100%);
}

.tpw-industries-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.tpw-industry-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--tpw-border);
  padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.tpw-industry-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #020617;
  margin-bottom: 0.5rem;
}

.tpw-industry-text {
  font-size: 0.94rem;
  color: var(--tpw-muted);
  margin-bottom: 0.75rem;
}

.tpw-industry-list {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--tpw-muted);
}

.tpw-industry-list li {
  margin-bottom: 0.25rem;
}

/* --- How we support your industry --- */

.tpw-industries-how {
  background: linear-gradient(135deg, #f5f7fb 0%, #e0f2fe 100%);
}

.tpw-industries-how .tpw-section-title {
  color: #020617;
}

.tpw-industries-how .tpw-section-intro {
  color: var(--tpw-muted);
}

.tpw-industries-how-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.tpw-how-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--tpw-border);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.tpw-how-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--tpw-primary-dark);
  margin-bottom: 0.4rem;
}

.tpw-how-card p {
  font-size: 0.9rem;
  color: var(--tpw-muted);
}

/* --- CTA section --- */

.tpw-industries-cta {
  background:
    radial-gradient(circle at top left, rgba(37, 194, 255, 0.35), transparent 55%),
    linear-gradient(135deg, #0040a8, #020617);
  color: #e5e7eb;
}

.tpw-industries-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.tpw-industries-cta-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 0.5rem;
}

.tpw-industries-cta-text p {
  font-size: 0.95rem;
  color: #e5e7eb;
  max-width: 520px;
}

.tpw-industries-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ========= RESPONSIVE FOR INDUSTRIES ========= */

@media (max-width: 960px) {
  .tpw-industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tpw-industries-how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tpw-industries-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .tpw-industries-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpw-industries-how-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpw-industries-cta-inner {
    align-items: flex-start;
  }

  .tpw-industries-cta-text h2 {
    font-size: 1.3rem;
  }
}
/* ============================= */
/* ABOUT PAGE                    */
/* ============================= */

.tpw-about-main {
  background: #ffffff;
}

/* Hero */

.tpw-about-hero {
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 35%, #001a4d 80%);
  color: #f9fafb;
  padding: 4rem 0 3rem;
}

.tpw-about-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.tpw-about-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 0.6rem;
}

.tpw-about-title {
  font-size: 2.1rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.tpw-about-lead {
  font-size: 0.98rem;
  color: #e5e7eb;
  max-width: 720px;
  margin: 0 auto;
}

/* Generic about blocks */

.tpw-about-block {
  background: #ffffff;
}

.tpw-about-who {
  background: #f9fafb;
}

.tpw-about-mission {
  background: linear-gradient(135deg, #eef2ff, #f5f7fb);
}

.tpw-about-values {
  background: radial-gradient(circle at top, #dbeafe 0%, #eff6ff 40%, #ffffff 90%);
}

.tpw-about-history {
  background: #f9fafb;
}

.tpw-about-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #020617;
  margin-bottom: 0.75rem;
}

/* Layout helpers */

.tpw-about-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.tpw-about-list {
  margin: 0.75rem 0 0.75rem 1.25rem;
  padding-left: 0.25rem;
  font-size: 0.94rem;
  color: var(--tpw-muted);
}

.tpw-about-list li {
  margin-bottom: 0.45rem;
}

/* Highlight pills (right column of "who we are") */

.tpw-about-pill-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

.tpw-about-pill-card {
  border-radius: 0.9rem;
  border: 1px solid var(--tpw-border);
  padding: 0.85rem 1rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.tpw-about-pill-card p {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--tpw-muted);
}

.tpw-pill-label {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(37, 194, 255, 0.08);
  color: var(--tpw-primary-dark);
}

/* Values */

.tpw-about-values-title {
  text-align: center;
  margin-bottom: 2rem;
}

.tpw-about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.tpw-value-card {
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.tpw-value-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--tpw-primary-dark);
  margin-bottom: 0.5rem;
}

.tpw-value-card p {
  font-size: 0.9rem;
  color: var(--tpw-muted);
}

/* History */

.tpw-about-history p {
  font-size: 0.94rem;
  color: var(--tpw-muted);
  max-width: 780px;
  margin-bottom: 0.8rem;
}

/* Responsive tweaks for about page */

@media (max-width: 960px) {
  .tpw-about-two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .tpw-about-hero {
    padding: 3rem 0 2.5rem;
  }

  .tpw-about-title {
    font-size: 1.7rem;
  }

  .tpw-about-values-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ============================= */
/* DEVELOPERS PAGE               */
/* ============================= */

.tpw-dev-main {
  background: #ffffff;
}

/* Hero */

.tpw-dev-hero {
  background: radial-gradient(circle at top left, #0b1120 0%, #020617 40%, #002a70 100%);
  color: #f9fafb;
  padding: 4rem 0 3.2rem;
}

.tpw-dev-hero-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.tpw-dev-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 0.6rem;
}

.tpw-dev-title {
  font-size: 2.1rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.tpw-dev-lead {
  font-size: 0.96rem;
  color: #e5e7eb;
  max-width: 720px;
  margin: 0 auto;
}

.tpw-dev-hero-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.tpw-dev-chip {
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.7);
}

/* Layout helpers */

.tpw-dev-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #020617;
  margin-bottom: 0.75rem;
}

.tpw-dev-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Cards */

.tpw-dev-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--tpw-border);
  padding: 1.35rem 1.3rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.tpw-dev-env-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.tpw-dev-env-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--tpw-muted);
}

.tpw-dev-env-list li {
  margin-bottom: 0.35rem;
}

/* Steps list */

.tpw-dev-steps {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.94rem;
  color: var(--tpw-muted);
}

.tpw-dev-steps li {
  margin-bottom: 0.35rem;
}

/* Endpoint header */

.tpw-dev-endpoint-header {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: #eff6ff;
}

.tpw-dev-method-badge {
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f9fafb;
}

.tpw-dev-method-post {
  background: #16a34a;
}

.tpw-dev-method-get {
  background: #2563eb;
}

.tpw-dev-path {
  font-size: 0.8rem;
  color: #1e293b;
}

/* Subtitles */

.tpw-dev-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 1rem 0 0.4rem;
  color: #0f172a;
}

/* Code blocks */

.tpw-dev-code {
  background: #020617;
  color: #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  padding: 1rem 1.2rem;
  border-radius: 0.9rem;
  font-size: 0.8rem;
  overflow-x: auto;
  border: 1px solid #1e293b;
}

.tpw-dev-code code {
  white-space: pre;
}

/* Notes */

.tpw-dev-note {
  margin-top: 0.9rem;
  font-size: 0.83rem;
  color: #4b5563;
  background: #f5f7fb;
  border-radius: 0.7rem;
  padding: 0.7rem 0.9rem;
}

/* Section backgrounds */

.tpw-dev-overview {
  background: #ffffff;
}

.tpw-dev-auth {
  background: #f9fafb;
}

.tpw-dev-process {
  background: linear-gradient(135deg, #eef2ff, #f5f7fb);
}

.tpw-dev-status {
  background: #ffffff;
}

/* Responsive */

@media (max-width: 960px) {
  .tpw-dev-two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .tpw-dev-hero {
    padding: 3rem 0 2.6rem;
  }
  .tpw-dev-title {
    font-size: 1.7rem;
  }
}
/* ============================= */
/* CONTACT PAGE                  */
/* ============================= */

.tpw-contact-main {
  background: #ffffff;
}

/* Hero */

.tpw-contact-hero {
  background: radial-gradient(circle at top left, #e0f2fe 0%, #f9fafb 45%, #eef2ff 100%);
  padding: 3.5rem 0 2.5rem;
}

.tpw-contact-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.tpw-contact-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.tpw-contact-title {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
  color: #020617;
  margin-bottom: 0.6rem;
}

.tpw-contact-lead {
  font-size: 0.95rem;
  color: var(--tpw-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Body layout */

.tpw-contact-body {
  background: #ffffff;
}

.tpw-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Cards & info */

.tpw-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tpw-contact-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--tpw-border);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  font-size: 0.92rem;
  color: var(--tpw-muted);
}

.tpw-contact-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #020617;
  margin-bottom: 0.4rem;
}

.tpw-contact-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: #020617;
  margin-bottom: 0.35rem;
}

.tpw-contact-card-light {
  background: #f9fafb;
}

.tpw-contact-line {
  margin-bottom: 0.25rem;
}

.tpw-contact-line span {
  font-weight: 600;
  margin-right: 0.3rem;
  color: #0f172a;
}

.tpw-contact-line a {
  color: #1d4ed8;
}

.tpw-contact-address {
  font-size: 0.9rem;
  color: var(--tpw-muted);
}

/* Form */

.tpw-contact-form-wrapper {
  width: 100%;
}

.tpw-contact-form-card h2 {
  margin-bottom: 0.8rem;
}

.tpw-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.tpw-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.8rem;
}

.tpw-contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tpw-contact-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #0f172a;
}

.tpw-contact-field input,
.tpw-contact-field select,
.tpw-contact-field textarea {
  border-radius: 0.75rem;
  border: 1px solid var(--tpw-border);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--tpw-text);
  outline: none;
  background: #ffffff;
}

.tpw-contact-field input:focus,
.tpw-contact-field select:focus,
.tpw-contact-field textarea:focus {
  border-color: var(--tpw-primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.tpw-contact-field textarea {
  resize: vertical;
  min-height: 140px;
}

.tpw-contact-hint {
  font-size: 0.8rem;
  color: var(--tpw-muted);
}

.tpw-contact-submit {
  margin-top: 0.4rem;
}

/* Responsive */

@media (max-width: 960px) {
  .tpw-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .tpw-contact-hero {
    padding: 3rem 0 2.2rem;
  }
  .tpw-contact-title {
    font-size: 1.7rem;
  }
  .tpw-contact-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ========= PARTNERS STRIP ========= */

/* ========= PARTNERS STRIP ========= */

.tpw-partners {
  padding: 2.5rem 0;
  background: linear-gradient(90deg, #f1f5f9, #e0f2fe, #f1f5f9);
}

.tpw-partners-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tpw-partners-marquee {
  overflow: hidden;
  position: relative;
}

/* This is the key: make the track a horizontal flex row + animate it */
.tpw-partners-track {
  display: inline-flex;          /* horizontal row */
  align-items: center;
  gap: 3rem;
  animation: tpwPartnersScroll 25s linear infinite;
  will-change: transform;
}

.tpw-partner-logo {
  flex: 0 0 auto;
  height: 80px;                 /* was 40px → now 2x larger */
  display: flex;
  align-items: center;
}

.tpw-partner-logo img {
  height: 80px;                 /* was 40px → now 2x larger */
  width: auto;
  object-fit: contain;
  /* natural colours: no grayscale, full opacity */
  filter: none;
  opacity: 1;
  transition: transform 0.2s ease;
}

.tpw-partner-logo img:hover {
  /* keep a small hover effect if you like */
  transform: translateY(-2px);
}


/* Infinite scrolling effect */
@keyframes tpwPartnersScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause scrolling on hover (optional, but nice) */
.tpw-partners-marquee:hover .tpw-partners-track {
  animation-play-state: paused;
}

/* Small screens */
@media (max-width: 640px) {
  .tpw-partner-logo {
    height: 64px;       /* was 32px */
  }

  .tpw-partner-logo img {
    height: 64px;       /* was 32px */
  }
}
