:root {
  --primary: #8b9467;
  --accent: #ffc107;
  --bg-light: #f5f5dc;
  --dark: #212529;
  --electric-blue: #3498db;
  --cyan: #8bc34a;
  --white: #ffffff;
  --text-muted: #333333;
  --text-light-muted: #666666;
}

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

body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}

.logo-img {
  max-width: 52px;
  height: auto;
}

img:not(.logo-img):not(.logo) {
  max-width: 100%;
  height: auto;
}

.min-vh-80 {
  min-height: 80vh;
}

.bg-dark-custom {
  background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--electric-blue) 100%);
}

.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--electric-blue) 100%);
}

.bg-success-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #16a34a 100%);
}

.bg-info-gradient {
  background: linear-gradient(135deg, var(--cyan) 0%, #0891b2 100%);
}

.bg-warning-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.bg-danger-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.bg-purple-gradient {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.navbar-dark .navbar-brand .site-name {
  color: var(--white);
  font-size: 1.25rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--white);
}

.hero-section {
  position: relative;
  padding: 77px 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark) 0%, #1e293b 50%, #334155 100%);
  pointer-events: none;
}

.hero-background::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  top: -102px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-background::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -101px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

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

.code-window {
  background: #1e293b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 26px 48px -12px rgba(0, 0, 0, 0.25);
}

.code-window-header {
  background: #0f172a;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 9px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #22c55e;
}

.code-title {
  color: #94a3b8;
  font-size: 0.875rem;
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif, monospace;
}

.code-window-body {
  padding: 0;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 12px 29px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
  pointer-events: none;
}

.floating-card.card-1 {
  top: 10%;
  right: -53px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 10%;
  right: -33px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-17px);
  }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 81px;
}

.hero-wave .shape-fill {
  fill: #ffffff;
}

.feature-card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--electric-blue) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.1);
}

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

.feature-icon {
  width: 67px;
  height: 61px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: white;
  font-size: 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 0;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 15px 21px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2rem;
}

.service-item {
  padding: 21px;
  background: white;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.service-item:hover {
  box-shadow: 0 8px 17px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.stat-item {
  padding: 27px;
}

.stat-number {
  background: linear-gradient(135deg, var(--primary) 0%, var(--electric-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonial-card {
  background: white;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 4rem;
  color: var(--bg-light);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-avatar {
  width: 62px;
  height: 63px;
  object-fit: cover;
}

.team-card {
  background: white;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 11px 25px rgba(0, 0, 0, 0.1);
}

.team-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 11px;
}

.team-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.team-image-wrapper:hover .team-overlay {
  opacity: 1;
  pointer-events: auto;
}

.team-image-wrapper:hover .team-image {
  transform: scale(1.05);
}

.pricing-card {
  background: white;
  padding: 39px 31px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.1);
}

.pricing-card-featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card-featured:hover {
  transform: scale(1.08) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 6px 20px;
  border-radius: 21px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-features li {
  padding: 8px 0;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 22px rgba(0, 0, 0, 0.1);
}

.blog-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image-wrapper img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 17px;
  background: var(--primary);
  color: white;
  padding: 6px 17px;
  border-radius: 23px;
  font-size: 0.875rem;
  font-weight: 600;
  pointer-events: none;
}

.blog-content {
  padding: 25px;
}

.case-study-card {
  background: white;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-card {
  background: white;
  padding: 33px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control,
.contact-form .form-select {
  padding: 9px 15px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-item {
  padding: 16px 0;
}

.contact-icon {
  width: 39px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step {
  padding: 24px;
}

.step-number {
  width: 63px;
  height: 62px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--electric-blue) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto;
}

.integration-logo {
  padding: 24px;
  transition: all 0.3s ease;
}

.integration-logo:hover {
  transform: scale(1.1);
}

.accordion-button {
  background: white;
  color: #1e293b;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: var(--bg-light);
  color: var(--primary);
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  border-color: var(--primary);
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.footer {
  position: relative;
}

.footer .social-links a {
  transition: color 0.3s ease;
}

.footer .social-links a:hover {
  color: var(--primary) !important;
}

.page-header {
  padding: 78px 0;
}

.article-header {
  padding: 77px 0;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content h2,
.article-content h3 {
  margin-top: 2rem;
}

.article-content img {
  margin: 2rem 0;
}

.code-block {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif, monospace;
  font-size: 0.875rem;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.article-tags .badge {
  font-weight: 500;
  padding: 8px 19px;
}

.legal-content {
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content h2 {
  margin-top: 2rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
}

.btn {
  font-weight: 600;
  padding: 11px 27px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--electric-blue) 100%);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(99, 102, 241, 0.3);
}

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

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

.text-purple {
  color: #a855f7;
}

.feature-item {
  padding: 26px;
  background: white;
  border-radius: 11px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  box-shadow: 0 8px 19px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 61px 0;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }

  .floating-card {
    display: none;
  }

  .pricing-card-featured {
    transform: scale(1);
  }
}
