/* ============================================================
   TXLOC — Design System
   Modern 2026 · Premium · Enterprise Startup
   Palette: Dark Blue + White + Light Gray
   ============================================================ */

:root {
  /* Brand — deep navy scale */
  --tx-navy-900: #071427;
  --tx-navy-800: #0a2540;
  --tx-navy-700: #0f3057;
  --tx-navy-600: #14406f;
  --tx-navy-500: #1d5599;

  /* Accent — electric blue */
  --tx-blue-600: #2563eb;
  --tx-blue-500: #3b73f5;
  --tx-blue-400: #6096ff;

  /* Secondary — cyan/teal highlight */
  --tx-cyan-500: #06b6d4;
  --tx-cyan-400: #22d3ee;

  /* Neutrals */
  --tx-white: #ffffff;
  --tx-gray-50: #f8fafc;
  --tx-gray-100: #f1f5f9;
  --tx-gray-200: #e6ecf3;
  --tx-gray-300: #d3dce6;
  --tx-gray-400: #94a3b8;
  --tx-gray-500: #64748b;
  --tx-gray-600: #475569;
  --tx-gray-700: #334155;
  --tx-gray-800: #1e293b;
  --tx-gray-900: #0f172a;

  /* Semantic */
  --tx-bg: #ffffff;
  --tx-bg-alt: var(--tx-gray-50);
  --tx-text: var(--tx-gray-900);
  --tx-text-muted: var(--tx-gray-600);
  --tx-heading: var(--tx-navy-800);
  --tx-primary: var(--tx-navy-800);
  --tx-accent: var(--tx-blue-600);
  --tx-border: var(--tx-gray-200);

  /* Bootstrap overrides */
  --bs-primary: var(--tx-navy-800);
  --bs-body-color: var(--tx-gray-700);
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type */
  --tx-font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --tx-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radius */
  --tx-radius-sm: 10px;
  --tx-radius: 16px;
  --tx-radius-lg: 22px;
  --tx-radius-xl: 28px;
  --tx-radius-pill: 999px;

  /* Shadow */
  --tx-shadow-xs: 0 1px 2px rgba(10, 37, 64, 0.06);
  --tx-shadow-sm: 0 4px 14px rgba(10, 37, 64, 0.07);
  --tx-shadow: 0 10px 30px rgba(10, 37, 64, 0.09);
  --tx-shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.14);

  /* Layout */
  --tx-maxw: 1200px;
  --tx-section-y: clamp(3.5rem, 7vw, 6.5rem);
}

/* ---------- Base ---------- */
* { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--tx-font-body);
  color: var(--tx-text);
  background: var(--tx-bg);
  line-height: 1.65;
}
h1, h2, h3, h4, h5, h6, .tx-head {
  font-family: var(--tx-font-head);
  color: var(--tx-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
a { color: var(--tx-accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--tx-navy-700); }
p { color: var(--tx-text-muted); }
.lead { color: var(--tx-gray-600); }

/* ---------- Layout helpers ---------- */
.tx-section { padding-block: var(--tx-section-y); }
.tx-section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.bg-alt { background: var(--tx-bg-alt); }
.bg-navy { background: var(--tx-navy-800); color: #dbe7f5; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.container-tx { max-width: var(--tx-maxw); }

.tx-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--tx-font-head);
  font-weight: 600; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tx-accent);
  background: rgba(37, 99, 235, .08);
  padding: .38rem .8rem; border-radius: var(--tx-radius-pill);
}
.bg-navy .tx-eyebrow { color: var(--tx-cyan-400); background: rgba(34, 211, 238, .12); }

