/* =========================================
   TraceLIMS Marketing - Custom Overrides
   ========================================= */

:root {
  --tl-primary:  #0a6ef5;
  --tl-primary-dark: #084ec5;
  --tl-secondary: #06d6a0;
  --tl-dark:     #1a1a2e;
  --tl-body:     #4a4a68;
  --tl-bg-light: #f6f9fc;
  --tl-white:    #ffffff;
  --tl-radius:   12px;
}

/* ---------- Base Typography ---------- */
body {
  color: var(--tl-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--tl-dark);
  font-weight: 700;
}

.section-padding { padding: 100px 0; }
.bg-light { background: var(--tl-bg-light) !important; }

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}
.section-title p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
  color: var(--tl-body);
}

/* ---------- Logo ---------- */
.logo-text {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--tl-dark);
  letter-spacing: -.02em;
}
.logo-text strong {
  font-weight: 800;
  color: var(--tl-primary);
}

/* ---------- Navbar ---------- */
.navbar-area {
  padding: 16px 0;
  transition: all .3s;
}
.sticky .navbar-area {
  background: var(--tl-white);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 10px 0;
}
.navbar-nav .nav-item a {
  color: var(--tl-dark);
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 16px !important;
}
.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item a.active {
  color: var(--tl-primary);
}
.nav-cta {
  background: var(--tl-primary) !important;
  color: var(--tl-white) !important;
  border-radius: 8px !important;
  padding: 8px 24px !important;
}
.nav-cta:hover {
  background: var(--tl-primary-dark) !important;
}

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: 8px;
  padding: 14px 32px;
  transition: all .3s;
  font-size: .95rem;
}
.btn-sm {
  padding: 10px 24px;
  font-size: .88rem;
}
.primary-btn {
  background: var(--tl-primary);
  color: var(--tl-white);
  border: 2px solid var(--tl-primary);
}
.primary-btn:hover {
  background: var(--tl-primary-dark);
  border-color: var(--tl-primary-dark);
  color: var(--tl-white);
}
.outline-btn {
  background: transparent;
  color: var(--tl-primary);
  border: 2px solid var(--tl-primary);
}
.outline-btn:hover {
  background: var(--tl-primary);
  color: var(--tl-white);
}

/* ---------- Hero ---------- */
.hero-section {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, #f0f6ff 0%, var(--tl-white) 60%);
}
.hero-content-wrapper h1 {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-content-wrapper .lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--tl-body);
  margin-bottom: 2rem;
}
.hero-btns .btn { margin-right: 12px; margin-bottom: 12px; }
.hero-img img { max-width: 100%; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 32px 0;
  background: var(--tl-dark);
  text-align: center;
}
.trust-label {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-bottom: 12px;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.trust-badges span {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.15);
}

/* ---------- Problem Cards ---------- */
.problem-card {
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  padding: 36px 28px;
  height: 100%;
  border: 1px solid #e8edf3;
  transition: box-shadow .3s;
}
.problem-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.problem-card .card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #fff0f0;
  margin-bottom: 20px;
}
.problem-card .card-icon i { font-size: 24px; color: #e74c3c; }
.problem-card h4 { font-size: 1.25rem; margin-bottom: .75rem; }
.problem-card p { color: var(--tl-body); line-height: 1.65; margin: 0; }

.pull-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--tl-dark);
  max-width: 600px;
  margin: 0 auto 8px;
  border: none;
  padding: 0;
}
cite { color: var(--tl-body); font-size: .9rem; }

/* ---------- Solution Cards ---------- */
.solution-card {
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  padding: 32px 24px;
  height: 100%;
  border: 1px solid #e8edf3;
  transition: all .3s;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,110,245,.1);
  border-color: var(--tl-primary);
}
.solution-card .card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,110,245,.08);
  margin-bottom: 16px;
}
.solution-card .card-icon i { font-size: 22px; color: var(--tl-primary); }
.solution-card h4 { font-size: 1.1rem; margin-bottom: .5rem; }
.solution-card p { color: var(--tl-body); line-height: 1.6; margin: 0; font-size: .95rem; }

