.tools-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 24%),
    linear-gradient(180deg, #e8f2ff 0%, #edf5ff 52%, #f7fbff 100%);
  color: #17324d;
}

.tools-simple-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(109, 150, 197, 0.16);
}

.tools-shell {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 120px;
}

.tools-board {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(118, 156, 194, 0.18);
  box-shadow: 0 18px 46px rgba(74, 110, 154, 0.12);
  border-radius: 30px;
}

.tools-board {
  padding: 24px 24px 30px;
}

.tools-board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.tools-board-head h2 {
  margin: 0;
  color: #2449a5;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
}

.tools-board-head p {
  margin: 0;
  color: #74889a;
  font-size: 14px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tool-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 120px;
  padding: 22px 24px 22px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  border: 1px solid rgba(118, 156, 194, 0.15);
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(117, 154, 192, 0.12);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(100, 137, 179, 0.18);
}

.tool-card-accent {
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 6px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(180deg, #22e0cf, #2db7f2);
}

.tool-card-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.tool-card-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.tool-card-copy strong {
  color: #1b2f47;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.tool-card-copy small {
  color: #8092a5;
  font-size: 14px;
  line-height: 1.25;
}

.tool-card-live {
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
}

.tool-card-coming {
  overflow: hidden;
}

.tool-card-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 161, 68, 0.96), rgba(255, 111, 74, 0.94));
  box-shadow: 0 10px 18px rgba(255, 128, 77, 0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tools-mobile-tabbar {
  display: none;
}

@media (max-width: 1160px) {
  .tools-shell {
    width: min(100% - 32px, 1040px);
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tools-simple-header {
    display: none;
  }

  .tools-shell {
    width: min(100% - 20px, 680px);
    padding: 12px 0 116px;
  }

  .tools-board {
    border-radius: 24px;
  }

  .tools-board {
    padding: 16px 14px 20px;
  }

  .tools-board-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .tools-board-head h2 {
    font-size: 24px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tool-card {
    min-height: 96px;
    padding: 18px 16px 18px 24px;
    border-radius: 20px;
  }

  .tool-card-icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .tool-card-copy strong {
    font-size: 16px;
  }

  .tool-card-copy small {
    font-size: 13px;
  }

  .tool-card-badge {
    top: 12px;
    right: 14px;
    min-width: 52px;
    height: 22px;
    padding: 0 9px;
    font-size: 11px;
  }

  .tools-mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    height: 66px;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #dce7f5;
    box-shadow: 0 -8px 24px rgba(36, 88, 160, 0.08);
  }

  .tools-mobile-tabbar a {
    display: grid;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 4px;
    color: #6b7f95;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    background: transparent;
  }

  .tools-tab-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .tools-tab-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .tools-mobile-tabbar a.active {
    color: #496fff;
    box-shadow: none;
  }
}
