/* TranKit landing page modular components */

:root {
   --tk-navy: #13287e;
   --tk-green: #28cc8b;
   --tk-navy-light: rgba(19, 40, 126, 0.08);
   --tk-green-light: rgba(40, 204, 139, 0.14);
   --tk-text: #444;
   --tk-text-muted: #666;
   --tk-border: rgba(19, 40, 126, 0.12);
   --tk-radius: 12px;
}

/* ── Social Proof ── */
.tk-social-proof {
   background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
   padding: 60px 0 70px;
}

.tk-stats-row {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
   margin-bottom: 48px;
}

.tk-stat-card {
   background: #fff;
   border: 1px solid var(--tk-border);
   border-radius: var(--tk-radius);
   padding: 28px 20px;
   text-align: center;
   box-shadow: 0 8px 32px var(--tk-navy-light);
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tk-stat-card:hover {
   transform: translateY(-3px);
   box-shadow: 0 14px 40px rgba(19, 40, 126, 0.12);
}

.tk-stat-number {
   font-size: 2.4rem;
   font-weight: 700;
   color: var(--tk-navy);
   line-height: 1.2;
   margin-bottom: 6px;
}

.tk-stat-number .tk-stat-suffix {
   font-size: 1.5rem;
   color: var(--tk-green);
}

.tk-stat-label {
   font-size: 0.95rem;
   color: var(--tk-text-muted);
   font-weight: 500;
   margin: 0;
}

.tk-clients-lead {
   max-width: 720px;
   margin: 12px auto 0;
   color: var(--tk-text-muted);
   font-size: 1rem;
   line-height: 1.75;
}

.tk-clients-showcase {
   margin-bottom: 40px;
}

.tk-clients-showcase-title {
   text-align: center;
   color: var(--tk-navy);
   font-weight: 600;
   font-size: 1.15rem;
   margin-bottom: 24px;
}

.tk-client-marquee {
   overflow: hidden;
   margin-left: calc(-1 * var(--bs-gutter-x, 12px));
   margin-right: calc(-1 * var(--bs-gutter-x, 12px));
   -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
   mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.tk-client-marquee-track {
   display: flex;
   width: max-content;
   animation: tk-client-marquee 45s linear infinite;
}

.tk-client-marquee:hover .tk-client-marquee-track {
   animation-play-state: paused;
}

.tk-client-marquee-group {
   display: flex;
   gap: 16px;
   padding-right: 16px;
}

.tk-client-card {
   flex: 0 0 280px;
   width: 280px;
   background: #fff;
   border: 1px solid var(--tk-border);
   border-radius: var(--tk-radius);
   padding: 22px 18px;
   box-shadow: 0 6px 24px var(--tk-navy-light);
   transition: border-color 0.2s, box-shadow 0.2s;
}

.tk-client-card:hover {
   border-color: rgba(40, 204, 139, 0.4);
   box-shadow: 0 12px 32px rgba(19, 40, 126, 0.12);
}

@keyframes tk-client-marquee {
   0% {
      transform: translateX(0);
   }
   100% {
      transform: translateX(-50%);
   }
}

.tk-client-sector {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   background: var(--tk-navy-light);
   color: var(--tk-navy);
   font-size: 0.72rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.05em;
   padding: 4px 10px;
   border-radius: 20px;
   margin-bottom: 12px;
}

.tk-client-sector i {
   font-size: 0.7rem;
   opacity: 0.8;
}

.tk-client-card h5 {
   color: var(--tk-navy);
   font-weight: 600;
   font-size: 0.95rem;
   margin-bottom: 8px;
   line-height: 1.35;
}

.tk-client-card p {
   color: var(--tk-text-muted);
   font-size: 0.82rem;
   line-height: 1.6;
   margin: 0;
}

.tk-case-study {
   background: #fff;
   border: 1px solid var(--tk-border);
   border-radius: var(--tk-radius);
   overflow: hidden;
   box-shadow: 0 14px 44px var(--tk-navy-light);
   display: grid;
   grid-template-columns: 1fr 1.4fr;
}

.tk-case-study-badge {
   display: inline-block;
   background: var(--tk-green-light);
   color: #157a6c;
   font-size: 0.8rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   padding: 5px 12px;
   border-radius: 20px;
   margin-bottom: 14px;
}

.tk-case-study-visual {
   background: linear-gradient(135deg, var(--tk-navy) 0%, #1e3a9e 60%, #157a6c 100%);
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 40px 30px;
   min-height: 260px;
}

.tk-case-study-visual-inner {
   text-align: center;
   color: #fff;
}

.tk-case-study-visual-inner i {
   font-size: 3rem;
   margin-bottom: 16px;
   opacity: 0.9;
}

.tk-case-study-visual-inner h5 {
   color: #fff;
   font-weight: 600;
   margin-bottom: 8px;
}

.tk-case-study-visual-inner p {
   color: rgba(255, 255, 255, 0.85);
   font-size: 0.9rem;
   margin: 0;
   line-height: 1.6;
}

.tk-case-study-content {
   padding: 36px 40px;
}

.tk-case-study-content h3 {
   color: var(--tk-navy);
   font-weight: 700;
   margin-bottom: 16px;
   font-size: 1.5rem;
}

.tk-case-study-content p {
   color: var(--tk-text);
   line-height: 1.8;
   margin-bottom: 14px;
   font-size: 0.97rem;
}

.tk-case-study-highlights {
   list-style: none;
   padding: 0;
   margin: 20px 0 0;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 10px 16px;
}

.tk-case-study-highlights li {
   display: flex;
   align-items: flex-start;
   gap: 8px;
   font-size: 0.9rem;
   color: var(--tk-text);
   line-height: 1.5;
}

.tk-case-study-highlights li i {
   color: var(--tk-green);
   margin-top: 3px;
   flex-shrink: 0;
}

/* ── How It Works ── */
.tk-how-it-works {
   padding: 70px 0;
   background: #fff;
}

.tk-steps-flow {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 0;
   position: relative;
   margin-top: 48px;
}

.tk-steps-flow::before {
   content: '';
   position: absolute;
   top: 36px;
   left: 12.5%;
   right: 12.5%;
   height: 3px;
   background: linear-gradient(90deg, var(--tk-navy) 0%, var(--tk-green) 100%);
   z-index: 0;
}

.tk-step-card {
   text-align: center;
   padding: 0 16px;
   position: relative;
   z-index: 1;
}

.tk-step-number {
   width: 72px;
   height: 72px;
   border-radius: 50%;
   background: #fff;
   border: 3px solid var(--tk-navy);
   color: var(--tk-navy);
   font-size: 1.4rem;
   font-weight: 700;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 20px;
   box-shadow: 0 4px 16px var(--tk-navy-light);
   transition: background 0.2s, color 0.2s;
}

.tk-step-card:hover .tk-step-number {
   background: var(--tk-navy);
   color: #fff;
}

.tk-step-icon {
   width: 44px;
   height: 44px;
   border-radius: 50%;
   background: var(--tk-green-light);
   color: #157a6c;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.1rem;
   margin: 0 auto 14px;
}

.tk-step-card h5 {
   color: var(--tk-navy);
   font-weight: 600;
   font-size: 1rem;
   margin-bottom: 10px;
}

.tk-step-card p {
   color: var(--tk-text-muted);
   font-size: 0.88rem;
   line-height: 1.65;
   margin: 0;
}

.tk-mt-engines {
   display: flex;
   flex-wrap: wrap;
   gap: 6px;
   justify-content: center;
   margin-top: 10px;
}

.tk-mt-pill {
   background: var(--tk-navy-light);
   color: var(--tk-navy);
   font-size: 0.72rem;
   font-weight: 600;
   padding: 3px 10px;
   border-radius: 20px;
}

/* ── Language & File Formats ── */
.tk-lang-tech {
   margin-top: 36px;
   padding-top: 36px;
   border-top: 1px solid var(--tk-border);
}

.tk-lang-tech h5 {
   color: var(--tk-navy);
   font-weight: 600;
   margin-bottom: 16px;
   font-size: 1.05rem;
}

.tk-format-grid {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 32px;
}

.tk-format-pill {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   background: #fff;
   border: 1px solid var(--tk-border);
   border-radius: 8px;
   padding: 8px 14px;
   font-size: 0.88rem;
   font-weight: 500;
   color: var(--tk-navy);
   transition: border-color 0.2s, background 0.2s;
}

.tk-format-pill:hover {
   border-color: var(--tk-green);
   background: var(--tk-green-light);
}

.tk-format-pill i {
   color: var(--tk-green);
   font-size: 0.85rem;
}

.tk-lang-search-wrap {
   position: relative;
   margin-bottom: 18px;
   max-width: 420px;
}

.tk-lang-search-wrap input {
   width: 100%;
   padding: 10px 16px 10px 40px;
   border: 1px solid var(--tk-border);
   border-radius: 8px;
   font-size: 0.92rem;
   outline: none;
   transition: border-color 0.2s;
}

.tk-lang-search-wrap input:focus {
   border-color: var(--tk-navy);
   box-shadow: 0 0 0 3px var(--tk-navy-light);
}

.tk-lang-search-wrap i {
   position: absolute;
   left: 14px;
   top: 50%;
   transform: translateY(-50%);
   color: #aaa;
}

.tk-lang-pills {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   max-height: 200px;
   overflow-y: auto;
   padding: 4px 0;
}

.tk-lang-pill {
   background: var(--tk-navy-light);
   color: var(--tk-navy);
   font-size: 0.82rem;
   font-weight: 500;
   padding: 6px 14px;
   border-radius: 20px;
   border: 1px solid transparent;
   transition: background 0.15s, border-color 0.15s;
   cursor: default;
}

.tk-lang-pill:hover {
   background: var(--tk-green-light);
   border-color: rgba(40, 204, 139, 0.3);
}

.tk-lang-pill.tk-lang-hidden {
   display: none;
}

.tk-lang-more-link {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   margin-top: 16px;
   color: var(--tk-navy);
   font-weight: 600;
   font-size: 0.92rem;
   text-decoration: none;
   transition: color 0.2s;
}

.tk-lang-more-link:hover {
   color: #157a6c;
}

/* Dark-background context (e.g. inside .soft-bg Features section) */
.soft-bg .tk-lang-tech {
   position: relative;
   z-index: 1;
   border-top-color: rgba(255, 255, 255, 0.22);
}

.soft-bg .tk-lang-tech h5 {
   color: #fff;
}

.soft-bg .tk-lang-tech h5 i {
   color: var(--tk-green);
   margin-right: 6px;
}

.soft-bg .tk-lang-pill {
   background: rgba(255, 255, 255, 0.16);
   color: #fff;
   border-color: rgba(255, 255, 255, 0.22);
}

.soft-bg .tk-lang-pill:hover {
   background: rgba(40, 204, 139, 0.4);
   border-color: rgba(40, 204, 139, 0.55);
   color: #fff;
}

.soft-bg .tk-lang-more-link {
   color: var(--tk-green);
}

.soft-bg .tk-lang-more-link:hover {
   color: #fff;
}

.soft-bg .tk-lang-search-wrap input {
   background: rgba(255, 255, 255, 0.96);
   border-color: rgba(255, 255, 255, 0.3);
   color: #222;
}

.soft-bg .tk-lang-search-wrap input::placeholder {
   color: #888;
}

/* ── Security & Trust ── */
.tk-security-trust {
   background: linear-gradient(135deg, #0f2060 0%, var(--tk-navy) 50%, #1a3d8f 100%);
   padding: 70px 0;
   color: #fff;
}

.tk-security-trust .section-heading h2 {
   color: #fff;
}

.tk-security-trust .section-heading p {
   color: rgba(255, 255, 255, 0.8);
}

.tk-trust-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 28px;
   margin-top: 48px;
}

.tk-trust-card {
   background: rgba(255, 255, 255, 0.07);
   border: 1px solid rgba(255, 255, 255, 0.12);
   border-radius: var(--tk-radius);
   padding: 32px 28px;
   text-align: center;
   transition: background 0.2s, transform 0.2s;
}

.tk-trust-card:hover {
   background: rgba(255, 255, 255, 0.12);
   transform: translateY(-3px);
}

.tk-trust-icon {
   width: 64px;
   height: 64px;
   border-radius: 50%;
   background: rgba(40, 204, 139, 0.2);
   color: var(--tk-green);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.6rem;
   margin: 0 auto 20px;
}

.tk-trust-card h5 {
   color: #fff;
   font-weight: 600;
   margin-bottom: 12px;
   font-size: 1.05rem;
}

.tk-trust-card p {
   color: rgba(255, 255, 255, 0.78);
   font-size: 0.9rem;
   line-height: 1.7;
   margin: 0;
}

.tk-trust-badges {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 20px;
   margin-top: 40px;
   padding-top: 32px;
   border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tk-trust-badge-item {
   display: flex;
   align-items: center;
   gap: 10px;
   color: rgba(255, 255, 255, 0.85);
   font-size: 0.88rem;
   font-weight: 500;
}

.tk-trust-badge-item i {
   color: var(--tk-green);
   font-size: 1.1rem;
}

.tk-trust-links {
   text-align: center;
   margin-top: 28px;
}

.tk-trust-links a {
   color: var(--tk-green);
   font-size: 0.9rem;
   margin: 0 14px;
   text-decoration: underline;
   text-underline-offset: 3px;
}

.tk-trust-links a:hover {
   color: #fff;
}

/* ── Responsive ── */
@media (max-width: 991px) {
   .tk-stats-row {
      grid-template-columns: 1fr;
      max-width: 360px;
      margin-left: auto;
      margin-right: auto;
   }

   .tk-client-card {
      flex: 0 0 260px;
      width: 260px;
   }

   .tk-case-study {
      grid-template-columns: 1fr;
   }

   .tk-case-study-visual {
      min-height: 180px;
      padding: 30px 24px;
   }

   .tk-case-study-content {
      padding: 28px 24px;
   }

   .tk-case-study-highlights {
      grid-template-columns: 1fr;
   }

   .tk-steps-flow {
      grid-template-columns: 1fr 1fr;
      gap: 32px;
   }

   .tk-steps-flow::before {
      display: none;
   }

   .tk-trust-grid {
      grid-template-columns: 1fr;
      max-width: 420px;
      margin-left: auto;
      margin-right: auto;
   }
}

@media (max-width: 575px) {
   .tk-social-proof,
   .tk-how-it-works,
   .tk-security-trust {
      padding: 48px 0;
   }

   .tk-stat-number {
      font-size: 2rem;
   }

   .tk-client-card {
      flex: 0 0 240px;
      width: 240px;
   }

   .tk-steps-flow {
      grid-template-columns: 1fr;
   }

   .tk-trust-badges {
      flex-direction: column;
      align-items: center;
   }
}

@media (prefers-reduced-motion: reduce) {
   .tk-client-marquee-track {
      animation: none;
      flex-wrap: wrap;
      width: 100%;
      justify-content: center;
      gap: 16px;
   }

   .tk-client-marquee {
      -webkit-mask-image: none;
      mask-image: none;
      overflow: visible;
   }

   .tk-client-marquee-group[aria-hidden="true"] {
      display: none;
   }

   .tk-client-card {
      flex: 1 1 260px;
      width: auto;
      max-width: 320px;
   }
}
