/* =============================================
   TAHARI SOLUTIONS -  FRONT PAGE STYLES
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  /* Brand Colors */
  --blue-deep: #1e3a8a;
  --blue-primary: #1d4ed8;
  --blue-light: #3b82f6;
  --blue-ghost: #eff6ff;
  --yellow-primary: #facc15;
  --yellow-light: #fde047;
  
  /* Neutral Colors */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Accent Colors */
  --green-success: #10b981;
  --red-danger: #ef4444;
  
  /* Spacing System */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 100px;
  
  /* Typography */
  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  
  /* Shadows */
  --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);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-600);
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section {
  padding: var(--space-2xl) var(--space-sm);
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: var(--space-2xl) var(--space-sm);
  }
}

/* ===== TYPOGRAPHY ===== */
.ts-subtitle {
  color: var(--blue-primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-sm);
}

.ts-main-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.ts-main-title span {
  color: var(--yellow-primary);
  display: inline-block;
}

.ts-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
}

.ts-mini-intro {
  font-size: 14px;
  color: var(--gray-500);
  background: var(--gray-50);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin: 0 auto var(--space-md);
}

.ts-section-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}
/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--yellow-primary);
  color: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -5px rgba(250, 204, 21, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-ghost);
}

.btn-secondary:hover {
  background: var(--blue-ghost);
  border-color: var(--blue-primary);
}

/* ===== HERO SECTION ===== */
.ts-hero-section {
  background: linear-gradient(135deg, #f0f4fb 0%, #ffffff 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.ts-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 75% at 70% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ts-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  position: relative;
  z-index: 2;
  width: 100%;
}

.ts-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-deep);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.ts-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.ts-hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  color: var(--blue-deep);
  margin-bottom: var(--space-md);
  min-height: 150px;
}

.typing-cursor {
  color: var(--yellow-primary);
  animation: blink 1s step-end infinite;
}
#typed-text {
  color: var(--blue-primary); 
	font-style:italic;
}
@keyframes blink {
  50% { opacity: 0; }
}

.ts-hero-p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
  max-width: 550px;
}

.ts-hero-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.ts-hero-stats {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}

.ts-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ts-hero-stat-num {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--blue-deep);
  font-weight: 800;
  line-height: 1;
}

.ts-hero-stat-label {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ts-hero-right {
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top:-3rem;
}

.ts-hero-right svg {
  width: 120%; 
  max-width: 540px; 
  height: auto;
}


/* SVG Animations */
/* Use opacity instead of dash-offset for the flow lines */
/* SVG Animations */
/* Flow lines - using opacity (composited) instead of stroke-dashoffset */
.ts-fl {
  animation: tsFadeFlow 2s ease-in-out infinite;
  will-change: opacity;
}
@keyframes tsFadeFlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}



/* Float animations */
.ts-fa, .ts-fb {
  animation: tsFlt 4s ease-in-out infinite;
  will-change: transform;
}
.ts-fb { animation-delay: 1.2s; }
@keyframes tsFlt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Pulse - using transform scale (composited) */
.ts-p1, .ts-p2 {
  transform-origin: 240px 248px;
  animation: tsPulseComposited 2.4s ease-out infinite;
  will-change: transform, opacity;
}
.ts-p2 { animation-delay: 0.8s; }
@keyframes tsPulseComposited {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(4); opacity: 0; }
}

/* Orb Orbit */
.ts-orb {
  animation: tsOrb 8s linear infinite;
  transform-origin: 240px 248px;
  will-change: transform;
}
@keyframes tsOrb {
  from { transform: rotate(0deg) translate(0, -52px) rotate(0deg); }
  to { transform: rotate(360deg) translate(0, -52px) rotate(-360deg); }
}
/* =============================================
   TRUST BAR SECTION (NEW)
   ============================================= */
.ts-trust-bar {
  background: #1E3A8A;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

/* Subtle glow effect in the background */
.ts-trust-bar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ts-trust-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header with lines */
.ts-trust-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.ts-trust-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.ts-trust-tag {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Grid Layout */
.ts-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.ts-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  padding: 20px;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.ts-trust-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

/* The Icon Wrapper - Using your Yellow */
.ts-trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(250, 204, 21, 0.1); /* Your Yellow with transparency */
  color: #facc15; /* Your Main Yellow */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.1);
}

.ts-trust-data {
  display: flex;
  flex-direction: column;
}

.ts-stat {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
  margin-bottom: 5px;
}

.ts-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .ts-trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .ts-trust-grid { grid-template-columns: 1fr; }
  .ts-trust-line { display: none; }
}

/* ===== PROBLEM-SOLUTION SECTION ===== */
.ts-problem-solution {
  background: #ffffff;
}

