/**
 * TrustClarity Design System
 * Bootstrap 5.3 + TrustClarity Brand — "Revenue Operating System" Redesign
 */

:root {
  /* Typography */
  --font-body: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Geist', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'Courier New', monospace;

  /* Colors — Dark Navy / Cyan Palette */
  --primary: #1a2d57;           /* Dark Navy */
  --primary-hover: #143961;     /* Deep Blue */
  --primary-light: rgba(10, 172, 228, 0.08);
  --background: #ffffff;
  --foreground: #1a2d57;
  --card: #FFFFFF;
  --secondary: #b1d3e4;         /* Light Sky Blue */
  --muted: #5a7a8a;
  --border: #d4e6f0;
  --destructive: #EF4444;
  --success: #10B981;
  --warning: #F59E0B;
  --ring: #0aace4;              /* Bright Cyan */
  --radius: 0.375rem;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* New Brand Tokens */
  --accent: #0aace4;            /* Bright Cyan — decorative only */
  --accent-text: #0078a8;       /* Darker cyan for text (WCAG AA 4.5:1 on white) */
  --accent-hover: #0898cc;
  --accent-light: rgba(10, 172, 228, 0.08);
  --cta-blue: #0069d9;          /* CTA buttons only */
  --cta-blue-hover: #0056b3;
  --navy-deep: #143961;
  --royal-blue: #3458a7;
  --primary-color: #1a2d57;     /* Override customStyle.css */
}

/* Typography Scale */
h1, .h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

h2, .h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

h3, .h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin-bottom: 1rem;
}

h4, .h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

h5, .h5 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

h6, .h6 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--background);
}

html {
  scroll-behavior: smooth;
}

p, .p-body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--foreground);
  margin-bottom: 1rem;
}

small, .text-small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

/* Button System */
.btn {
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 12px 24px;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-xs {
  padding: 4px 12px;
  font-size: 12px;
}

/* Nav CTA button (req-demo) - used in header across pages */
.req-demo {
  border-radius: 5px;
  background: var(--cta-blue);
  color: #fff;
  padding: 13px 20px;
}

.req-demo:hover {
  color: #fff;
  background: var(--cta-blue-hover);
}

/* Primary Button */
.btn-primary {
  background-color: var(--cta-blue);
  color: white;
  border: 1px solid var(--cta-blue);
  box-shadow: 0 4px 12px rgba(0, 105, 217, 0.3);
}

.btn-primary:hover {
  background-color: var(--cta-blue-hover);
  border-color: var(--cta-blue-hover);
  box-shadow: 0 8px 24px rgba(0, 105, 217, 0.4);
  transform: translateY(-2px);
  color: white;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 105, 217, 0.2);
}

.btn-primary:disabled {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
}

/* Outline Primary Button */
.btn-outline-primary {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(10, 172, 228, 0.15);
  transform: translateY(-2px);
}

.btn-outline-primary:active {
  background-color: rgba(10, 172, 228, 0.1);
  transform: translateY(0);
}

.btn-outline-primary:disabled {
  background-color: transparent;
  border-color: var(--secondary);
  color: var(--muted);
  cursor: not-allowed;
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--secondary);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: #9ec5db;
  border-color: var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.btn-secondary:active {
  background-color: #8ab5cf;
  transform: translateY(0);
}

/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-ghost:hover {
  background-color: var(--background);
  border-color: var(--accent);
  color: var(--accent-text);
  box-shadow: var(--shadow-sm);
}

/* Form System */
.form-group {
  margin-bottom: 24px;
}

label,
.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 8px;
}

.form-control,
.form-select {
  height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--foreground);
  background-color: white;
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: var(--muted);
}

.form-control:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(10, 172, 228, 0.1);
  outline: none;
}

.form-control:disabled {
  background-color: var(--secondary);
  color: var(--muted);
  cursor: not-allowed;
}

.form-check-input {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.form-check-input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(10, 172, 228, 0.1);
}

