.technologies {
  background: linear-gradient(180deg, #f8f9fb 0%, var(--color-light) 100%);
  padding: 100px 0;
}

.technologies-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.technologies-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.technologies-header h2 {
  font-weight: 600;
  font-size: 56px;
  line-height: 64px;
  color: var(--color-dark);
}

.technologies-lead {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-primary);
}

.technologies-lead::before {
  content: '';
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.technologies-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

.technologies-intro-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: var(--color-white);
  border-radius: var(--radius-mlg);
  border: 1px solid rgba(33, 33, 33, 0.06);
  box-shadow: 0 12px 40px rgba(33, 33, 33, 0.06);
}

.technologies-intro-card > p {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-secondary);
}

.technologies-stack-label {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.technologies-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 123, 255, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.15);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-primary);
}

.technologies-info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.technologies-info-card {
  position: relative;
  overflow: hidden;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  box-shadow: 0 8px 32px rgba(33, 33, 33, 0.06);
}

.technologies-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.technologies-info-card::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
}

.technologies-info-card h3,
.technologies-info-card p,
.technologies-info-card a {
  position: relative;
  z-index: 1;
}

.technologies-info-card h3 {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
}

.technologies-info-card p {
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
}

.technologies-info-card--owner {
  background: linear-gradient(135deg, #eef4ff 0%, #f5f0ff 48%, #ffffff 100%);
  border-color: rgba(0, 123, 255, 0.12);
}

.technologies-info-card--owner::before {
  background: linear-gradient(160deg, rgba(0, 123, 255, 0.08) 0%, transparent 55%);
}

.technologies-info-card--owner::after {
  top: -60px;
  right: -40px;
  background: #7c9eff;
}

.technologies-info-card--owner h3 {
  color: #1a4fd6;
}

.technologies-info-card--owner p {
  color: #4a5568;
}

.technologies-info-card--registry {
  background: linear-gradient(135deg, #e8faf5 0%, #e8f4ff 50%, #ffffff 100%);
  border-color: rgba(16, 185, 129, 0.15);
}

.technologies-info-card--registry::before {
  background: linear-gradient(200deg, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
}

.technologies-info-card--registry::after {
  bottom: -70px;
  left: -30px;
  background: #34d399;
}

.technologies-info-card--registry h3 {
  color: #0d7a5f;
}

.technologies-info-card--registry p {
  color: #4a5568;
}

.technologies-info-card--pricing {
  padding: 28px 32px;
  background: linear-gradient(125deg, #007bff 0%, #0056d6 38%, #ff8c00 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 20px 50px rgba(0, 86, 214, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.technologies-info-card--pricing::before {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 168, 0, 0.35) 0%, transparent 50%);
}

.technologies-info-card--pricing::after {
  top: -50px;
  right: 20%;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0.7;
}

.technologies-info-card--pricing h3 {
  color: var(--color-white);
}

.technologies-info-card--pricing p {
  color: rgba(255, 255, 255, 0.92);
}

.technologies-info-card a {
  color: var(--color-white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.technologies-info-card a:hover {
  text-decoration-color: var(--color-white);
}

@media (max-width: 1024px) {
  .technologies-header h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .technologies-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .technologies {
    padding: 64px 0;
  }

  .technologies-content {
    gap: 32px;
  }

  .technologies-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .technologies-header h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .technologies-lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 24px;
  }

  .technologies-intro-card {
    padding: 24px;
  }

  .technologies-intro-card > p,
  .technologies-info-card p {
    font-size: 14px;
    line-height: 22px;
  }

  .technologies-info-card {
    padding: 20px;
  }

  .technologies-info-card h3 {
    font-size: 16px;
    line-height: 24px;
  }

  .tech-badge {
    font-size: 12px;
    padding: 8px 12px;
  }
}
