:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --primary-50: #EFF6FF;
  --primary-100: #DBEAFE;
  --dark: #0F172A;
  --dark-80: rgba(15, 23, 42, 0.8);
  --dark-60: rgba(15, 23, 42, 0.6);
  --success: #10B981;
  --success-light: #D1FAE5;
  --text: #1E293B;
  --text-light: #64748B;
  --bg: #FFFFFF;
  --section-bg: #F8FAFC;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.2s ease;
  --container: 1280px;
  --container-narrow: 1040px;
  --header-height: 80px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
}

input, textarea, select {
  font-family: var(--font);
  font-size: inherit;
}

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

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--text-light);
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-gray {
  background: var(--section-bg);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header p {
  font-size: 1.125rem;
  margin-top: 16px;
}

.section-header-left {
  text-align: left;
  margin-left: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--primary-50);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: #1e293b;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card-icon.blue {
  background: var(--primary-50);
  color: var(--primary);
}

.card-icon.green {
  background: var(--success-light);
  color: var(--success);
}

.card-icon.dark {
  background: rgba(15, 23, 42, 0.08);
  color: var(--dark);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
  margin-top: 16px;
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.card-link:hover svg {
  transform: translateX(4px);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-light);
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
}

.stat-card .stat-number {
  color: var(--primary);
}

.section-dark .stat-card .stat-number {
  color: var(--white);
}

.section-dark .stat-card .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.badge-primary {
  background: var(--primary-50);
  color: var(--primary);
}

.badge-success {
  background: var(--success-light);
  color: var(--success);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--section-bg);
  color: var(--text-light);
  border: 1px solid var(--border);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.rating-stars {
  display: inline-flex;
  gap: 2px;
  color: #F59E0B;
}

.rating-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-layout.reverse {
  direction: rtl;
}

.two-col-layout.reverse > * {
  direction: ltr;
}

.content-block h2 {
  margin-bottom: 20px;
}

.content-block p {
  margin-bottom: 16px;
  font-size: 1.0625rem;
}

.content-block .btn {
  margin-top: 8px;
}

.image-block {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--section-bg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.125rem;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--section-bg) 100%);
  padding: 40px;
  text-align: center;
}

.image-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 16px;
  opacity: 0.6;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-light);
  flex-wrap: wrap;
  padding: 16px 0;
}

.breadcrumbs a {
  color: var(--text-light);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs .separator {
  color: var(--border);
}

.breadcrumbs .current {
  color: var(--text);
  font-weight: 500;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-contact-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.floating-contact-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.floating-contact-btn svg {
  width: 24px;
  height: 24px;
}

.floating-contact-text {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  z-index: 998;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-cta.show {
  display: flex;
}

.sticky-cta p {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
}

@media (max-width: 640px) {
  .sticky-cta p {
    display: none;
  }
}

@media (max-width: 968px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .two-col-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col-layout.reverse {
    direction: ltr;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .card {
    padding: 24px;
  }
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

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

.case-study-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-50), var(--section-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
}

.case-study-body {
  padding: 24px;
}

.case-study-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.case-study-body h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.case-study-body p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-study-results {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.case-study-result {
  text-align: center;
}

.case-study-result-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--success);
}

.case-study-result-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.faq-section {
  background: var(--section-bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  background: none;
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-question.open svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 968px) {
  .case-studies-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-section .btn-light {
  position: relative;
}

.cta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  position: relative;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
}

.cta-badge svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
  .cta-badges {
    flex-direction: column;
    gap: 12px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