.invalid-feedback {
  display: block;
  color: var(--destructive);
  font-size: 14px;
  margin-top: 4px;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--destructive);
}

/* Card System */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card.tc-card-no-lift:hover {
  box-shadow: var(--shadow-sm);
  transform: none;
}

.card-header {
  padding: 0 0 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
}

.card-body {
  padding: 0;
}

.card-footer {
  padding: 16px 0 0 0;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  background-color: var(--primary-light);
  color: var(--accent-text);
  text-decoration: none;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--accent-text);
}

.badge-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.badge-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.badge-destructive {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--destructive);
}

/* Alert System */
.alert {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.alert-primary {
  background-color: var(--primary-light);
  border-color: rgba(10, 172, 228, 0.3);
  color: var(--accent-text);
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--success);
}

.alert-warning {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--warning);
}

.alert-destructive {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--destructive);
}

/* Link System */
a {
  color: var(--accent-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Text Utilities */
.text-primary {
  color: var(--primary) !important;
}

.text-accent {
  color: var(--accent-text) !important;
}

.text-muted {
  color: var(--muted) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.text-destructive {
  color: var(--destructive) !important;
}

.fw-bold {
  font-weight: 600;
}

.fw-semibold {
  font-weight: 500;
}

.fw-normal {
  font-weight: 400;
}

.fw-light {
  font-weight: 300;
}

/* ─── Section Padding (py-20 lg:py-32 pattern) ─── */
.pad-common {
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .pad-common {
    padding: 128px 0;
  }
}

/* Consistent minimum horizontal padding across all breakpoints (fixes tablet gap where Bootstrap default was ~12px) */
.container {
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 1280px) {
  .container {
    max-width: 1440px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Slightly reduced padding on small phones for more content space; still a consistent minimum */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1, .h1 {
    font-size: 36px;
  }

  h2, .h2 {
    font-size: 28px;
  }

  h3, .h3 {
    font-size: 20px;
  }

  body {
    font-size: 14px;
  }
}

/* Ensure custom form classes still work */
.fontAwesome {
  font-family: var(--font-body), 'FontAwesome';
}

/* ─── Data / Metric Display Utilities ─── */
.tc-data-value {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .tc-data-value {
    font-size: 72px;
  }
}

.tc-data-label {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0;
  display: block;
}

/* ─── Impact / Stats Section (dark navy with visible gradient) ─── */
.tc-impact-section {
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.tc-impact-section h2,
.tc-impact-section h3,
.tc-impact-section h4,
.tc-impact-section p {
  color: white;
}

.tc-impact-section h2 {
  font-size: 36px;
  line-height: 1.25;
}

@media (min-width: 1024px) {
  .tc-impact-section h2 {
    font-size: 60px;
  }
}

.tc-impact-section .long-offer-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.tc-impact-section .long-offer-group > li {
  flex: 1 1 45%;
  min-width: 280px;
}

/* ─── Glassmorphism Stat Card (for dark backgrounds) ─── */
.tc-stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 40px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tc-stat-card .tc-stat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tc-stat-card .tc-stat-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 8px;
  background: rgba(10, 172, 228, 0.15);
}

.tc-stat-card .tc-stat-icon svg {
  width: 24px;
  height: 24px;
}

.tc-stat-card .tc-stat-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 172, 228, 0.7);
}

.tc-impact-header.tc-section-header {
  margin-bottom: 64px;
}

.tc-impact-header.tc-section-header > * + * {
  margin-top: 32px;
}

.tc-impact-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 896px;
}

.tc-impact-cta {
  margin-top: 48px;
  text-align: center;
}

.tc-stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(10, 172, 228, 0.4);
}

/* ─── Value Proposition Cards ─── */
.tc-value-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tc-value-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  margin-bottom: 0;
}

.tc-value-card h3 {
  font-size: 30px;
  font-weight: 700;
}

.tc-value-card p {
  font-size: 18px;
  line-height: 1.625;
}

