﻿.database-page {
  width: 1920px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
}

.database-container {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.database-section {
  padding: 70px 0;
}

.database-section__title {
  margin: 0 0 46px;
  color: #1d2129;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.database-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 40px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 20px;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.database-button:hover {
  transform: translateY(-2px);
}

.database-button--primary {
  background: #1664ff;
  color: #fff;
}

.database-button--primary:hover {
  background: #0c4fd8;
  color: #fff;
}

.database-button--outline {
  border-color: rgba(255, 255, 255, .82);
  color: #fff;
}

.database-button--outline:hover {
  border-color: #fff;
  background: #fff;
  color: #1664ff;
}

.database-hero {
  height: 500px;
  background: #eef5ff url("banner0-bg.jpg") center / cover no-repeat;
}

.database-hero__inner {
  display: flex;
  align-items: center;
  height: 500px;
}

.database-hero__copy {
  width: 600px;
}

.database-hero h1 {
  margin: 0 0 22px;
  color: #1d2129;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
}

.database-hero p {
  margin: 0 0 32px;
  color: #1d2129;
  font-size: 18px;
  line-height: 32px;
}

.database-features {
  background: #fff;
}

.database-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 8px 0 12px;
}

.database-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 130px;
  padding: 28px 30px;
  overflow: visible;
  border: 1px solid #edf1f7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 61, 133, .1);
  transition: transform .25s ease, box-shadow .25s ease;
}

.database-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 61, 133, .16);
}

.database-feature-card img {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  aspect-ratio: 1 / 1;
  margin-right: 0;
  margin-bottom: 0;
  object-fit: contain;
}

.database-feature-card h3 {
  margin: 0;
  color: #1d2129;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
}

.database-advantages {
  background: #f5f8ff;
}

.database-advantages__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 8px 0 12px;
}

.database-advantage-card {
  grid-column: span 3;
  min-height: 232px;
  padding: 30px 26px;
  overflow: visible;
  border: 1px solid #eaf0fb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 61, 133, .1);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.database-advantage-card:nth-child(n + 5) {
  grid-column: span 4;
  min-height: 292px;
}

.database-advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 61, 133, .16);
}

.database-advantage-card img {
  width: 112px;
  height: 112px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  object-fit: contain;
}

.database-advantage-card h3 {
  margin: 0 0 12px;
  color: #1d2129;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

.database-advantage-card p {
  margin: 0;
  color: #717883;
  font-size: 14px;
  line-height: 25px;
  text-align: left;
}

.database-purchase {
  background: #fff;
}

.database-purchase__panel {
  position: relative;
  padding: 38px 42px 88px;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: #fbfcfe;
  box-shadow: 0 16px 46px rgba(30, 78, 145, .09);
}

.database-option-group {
  display: grid;
  grid-template-columns: 92px 1fr;
  margin: 0;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid #edf1f6;
}

.database-option-group:last-of-type {
  border-bottom: 0;
}

.database-option-group legend {
  float: left;
  width: 92px;
  padding: 5px 18px 0 0;
  color: #1d2129;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 0;
}

.database-option-group__content {
  grid-column: 2;
  min-width: 0;
}

.database-region-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.database-region-row>span {
  flex: 0 0 72px;
  padding: 8px 8px;
  color: #4e5969;
  font-size: 14px;
  text-align: center;
  background: #f2f4f7;
}

.database-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.database-options button {
  min-width: 64px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #e5eaf3;
  border-radius: 2px;
  background: #fff;
  color: #4e5969;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
}

.database-options button:hover,
.database-options button.is-active {
  border-color: #1664ff;
  background: #f3f7ff;
  color: #1664ff;
}

.database-option-group__note {
  margin: 16px 0 0;
  color: #4e5969;
  font-size: 14px;
}

.database-disk-control {
  display: inline-flex;
  align-items: center;
  height: 38px;
  overflow: hidden;
  border: 1px solid #e5eaf3;
  border-radius: 3px;
  background: #fff;
}

.database-disk-control button {
  width: 38px;
  height: 38px;
  border: 0;
  background: #f5f7fa;
  color: #1664ff;
  font-size: 20px;
  cursor: pointer;
}

.database-disk-control input {
  width: 88px;
  height: 36px;
  border: 0;
  outline: 0;
  color: #1d2129;
  text-align: center;
}

.database-disk-control input::-webkit-inner-spin-button {
  appearance: none;
}

.database-disk-control span {
  padding-right: 12px;
  color: #717883;
  font-size: 14px;
}

.database-purchase__submit {
  position: absolute;
  left: 42px;
  bottom: 30px;
}

.database-one-to-one {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: #f4f6fc;
}

.database-one-to-one img {
  display: block;
  width: 100%;
  height: auto;
}

.database-service {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #4a66ff 0%, #0868f8 48%, #00a5ee 100%);
  color: #fff;
}

.database-service::before,
.database-service::after {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  content: "";
}

.database-service::before {
  top: -270px;
  left: -80px;
}

.database-service::after {
  right: -120px;
  bottom: -310px;
}

.database-service__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.database-service .database-section__title {
  margin-bottom: 20px;
  color: #fff;
}

.database-service strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.database-service p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 28px;
}

@media (max-width: 767px) {
  .database-container {
    width: 100%;
    max-width: calc(100% - 32px);
  }

  .database-section {
    padding: 40px 0;
  }

  .database-section__title {
    margin-bottom: 15px;
    font-size: 27px;
    line-height: 48px;
  }

  .database-hero {
    height: 260px;
    background: #eef5ff url("banner0-bg-m.jpg") center / cover no-repeat;
    background-position: 61% center;
  }

  .database-hero::before {
    position: absolute;
    inset: 0;
    background: rgba(244, 249, 255, .68);
    content: "";
  }

  .database-hero {
    position: relative;
  }

  .hero__inner {
    position: relative;
    z-index: 1;
    height: 260px;
    align-items: center;
  }

  .database-hero__copy {
    width: 100%;
  }

  .database-hero h1 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 8px;
  }

  .database-hero p {
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 12px;
  }

  .database-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .database-feature-card {
    height: 156px;
    padding: 22px;
  }

  .database-feature-card img {
    flex-basis: 70px;
    width: 70px;
    height: 70px;
    margin: 0 auto;
  }

  .database-feature-card h3 {
    font-size: 16px;
    text-align: center;
  }

  .database-advantages__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .database-advantage-card,
  .database-advantage-card:nth-child(n + 5) {
    grid-column: auto;
    min-height: 0;
  }

  .database-advantage-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
  }

  .database-advantage-card img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin: 0 16px 0 0;
  }

  .database-advantage-card h3 {
    margin-bottom: 6px;
  }

  .database-purchase__panel {
    padding: 22px 18px 94px;
  }

  .database-option-group {
    display: block;
    padding: 20px 0;
  }

  .database-option-group legend {
    float: none;
    width: auto;
    margin-bottom: 14px;
    padding: 0;
  }

  .database-option-group__content {
    width: 100%;
  }

  .database-region-row {
    display: block;
  }

  .database-region-row>span {
    display: inline-block;
    margin-bottom: 8px;
  }

  .database-options {
    gap: 7px;
  }

  .database-options button {
    min-width: 60px;
    padding: 0 10px;
  }

  .database-purchase__submit {
    right: 18px;
    bottom: 24px;
    left: 18px;
  }

  .database-one-to-one {
    overflow-x: auto;
  }

  .database-one-to-one img {
    min-width: 720px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .database-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .database-advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .database-advantage-card,
  .database-advantage-card:nth-child(n + 5) {
    grid-column: auto;
    min-height: 330px;
  }
}