/* ===== Smart Contracts Page ===== */
.contracts-page .page {
  background: #0A0E17;
}

.contracts-main {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 155px 80px;
}

/* Breadcrumb */
.contracts-main .breadcrumb {
  text-align: center;
  padding: 72px 0 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 26.1686px;
  line-height: 32px;
  color: #A8A8A8;
}

.contracts-main .breadcrumb a {
  color: #A8A8A8;
}

.contracts-main .breadcrumb a:hover {
  color: #fff;
}

.contracts-main .breadcrumb-current {
  color: #FFFFFF !important;
}

/* Hero */
.contracts-hero {
  text-align: center;
  padding: 0 0 60px;
}

.contracts-hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 89px;
  color: #FFFFFF;
  margin: 0 0 24px;
  max-width: 1069px;
  margin-left: auto;
  margin-right: auto;
}

.contracts-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 53px;
  line-height: 59px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 24px;
  max-width: 1404px;
  margin-left: auto;
  margin-right: auto;
}

.contracts-hero-intro {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 64px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 1404px;
  margin: 0 auto;
  text-align: center;
}

/* Contract cards */
.contract-cards {
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-bottom: 80px;
}

.contract-card {
  background: rgba(51, 65, 85, 0.05);
  box-shadow: -1.36508px -1.36508px 0px #334155, -2.73017px -2.73017px 2.73017px #222C39, inset -1.36508px -1.36508px 0px #252E3C, inset -2.73017px -2.73017px 2.73017px #2A3646;
  backdrop-filter: blur(69.95px);
  border-radius: 75px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contract-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 45px 122px 0;
  justify-content: center;
  text-align: center;
}

.contract-card-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #99A2AD;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #99A2AD;
  flex-shrink: 0;
}

.contract-card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 56px;
  color: #FFFFFF;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.contract-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  background: rgba(51, 51, 51, 0.33);
  border-radius: 80px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 33px;
  line-height: 45px;
  color: #FFFFFF;
}

.contract-card-body {
  padding: 45px 122px 0;
  text-align: center;
}

.contract-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 56px;
  color: #FFFFFF;
  margin: 0 0 31px;
}

.contract-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 56px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin: 0 0 0;
  max-width: 1365px;
  margin-left: auto;
  margin-right: auto;
}

/* Network + features in one blue block (Figma: Rectangle 19129 wraps both) */
.contract-network-block {
  margin-top: 0;
  padding: 0;
  background: rgba(86, 119, 255, 0.08);
  border-radius: 0 0 72.9769px 72.9769px;
  overflow: hidden;
}

.contract-network {
  margin: 0;
  padding: 48px 122px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 44.615px;
  line-height: 100%;
  text-transform: uppercase;
  color: #FFFFFF;
  text-align: center;
  background: transparent;
  border-radius: 0;
}

.contract-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  list-style: none;
  margin: 0;
  padding: 24px 122px 56px;
  max-width: 1233px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.contract-features li {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 28.628px;
  line-height: 100%;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* Divider */
.contracts-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 auto 80px;
  max-width: 1360px;
}

/* CTA */
.contracts-cta {
  text-align: center;
  margin-bottom: 80px;
}

.contracts-cta-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 44.615px;
  line-height: 100%;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 24px;
}

.contracts-cta-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 56px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 48px;
}

.btn-contract-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 351px;
  height: 92px;
  padding: 27.66px 12.29px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: -1px -1px 0px #334155, -2px -2px 2px #222C39, inset -1px -1px 0px #252E3C, inset -2px -2px 2px #2A3646;
  border: none;
  border-radius: 999999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 30.7321px;
  line-height: 37px;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
}

.btn-contract-cta:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Description */
.contracts-desc {
  text-align: center;
  margin-bottom: 80px;
}

.contracts-desc p {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 56px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 1365px;
  margin: 0 auto 48px;
}

.contracts-desc p:last-child {
  margin-bottom: 0;
}

/* Feature boxes (Security / Multi-Network) */
.contracts-feature-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.contracts-feature-box {
  background: rgba(51, 65, 85, 0.05);
  box-shadow: -1.29893px -1.29893px 0px #334155, -2.59786px -2.59786px 2.59786px #222C39, inset -1.29893px -1.29893px 0px #252E3C, inset -2.59786px -2.59786px 2.59786px #2A3646;
  border-radius: 71.4414px 71.441px 71.441px 71.4414px;
  padding: 48px 40px 56px;
  position: relative;
  overflow: hidden;
}