.tc-value-card > .btn-hero-outline {
  margin-top: auto;
}

.business-value {
  background: linear-gradient(135deg, rgba(177, 211, 228, 0.3) 0%, #fff 50%, rgba(177, 211, 228, 0.3) 100%);
  position: relative;
  overflow: hidden;
}

.business-value .value-wrapper {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.business-value h2 {
  margin-bottom: 64px;
}

/* ─── Free Guide / Lead Magnet CTA ─── */
#free_guide {
  background:
    linear-gradient(to bottom right, rgba(10, 172, 228, 0.06), #fff, rgba(26, 45, 87, 0.05)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath d='M0 30 Q 30 10 60 30 T 120 30' fill='none' stroke='%230aace4' stroke-width='1' stroke-opacity='0.15'/%3E%3Cpath d='M0 40 Q 30 20 60 40 T 120 40' fill='none' stroke='%230aace4' stroke-width='0.8' stroke-opacity='0.12'/%3E%3Cpath d='M0 20 Q 30 40 60 20 T 120 20' fill='none' stroke='%230aace4' stroke-width='0.8' stroke-opacity='0.12'/%3E%3Ccircle cx='20' cy='15' r='3' fill='%230aace4' fill-opacity='0.08'/%3E%3Ccircle cx='80' cy='45' r='4' fill='%230aace4' fill-opacity='0.06'/%3E%3Ccircle cx='100' cy='20' r='2' fill='%230aace4' fill-opacity='0.1'/%3E%3C/svg%3E");
  background-size: 100% 100%, 240px 120px;
  background-position: 0 0, 0 0;
  background-repeat: no-repeat, repeat;
}

.tc-lead-magnet-card {
  max-width: 100%;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(26, 45, 87, 0.07);
}

@media (min-width: 1024px) {
  .tc-lead-magnet-card {
    max-width: 896px;
    margin: 0 auto;
    padding: 80px;
  }
}

.tc-lead-magnet-card .tc-badge-live {
  justify-content: center;
}

.tc-lead-magnet-card h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .tc-lead-magnet-card h2 {
    font-size: 60px;
  }
}

.tc-lead-magnet-card > * + * {
  margin-top: 32px;
}

.tc-lead-magnet-card p {
  font-size: 20px;
  color: var(--muted);
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
}

.tc-lead-magnet-cta {
  background: var(--accent);
  color: white;
  padding: 24px 32px;
  font-size: 18px;
}

.tc-lead-magnet-cta:hover {
  background: rgba(10, 172, 228, 0.9);
  color: white;
}

/* ─── Footer (light gradient per reference) ─── */
footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom right, rgba(177, 211, 228, 0.5), #ffffff);
  padding: 64px 0;
}

.tc-footer-grid {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  padding-bottom: 48px;
}

.tc-footer-col h6 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 16px;
}

.tc-footer-col ul {
  margin: 0;
}

.tc-footer-col ul li {
  margin-bottom: 12px;
}

.tc-footer-col a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.tc-footer-col a:hover {
  color: var(--accent-text);
}

.tc-footer-desc {
  font-size: 14px;
  line-height: 1.625;
  color: var(--muted);
  max-width: 280px;
}

.tc-footer-bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.tc-footer-bottom p,
.tc-footer-bottom a {
  font-size: 14px;
  color: var(--muted);
}

.tc-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tc-footer-social {
  display: flex;
  gap: 12px;
}

.tc-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(10, 172, 228, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
  transition: all 0.2s;
}

.tc-footer-social a:hover {
  background: rgba(10, 172, 228, 0.15);
  color: var(--accent);
}

.tc-footer-logo img {
  filter: none;
  opacity: 1;
}

.tc-modal-logo {
  height: 40px;
}

/* ─── Hero video modal: edge-to-edge video with floating close button ─── */
#heroVideoModal .modal-content {
  position: relative;
  overflow: hidden;
}

