:root {
  --primary-color: #032B44;
  --accent-color: #4F8EF7;
  --bg-color: #F7F7F7;
  --text-color: #212121;
  --dark-bg: #0A1929;
  --light-text: #F5F5F5;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

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

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

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

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

section {
  padding: 102px 0;
}

.container {
  max-width: 1200px;
}

.bg-dark-custom {
  background-color: var(--dark-bg) !important;
}

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

.bg-light-custom {
  background-color: var(--bg-color) !important;
}

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

.bg-primary-gradient {
  background: var(--gradient) !important;
}

.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(11px);
  background-color: rgba(15, 23, 42, 0.95) !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  opacity: 0.8;
}

.site-name {
  margin-left: 0.5rem;
}

.nav-link {
  color: var(--light-text) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--white) !important;
}

.dropdown-menu-dark {
  background-color: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.dropdown-item {
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

.hero-section {
  min-height: 85vh;
  padding: 101px 0;
  background: var(--bg-color);
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: var(--gradient);
}

.hero-cta {
  margin-top: 2rem;
}

.sdk-tabs-container {
  background: var(--white);
  padding: 29px;
  border-radius: 10px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.1);
}

.nav-pills .nav-link {
  color: var(--text-color) !important;
  border-radius: 8px;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600;
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: var(--white) !important;
}

.code-example {
  background-color: #1e293b;
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
}

.code-example pre {
  margin: 0;
  color: #e2e8f0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.code-example code {
  color: #e2e8f0;
}

.code-example-large {
  background-color: #1e293b;
  border-radius: 10px;
  padding: 2rem;
  overflow-x: auto;
}

.code-example-large pre {
  margin: 0;
  color: #e2e8f0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif, monospace;
  font-size: 0.9rem;
  line-height: 1.8;
}

.code-block-wrapper {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
}

.feature-card {
  background: var(--white);
  padding: 37px;
  border-radius: 12px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(59, 130, 246, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 62px;
  background: var(--gradient);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card {
  background: var(--white);
  padding: 41px;
  border-radius: 14px;
  box-shadow: 0 4px 17px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 9px 39px rgba(59, 130, 246, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 67px;
  height: 71px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 2rem;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 31px;
  text-align: center;
}

.tech-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 11px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.05);
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 29px rgba(59, 130, 246, 0.15);
}

.pricing-card {
  background: var(--white);
  padding: 39px;
  border-radius: 9px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 41px rgba(59, 130, 246, 0.2);
}

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

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

.featured-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
}

.price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 1rem 0;
}

.price-tag .currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.price-tag .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 0.25rem;
}

.price-tag .period {
  font-size: 1rem;
  color: var(--light-text);
}

.pricing-comparison-table {
  background: var(--white);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 4px 21px rgba(0, 0, 0, 0.08);
}

.pricing-comparison-table thead {
  background: var(--gradient);
  color: var(--white);
}

.pricing-comparison-table th {
  padding: 1.5rem;
  font-weight: 600;
}

.pricing-comparison-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card {
  background: var(--white);
  padding: 43px;
  border-radius: 13px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 43px rgba(59, 130, 246, 0.15);
}

.testimonial-avatar {
  width: 48px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

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

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 38px rgba(59, 130, 246, 0.15);
}

.team-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
}

.stat-item-white {
  padding: 1.5rem;
}

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

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 11px 43px rgba(59, 130, 246, 0.15);
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content {
  padding: 34px;
}

.case-study-card {
  background: var(--white);
  padding: 42px;
  border-radius: 11px;
  box-shadow: 0 4px 21px rgba(0, 0, 0, 0.08);
  margin-bottom: 41px;
}

.case-study-stats {
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: 8px;
}

.contact-info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  color: var(--primary-color);
}

.contact-form-card {
  background: var(--white);
  padding: 43px;
  border-radius: 15px;
  box-shadow: 0 4px 19px rgba(0, 0, 0, 0.08);
}

.integration-steps .step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  width: 43px;
  height: 40px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.service-badge {
  width: 82px;
  height: 81px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.api-endpoint-card {
  background: var(--white);
  padding: 35px;
  border-radius: 11px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.api-endpoint-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 11px 39px rgba(59, 130, 246, 0.15);
}

.endpoint-method {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.endpoint-method.method-get {
  background: #22c55e;
}

.endpoint-method.method-put {
  background: #f59e0b;
}

.endpoint-method.method-delete {
  background: #ef4444;
}

.notification-example {
  background: var(--white);
  padding: 34px;
  border-radius: 10px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
}

.feature-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 21px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.author-avatar {
  width: 63px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.blockquote-custom {
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
  font-style: italic;
  color: var(--text-color);
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 8px;
}

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

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

.value-card {
  background: var(--white);
  padding: 33px;
  border-radius: 11px;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.footer {
  background-color: var(--dark-bg);
}

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

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

.btn {
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

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

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

.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  background-color: var(--white);
  color: var(--text-color);
}

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

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.1);
}

@media (max-width: 991px) {
  section {
    padding: 62px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 62px 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .sdk-tabs-container {
    padding: 23px;
  }

  .code-example,
  .code-example-large {
    padding: 1rem;
  }

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

@media (max-width: 767px) {
  .tech-stack-grid {
    grid-template-columns: repeat(auto-fit, minmax(102px, 1fr));
    gap: 23px;
  }
}