.contracts-feature-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 246px;
  height: 100%;
  background: rgba(86, 119, 255, 0.08);
  border-radius: 73px;
}

.contracts-feature-emoji {
  font-size: 168.192px;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.contracts-feature-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 29.0436px;
  line-height: 54px;
  color: #FFFFFF;
  margin: 0 0 24px;
}

.contracts-feature-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contracts-feature-box li {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 23.1273px;
  line-height: 43px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

/* Level cards */
.contracts-levels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.contracts-level-syndicates {
  grid-column: 1 / -1;
}

.contracts-level-card {
  background: rgba(51, 65, 85, 0.05);
  box-shadow: -1.36508px -1.36508px 0px #334155, -2.73017px -2.73017px 2.73017px #222C39, inset -1.36508px -1.36508px 0px #252E3C, inset -2.73017px -2.73017px 2.73017px #2A3646;
  border-radius: 75px;
  padding: 48px 40px 56px;
}

.contracts-level-syndicates {
  grid-column: 1 / -1;
}

.contracts-level-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 62.17px;
  line-height: 80%;
  letter-spacing: -0.05em;
  color: #FFFFFF;
  margin: 0 0 32px;
  text-align: center;
}

.contracts-level-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contracts-level-card li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 25.9165px;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 22.34px;
}

.contracts-level-card li::before {
  content: '';
  width: 7.15px;
  height: 7.15px;
  border-radius: 50%;
  background: #5D5D5D;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1400px) {
  .contracts-main {
    padding-left: 40px;
    padding-right: 40px;
  }

  .contract-card-header,
  .contract-card-body {
    padding-left: 40px;
    padding-right: 40px;
  }

  .contract-network-block {
    border-radius: 0 0 40px 40px;
  }

  .contract-network {
    padding-left: 40px;
    padding-right: 40px;
  }

  .contract-features {
    padding-left: 40px;
    padding-right: 40px;
  }

  .contracts-hero-title {
    font-size: 56px;
    line-height: 64px;
  }

  .contracts-hero-subtitle {
    font-size: 36px;
    line-height: 44px;
  }

  .contracts-feature-boxes {
    grid-template-columns: 1fr;
  }

  .contracts-levels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contracts-main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .contracts-main .breadcrumb {
    font-size: 18px;
    padding-top: 24px;
  }

  .contracts-hero-title {
    font-size: 36px;
    line-height: 44px;
  }

  .contracts-hero-subtitle {
    font-size: 24px;
    line-height: 32px;
  }

  .contracts-hero-intro {
    font-size: 18px;
    line-height: 28px;
  }

  .contract-card {
    border-radius: 32px;
  }

  .contract-card-header {
    padding: 32px 24px 0;
    flex-direction: column;
  }

  .contract-card-title {
    font-size: 24px;
    line-height: 32px;
  }

  .contract-price {
    font-size: 20px;
    padding: 12px 20px;
  }

  .contract-card-body {
    padding: 32px 24px 0;
  }

  .contract-label,
  .contract-desc {
    font-size: 18px;
    line-height: 28px;
  }

  .contract-network-block {
    border-radius: 0 0 32px 32px;
  }

  .contract-network {
    font-size: 24px;
    padding: 32px 24px 16px;
  }

  .contract-features {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 24px 40px;
  }

  .contract-features li {
    font-size: 16px;
  }

  .contracts-cta-title {
    font-size: 28px;
  }

  .contracts-cta-subtitle {
    font-size: 18px;
    line-height: 28px;
  }

  .btn-contract-cta {
    min-width: 280px;
    height: 64px;
    font-size: 22px;
  }

  .contracts-desc p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 32px;
  }

  .contracts-feature-box {
    padding: 32px 24px;
    border-radius: 32px;
  }

  .contracts-feature-emoji {
    font-size: 80px;
  }

  .contracts-feature-title {
    font-size: 22px;
  }

  .contracts-feature-box li {
    font-size: 16px;
    line-height: 28px;
  }

  .contracts-level-title {
    font-size: 32px;
  }

  .contracts-level-card li {
    font-size: 16px;
    line-height: 28px;
  }
}