#heroVideoModal .hero-video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  /* Keep Bootstrap btn-close sizing/icon; just ensure it stays visible on bright frames. */
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0.95;
  --bs-btn-close-color: #ffffff;
}

#heroVideoModal .hero-video-modal-close:hover {
  opacity: 1;
}

#heroVideoModal .hero-video-modal-close:focus-visible {
  outline: 2px solid #0aace4;
  outline-offset: 2px;
}

#heroVideoModal .modal-body {
  padding: 0;
  line-height: 0;
  background: #0b2a56;
}

#heroVideoModal .hero-video-modal-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #0b2a56;
}

#heroVideoModal #heroVideoModalPlayer {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: contain;
  object-position: center;
}

.tc-value-card--seller .tc-value-avatar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--royal-blue) 100%);
}

.tc-value-card--buyer .tc-value-avatar {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

/* ─── Section Header (text-center space-y-6 mb-16) ─── */
.tc-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.tc-section-header > * + * {
  margin-top: 24px;
}

.tc-section-header h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

@media (min-width: 1024px) {
  .tc-section-header h2 {
    font-size: 60px;
  }
}

.tc-section-header p {
  font-size: 20px;
  color: var(--muted);
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
}

/* ─── Section Subtitle ─── */
.tc-section-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.625;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Restore section styling when inside ticker label (e.g. pricing brands copy) */
.tc-ticker-label .tc-section-header p {
  font-size: 20px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.625;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* ─── Process Section Badge (distinct light blue solid per reference) ─── */
.our-process-section .tc-badge-live {
  background: rgba(10, 172, 228, 0.25);
  border-color: rgba(10, 172, 228, 0.5);
  color: var(--accent-text);
}

/* ─── Process Step Cards (pricing-style: bordered, bg icon, number + title inline) ─── */
.tc-step-card {
  border: 2px solid rgba(10, 172, 228, 0.2);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 20px 40px rgba(10, 172, 228, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tc-step-card:hover {
  border-color: rgba(10, 172, 228, 0.4);
  box-shadow: 0 14px 32px rgba(10, 172, 228, 0.2);
}

.tc-step-card h3,
.tc-step-card .h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
}

.tc-step-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Background number (large, faint, no rotation) */
.tc-step-card-bg-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono, var(--font-heading));
  font-size: 12rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.tc-step-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Icon + title on one line (icon in front) */
.tc-step-number-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.tc-step-card .tc-step-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(10, 172, 228, 0.1) 100%);
  border: 1px solid rgba(10, 172, 228, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
}

.tc-step-card .tc-step-icon svg {
  width: 20px;
  height: 20px;
}

.tc-step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
}

/* Step number pill (reseller / priceit step cards; index process uses .tc-step-card-bg-number) */
.tc-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
}

/* ─── Feature Icon Wrap (for circular economy cards) ─── */
.tc-feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(10, 172, 228, 0.1) 100%);
  border: 1px solid rgba(10, 172, 228, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-text);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tc-feature-icon-wrap svg {
  width: 28px;
  height: 28px;
}

/* Circular economy cards */
.cir-eco-item {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  height: 100%;
  background: rgba(10, 172, 228, 0.025);
}

.cir-eco-item .cir-eco-content h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 0;
}

.cir-eco-header-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: nowrap;
  width: 100%;
}

.cir-eco-header-row .tc-feature-icon-wrap {
  margin-bottom: 0; /* override default icon margin for inline layout */
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.cir-eco-header-row .card-title {
  margin-bottom: 0;
  line-height: 1.2;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
}

.cir-eco-header-row .tc-feature-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.circular-eco-sec .cir-eco-header-row {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 576px) {
  .cir-eco-header-row {
    gap: 10px;
  }
}

.circular-eco-sec .row {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
}

.circular-eco-sec .tc-circular-cta {
  text-align: center;
  margin-top: 64px;
}

.circular-eco-sec {
  background: #ffffff;
  background-image: none;
}

.circular-eco-sec.pad-common {
  padding-bottom: 64px;
}

#inventory-evaluation.pad-common {
  padding-top: 72px;
  padding-bottom: 56px;
}