/* ---------- Step Cards ---------- */
.step-card {
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  padding: 36px 24px;
  text-align: center;
  height: 100%;
  border: 1px solid #e8edf3;
  transition: all .3s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--tl-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.step-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--tl-secondary);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}
.step-card h4 { font-size: 1.1rem; margin-bottom: .75rem; }
.step-card p { color: var(--tl-body); font-size: .9rem; margin: 0; }
.step-details {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.step-details li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: .88rem;
  color: var(--tl-body);
  line-height: 1.5;
}
.step-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tl-primary);
}
.timeline-note {
  max-width: 720px;
  margin: 0 auto;
  font-size: .95rem;
  color: var(--tl-body);
  line-height: 1.7;
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  padding: 20px 28px;
  border-left: 4px solid var(--tl-primary);
}

/* ---------- Workflow Pipeline ---------- */
.workflow-pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 20px 0;
}
.pipe-step {
  text-align: center;
  max-width: 130px;
  flex-shrink: 0;
}
.pipe-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,110,245,.08);
  margin: 0 auto 10px;
}
.pipe-icon i { font-size: 22px; color: var(--tl-primary); }
.pipe-step h5 { font-size: .9rem; margin-bottom: 4px; }
.pipe-step p { font-size: .78rem; color: var(--tl-body); margin: 0; }
.pipe-arrow {
  display: flex; align-items: center;
  padding: 0 6px;
  margin-top: 16px;
}
.pipe-arrow i { font-size: 18px; color: #c0c8d4; }

/* ---------- Pricing Cards ---------- */
.pricing-card {
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  padding: 40px 28px 36px;
  text-align: center;
  height: 100%;
  border: 2px solid #e8edf3;
  position: relative;
  transition: all .3s;
}
.pricing-card.featured {
  border-color: var(--tl-primary);
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(10,110,245,.12);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--tl-primary);
  color: var(--tl-white);
  padding: 4px 20px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
}
.pricing-card h4 { font-size: 1.4rem; margin-bottom: 4px; }
.pricing-for { font-size: .9rem; color: var(--tl-body); margin-bottom: 16px; }
.pricing-divider {
  height: 1px;
  background: #e8edf3;
  margin-bottom: 20px;
}
.pricing-includes {
  font-size: .85rem;
  font-weight: 600;
  color: var(--tl-primary);
  margin-bottom: 12px;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}
.pricing-card ul li {
  padding: 7px 0;
  font-size: .9rem;
  border-bottom: 1px solid #f0f2f5;
  color: var(--tl-dark);
}
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li i { color: var(--tl-secondary); margin-right: 8px; }

.pricing-explainer {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: .9rem;
  color: var(--tl-body);
  font-style: italic;
}

.guarantee-box {
  max-width: 520px;
  margin: 24px auto 0;
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  padding: 32px 24px;
  border: 2px dashed var(--tl-secondary);
}
.guarantee-box i { font-size: 32px; color: var(--tl-secondary); margin-bottom: 8px; }
.guarantee-box h4 { font-size: 1.2rem; margin-bottom: .5rem; }
.guarantee-box p { margin: 0; color: var(--tl-body); }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--tl-dark);
  padding: 60px 0;
}
.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--tl-white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item p { color: rgba(255,255,255,.6); margin: 0; }

/* ---------- Testimonial Slider ---------- */
.testimonial-slider {
  overflow: hidden;
}
.testimonial-card {
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  padding: 32px 24px;
  border: 1px solid #e8edf3;
  margin: 0 12px;
  height: 100%;
}
.testimonial-card .stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.testimonial-card p {
  color: var(--tl-dark);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 16px;
  font-size: .95rem;
}
.testimonial-card .author strong {
  display: block;
  font-size: .95rem;
}
.testimonial-card .author span {
  font-size: .85rem;
  color: var(--tl-body);
}

.tns-controls {
  text-align: center;
  margin-top: 24px;
}
.tns-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e8edf3;
  background: var(--tl-white);
  color: var(--tl-dark);
  font-size: 16px;
  margin: 0 6px;
  cursor: pointer;
  transition: all .2s;
}
.tns-controls button:hover {
  border-color: var(--tl-primary);
  color: var(--tl-primary);
}
.tns-nav {
  text-align: center;
  margin-top: 20px;
}
.tns-nav button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d0d5dd;
  margin: 0 4px;
  padding: 0;
  cursor: pointer;
  transition: all .2s;
}
.tns-nav button.tns-nav-active {
  background: var(--tl-primary);
  transform: scale(1.2);
}