.tx-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.tx-title-lg { font-size: clamp(2.4rem, 5vw, 4rem); }
.tx-subtitle { font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--tx-gray-500); max-width: 42rem; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--tx-font-head); font-weight: 600; border-radius: var(--tx-radius-pill); padding: .72rem 1.5rem; transition: all .2s ease; }
.btn-lg { padding: .9rem 1.9rem; font-size: 1.02rem; }
.btn-tx-primary { background: var(--tx-navy-800); color: #fff; border: 1px solid var(--tx-navy-800); }
.btn-tx-primary:hover { background: var(--tx-navy-700); color: #fff; transform: translateY(-2px); box-shadow: var(--tx-shadow); }
.btn-tx-accent { background: var(--tx-blue-600); color: #fff; border: 1px solid var(--tx-blue-600); }
.btn-tx-accent:hover { background: var(--tx-blue-500); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,99,235,.32); }
.btn-tx-outline { background: transparent; color: var(--tx-navy-800); border: 1.5px solid var(--tx-gray-300); }
.btn-tx-outline:hover { border-color: var(--tx-navy-800); color: var(--tx-navy-800); background: var(--tx-gray-50); }
.btn-tx-light { background: #fff; color: var(--tx-navy-800); border: 1px solid #fff; }
.btn-tx-light:hover { background: var(--tx-gray-100); color: var(--tx-navy-900); transform: translateY(-2px); }
.btn-tx-ghost-light { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.25); }
.btn-tx-ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Cards ---------- */
.tx-card {
  background: #fff; border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius-lg); padding: 1.9rem;
  box-shadow: var(--tx-shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.tx-card:hover { transform: translateY(-6px); box-shadow: var(--tx-shadow); border-color: var(--tx-gray-300); }
.tx-card-link:hover { border-color: var(--tx-blue-400); }

.tx-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--tx-radius);
  background: linear-gradient(135deg, var(--tx-navy-800), var(--tx-navy-600));
  color: #fff; font-size: 1.5rem; margin-bottom: 1.1rem;
  box-shadow: 0 8px 20px rgba(10,37,64,.22);
}
.tx-icon-soft {
  background: rgba(37, 99, 235, .09); color: var(--tx-blue-600);
  box-shadow: none;
}

.tx-card h3, .tx-card h4 { font-size: 1.2rem; margin-bottom: .55rem; }
.tx-card p { font-size: .96rem; margin-bottom: 0; }

.tx-arrow-link { font-family: var(--tx-font-head); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.tx-arrow-link i { transition: transform .2s ease; }
.tx-arrow-link:hover i { transform: translateX(4px); }

/* ---------- Pills / badges ---------- */
.tx-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--tx-gray-100); color: var(--tx-gray-700);
  border: 1px solid var(--tx-border);
  padding: .5rem 1rem; border-radius: var(--tx-radius-pill);
  font-weight: 500; font-size: .92rem;
  transition: all .18s ease;
}
a.tx-pill:hover { background: var(--tx-navy-800); color: #fff; border-color: var(--tx-navy-800); }
.tx-pill-featured { background: rgba(37,99,235,.09); color: var(--tx-blue-600); border-color: rgba(37,99,235,.2); }

/* ---------- Navbar ---------- */
.tx-navbar {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--tx-border);
  transition: box-shadow .2s ease;
  z-index: 1035; /* stay above sticky-lg-top sidebars (Bootstrap sticky = 1020) */
}
/* Sticky sidebars sit below the navbar */
.sticky-lg-top, .sticky-top.tx-sidebar { z-index: 1000; }
.tx-navbar.scrolled { box-shadow: var(--tx-shadow-sm); }
.tx-navbar .navbar-brand { font-family: var(--tx-font-head); font-weight: 800; font-size: 1.4rem; color: var(--tx-navy-800); letter-spacing: -.03em; }
.tx-navbar .navbar-brand span { color: var(--tx-blue-600); }
.tx-navbar .nav-link { font-family: var(--tx-font-head); font-weight: 500; color: var(--tx-gray-700); padding: .5rem .9rem !important; border-radius: var(--tx-radius-sm); }
.tx-navbar .nav-link:hover, .tx-navbar .nav-link.active { color: var(--tx-navy-800); background: var(--tx-gray-100); }
.tx-navbar .dropdown-menu { border: 1px solid var(--tx-border); border-radius: var(--tx-radius); box-shadow: var(--tx-shadow); padding: .5rem; margin-top: .6rem; }
.tx-navbar .dropdown-item { border-radius: var(--tx-radius-sm); padding: .55rem .8rem; font-weight: 500; }
.tx-navbar .dropdown-item:hover { background: var(--tx-gray-100); color: var(--tx-navy-800); }

/* ---------- Hero ---------- */
.tx-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(37,99,235,.14), transparent 60%),
              radial-gradient(900px 500px at 0% 20%, rgba(6,182,212,.10), transparent 55%),
              var(--tx-white);
}
.tx-hero-dark {
  background: radial-gradient(1000px 600px at 85% -10%, rgba(59,115,245,.35), transparent 55%),
              radial-gradient(800px 500px at 5% 110%, rgba(6,182,212,.22), transparent 55%),
              linear-gradient(160deg, var(--tx-navy-900), var(--tx-navy-800) 60%);
  color: #cdddf0;
}
.tx-hero-dark h1, .tx-hero-dark h2 { color: #fff; }
.tx-hero-dark .tx-subtitle { color: #a9c1de; }

/* ---------- Stats ---------- */
.tx-stat-num { font-family: var(--tx-font-head); font-weight: 800; font-size: clamp(2rem,3.4vw,2.7rem); color: var(--tx-navy-800); line-height: 1; letter-spacing: -.03em; }
.bg-navy .tx-stat-num, .tx-hero-dark .tx-stat-num { color: #fff; }
.tx-stat-label { color: var(--tx-gray-500); font-size: .92rem; }
.tx-hero-dark .tx-stat-label { color: #9fb6d4; }

/* ---------- Logo strip ---------- */
.tx-logostrip { filter: grayscale(1); opacity: .55; }
.tx-logostrip span { font-family: var(--tx-font-head); font-weight: 700; color: var(--tx-gray-500); font-size: 1.1rem; }

/* ---------- Workflow steps ---------- */
.tx-step { position: relative; padding-left: 0; }
.tx-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--tx-font-head); font-weight: 700; color: #fff;
  background: var(--tx-navy-800); margin-bottom: 1rem;
}

/* ---------- FAQ / Accordion ---------- */
.accordion-tx .accordion-item { border: 1px solid var(--tx-border); border-radius: var(--tx-radius) !important; margin-bottom: .85rem; overflow: hidden; background: #fff; }
.accordion-tx .accordion-button { font-family: var(--tx-font-head); font-weight: 600; color: var(--tx-navy-800); padding: 1.15rem 1.35rem; border-radius: var(--tx-radius) !important; }
.accordion-tx .accordion-button:not(.collapsed) { background: var(--tx-gray-50); color: var(--tx-navy-800); box-shadow: none; }
.accordion-tx .accordion-button:focus { box-shadow: none; border-color: var(--tx-border); }
.accordion-tx .accordion-body { color: var(--tx-text-muted); padding: 0 1.35rem 1.25rem; }

/* ---------- Testimonials ---------- */
.tx-quote { font-family: var(--tx-font-head); font-size: 1.08rem; color: var(--tx-gray-700); line-height: 1.6; }
.tx-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--tx-gray-200); display: inline-flex; align-items:center; justify-content:center; font-family:var(--tx-font-head); font-weight:700; color:var(--tx-navy-700); }

/* ---------- Footer ---------- */
.tx-footer { background: var(--tx-navy-900); color: #9fb6d4; }
.tx-footer h5 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--tx-font-head); }
.tx-footer a { color: #a9c1de; font-size: .95rem; display: inline-block; padding: .2rem 0; }
.tx-footer a:hover { color: #fff; }
.tx-footer .footer-brand { font-family: var(--tx-font-head); font-weight: 800; font-size: 1.5rem; color: #fff; }
.tx-footer .footer-brand span { color: var(--tx-blue-400); }
.tx-footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }

/* ---------- Section header ---------- */
.tx-section-head { max-width: 46rem; }

/* ---------- Breadcrumb ---------- */
.tx-breadcrumb { font-size: .9rem; }
.tx-breadcrumb a { color: var(--tx-gray-500); }
.tx-breadcrumb a:hover { color: var(--tx-navy-800); }
.tx-breadcrumb .sep { color: var(--tx-gray-400); margin-inline: .5rem; }

/* ---------- Page hero (inner) ---------- */
.tx-page-hero { background: linear-gradient(160deg, var(--tx-navy-900), var(--tx-navy-700)); color: #cdddf0; position: relative; overflow: hidden; }
.tx-page-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(700px 320px at 85% 0%, rgba(59,115,245,.3), transparent 60%); pointer-events:none; }
.tx-page-hero h1 { color: #fff; }
.tx-page-hero .tx-subtitle { color: #a9c1de; }

/* ---------- Feature list ---------- */
.tx-check-list { list-style: none; padding: 0; margin: 0; }
.tx-check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; color: var(--tx-gray-700); }
.tx-check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 1px; color: var(--tx-blue-600); font-size: 1.1rem; }

/* ---------- Prose (blog) ---------- */
.tx-prose { color: var(--tx-gray-700); font-size: 1.06rem; line-height: 1.8; }
.tx-prose h2 { font-size: 1.6rem; margin: 2.2rem 0 .9rem; }
.tx-prose h3 { font-size: 1.3rem; margin: 1.8rem 0 .7rem; }
.tx-prose p { color: var(--tx-gray-700); margin-bottom: 1.15rem; }
.tx-prose ul, .tx-prose ol { margin-bottom: 1.15rem; padding-left: 1.3rem; }
.tx-prose li { margin-bottom: .4rem; }
.tx-prose img { border-radius: var(--tx-radius); margin: 1.5rem 0; max-width: 100%; }
.tx-prose blockquote { border-left: 4px solid var(--tx-blue-500); padding-left: 1.2rem; color: var(--tx-gray-600); font-style: italic; margin: 1.5rem 0; }

/* ---------- Forms ---------- */
.form-control, .form-select { border-radius: var(--tx-radius-sm); border-color: var(--tx-gray-300); padding: .7rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--tx-blue-400); box-shadow: 0 0 0 .2rem rgba(37,99,235,.12); }
.form-label { font-family: var(--tx-font-head); font-weight: 600; color: var(--tx-navy-800); font-size: .92rem; margin-bottom: .4rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Utility ---------- */
.text-accent { color: var(--tx-accent) !important; }
.text-cyan { color: var(--tx-cyan-500) !important; }
.rounded-tx { border-radius: var(--tx-radius) !important; }
.rounded-tx-lg { border-radius: var(--tx-radius-lg) !important; }
.shadow-tx { box-shadow: var(--tx-shadow) !important; }
.divider-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--tx-gray-300); display: inline-block; vertical-align: middle; }

/* ---------- WhatsApp float ---------- */
.tx-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 1030;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: transform .2s ease;
}
.tx-whatsapp:hover { transform: scale(1.08); color: #fff; }