.business-value.pad-common {
  padding-top: 56px;
}

@media (min-width: 1024px) {
  .circular-eco-sec.pad-common {
    padding-bottom: 96px;
  }

  #inventory-evaluation.pad-common {
    padding-top: 104px;
    padding-bottom: 80px;
  }

  .business-value.pad-common {
    padding-top: 80px;
  }
}

.circular-eco-sec h2 {
  color: var(--foreground);
}

.circular-eco-sec .card-title,
.circular-eco-sec .cir-eco-content h4,
#inventory-evaluation h2 {
  color: var(--foreground);
}

.circular-eco-sec .cir-eco-content,
.circular-eco-sec .cir-eco-content p {
  color: var(--muted);
}

.circular-eco-sec {
  position: relative;
  z-index: 0;
}

#inventory-evaluation {
  position: relative;
  background:
    linear-gradient(to bottom, rgba(10, 172, 228, 0.08) 0%, rgba(10, 172, 228, 0.03) 80px, #ffffff 200px);
  border-top: 1px solid rgba(10, 172, 228, 0.22);
}

#inventory-evaluation::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -44px;
  height: 44px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 172, 228, 0.12), rgba(10, 172, 228, 0));
}

.tc-card-lift:hover .tc-feature-icon-wrap {
  background: linear-gradient(135deg, rgba(10, 172, 228, 0.15) 0%, rgba(10, 172, 228, 0.2) 100%);
  border-color: rgba(10, 172, 228, 0.3);
}

/* ─── Connector Line (process section desktop, centered on step number row) ─── */
.tc-process-connector {
  display: none;
  position: absolute;
  top: 91px;
  left: calc(4px);
  right: calc(16.666% + 24px);
  height: 4px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
  z-index: 0;
}

@media (min-width: 768px) {
  .tc-process-connector {
    display: block;
  }
}

/* Process section grid gap */
.our-process-section .step-order-list {
  position: relative;
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

@media (min-width: 1024px) {
  .our-process-section .step-order-list {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 3rem;
  }
}

/* Process section grid — 2 equal cols × 6 rows: steps left (col 1, 2 rows each), animation right (col 2, full height) */
.tc-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 16px;
  min-height: 352px;
}

/* Our Process tabs on the left: white background */
.tc-process-grid .tc-step-card,
.tc-process-grid .tc-step-card--active {
  background: #fff;
}

/* Mobile: animation first, then steps stacked */
.tc-process-grid-item-0 { order: 2; }
.tc-process-grid-item-1 { order: 3; }
.tc-process-grid-item-2 { order: 4; }
.tc-process-grid-item-3 { order: 1; }

@media (min-width: 1024px) {
  .tc-process-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, 1fr);
    gap: 8px;
    min-height: 500px;
  }

  .tc-process-grid-item-0 {
    grid-column: 1;
    grid-row: 1 / span 2;
    order: unset;
  }

  .tc-process-grid-item-1 {
    grid-column: 1;
    grid-row: 3 / span 2;
    order: unset;
  }

  .tc-process-grid-item-2 {
    grid-column: 1;
    grid-row: 5 / span 2;
    order: unset;
  }

  .tc-process-grid-item-3 {
    grid-column: 2;
    grid-row: 1 / span 6;
    order: unset;
  }

  .tc-process-grid .tc-step-card {
    align-items: flex-start;
    padding: 1.25rem 1.75rem;
  }
}

.tc-step-card-btn {
  width: 100%;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  /* Border inherited from .tc-step-card (2px solid var(--border)) */
}

.tc-step-card-btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.tc-step-card--active {
  border-color: rgba(10, 172, 228, 0.4);
  background: var(--card);
  box-shadow: 0 4px 12px rgba(26, 45, 87, 0.06), 0 14px 32px rgba(10, 172, 228, 0.12);
}