.ts-container-wide {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.ts-section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.ts-problem-label {
  background: #fef2f2;
  color: var(--red-danger);
}

.ts-solution-label {
  background: #ecfdf5;
  color: var(--green-success);
}

.ts-problem-title, .ts-solution-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.text-danger {
  color: var(--red-danger);
}

.ts-problem-intro, .ts-solution-intro {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.ts-problem-list, .ts-solution-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.ts-problem-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.ts-problem-item:hover {
  background: #fffafa;
  border-color: #fee2e2;
  transform: translateX(5px);
}

.ts-problem-indicator {
  width: 4px;
  height: 50px;
  background: linear-gradient(180deg, #fee2e2 0%, transparent 100%);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.ts-problem-item h4, .ts-solution-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0 0 6px 0;
}

.ts-problem-item p, .ts-solution-item p {
  font-size: 15px;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.6;
}

.ts-solution-card {
  background: #ffffff;
  padding: var(--space-3xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-100);
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}

.ts-solution-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--green-success) 0%, transparent 50%);
  opacity: 0.1;
  z-index: -1;
}

.ts-solution-item {
  display: flex;
  gap: var(--space-md);
  align-items: start;
}

.ts-solution-icon-wrapper {
  width: 56px;
  height: 56px;
  background: #ecfdf5;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.ts-solution-item:hover .ts-solution-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.ts-cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--blue-primary);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.3);
  margin-top: var(--space-lg);
}

.ts-cta-button:hover {
  background: var(--yellow-primary);
  color: var(--blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(250, 204, 21, 0.4);
}

/* ===== SERVICES SECTION ===== */
.ts-services-section {
  background: var(--gray-50);
}

.ts-section-intro {
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.ts-section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--yellow-primary));
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
}

.ts-services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.ts-service-card {
  background: #ffffff;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.ts-service-card:nth-child(1) { animation-delay: 0.1s; }
.ts-service-card:nth-child(2) { animation-delay: 0.2s; }
.ts-service-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ts-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--yellow-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.ts-service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--yellow-primary);
}

.ts-service-card:hover::before {
  transform: scaleX(1);
}

.card-header-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-ghost);
  color: var(--blue-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.ts-service-card:hover .card-header-icon {
  background: var(--blue-deep);
  color: #ffffff;
  transform: scale(1.1);
}

.card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-deep);
  margin: 0;
}

.card-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
}

.ts-service-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-base);
}

.ts-service-link:hover {
  color: var(--yellow-primary);
  gap: 12px;
}

/* ===== HOW IT WORKS ===== */
.ts-how-it-works {
  background: #ffffff;
}

.ts-container-narrow {
  max-width: 1100px;
  margin: 0 auto;
}

.ts-step-badge {
  color: var(--blue-primary);
  background: var(--blue-ghost);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.ts-steps-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  position: relative;
}

.ts-step-card {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.ts-step-card:hover {
  background: var(--gray-50);
  transform: translateY(-5px);
}

.ts-step-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-md);
}

.ts-step-number {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--blue-primary);
  font-weight: 800;
  background: #ffffff;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gray-200);
  margin-bottom: -36px;
  transition: all var(--transition-base);
  z-index: 2;
}

.ts-step-card:hover .ts-step-number {
  border-color: var(--yellow-primary);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
}

.ts-step-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-deep);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.ts-step-card:hover .ts-step-icon {
  background: var(--yellow-primary);
  color: var(--blue-deep);
}

.ts-step-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: var(--space-sm);
}

.ts-step-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.ts-step-mini-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  align-items: center;
}

.ts-step-mini-list li {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-50);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}

.ts-how-cta {
  margin-top: var(--space-3xl);
  text-align: center;
}

.ts-timeline-badge {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-success);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ts-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--blue-primary);
  color: #ffffff;
  padding: 18px 36px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.ts-primary-btn:hover {
  background: var(--yellow-primary);
  color: var(--blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(250, 204, 21, 0.3);
}

.ts-cta-subtext {
  margin-top: var(--space-md);
  font-size: 14px;
  color: var(--gray-400);
  font-style: italic;
}

/* ===== CASE STUDIES ===== */
.ts-case-studies {
  background: var(--gray-50);
}

.ts-case-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  align-items: stretch;
}

.ts-case-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
}

.ts-case-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--blue-primary);
}

.ts-case-featured {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  border: 1px solid var(--blue-light);
}

.ts-case-badge {
  display: inline-block;
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  border: 1px solid var(--gray-200);
}

.ts-badge-featured {
  background: var(--yellow-primary);
  color: var(--blue-deep);
  border: none;
}

.ts-case-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.ts-case-description {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.ts-case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.ts-case-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ts-metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-primary);
  line-height: 1;
}

.ts-metric-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ts-case-quote {
  margin-top: var(--space-md);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-600);
  padding: var(--space-md);
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  position: relative;
  font-style: italic;
}

