/* ==========================================================================
   TCSP AML / CDD / KYC Landing Page Styles
   ========================================================================== */

/* ── CSS custom properties ─────────────────────────────────────────────────── */
:root {
  --tcsp-primary:        #696cff;
  --tcsp-primary-hover:  #5f61e6;
  --tcsp-primary-soft:   #eeedff;
  --tcsp-success:        #71dd37;
  --tcsp-info:           #03c3ec;
  --tcsp-warning:        #ffab00;
  --tcsp-danger:         #ff3e1d;
  --tcsp-secondary:      #8592a3;
  --tcsp-dark-accent:    #232448;
  --tcsp-radius:         12px;
  --tcsp-radius-sm:      8px;
  --tcsp-shadow:         0 2px 24px rgba(105,108,255,.10);
}

/* ── Wrapper ───────────────────────────────────────────────────────────────── */
.tcsp-aml-landing {
  padding-top: 0;
}

/* ── Section typography helpers ────────────────────────────────────────────── */
.tcsp-aml-kicker {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tcsp-primary);
  margin-bottom: .5rem;
}

.tcsp-aml-kicker--light {
  color: rgba(255,255,255,.7);
}

.tcsp-aml-section-head {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.tcsp-aml-section-title {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.3;
  color: #2d2d3a;
  margin-bottom: .75rem;
}

.tcsp-aml-section-lead {
  font-size: 1rem;
  color: #6d7580;
  line-height: 1.7;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.tcsp-aml-hero {
  background: linear-gradient(135deg, #f5f4ff 0%, #eef9ff 100%);
  border-radius: var(--tcsp-radius);
  padding: 4rem 2rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

/* ── Definition block ──────────────────────────────────────────────────────── */
.tcsp-aml-definition {
  background: #fff;
  border: 1px solid #e9e9ff;
  border-radius: var(--tcsp-radius);
  padding: 2.5rem 2rem;
  margin-bottom: 1.5rem;
}

.tcsp-aml-definition-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.tcsp-aml-def-item h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #3d3d7a;
  margin-bottom: .75rem;
}

.tcsp-aml-def-item p {
  font-size: .9rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .tcsp-aml-definition-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.tcsp-aml-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.tcsp-aml-hero-copy {
  flex: 1 1 380px;
  min-width: 0;
}

.tcsp-aml-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--tcsp-primary);
  margin-bottom: 1rem;
}

.tcsp-aml-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1e1e2d;
  margin-bottom: 1.25rem;
}

.tcsp-aml-title span {
  display: block;
}

.tcsp-aml-title-sub {
  font-size: clamp(1rem, 2vw, 1.35rem) !important;
  font-weight: 500;
  color: var(--tcsp-primary);
  margin-top: .5rem;
}

.tcsp-aml-lead {
  font-size: 1.05rem;
  color: #4e5468;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.tcsp-aml-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}

.tcsp-aml-tag {
  background: var(--tcsp-primary-soft);
  color: var(--tcsp-primary);
  font-size: .78rem;
  font-weight: 600;
  border-radius: 2rem;
  padding: .25rem .75rem;
  white-space: nowrap;
}

/* Hero visual */
.tcsp-aml-hero-visual {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.tcsp-aml-shield-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcsp-aml-shield-icon {
  font-size: 4rem;
  color: var(--tcsp-primary);
  position: relative;
  z-index: 2;
}

.tcsp-aml-shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--tcsp-primary);
  opacity: .15;
  animation: tcspPulse 3s ease-in-out infinite;
}
.tcsp-aml-shield-ring--1 { width: 100%; height: 100%; animation-delay: 0s; }
.tcsp-aml-shield-ring--2 { width: 75%;  height: 75%;  animation-delay: .6s; }
.tcsp-aml-shield-ring--3 { width: 50%;  height: 50%;  animation-delay: 1.2s; }

@keyframes tcspPulse {
  0%, 100% { transform: scale(1);   opacity: .15; }
  50%       { transform: scale(1.1); opacity: .28; }
}

.tcsp-aml-stat-chips {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  width: 100%;
}

.tcsp-aml-chip {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid #e8e8f0;
  border-radius: var(--tcsp-radius-sm);
  padding: .5rem .875rem;
  font-size: .85rem;
  font-weight: 600;
  color: #2d2d3a;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

.tcsp-aml-chip i {
  font-size: 1.1rem;
  color: var(--tcsp-primary);
}

/* ── Problem cards ─────────────────────────────────────────────────────────── */
.tcsp-aml-problem-card {
  background: #f9f9ff;
  border: 1px solid #ededff;
  border-radius: var(--tcsp-radius);
  padding: 1.5rem;
  height: 100%;
}

.tcsp-aml-problem-icon {
  font-size: 2rem;
  color: var(--tcsp-primary);
  margin-bottom: .75rem;
  display: block;
}

.tcsp-aml-problem-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: #2d2d3a;
}

.tcsp-aml-problem-card p {
  font-size: .9rem;
  color: #6d7580;
  margin-bottom: 0;
  line-height: 1.65;
}

/* ── Feature cards ─────────────────────────────────────────────────────────── */
.tcsp-aml-feature-card {
  background: #fff;
  border: 1px solid #ededf5;
  border-radius: var(--tcsp-radius);
  padding: 1.5rem;
  transition: box-shadow .2s, transform .2s;
}

.tcsp-aml-feature-card:hover {
  box-shadow: var(--tcsp-shadow);
  transform: translateY(-2px);
}

.tcsp-aml-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--tcsp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.tcsp-aml-feature-icon--primary   { background: var(--tcsp-primary-soft);   color: var(--tcsp-primary);   }
.tcsp-aml-feature-icon--info      { background: #e3f9ff;                    color: var(--tcsp-info);       }
.tcsp-aml-feature-icon--success   { background: #eeffdd;                    color: #4e9b1c;                }
.tcsp-aml-feature-icon--warning   { background: #fff8e1;                    color: var(--tcsp-warning);    }
.tcsp-aml-feature-icon--danger    { background: #fff0ee;                    color: var(--tcsp-danger);     }
.tcsp-aml-feature-icon--secondary { background: #f2f3f5;                    color: var(--tcsp-secondary);  }

.tcsp-aml-feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2d2d3a;
  margin-bottom: .5rem;
}

.tcsp-aml-feature-text {
  font-size: .875rem;
  color: #6d7580;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── Workflow ──────────────────────────────────────────────────────────────── */
.tcsp-aml-workflow {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tcsp-aml-workflow-step {
  flex: 1 1 200px;
  position: relative;
}

.tcsp-aml-workflow-num {
  width: 3rem;
  height: 3rem;
  background: var(--tcsp-primary-soft);
  color: var(--tcsp-primary);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .875rem;
}

.tcsp-aml-workflow-connector {
  display: none; /* hidden on mobile */
}

.tcsp-aml-workflow-body h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #2d2d3a;
  margin-bottom: .4rem;
}

.tcsp-aml-workflow-body p {
  font-size: .875rem;
  color: #6d7580;
  line-height: 1.65;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .tcsp-aml-workflow {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .tcsp-aml-workflow-step {
    position: relative;
  }

  .tcsp-aml-workflow-connector {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: -1.5rem;
    width: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--tcsp-primary) 0%, var(--tcsp-primary-soft) 100%);
    z-index: 1;
  }
}

/* ── Compliance checklist ──────────────────────────────────────────────────── */
.tcsp-aml-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tcsp-aml-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  padding: .45rem 0;
  font-size: .925rem;
  color: #3d3d50;
  border-bottom: 1px solid #f2f2f8;
}

.tcsp-aml-checklist-item:last-child {
  border-bottom: none;
}

.tcsp-aml-check-icon {
  font-size: 1.1rem;
  color: #4e9b1c;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ── Screenshot ────────────────────────────────────────────────────────────── */
.tcsp-aml-screenshot-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.tcsp-aml-screenshot {
  width: 100%;
  border-radius: var(--tcsp-radius);
}

.tcsp-aml-screenshot-badge {
  position: absolute;
  bottom: -1rem;
  right: 1rem;
  background: var(--tcsp-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .45rem .9rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  box-shadow: 0 4px 14px rgba(105,108,255,.4);
}

/* ── Sanctions sources ─────────────────────────────────────────────────────── */
.tcsp-aml-source-card {
  background: #f9f9ff;
  border: 1px solid #ededff;
  border-radius: var(--tcsp-radius-sm);
  padding: 1rem .75rem;
  text-align: center;
  height: 100%;
  transition: box-shadow .2s;
}

.tcsp-aml-source-card:hover {
  box-shadow: 0 2px 12px rgba(105,108,255,.12);
}

.tcsp-aml-source-code {
  font-size: 1rem;
  font-weight: 800;
  color: var(--tcsp-primary);
  margin-bottom: .25rem;
}

.tcsp-aml-source-name {
  font-size: .8rem;
  font-weight: 600;
  color: #2d2d3a;
  margin-bottom: .2rem;
}

.tcsp-aml-source-desc {
  font-size: .72rem;
  color: #8592a3;
  line-height: 1.4;
}

/* ── Accent card (dark) ────────────────────────────────────────────────────── */
.tcsp-aml-card-accent {
  background: linear-gradient(135deg, var(--tcsp-dark-accent) 0%, #2e317a 100%) !important;
}

/* ── Integration chips ─────────────────────────────────────────────────────── */
.tcsp-aml-intg-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--tcsp-radius-sm);
  padding: .875rem .5rem;
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  transition: background .2s;
}

.tcsp-aml-intg-chip:hover {
  background: rgba(255,255,255,.14);
}

.tcsp-aml-intg-chip i {
  font-size: 1.5rem;
  color: rgba(255,255,255,.75);
}

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.tcsp-aml-faq .accordion-item {
  border-radius: var(--tcsp-radius) !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  overflow: hidden;
}

.tcsp-aml-faq-btn {
  font-size: .95rem;
  font-weight: 600;
  color: #2d2d3a;
  background: #f9f9ff;
  box-shadow: none !important;
}

.tcsp-aml-faq-btn:not(.collapsed) {
  background: var(--tcsp-primary-soft);
  color: var(--tcsp-primary);
}

.tcsp-aml-faq-body {
  font-size: .9rem;
  color: #5a5f7d;
  line-height: 1.75;
}

/* ── Responsive tweaks ─────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .tcsp-aml-hero {
    padding: 2.5rem 1.25rem;
  }

  .tcsp-aml-hero-visual {
    flex: 0 0 100%;
    flex-direction: row;
    justify-content: center;
  }

  .tcsp-aml-shield-wrap {
    width: 100px;
    height: 100px;
  }

  .tcsp-aml-shield-icon {
    font-size: 3rem;
  }
}

@media (max-width: 575.98px) {
  .tcsp-aml-title {
    font-size: 1.75rem;
  }

  .tcsp-aml-hero-visual {
    display: none;
  }

  .tcsp-aml-workflow-step {
    flex: 1 1 100%;
  }
}