/* ---------- FAQ Accordion ---------- */
.accordion-item {
  border: 1px solid #e8edf3;
  border-radius: var(--tl-radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: var(--tl-dark);
  padding: 18px 24px;
  background: var(--tl-white);
}
.accordion-button:not(.collapsed) {
  background: rgba(10,110,245,.04);
  color: var(--tl-primary);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-body { padding: 0 24px 18px; line-height: 1.7; color: var(--tl-body); }

/* ---------- CTA / Contact ---------- */
.cta-section {
  background: linear-gradient(160deg, #0a6ef5 0%, #084ec5 100%);
  color: var(--tl-white);
}
.cta-content h2 { color: var(--tl-white); font-size: 2.25rem; margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,.85); font-size: 1.05rem; line-height: 1.7; }
.cta-checks { margin-top: 24px; }
.cta-checks div {
  padding: 6px 0;
  font-size: .95rem;
  color: rgba(255,255,255,.9);
}
.cta-checks i { color: var(--tl-secondary); margin-right: 8px; }

.contact-form {
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  padding: 36px 28px;
}
.contact-form .form-control {
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #d9dfe7;
  font-size: .95rem;
}
.contact-form .form-control:focus {
  border-color: var(--tl-primary);
  box-shadow: 0 0 0 3px rgba(10,110,245,.1);
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success i {
  font-size: 48px;
  color: var(--tl-secondary);
  margin-bottom: 12px;
}
.form-success h4 {
  margin-bottom: 8px;
}
.form-success p {
  color: var(--tl-body);
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tl-dark);
  padding: 40px 0;
}
.footer-brand .logo-text { color: rgba(255,255,255,.9); }
.footer-brand .logo-text strong { color: var(--tl-primary); }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: 4px; }
.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  gap: 24px;
  justify-content: center;
}
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-links a:hover { color: var(--tl-white); }
.footer-copy { color: rgba(255,255,255,.4); font-size: .85rem; text-align: right; margin: 0; }

/* ---------- Scroll Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--tl-primary);
  color: var(--tl-white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(10,110,245,.3);
}
.scroll-top:hover { background: var(--tl-primary-dark); color: var(--tl-white); }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 991px) {
  .hero-content-wrapper h1 { font-size: 2.25rem; }
  .section-padding { padding: 70px 0; }
  .section-title h2 { font-size: 2rem; }
  .pricing-card.featured { transform: none; }
  .footer-brand { text-align: center; }
  .footer-copy { text-align: center; margin-top: 8px; }
  .footer-links { justify-content: center; }
}

@media (max-width: 767px) {
  .section-padding { padding: 56px 0; }
  .section-title h2 { font-size: 1.75rem; }
  .section-title p { font-size: 1rem; }
  .hero-section { padding: 130px 0 60px; }
  .hero-content-wrapper h1 { font-size: 1.85rem; }
  .hero-content-wrapper .lead { font-size: 1rem; }
  .hero-btns .btn { width: 100%; margin-right: 0; }
  .hero-img { margin-top: 40px; }

  .trust-badges { gap: 8px; }
  .trust-badges span { font-size: .75rem; padding: 4px 14px; }

  .workflow-pipeline { flex-direction: column; align-items: center; }
  .pipe-arrow { transform: rotate(90deg); margin: 8px 0; }
  .pipe-step { max-width: 200px; }

  .pricing-card { padding: 32px 20px 28px; }
  .pricing-card.featured { transform: none; }

  .stat-num { font-size: 2.25rem; }
  .stats-bar { padding: 40px 0; }

  .cta-content h2 { font-size: 1.75rem; }
  .contact-form { padding: 24px 20px; }

  .footer-brand { text-align: center; }
  .footer-copy { text-align: center; }
  .footer-links { flex-wrap: wrap; gap: 16px; }

  .step-card { padding: 28px 20px; }
  .step-num { font-size: 2rem; }

  .guarantee-box { padding: 24px 20px; }
}