.ts-case-quote::before {
  content: '"';
  font-family: serif;
  font-size: 48px;
  color: var(--yellow-primary);
  position: absolute;
  top: -10px;
  left: 10px;
  opacity: 0.5;
}

.ts-case-tags {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.ts-case-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-primary);
  background: var(--blue-ghost);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.ts-case-cta {
  text-align: center;
  margin-top: var(--space-3xl);
}

.ts-case-cta-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: var(--space-md);
}

/* ===== WHY US ===== */
.ts-why-us {
  background: #ffffff;
}

.ts-why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.ts-why-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.ts-why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-primary);
}

.ts-why-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-ghost);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.ts-why-card:hover .ts-why-icon {
  background: var(--yellow-primary);
  transform: rotate(5deg) scale(1.1);
}

.ts-why-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.3;
}

.ts-why-description {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.ts-testimonials {
  background: var(--gray-50);
}

.ts-testimonial-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.ts-testimonial-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all var(--transition-base);
}

.ts-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.ts-testimonial-featured {
  border-color: var(--yellow-primary);
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.ts-testimonial-stars {
  display: flex;
  gap: 4px;
}

.ts-testimonial-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.ts-testimonial-author {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-200);
}

.ts-author-avatar {
  width: 48px;
  height: 48px;
  background: var(--blue-ghost);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ts-author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-deep);
}

.ts-author-role {
  font-size: 13px;
  color: var(--gray-500);
}

.ts-testimonial-cta {
  padding: var(--space-xl);
  text-align: center;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  margin-top: var(--space-lg);
}

.ts-testimonial-cta p {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: var(--space-md);
}

/* ===== FAQ ===== */
.ts-faq-section {
  background: #ffffff;
}

.ts-section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.ts-faq-grid {
  max-width: 850px;
  margin: 0 auto;
}

.ts-faq-item {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.ts-faq-question {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-deep);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-base);
}

.ts-faq-question:hover {
  color: var(--blue-primary);
}

.ts-faq-icon {
  font-size: 24px;
  color: var(--yellow-primary);
  transition: transform var(--transition-base);
  font-weight: 300;
}

.ts-faq-answer {
  max-height: 0;
  padding: 0 var(--space-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  color: var(--gray-600);
  line-height: 1.7;
}

.ts-faq-item.active {
  border-color: var(--yellow-primary);
  box-shadow: var(--shadow-lg);
}

.ts-faq-item.active .ts-faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-lg);
}

.ts-faq-item.active .ts-faq-icon {
  transform: rotate(45deg);
}

.ts-faq-cta {
  text-align: center;
  margin-top: var(--space-3xl);
  padding: var(--space-xl);
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  max-width: 650px;
  margin: var(--space-3xl) auto 0;
}

.ts-faq-cta h3 {
  font-size: 24px;
  color: var(--blue-deep);
  margin-bottom: var(--space-sm);
}

.ts-faq-cta p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

/* ===== FINAL CTA ===== */
.ts-final-cta-section {
  background: #ffffff;
  padding: var(--space-4xl) var(--space-md);
}

.ts-final-card {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-primary) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(30, 58, 138, 0.3);
}

.ts-bg-circle-1, .ts-bg-circle-2 {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.ts-bg-circle-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  left: -100px;
}

.ts-bg-circle-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -80px;
}

.ts-final-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.ts-final-subtitle {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--yellow-primary);
  margin-bottom: var(--space-md);
}

.ts-final-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  margin-bottom: var(--space-md);
  line-height: 1.1;
  color: #ffffff;
}

.ts-final-title .highlight {
  color: var(--yellow-primary);
}

.ts-final-description {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.ts-final-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.ts-btn-main {
  background: var(--yellow-primary);
  color: var(--blue-deep);
  padding: 18px 36px;
  border-radius: var(--radius-md);
  font-weight: 800;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.3);
}

.ts-btn-main:hover {
  background: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(250, 204, 21, 0.4);
}

.ts-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 18px 36px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.ts-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-3px);
}

.ts-final-trust {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .ts-hero-inner {
    grid-template-columns: 1fr;
    padding: 0 var(--space-md);
  }
  
  .ts-hero-right {
    display: none;
  }
  
  .ts-hero-h1 {
    min-height: 120px;
    font-size: 28px;
  }
  
  .ts-container-wide {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .ts-services-grid,
  .ts-case-grid,
  .ts-why-grid,
  .ts-testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .ts-steps-wrapper {
    grid-template-columns: 1fr;
  }
  
  .ts-final-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .ts-btn-main,
  .ts-btn-outline {
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .ts-hero-inner {
    padding: 0 var(--space-lg);
    gap: var(--space-xl);
  }
  
  .ts-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.ts-service-card,
.ts-case-card,
.ts-why-card,
.ts-testimonial-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ts-service-card.is-visible,
.ts-case-card.is-visible,
.ts-why-card.is-visible,
.ts-testimonial-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}