.tc-step-card--active .tc-step-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  border-color: rgba(10, 172, 228, 0.4);
  color: #fff;
}

.tc-process-anim-panel {
  height: 100%;
  min-height: 352px;
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: var(--card);
  overflow: hidden;
}

/* Process animation: fills column, card-like outline (matches cir-eco-item) */
.tc-process-anim-panel .ha-panel-wrap {
  width: 100%;
  max-width: 100%;
  flex: 1;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  background: transparent;
  min-height: 352px;
}

.tc-process-anim-panel .ha-panels {
  min-height: 312px;
}

.tc-process-anim-panel .process-video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

@media (max-width: 1023.98px) {
  /* Hide video panel on mobile — cards are self-sufficient */
  .tc-process-grid-item-3 {
    display: none;
  }

  /* Natural top-to-bottom ordering without video panel */
  .tc-process-grid-item-0 { order: 1; }
  .tc-process-grid-item-1 { order: 2; }
  .tc-process-grid-item-2 { order: 3; }

  /* Give cards comfortable height and white background */
  .tc-process-grid .tc-step-card {
    min-height: 140px;
    padding: 1.25rem 1.5rem;
    background: #fff;
  }

  .tc-process-anim-panel {
    margin-bottom: 0;
  }
}

.tc-price-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  padding: 2rem;
  transition: border-color 0.7s ease;
}

.tc-price-circle:hover {
  border-color: rgba(10, 172, 228, 0.3);
}

.tc-comparison-accent {
  border-color: rgba(10, 172, 228, 0.2) !important;
  background: linear-gradient(to bottom right, rgba(10, 172, 228, 0.05), transparent);
  box-shadow: 0 20px 40px rgba(10, 172, 228, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-comparison-accent:hover {
  border-color: rgba(10, 172, 228, 0.4) !important;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 32px rgba(10, 172, 228, 0.2);
}

/* ─── Schedule Demo: Experience the Impact CTA ─── */
.demo-impact-section {
  background:
    radial-gradient(circle at top left, rgba(10, 172, 228, 0.09), transparent 55%),
    radial-gradient(circle at bottom right, rgba(26, 45, 87, 0.06), transparent 55%),
    #ffffff;
}

.demo-impact-section .row {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

.tc-impact-copy {
  max-width: 540px;
}

.tc-impact-copy > * + * {
  margin-top: 16px;
}

.tc-impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 172, 228, 0.08);
  color: var(--accent-text);
  border: 1px solid rgba(10, 172, 228, 0.25);
}

.tc-impact-badge .tc-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  animation: tc-blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

.tc-impact-copy h2 {
  font-size: 32px;
  line-height: 1.25;
}

@media (min-width: 1024px) {
  .tc-impact-copy h2 {
    font-size: 44px;
  }
}

.tc-impact-copy p {
  font-size: 18px;
  color: var(--muted);
}

.tc-impact-list {
  margin: 0;
  padding: 0;
}

.tc-impact-list li {
  font-size: 15px;
  line-height: 1.6;
}

.tc-impact-icon {
  width: 30px;
  height: 30px;
  background: rgba(10, 172, 228, 0.08);
  color: #0aace4;
  font-size: 14px;
}

.demo-impact-media {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #f8fafc;
  box-shadow: 0 16px 40px rgba(26, 45, 87, 0.12);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.demo-impact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .demo-impact-section {
    text-align: center;
  }

  .tc-impact-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .tc-impact-copy .btn {
    width: 100%;
  }

  .tc-impact-list li {
    text-align: left;
  }
}

/* Login / register popup (form-tabs): match site button radius (see .btn — var(--radius)) */
.popup-wrap-new.form-tabs .form-group.listar-inputwithicon {
  border-radius: var(--radius);
}

.popup-wrap-new.form-tabs .login-btn,
.popup-wrap-new.form-tabs .submit-btn2 {
  border-radius: var(--radius);
}
